Skip to content

Latest commit

 

History

History
363 lines (204 loc) · 7.33 KB

CHANGELOG.md

File metadata and controls

363 lines (204 loc) · 7.33 KB

Changelog of @volcengine/tos-sdk

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.5.6] - 2023-07-24

Fixed

  • fix UMD bundle and support special runtime environment

[2.5.5] - 2023-07-06

Added

  • ACLType enum add ACLBucketOwnerEntrusted
  • GetObjectAclOutput support BucketOwnerEntrusted field
  • S3 endpoint will throw TosClientError
  • downgrade type-fest version

[2.5.4] - 2023-07-03

Fixed

  • Aligning horizontal design for the listObjectsType2 API.

[2.5.3] - 2023-07-01

Fixed

  • move type-fest from devDependencies to dependencies.

[2.5.2] - 2023-06-26

Added

  • add (get|put|delete|list)BucketInventory private methods to modify bucket Inventory
  • add (describe|create|delete|list)Job,updateJobStatus, updateJobPriority private methods to modify batch jobs
  • add (get|put|delete)BucketTagging private methods to modify bucket Tagging
  • add (get|put)BucketPayByTraffic private methods to modify bucket PayByTraffic
  • change getBucketReplication|getBucketCustomDomain|getBucketInventory|getBucketMirrorBack|getBucketNotification|getBucketRealTimeLog|getBucketRealTimeLog|getBucketWebsite methods empty error to normal data
  • add TosClient export

Fixed

  • fixed: uploadFile,resumableCopyObject correct support relative checkpoint filepath
  • fixed: uploadFile change default checkpoint filename
  • fixed: ensure directory exist when write checkpoint file

[2.5.1] - 2023-06-14

Added

  • modify updateChangelog.js
  • proxy-middleware support modify protocol

[2.5.0] - 2023-06-13

Added

  • add getBucketLocation method
  • add listObjectsType2 method
  • add putBucketStorageClass method
  • add (get|put|delete)BucketCORS methods to modify bucket CORS
  • add (get|put|delete)BucketLifecycle methods to modify bucket lifecycle
  • add (get|put|delete)BucketMirrorBack methods to modify bucket MirrorBack
  • add (get|put|delete)ObjectTagging methods to modify object tagging
  • add COLD_ARCHIVE,INTELLIGENT_TIERING storage class
  • add (get|put|delete)BucketReplication methods to modify bucket replication
  • add (get|put|delete)BucketWebsite methods to modify bucket website
  • add (get|put)BucketNotification methods to modify bucket notification
  • add (get|put|delete)BucketCustomDomain methods to modify bucket customDomain
  • add (get|put|delete)BucketRealTimeLog methods to modify bucket realTimeLog

[2.1.28] - 2023-05-30

Fixed

  • support new object name validate rule
  • appendObject will return right result
  • uploadPartFromFile get right file end

[2.1.27] - 2023-03-13

Fixed

  • resumableCopyObject supports serverSideEncryption and custom headers.

[2.1.26] - 2023-02-23

Added

  • add more header params in first level for convenience

[2.1.25] - 2023-02-16

Fixed

  • fix: exist wx global variable if import wx js sdk

[2.1.24] - 2023-02-16

Fixed

  • fix: error if axios rejected

[2.1.23] - 2023-02-07

Added

  • support uniapp and miniprogram environments
  • add requestAdapter option for other run environments

[2.1.22] - 2023-01-29

Fixed

  • fix: deleteObject doesn't return result

[2.1.21] - 2023-01-05

Fixed

  • fix: resumableCopyObject doesn't pass headers to server

[2.1.20] - 2022-12-08

Added

  • add downloadFile method

[2.1.19] - 2022-11-25

Added

  • add alternativeEndpoint option to getPreSignedUrl method

[2.1.18] - 2022-11-19

Added

  • add preSignedPolicyURL method

