This repository was archived by the owner on May 1, 2025. It is now read-only.
Releases: Turistforeningen/node-s3-uploader
Releases · Turistforeningen/node-s3-uploader
v2.0.3
v2.0.2
v2.0.1
v2.0.0
npm install s3-uploader@2.0.0
Breaking Changes:
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:
v2.0.0-rc.1
npm install s3-uploader@2.0.0-rc.1
Breaking Changes:
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:
v1.1.0
npm install s3-uploader@1.1.0 --save
New Features:
- add support for custom random path generator functions #41
- add support for AWS Cache Control headers #45 (thanks to @DavidBennettUK)
- add support for uploading image with absolute path #47 (thanks to @yudapc)
Dependencies:
- upgrade
aws-sdkto^2.2.9
Documentation:
- update list of project collaborators #53
v1.1.0-rc.2
v1.1.0-rc.1
npm install s3-uploader@1.1.0-rc.1 --save
New Features:
- add support for custom random path generator functions #41
- add support for AWS Cache Control headers #45 (thanks to @DavidBennettUK)
v1.0.1
v1.0.0
npm install s3-uploader@1.0.0 --save
Major Changes:
This package now requires ImageMagick! ImageMagick v6.8 or more recent.
gmhas been replaced byim-resizeandim-metadata#24
Breaking Changes:
awsBucketRegionis replaced byaws.region(deprecated sincev0.7.0)awsBucketPathis replaced byaws.path(deprecated sincev0.7.0)awsBucketAclis replaced byaws.acl(deprecated sincev0.7.0)awsMaxRetriesis replaced byaws.maxRetries(deprecated sincev0.7.0)awsHttpTimeoutis replaced byaws.httpOptions.timeout(deprecated sincev0.7.0)awsAccessKeyIdis replaced byaws.accessKeyId(deprecated sincev0.7.0)awsSecretAccessKeyis replaced byaws.secretAccessKey(deprecated sincev0.7.0)tmpDiris replaced byresize.pathresizeQualityis replaced byresize.quality
New Features:
- image resize aspect ratio (
version.aspect) #24 - image resize image format (
version.format) Turistforeningen/node-im-resize#1 - image resize background color (
version.background+version.flatten) Turistforeningen/node-im-resize#1 #29 - images cleanup (
cleanup.original+cleanup.versions) #6 #7 - Add
widthandheightattributes to all uploaded versions #5
Bug Fixes:
- Correctly resolve AWS S3 URL for
us-east-1region #28