File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ #### 0.6.0 (2014-08-15)
5
+
6
+ * Fix for mismatch between documentation and reality in the maxPartSize() and concurrentParts() options.
7
+ * New feature: part size and concurrect part helpers can be chained now.
8
+
4
9
### 0.5.0 (2014-08-11)
5
10
6
11
* Added client caching to reuse an existing s3 client rather than creating a new one for each upload. Fixes #6
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ A pipeable write stream which uploads to Amazon S3 using the multipart file uplo
6
6
7
7
### Changelog
8
8
9
+ #### 0.6.0 (2014-08-15)
10
+
11
+ * Fix for mismatch between documentation and reality in the maxPartSize() and concurrentParts() options.
12
+ * New feature: part size and concurrect part helpers can be chained now.
13
+
9
14
#### 0.5.0 (2014-08-11)
10
15
11
16
* Added client caching to reuse an existing s3 client rather than creating a new one for each upload. Fixes #6
@@ -136,13 +141,15 @@ var UploadStreamObject = new Uploader(
136
141
},
137
142
function (err , uploadStream )
138
143
{
144
+ uploadStream .maxPartSize (20971520 ) // 20 MB
145
+
139
146
uploadStream .on (' uploaded' , function (data ) {
140
147
console .log (' done' );
141
148
});
142
149
143
150
read .pipe (uploadStream);
144
151
}
145
- ). maxPartSize ( 20971520 ) // 20 MB
152
+ );
146
153
```
147
154
148
155
### stream.concurrentParts(numberOfParts)
@@ -159,14 +166,15 @@ var UploadStreamObject = new Uploader(
159
166
},
160
167
function (err , uploadStream )
161
168
{
169
+ uploadStream .concurrentParts (5 )
162
170
163
171
uploadStream .on (' uploaded' , function (data ) {
164
172
console .log (' done' );
165
173
});
166
174
167
175
read .pipe (uploadStream);
168
176
}
169
- ). concurrentParts ( 5 ) ;
177
+ );
170
178
```
171
179
172
180
### Tuning configuration of the AWS SDK
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " s3-upload-stream" ,
3
3
"description" : " Writeable stream for uploading content of unknown size to S3 via the multipart API." ,
4
- "version" : " 0.5 .0" ,
4
+ "version" : " 0.6 .0" ,
5
5
"author" : {
6
6
"name" : " Nathan Peck" ,
7
7
You can’t perform that action at this time.
0 commit comments