Skip to content

Commit

Permalink
Releasing 0.6.0 with the merge request from issue #9
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanpeck committed Aug 15, 2014
1 parent c019792 commit d9674f2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

#### 0.6.0 (2014-08-15)

* Fix for mismatch between documentation and reality in the maxPartSize() and concurrentParts() options.
* New feature: part size and concurrect part helpers can be chained now.

### 0.5.0 (2014-08-11)

* Added client caching to reuse an existing s3 client rather than creating a new one for each upload. Fixes #6
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ A pipeable write stream which uploads to Amazon S3 using the multipart file uplo

### Changelog

#### 0.6.0 (2014-08-15)

* Fix for mismatch between documentation and reality in the maxPartSize() and concurrentParts() options.
* New feature: part size and concurrect part helpers can be chained now.

#### 0.5.0 (2014-08-11)

* Added client caching to reuse an existing s3 client rather than creating a new one for each upload. Fixes #6
Expand Down Expand Up @@ -136,13 +141,15 @@ var UploadStreamObject = new Uploader(
},
function (err, uploadStream)
{
uploadStream.maxPartSize(20971520) //20 MB

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

read.pipe(uploadStream);
}
).maxPartSize(20971520) //20 MB
);
```

### stream.concurrentParts(numberOfParts)
Expand All @@ -159,14 +166,15 @@ var UploadStreamObject = new Uploader(
},
function (err, uploadStream)
{
uploadStream.concurrentParts(5)

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

read.pipe(uploadStream);
}
).concurrentParts(5);
);
```

### Tuning configuration of the AWS SDK
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "s3-upload-stream",
"description": "Writeable stream for uploading content of unknown size to S3 via the multipart API.",
"version": "0.5.0",
"version": "0.6.0",
"author": {
"name": "Nathan Peck",
"email": "nathan@storydesk.com"
Expand Down

0 comments on commit d9674f2

Please sign in to comment.