Skip to content

Releases: milliHQ/terraform-aws-next-js-image-optimization

v12.1.3

12 Aug 16:18
Compare
Choose a tag to compare

It is now possible to use a custom domain and SSL certificate with the default CloudFront distribution.
Please see the Custom Domain Example for more information how to use this.

Changelog

  • Uses Image Optimizer module of Next.js 12.1.3 (#121)
  • Updates sharp from v0.30.3 to v0.30.7 (#136)
  • Support usage of custom domain and SSL certificate with the default CloudFront distribution (#134)
  • Minimum protocol version for the default CloudFront distribution can now set using cloudfront_minimum_protocol_version variable. New default value is TLSv1 (was TLSv1.2_2018 before) (#134)

New Contributors

  • @3h4x made their first contribution in #134

v12.1.2

16 Apr 13:11
Compare
Choose a tag to compare

No changes to the image optimizer in this release.

Changelog

v12.1.1

13 Apr 17:52
Compare
Choose a tag to compare

This release adds support for older browsers when the source image has a newer format (AVIF or Webp) but the browser is not supporting it (Header Accept: */*). In these cases the .avif or .webp image is converted into a supported format (.jpeg) instead of serving the original file.
See the Next.js PR for more details: vercel/next.js#35190

Changelog

v12.1.0

04 Apr 12:51
Compare
Choose a tag to compare

Breaking Changes

  • The module now requires AWS Provider Version v4.8.0 or higher.
    Please follow the official upgrade guide when upgrading from the v3 provider: Terraform AWS Provider Version 4 Upgrade Guide.
    We also have updated our examples accordingly: Examples

  • SVG is no longer automatically optimized.
    For security reasons Next.js has disabled the optimization of SVG images by default, instead they added two new options dangerouslyAllowSVG & contentSecurityPolicy to the Next image config: Dangerously Allow SVG.
    To use them together with the module we introduced 2 new variables next_image_dangerously_allow_SVG & next_image_content_security_policy that can be used to configure the behaviour:

    module "next_image_optimizer" {
      source = "milliHQ/next-js-image-optimization/aws"
    
    + next_image_dangerously_allow_SVG   = true
    + next_image_content_security_policy = "default-src 'self'; script-src 'none'; sandbox;"
    }
    

Changelog

  • Ensure compatibility with AWS Provider Version 4 (#119, #120)
  • Uses Image Optimizer module of Next.js 12.1.0 (#123)
  • Adds option to enable SVG support (#124)

v12.0.10

29 Mar 18:47
Compare
Choose a tag to compare

Changelog

v12.0.9

17 Feb 19:00
Compare
Choose a tag to compare

Changelog

  • Uses Image Optimizer module of Next.js 12.0.9 (#104)
  • Smaller and better optimized image optimizer package (#113)

v12.0.8

17 Feb 16:55
Compare
Choose a tag to compare

Changelog

v12.0.7

15 Feb 19:23
Compare
Choose a tag to compare

Changelog

v12.0.6

29 Jan 16:42
Compare
Choose a tag to compare

Changelog

v12.0.5

22 Jan 16:36
Compare
Choose a tag to compare

Changelog