diff --git a/CHANGELOG.md b/CHANGELOG.md index cd75d7f..b2a5f73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +## [12.1.1] - 2022-04-13 + +- Uses Image Optimizer module of [Next.js 12.1.1](https://github.com/vercel/next.js/releases/tag/v12.1.1) ([#116](https://github.com/milliHQ/terraform-aws-next-js-image-optimization/pull/116)) + ## [12.1.0] - 2022-04-04 - Ensure compatibility with AWS Provider Version 4 ([#119](https://github.com/milliHQ/terraform-aws-next-js-image-optimization/pull/119), [#120](https://github.com/milliHQ/terraform-aws-next-js-image-optimization/issues/120)) diff --git a/README.md b/README.md index 313f2ac..cf601a2 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Then rebuild and redeploy your Next.js application to make use of the changed co | next\_image\_domains | Allowed origin domains that can be used for fetching images. | `list(string)` | `[]` | no | | next\_image\_formats | If the Accept head matches more than one of the configured formats, the first match in the array is used. Therefore, the array order matters. If there is no match, the Image Optimization API will fallback to the original image's format. | `list(string)` |
[| no | | next\_image\_image\_sizes | Allowed image sizes that should be used for image optimization. | `list(number)` | `null` | no | -| next\_image\_version | Next.js version from where you want to use the image optimizer from. Supports semver ranges. | `string` | `"12.1.0"` | no | +| next\_image\_version | Next.js version from where you want to use the image optimizer from. Supports semver ranges. | `string` | `"12.1.1"` | no | | source\_bucket\_id | When your static files are deployed to a Bucket (e.g. with Terraform Next.js) the optimizer can pull the source from the bucket rather than over the internet. | `string` | `null` | no | | tags | Tag metadata to label AWS resources that support tags. | `map(string)` | `{}` | no | diff --git a/variables.tf b/variables.tf index bd172a0..7c95323 100644 --- a/variables.tf +++ b/variables.tf @@ -4,7 +4,7 @@ variable "next_image_version" { description = "Next.js version from where you want to use the image optimizer from. Supports semver ranges." type = string - default = "12.1.0" + default = "12.1.1" } variable "next_image_base_origin" {
"image/webp"
]