Skip to content

v2.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Starefossen Starefossen released this 12 Nov 21:45
· 26 commits to master since this release
npm install [email protected]

Breaking Changes:

  • image file size is now returned as bytes #55
  • node-uuid is now default random path generator #60 #52

You can configure s3-uploader to use the old path generator, but be warned that we do not recommend this for production systems with a lot of uploads as it may be prone to collisions.

var upload = new Upload(process.env.AWS_BUCKET_NAME, {
  randomPath: require('@starefossen/rand-path')
});

Major Changes:

  • replace all CoffeeScript with vanilla JavaScript #57 #40