·
4 commits
to main
since this release
Patch Changes
- c9d9a1a: Apply
ifMatch/allowOverwritevalidation tohandleUploadandgenerateClientTokenFromReadWriteToken. WhenifMatchis set viaonBeforeGenerateTokenor direct token generation,allowOverwriteis now implicitly enabled. Explicitly passingallowOverwrite: falsewithifMatchthrows a clear error. - 6dcecb8: Make
ifMatchimplyallowOverwrite: trueonput(). Previously, usingifMatchwithout explicitly settingallowOverwrite: truewould cause the server to send conflicting conditional headers to S3, resulting in 500 errors. Now the SDK implicitly enablesallowOverwritewhenifMatchis set, and throws a clear error ifallowOverwrite: falseis explicitly combined withifMatch.