File tree Expand file tree Collapse file tree 5 files changed +57
-27
lines changed Expand file tree Collapse file tree 5 files changed +57
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# @vercel/blob
2
2
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
+
3
28
## 0.25.1
4
29
5
30
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @vercel/blob" ,
3
- "version" : " 0.25.1 " ,
3
+ "version" : " 0.26.0 " ,
4
4
"description" : " The Vercel Blob JavaScript API client" ,
5
5
"homepage" : " https://vercel.com/storage/blob" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change 1
1
# vercel-storage-integration-test-suite
2
2
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
+
3
33
## 0.2.23
4
34
5
35
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vercel-storage-integration-test-suite" ,
3
- "version" : " 0.2.23 " ,
3
+ "version" : " 0.3.0 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"build" : " next build" ,
You can’t perform that action at this time.
0 commit comments