Releases: vercel/storage
@vercel/blob@0.23.4
Patch Changes
- 30401f4: fix(blob): Throw when trying to upload a plain JS object
@vercel/postgres@0.9.0
Minor Changes
-
30fe8d0: Upgrade underlying @neondatabase/serverless to 0.9.3.
We follow @neondatabase/serverless's versioning scheme, thus the major bump.The main changes, per https://github.com/neondatabase/serverless/blob/main/CHANGELOG.md, are:
- Use a single (per-region) domain name for all connections to Neon databases. Intended to help with connection caching in V8. Passes the endpoint ID inside connection options for WebSocket connections.
- Deprecate fetchConnectionCache option, which is now always enabled. For neon http fetch queries, enable setting options on individual queries within a batch transaction (but note that the types still do not allow this).
- Pass username (and database name) through URL decoder, so all usernames can successfully authorize.
Upgrading to this version should be safe for all users.
Also fixes #701
@vercel/postgres-kysely@0.9.0
Patch Changes
- Updated dependencies [30fe8d0]
- @vercel/postgres@0.9.0
@vercel/edge-config@1.2.0
@vercel/kv@2.0.0
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/edge-config@1.1.1
Patch Changes
- 585a753: Resolved bug where an unhandled promise rejection event may have been triggered during development
@vercel/blob@0.23.3
@vercel/blob@0.23.2
Patch Changes
- e63f125: chore(blob): Allow using the alternative API. No new feature, no bugfix here.
@vercel/blob@0.23.1
Patch Changes
- 1cad24c: fix(blob): export all user facing errors
@vercel/blob@0.23.0
Minor Changes
-
261319e: # Add abortSignal
Adds
abortSignaloption 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);