Version 3.24.9
New Features:
- Added list POSIX Object API.
Documentation & Demo:
Resolved Issues:
- Optimize error log printing.
Version 3.24.6
New Features:
- Supports passing metadata when use CopyObject and InitiateMultipartUpload mehod.
Documentation & Demo:
Resolved Issues:
- Fixed the issue where bucket acl configuration failed in some scenarios.
- Fixed the issue where data transmission exception in retry scenarios.
Version 3.24.3
New Features:
- Added directory accesslable-related APIs, including SetDirAccesslabel, GetDirAccesslabel, and DeleteDirAccesslabel.
Documentation & Demo:
- Added descriptions about directory accesslable-related APIs.
Resolved Issues:
Version 3.23.12
New Features:
- Added obs.WithDisableKeepAlive method to implement short connection function.
- Added deep archive storage-class.
Documentation & Demo:
Resolved Issues:
- Fixed the issue where bucket life cycle configuration failed in some scenarios.
Version 3.23.9
New Features:
- Added the obs.WithProgress method to support progress bar callback.
- Added fragment expiration time in configuration life cycle management rules.
Documentation & Demo:
Version 3.23.4
New Features:
- Added the obs.WithCustomHeader method when upload.
- Added bucket customDomain-related APIs, including SetBucketCustomDomain, GetBucketCustomDomain, and DeleteBucketCustomDomain.
- Added bucket mirrorBackToSource-related APIs, including SetBucketMirrorBackToSource, GetBucketMirrorBackToSource, and DeleteBucketMirrorBackToSource.
Documentation & Demo:
- Added descriptions about bucket customDomain APIs.
- Added descriptions about bucket mirrorBackToSource APIs.
Version 3.23.3
New Features:
- Added the obs.WithCallbackHeader method when upload.
Documentation & Demo:
- Added descriptions about callback when upload.
- Added descriptions about extended configurations of SDK APIs.
Resolved Issues:
- Optimized some code.
Version 3.21.12
New Features:
- Added obs.WithTrafficLimitHeader method to realize single-connection bandwidth throttling.
Documentation & Demo:
- Added descriptions about single-connection bandwidth throttling.
- Added descriptions about the SDK interface extension configuration.
Resolved Issues:
- Optimized part of the code.
Version 3.21.8
New Features:
- Added bucket encryption-related APIs, including SetBucketEncryption, GetBucketEncryption, and DeleteBucketEncryption.
- Added the AppendObject API.
- Added the ModifyObject API.
- Allowed you to specify a type in the ListBuckets API to list the buckets of this type.
Documentation & Demo:
- Added descriptions about bucket encryption APIs.
- Added descriptions about the AppendObject API.
- Added descriptions about the ModifyObject API.
- Added descriptions about the new parameter for specifying a bucket type in the ListBuckets API.
Resolved Issues:
Version 3.21.1
New Features:
Documentation & Demo:
Resolved Issues:
- Fixed the issue that a failure message is still returned even if code is successfully retried within allowed attempts.
- Fixed the issue that no error messages are returned when a response message fails to be obtained.
Version 3.20.7.1
New Features:
- Added the APIs for resumable upload (ObsClient.UploadFile) and resumable download (ObsClient.DownloadFile).
Documentation & Demo:
- Added the description of the API for resumable upload to section "Object Upload" and the description of the API for resumable download to section "Object Download" in the OBS Go SDK Developer Guide.
- Added the topics of resumable upload and resumable download to section "Other APIs" in OBS Go SDK API Reference.
Resolved Issues:
- Optimized part of the code.
Version 3.20.7
New Features:
Documentation & Demo:
Resolved Issues:
- Optimized part of the code.
Version 3.20.3
New Features:
- Added the ObsClient.HeadObject API for determining whether an object exists.
- Added the ObsClient.SetBucketRequestPayment and ObsClient.GetBucketRequestPayment APIs respectively for configuring the Requester Pays function and obtaining related configuration.
- Supports configuration of the Requester Pays header (obs.WithReqPaymentHeader) when calling an API.
Documentation & Demo:
- Added the topic of checking whether an object exists to section "Object Management" in OBS Go SDK Developer Guide; added the API for checking whether an object exists to section "Bucket-Related APIs" in OBS Go SDK API Reference; added the request parameter for checking whether an object exists to section "Data Types" in OBS Go SDK API Reference.
- Added the topic of Requester Pays to section "Bucket Management" in OBS Go SDK Developer Guide; added the APIs for configuring the Requester Pays function and obtaining related configuration to section "Bucket-Related APIs" in OBS Go SDK API Reference; added the request parameter for configuring Requester Pays and the response result of obtaining Requester Pays configuration to section "Data Types" in OBS Go SDK API Reference.
- Added the topic of SDK API extended configurations to section "Initialization" in OBS Go SDK API Reference.
- Added the topic of Requester Pays configuration to section "Enumeration Constants" in OBS Go SDK API Reference.
- Added the description of extended parameters to the API method definitions in OBS Go SDK API Reference.
Resolved Issues:
- Optimized part of the code.
- Fixed the issue that the Epid parameter does not take effect if StorageClass is not specified when calling the CreateBucket API.
- Supports the az-redundancy parameter when calling the CreateBucket API.
Version 3.20.1
New Features:
Documentation & Demo:
Resolved Issues:
- Optimized part of the code.
Version 3.19.11 Updated the version ID format. The new version ID is named in the following format: Main version ID.Year ID.Month ID.
New Features:
Documentation & Demo:
- Added the description of WithMaxRedirectCount and WithSecurityToken in section "ObsClient Initialization" in the API Reference.
- Added descriptions about WithMaxRedirectCount and WithSecurityToken in section "Configuring an Instance of OBSClient" in the Developer Guide.
- Added methods for handling HTTP status code 405 in section "FAQs" in the Developer Guide.
Resolved Issues:
- Fixed the issue that error code 400 is returned when DisplayName is carried in some circumstances.
- Fixed the issue that error code 400 is returned when the SetBucketNotification API is called.
- Fixed the issue that the SetObjectAcl API does not support the specified Delivered parameter.
- Fixed the issue that the SetBucketLoggingConfiguration API is incompatible with the Agency field in different protocols.
- Fixed the issue that the SetBucketLoggingConfiguration API incorrectly processes the Delivered field.
- Fixed the issue that the ContentMD5 configuration does not take effect when the UploadPart API is called.
- Fixed the issue that the SetBucketStoragePolicy API processes incorrect storage classes inconsistently in different protocols.
- Fixed the issue that error code 400 is returned because the CreateBucket API does not distinguish protocols.
- Fixed the syntax issue of the getBucketAclObs API.
- Rectified the error of the SetBucketWebsiteConfiguration API.
- Fixed the compatibility issue of the temporary authentication API in different protocols.
- Fixed the issue that the authentication information header is added when redirection is performed upon a 302 response returned for a GET request.
- Fixed the issue that the content-type cannot be obtained based on the file name extension if the extension is in uppercase.
- Changed the content-type of files with the .svg extension to image/svg+xml.
- Fixed the issue that an incorrect API is called in the sample code for deleting a bucket in examples/bucket_operations_sample.go.
- Fixed the issue in calculating the authentication value during the access using temporary access keys.
- Fixed the issue that some response fields are empty in anonymous access.
Version 3.1.2
New Features:
Documentation & Demo:
Resolved Issues:
- Fixed the issue that the configuration of ContentType does not take effect when Obs.InitiateMultipartUpload is called.
Version 3.1.1
New Features:
- Supports access to OBS using a user-defined domain name (obs.WithCustomDomainName).
- The API for object upload (ObsClient.PutObject) can automatically identify a wider MIME type.
Resolved Issues:
- Fixed the issue that a null pointer error is reported when ObsClient.GetBucketStoragePolicy is called.
- Fixed the 400 error reported by ObsClient.SetBucketStoragePolicy.