Skip to content

Commit d9674f2

Browse files
committed
Releasing 0.6.0 with the merge request from issue #9
1 parent c019792 commit d9674f2

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

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+
49
### 0.5.0 (2014-08-11)
510

611
* Added client caching to reuse an existing s3 client rather than creating a new one for each upload. Fixes #6

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ A pipeable write stream which uploads to Amazon S3 using the multipart file uplo
66

77
### Changelog
88

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+
914
#### 0.5.0 (2014-08-11)
1015

1116
* 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(
136141
},
137142
function (err, uploadStream)
138143
{
144+
uploadStream.maxPartSize(20971520) //20 MB
145+
139146
uploadStream.on('uploaded', function (data) {
140147
console.log('done');
141148
});
142149

143150
read.pipe(uploadStream);
144151
}
145-
).maxPartSize(20971520) //20 MB
152+
);
146153
```
147154

148155
### stream.concurrentParts(numberOfParts)
@@ -159,14 +166,15 @@ var UploadStreamObject = new Uploader(
159166
},
160167
function (err, uploadStream)
161168
{
169+
uploadStream.concurrentParts(5)
162170

163171
uploadStream.on('uploaded', function (data) {
164172
console.log('done');
165173
});
166174

167175
read.pipe(uploadStream);
168176
}
169-
).concurrentParts(5);
177+
);
170178
```
171179

172180
### Tuning configuration of the AWS SDK

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "s3-upload-stream",
33
"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",
55
"author": {
66
"name": "Nathan Peck",
77
"email": "[email protected]"

0 commit comments

Comments
 (0)