The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- fix UMD bundle and support special runtime environment
ACLType
enum addACLBucketOwnerEntrusted
GetObjectAclOutput
supportBucketOwnerEntrusted
field- S3 endpoint will throw TosClientError
- downgrade
type-fest
version
- Aligning horizontal design for the
listObjectsType2
API.
- move type-fest from devDependencies to dependencies.
- 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:
uploadFile
,resumableCopyObject
correct support relative checkpoint filepath - fixed:
uploadFile
change default checkpoint filename - fixed: ensure directory exist when write checkpoint file
- modify updateChangelog.js
- proxy-middleware support modify protocol
- 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
- support new object name validate rule
appendObject
will return right resultuploadPartFromFile
get right file end
resumableCopyObject
supportsserverSideEncryption
and custom headers.
- add more header params in first level for convenience
- fix: exist
wx
global variable if import wx js sdk
- fix: error if axios rejected
- support uniapp and miniprogram environments
- add
requestAdapter
option for other run environments
- fix:
deleteObject
doesn't return result
- fix:
resumableCopyObject
doesn't pass headers to server
- add
downloadFile
method
- add
alternativeEndpoint
option togetPreSignedUrl
method
- add
preSignedPolicyURL
method
- encode the object key of
x-tos-copy-source
header when the object'size is 0
- remove the bigint in browser environment
- add log for nodejs and browser
- encode the object key of
x-tos-copy-source
header
- disable request redirect for 3xx response status code
- support crc64
- add
(get|put)BucketVersioning
methods to modify bucket versioning
- set user-agent request header
- proxy to general proxy server in node.js environment
- fix: error "URI malformed" if source key includes multi code points character
- fix: wrong md5 if uploading non-ascii file by calling
uploadFile
method
- add
enableContentMD5
foruploadFile
method
- fix: throw signature error if header's value contains chinese
- fix: invalid object name when object length is greater than 1
- fix
@/utils
not found error
- add
resumableCopyObject
method which can copy object which is bigger than 5GiB - add
(get|put|delete)BucketPolicy
methods to modify bucket policy
- fix: uploadFile throw error while uploading an empty file in nodejs
- fix: body is empty if retrying to upload a stream or file in nodejs
- modify default
requestTimeout
to 120s
uploadFile
method throw error in browser environment
getObjectV2
method supportsbuffer
in Node.js environmentuploadFile
method supportsdataTransferStatusChange
optionuploadPart
method throws error when there is no etag in browser environment
- add
getObjectV2
method, default return stream
- encode/decode http headers
- add
getObjectToFile
method - add
uploadPartFromFile
method
- add
putObjectFromFile
method - add
progress
anddataTransferStatusChange
forputObject
method - add
maxRetryCount
constructor option
- add
ARCHIVE_FR
storage class
- add getBucketAcl and putBucketAcl methods
- fix: this object doesn't exist after progress 100% while using uploadFile
- fix error of chinese object name
- rename
ResponseError
toTosServerError
- add
TosClientError
, many enum values - add constructor params:
enableVerifySSL
,autoRecognizeContentType
,requestTimeout
,connectionTimeout
,maxConnections
,idleConnectionTime
- fix
NaN
value whenuploadFile
with an empty file
- fix: throw error in nodejs@v10/12
- ensure that
secure
is boolean
- add
CompleteMultipartUploadOutput
type - add
acl
param forcreateMultipartUpload
- fix:
taskNum
ofuploadFile
does not work - use
secure
when it's not nullish
- add
calculatePostSignature
- add
contentDisposition
forgetPreSignedUrl
- fix: build umd resource
- fix
uploadPart
in browser environment
- add
TOSServerCode
- use
crypto-js
in browser environment
- fix TOS constructor's endpoint params
- remove
subdomain
param ofgetPreSignedUrl
method
- first version