Skip to content

Commit 3285008

Browse files
Version Packages (#1026)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c9d9a1a commit 3285008

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

.changeset/ifmatch-handle-upload.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/ifmatch-implies-allow-overwrite.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/blob/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @vercel/blob
22

3+
## 2.3.2
4+
5+
### Patch Changes
6+
7+
- c9d9a1a: Apply `ifMatch`/`allowOverwrite` validation to `handleUpload` and `generateClientTokenFromReadWriteToken`. When `ifMatch` is set via `onBeforeGenerateToken` or direct token generation, `allowOverwrite` is now implicitly enabled. Explicitly passing `allowOverwrite: false` with `ifMatch` throws a clear error.
8+
- 6dcecb8: Make `ifMatch` imply `allowOverwrite: true` on `put()`. Previously, using `ifMatch` without explicitly setting `allowOverwrite: true` would cause the server to send conflicting conditional headers to S3, resulting in 500 errors. Now the SDK implicitly enables `allowOverwrite` when `ifMatch` is set, and throws a clear error if `allowOverwrite: false` is explicitly combined with `ifMatch`.
9+
310
## 2.3.1
411

512
### Patch Changes

packages/blob/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vercel/blob",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"description": "The Vercel Blob JavaScript API client",
55
"homepage": "https://vercel.com/storage/blob",
66
"repository": {

test/next/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# vercel-storage-integration-test-suite
22

3+
## 0.3.19
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [c9d9a1a]
8+
- Updated dependencies [6dcecb8]
9+
- @vercel/blob@2.3.2
10+
311
## 0.3.18
412

513
### Patch Changes

test/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vercel-storage-integration-test-suite",
3-
"version": "0.3.18",
3+
"version": "0.3.19",
44
"private": true,
55
"scripts": {
66
"build": "next build",

0 commit comments

Comments
 (0)