Releases: vercel/storage
@vercel/[email protected]
Major Changes
-
d02e08a: Enable auto pipelining by default.
We're making this a major release for safety, but we believe
most applications can upgrade from 1.x to 2.x without any changes.
Auto pipelining should work by default and improve performance.BREAKING CHANGE: Auto pipelining is on by default now. See
https://upstash.com/docs/oss/sdks/ts/redis/pipelining/auto-pipeline. This
brings performance benefits to any code making multiple redis commands
simultaneously.If you detect bugs because of this, please open them at
https://github.com/vercel/storage/issues.You can disable this new behavior with:
import { createClient } from '@vercel/kv'; const kv = createClient({ url: .., token: .., enableAutoPipelining: false });
@vercel/[email protected]
Patch Changes
- 585a753: Resolved bug where an unhandled promise rejection event may have been triggered during development
@vercel/[email protected]
@vercel/[email protected]
Patch Changes
- e63f125: chore(blob): Allow using the alternative API. No new feature, no bugfix here.
@vercel/[email protected]
Patch Changes
- 1cad24c: fix(blob): export all user facing errors
@vercel/[email protected]
Minor Changes
-
261319e: # Add abortSignal
Adds
abortSignal
option to all methods. This allows users to cancel requests using an AbortController and passing its signal to the operation.Here's how to use it:
const abortController = new AbortController(); vercelBlob .put('canceled.txt', 'test', { access: 'public', abortSignal: abortController.signal, }) .then((blob) => { console.log('Blob created:', blob); }); setTimeout(function () { // Abort the upload abortController.abort(); }, 100);
@vercel/[email protected]
Patch Changes
- 5b9b53d: Remove dependency pins in package.json.
@vercel/[email protected]
Patch Changes
- 13988ed: BREAKING CHANGE: The
contentType
field of the PutBlobResult is now optional which might break TS builds. This aligns the SDK typings with the actual Response of the Blob API.
@vercel/[email protected]
Minor Changes
- e36fa70: feat(types): re-export pg-types for Drizzle
@vercel/[email protected]
Patch Changes
- Updated dependencies [e36fa70]
- @vercel/[email protected]