Skip to content

Releases: vercel/storage

@vercel/[email protected]

06 Nov 15:32
3b691bd
Compare
Choose a tag to compare

Minor Changes

  • c3afec3: Add onUploadProgress feature to put/upload

    You can now track the upload progress in Node.js and all major browsers when
    using put/upload in multipart, non-multipart and client upload modes. Basically
    anywhere in our API you can upload a file, then you can follow the upload
    progress.

    Here's a basic usage example:

    const blob = await put('big-file.pdf', file, {
      access: 'public',
      onUploadProgress(event) {
        console.log(event.loaded, event.total, event.percentage);
      }
    });
    

    Fixes #543
    Fixes #642

@vercel/[email protected]

04 Nov 12:07
6f654d9
Compare
Choose a tag to compare

Minor Changes

  • d7ef349: Add the consistentRead option to allow reading from the origin. Note that it's not recommended to use this property without good reason due to the extrem performance cost.

@vercel/[email protected]

14 Oct 13:04
c158aed
Compare
Choose a tag to compare

Patch Changes

  • d58f9de: fix(blob): provide custom errors for expired client tokens and pathname mismatch

@vercel/[email protected]

08 Oct 08:24
e96c4e8
Compare
Choose a tag to compare

Minor Changes

  • 61b5939: BREAKING CHANGE, we're no more accepting non-encoded versions of ?, # and // in pathnames. If you want to use such characters in your pathnames then you will need to encode them.

@vercel/[email protected]

03 Oct 13:33
f5b30c9
Compare
Choose a tag to compare

Patch Changes

  • 37d84ef: Throw specific error (BlobContentTypeNotAllowed) when file type doesn't match
  • da87e89: Fix bad detection of Request being a plain object

@vercel/[email protected]

27 Sep 08:47
9171dd0
Compare
Choose a tag to compare

Major Changes

  • 14bc82e: BREAKING: Updates @upstash/redis to v1.34.0 which contains a small breaking change in the public API. The cursor field in scan commands is now returned as string instead of number.

@vercel/[email protected]

16 Sep 12:40
bd4273c
Compare
Choose a tag to compare

Minor Changes

  • aaec8c5: Support new connection string format

@vercel/[email protected]

16 Sep 12:40
bd4273c
Compare
Choose a tag to compare

Minor Changes

  • 8098803: Add createFolder method. Warning, if you were using the standard put() method to created fodlers, this will now fail and you must move to createFolder() instead.

Patch Changes

  • 8d7e8b9: Limit pathname length to 950 to respect internal limitations and provide better early DX.

@vercel/[email protected]

06 Sep 14:06
8804352
Compare
Choose a tag to compare

Minor Changes

  • a2a4757: Removes utf-8-validate dependency and sets minimum Node.js version to 18.14

@vercel/[email protected]

06 Sep 14:06
8804352
Compare
Choose a tag to compare

Minor Changes

  • a2a4757: Removes utf-8-validate dependency and sets minimum Node.js version to 18.14

Patch Changes