[2.1.17] - 2022-11-10

Fixed

  • encode the object key of x-tos-copy-source header when the object'size is 0

[2.1.16] - 2022-11-09

Fixed

  • remove the bigint in browser environment

[2.1.15] - 2022-11-09

Added

  • add log for nodejs and browser

Fixed

  • encode the object key of x-tos-copy-source header

[2.1.14] - 2022-11-07

Added

  • disable request redirect for 3xx response status code
  • support crc64
  • add (get|put)BucketVersioning methods to modify bucket versioning

Fixed

  • set user-agent request header

[2.1.13] - 2022-10-30

Added

  • proxy to general proxy server in node.js environment

[2.1.12] - 2022-10-17

Fixed

  • fix: error "URI malformed" if source key includes multi code points character

[2.1.11] - 2022-10-13

Fixed

  • fix: wrong md5 if uploading non-ascii file by calling uploadFile method

[2.1.10] - 2022-10-13

Added

  • add enableContentMD5 for uploadFile method

[2.1.9] - 2022-10-10

Fixed

  • fix: throw signature error if header's value contains chinese

[2.1.8] - 2022-10-10

Fixed

  • fix: invalid object name when object length is greater than 1

[2.1.7] - 2022-10-09

Fixed

  • fix @/utils not found error

[2.1.6] - 2022-09-29

Added

  • add resumableCopyObject method which can copy object which is bigger than 5GiB
  • add (get|put|delete)BucketPolicy methods to modify bucket policy

[2.1.5] - 2022-09-28

Fixed

  • fix: uploadFile throw error while uploading an empty file in nodejs

[2.1.4] - 2022-09-28

Fixed

  • fix: body is empty if retrying to upload a stream or file in nodejs
  • modify default requestTimeout to 120s

[2.1.3] - 2022-09-14

Fixed

  • uploadFile method throw error in browser environment

[2.1.2] - 2022-09-14

Added

  • getObjectV2 method supports buffer in Node.js environment
  • uploadFile method supports dataTransferStatusChange option
  • uploadPart method throws error when there is no etag in browser environment

2.1.1

Feature Changes

  • add getObjectV2 method, default return stream

2.1.0

Feature Changes

  • encode/decode http headers
  • add getObjectToFile method
  • add uploadPartFromFile method

2.0.5

Feature Changes

  • add putObjectFromFile method
  • add progress and dataTransferStatusChange for putObject method
  • add maxRetryCount constructor option

2.0.4

Feature Changes

  • add ARCHIVE_FR storage class

2.0.3

Feature Changes

  • add getBucketAcl and putBucketAcl methods

2.0.2

Patch Changes

  • fix: this object doesn't exist after progress 100% while using uploadFile

2.0.1

Patch Changes

  • fix error of chinese object name

2.0.0

Feature Changes

  • rename ResponseError to TosServerError
  • add TosClientError, many enum values
  • add constructor params: enableVerifySSL, autoRecognizeContentType, requestTimeout, connectionTimeout, maxConnections, idleConnectionTime

Patch Changes

  • fix NaN value when uploadFile with an empty file

Patch Changes

0.0.6

Patch Changes

  • fix: throw error in nodejs@v10/12

0.0.5

Patch Changes

  • ensure that secure is boolean

0.0.4

Feature Changes

  • add CompleteMultipartUploadOutput type
  • add acl param for createMultipartUpload

Patch Changes

  • fix: taskNum of uploadFile does not work
  • use secure when it's not nullish

0.0.3

Feature Changes

  • add calculatePostSignature
  • add contentDisposition for getPreSignedUrl

Patch Changes

  • fix: build umd resource
  • fix uploadPart in browser environment

0.0.2

Feature Changes

  • add TOSServerCode
  • use crypto-js in browser environment

Patch Changes

  • fix TOS constructor's endpoint params
  • remove subdomain param of getPreSignedUrl method

0.0.1

  • first version