You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,17 @@
1
1
# Changelog
2
2
3
+
## 11.0.0 (June 15, 2021)
4
+
5
+
The output `cloudfront_origin_image_optimizer` is now deprecated.
6
+
Use `cloudfront_origin` instead.
7
+
8
+
- Fixes image optimization for webp format ([#44](https://github.com/dealmore/terraform-aws-next-js-image-optimization/pull/44))
9
+
Thanks to [@vcnc-hex](https://github.com/vcnc-hex) for contributing!
10
+
- Uses Image Optimizer module of [Next.js 11.0.0](https://github.com/vercel/next.js/releases/tag/v11.0.0) ([#45](https://github.com/dealmore/terraform-aws-next-js-image-optimization/pull/45))
11
+
- Add output for cache behavior ([#43](https://github.com/dealmore/terraform-aws-next-js-image-optimization/issues/43), [#48](https://github.com/dealmore/terraform-aws-next-js-image-optimization/pull/48))
12
+
- Bump AWS API Gateway Terraform module from 0.11.0 to 1.1.0 ([#47](https://github.com/dealmore/terraform-aws-next-js-image-optimization/pull/47))
13
+
- Bump AWS Lambda Terraform module from 1.47.0 to 2.4.0 ([#46](https://github.com/dealmore/terraform-aws-next-js-image-optimization/pull/46))
14
+
3
15
## 10.2.3 (June 05, 2021)
4
16
5
17
- Improves caching of processed images by using [CloudFront Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) ([#2](https://github.com/dealmore/terraform-aws-next-js-image-optimization/issues/2), [#41](https://github.com/dealmore/terraform-aws-next-js-image-optimization/pull/41))
Copy file name to clipboardExpand all lines: README.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -135,19 +135,21 @@ Then rebuild and redeploy your Next.js application to make use of the changed co
135
135
| next\_image\_device\_sizes | Allowed device sizes that should be used for image optimization. |`list(number)`|`null`| no |
136
136
| next\_image\_domains | Allowed origin domains that can be used for fetching images. |`list(string)`|`[]`| no |
137
137
| next\_image\_image\_sizes | Allowed image sizes that should be used for image optimization. |`list(number)`|`null`| no |
138
-
| next\_image\_version | Next.js version from where you want to use the image optimizer from. Supports semver ranges. |`string`|`"10.2.3"`| no |
138
+
| next\_image\_version | Next.js version from where you want to use the image optimizer from. Supports semver ranges. |`string`|`"11.0.0"`| no |
139
139
| 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 |
140
140
| tags | Tag metadata to label AWS resources that support tags. |`map(string)`|`{}`| no |
141
141
142
142
## Outputs
143
143
144
144
| Name | Description |
145
145
|------|-------------|
146
+
| cloudfront\_cache\_behavior | Predefined CloudFront cache behavior. Can be used to embed the image optimizer into an existing CloudFront resource. |
146
147
| cloudfront\_cache\_policy\_id | Cache policy id used for image optimization. |
147
148
| cloudfront\_domain\_name | Domain of the internal CloudFront distribution. |
148
149
| cloudfront\_hosted\_zone\_id | Zone id of the internal CloudFront distribution. |
150
+
| cloudfront\_origin | Predefined CloudFront origin. Can be used to embed the image optimizer into an existing CloudFront resource. |
149
151
| cloudfront\_origin\_id | Id of the custom origin used for image optimization. |
150
-
| cloudfront\_origin\_image\_optimizer |Predefined CloudFront origin of the image optimizer. Can be used to embedd the image optimizer into an existing CloudFront resource. |
152
+
| cloudfront\_origin\_image\_optimizer |Deprecated, please use cloudfront\_origin instead. |
151
153
| cloudfront\_origin\_request\_policy\_id | Request policy id used for image optimization. |
0 commit comments