Skip to content

Commit 3b691bd

Browse files
Version Packages (#785)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c3afec3 commit 3b691bd

File tree

5 files changed

+57
-27
lines changed

5 files changed

+57
-27
lines changed

.changeset/brown-years-heal.md

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

packages/blob/CHANGELOG.md

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

3+
## 0.26.0
4+
5+
### Minor Changes
6+
7+
- c3afec3: Add onUploadProgress feature to put/upload
8+
9+
You can now track the upload progress in Node.js and all major browsers when
10+
using put/upload in multipart, non-multipart and client upload modes. Basically
11+
anywhere in our API you can upload a file, then you can follow the upload
12+
progress.
13+
14+
Here's a basic usage example:
15+
16+
```
17+
const blob = await put('big-file.pdf', file, {
18+
access: 'public',
19+
onUploadProgress(event) {
20+
console.log(event.loaded, event.total, event.percentage);
21+
}
22+
});
23+
```
24+
25+
Fixes #543
26+
Fixes #642
27+
328
## 0.25.1
429

530
### 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": "0.25.1",
3+
"version": "0.26.0",
44
"description": "The Vercel Blob JavaScript API client",
55
"homepage": "https://vercel.com/storage/blob",
66
"repository": {

test/next/CHANGELOG.md

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

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- c3afec3: Add onUploadProgress feature to put/upload
8+
9+
You can now track the upload progress in Node.js and all major browsers when
10+
using put/upload in multipart, non-multipart and client upload modes. Basically
11+
anywhere in our API you can upload a file, then you can follow the upload
12+
progress.
13+
14+
Here's a basic usage example:
15+
16+
```
17+
const blob = await put('big-file.pdf', file, {
18+
access: 'public',
19+
onUploadProgress(event) {
20+
console.log(event.loaded, event.total, event.percentage);
21+
}
22+
});
23+
```
24+
25+
Fixes #543
26+
Fixes #642
27+
28+
### Patch Changes
29+
30+
- Updated dependencies [c3afec3]
31+
- @vercel/blob@0.26.0
32+
333
## 0.2.23
434

535
### 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.2.23",
3+
"version": "0.3.0",
44
"private": true,
55
"scripts": {
66
"build": "next build",

0 commit comments

Comments
 (0)