diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b3893a..5f54a01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +## [12.0.8] - 2022-02-17 + +- Uses Image Optimizer module of [Next.js 12.0.8](https://github.com/vercel/next.js/releases/tag/v12.0.8) ([#97](https://github.com/milliHQ/terraform-aws-next-js-image-optimization/pull/97)) + ## [12.0.7] - 2022-02-15 - Updates sharp to [`v0.30.1`](https://github.com/lovell/sharp/releases/tag/v0.30.1) ([#109](https://github.com/milliHQ/terraform-aws-next-js-image-optimization/pull/109)) diff --git a/README.md b/README.md index 298ee74..0ddbf86 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,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)` |
[
"image/webp"
]
| 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.0.7"` | no | +| next\_image\_version | Next.js version from where you want to use the image optimizer from. Supports semver ranges. | `string` | `"12.0.8"` | 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 bddee24..4b712c7 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.0.7" + default = "12.0.8" } variable "next_image_base_origin" {