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-sdk
to^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.
gm
has been replaced byim-resize
andim-metadata
#24
Breaking Changes:
awsBucketRegion
is replaced byaws.region
(deprecated sincev0.7.0
)awsBucketPath
is replaced byaws.path
(deprecated sincev0.7.0
)awsBucketAcl
is replaced byaws.acl
(deprecated sincev0.7.0
)awsMaxRetries
is replaced byaws.maxRetries
(deprecated sincev0.7.0
)awsHttpTimeout
is replaced byaws.httpOptions.timeout
(deprecated sincev0.7.0
)awsAccessKeyId
is replaced byaws.accessKeyId
(deprecated sincev0.7.0
)awsSecretAccessKey
is replaced byaws.secretAccessKey
(deprecated sincev0.7.0
)tmpDir
is replaced byresize.path
resizeQuality
is 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
width
andheight
attributes to all uploaded versions #5
Bug Fixes:
- Correctly resolve AWS S3 URL for
us-east-1
region #28