Releases: aws-solutions/serverless-image-handler
Releases · aws-solutions/serverless-image-handler
v6.1.2
[6.1.2] - 2023-04-14
Changed
- added s3 bucket ownership control permission and ownership parameter to S3 logging bucket to account for changes in S3 default behavior
- changed xml2js version to 0.5.0
v6.1.1
v6.1.0
[6.1.0] - 2022-11-10
Added
- gif support
- tif support
- AWS Service Catalog AppRegistry
Changed
- package version updates
- CDK v2 migration
- node 16.x Lambda runtimes
v6.0.0
⚠ BREAKING CHANGES
Version 6.0.0 does not support upgrading from previous versions due to the update that uses the AWS CDK to generate the AWS CloudFormation template.
Added
- Crop feature in Thumbor URLs: #202
- TypeScript typings: #293
- Reduction effort support: #289
- Allow custom requests for keys without file extensions: #273
Fixed
- Unexpected behavior after adding support for images without extension: #307
- Quality filter does not work with format filter (thumbor): #266
- Auto WebP activated,
Content-Type: image/webp
returned, but still it's JPG encoded: #305 inferImageType
doesn't support binary/octet-stream but not application/octet-stream: #306- SmartCrop boundary exceeded: #263
- Custom rewrite does not work without file extensions: #268
- Secrets manager cost issue: #291
inferImageType
is slow: #303- If the file name contain
()
,the API will return 404,NoSuchKey,The specified key does not exist: #299 fit-in
segment in URL path generates 404: #281overlayWith
top/left return int after percent conversion: #276
Release v5.2.0
[5.2.0] - 2021-01-29
Added
- Support for ap-east-1 and me-south-1 regions: #192, #228, #232
- Unit tests for custom-resource:
100%
coverage - Cloudfront cache policy and origin request policy: #229
- Circular cropping feature: #214, #216
- Unit tests for image-handler:
100%
coverage - Support for files without extension on thumbor requests: #169, #188
- Inappropriate content detection feature: #243
- Unit tests for image-request:
100%
coverage
Fixed
- Graceful failure when no faces are detected using smartCrop and fail on resizing before smartCrop: #132, #133
- Broken SVG returned if no edits specified and Auto-WebP enabled: #247
- Removed "--recursive" from README.md: #255
- fixed issue with failure on resize if width or height is float: #254
Changed
- Constructs test template for constructs unit test:
100%
coverage
v5.1.0
⚠ BREAKING CHANGES
- Image URL Signature: When image URL signature is enabled, all URLs including existing URLs should have
signature
query parameter.
Added
- Image URL signature: #111, #203, #221, #227
- AWS Lambda
413
error handling. When the response payload is bigger than 6MB, it throwsTooLargeImageException
: #35, #97, #193, #204 - Default fallback image: #137
- Unit tests for custom resource:
100%
coverage - Add
SVG
support. When any edits are used, the output would be automaticallyPNG
unless the output format is specified: #31, #234 - Custom headers: #182
- Enabling ALB Support : #201
Fixed
- Thumbor paths broken if they include "-" and "100x100": #208
- Rewrite doesn't seem to be working: #121
- Correct EXIF: #197, #220, #235, #236, #240
- Sub folder support in Thumbor
watermark
filter: #231
Changed
- AWS CDK and AWS Solutions Constructs version (from 1.57.0 to 1.64.1)
- sharp base version (from 0.25.4 to 0.26.1)
- Refactors the custom resource Lambda source code
- Migrate unit tests to use
jest
- Move all
aws-sdk
inImageHandler
Labmda function toindex.js
for the best practice - Enhance the default error message not to show empty JSON: #206
Removed
- Remove
manifest-generator
v5.0.0
Added
- AWS CDK and AWS Solutions Constructs to create AWS CloudFormation template
Fixed
- Auto WebP does not work properly: #195, #200, #205
- A bug where base64 encoding containing slash: #194
- Thumbor issues:
- Note that duplicated features has been merged gracefully.
Removed
- AWS CloudFormation template:
serverless-image-handler.template
Changed
- sharp base version (from 0.23.4 to 0.25.4)
- Remove
Promise
to return sinceasync
functions return promises: #189 - Unit test statement coverage improvement:
image-handler.js
:79.05%
to100%
image-request.js
:93.58%
to100%
thumbor-mapping.js
:99.29%
to100%
overall
:91.55%
to100%
See changelog for more information.