Skip to content

Releases: aws-solutions/serverless-image-handler

v6.1.2

17 Apr 18:40
a3892ca
Compare
Choose a tag to compare

[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

09 Feb 19:58
4e13895
Compare
Choose a tag to compare

[6.1.1] - 2023-02-09

Added

  • package-lock.json for all modules #426
  • github workflows for running unit test, eslint and prettier formatting, cdk nag, security scans #402
  • demo-ui unicode support #416
  • support for multiple cloudformation stack deployments in the same region #438

Changed

  • axios version update to 1.2.3 #425
  • json5 version update to 1.0.2 #428
  • CodeQL advisory resolutions
  • contributing guidelines

v6.1.0

10 Nov 16:11
b6a4f88
Compare
Choose a tag to compare

[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

21 Dec 18:19
e6655c6
Compare
Choose a tag to compare

⚠ 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: #281
  • overlayWith top/left return int after percent conversion: #276

Release v5.2.0

29 Jan 17:37
Compare
Choose a tag to compare

[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

19 Nov 19:20
Compare
Choose a tag to compare

⚠ 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 throws TooLargeImageException: #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 automatically PNG 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 in ImageHandler Labmda function to index.js for the best practice
  • Enhance the default error message not to show empty JSON: #206

Removed

  • Remove manifest-generator

v5.0.0

31 Aug 19:28
Compare
Choose a tag to compare

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:
    • 0 size support: #183
    • convolution filter does not work: #187
    • fill filter does not work: #190
  • 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 since async functions return promises: #189
  • Unit test statement coverage improvement:
    • image-handler.js: 79.05% to 100%
    • image-request.js: 93.58% to 100%
    • thumbor-mapping.js: 99.29% to 100%
    • overall: 91.55% to 100%

See changelog for more information.