Skip to content

Latest commit

 

History

History
73 lines (62 loc) · 5.77 KB

CHANGELOG.md

File metadata and controls

73 lines (62 loc) · 5.77 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[5.0] - 2020-08-31

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%

[4.2] - 2020-02-06

Added

  • Honor outputFormat Parameter from the pull request #117
  • Support serving images under s3 subdirectories, Fix to make /fit-in/ work; Fix for VipsJpeg: Invalid SOS error plus several other critical fixes from the pull request #130
  • Allow regex in SOURCE_BUCKETS for environment variable from the pull request #138
  • Fix build script on other platforms from the pull request #139
  • Add Cache-Control response header from the pull request #151
  • Add AUTO_WEBP option to automatically serve WebP if the client supports it from the pull request #152
  • Use HTTP 404 & forward Cache-Control, Content-Type, Expires, and Last-Modified headers from S3 from the pull request #158
  • fix: DeprecationWarning: Buffer() is deprecated from the pull request #174
  • Add hex color support for Thumbor filters:background_color and filters:fill #154
  • Add format and watermark support for Thumbor #109, #131, #109
  • Note that duplicated features has been merged gracefully.

Changed

  • sharp base version (from 0.23.3 to 0.23.4)
  • Image handler Amazon CloudFront distribution DefaultCacheBehavior.ForwaredValues.Header to ["Origin", "Accept"] for webp
  • Image resize process change for filters:no_upscale() handling by withoutEnlargement edit key #144

Fixed

  • Add and fix Cache-control, Content-Type, Expires, and Last-Modified headers to response: #103, #107, #120
  • Fix Amazon S3 bucket subfolder issue: #106, #112, #119, #123, #167, #175
  • Fix HTTP status code for missing images from 500 to 404: #159
  • Fix European character in filename issue: #149
  • Fix image scaling issue for filename containing 'x' character: #163, #176
  • Fix regular expression issue: #114, #121, #125
  • Fix not working quality parameter: #129

[4.1] - 2019-12-31

Added

  • CHANGELOG file
  • Access logging to API Gateway

Changed

Removed

  • Reference to deprecated sharp function (overlayWith)
  • Capability to resize images proportionally if width or height is set to 0 (sharp v0.23.1 and later check that the width and height - if present - are positive integers)