diff --git a/.changeset/breezy-owls-stand.md b/.changeset/breezy-owls-stand.md deleted file mode 100644 index 277dbfa94..000000000 --- a/.changeset/breezy-owls-stand.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -Fix ISR revalidation to also accept valid Next.js non-200 status codes (307, 308 and 404) diff --git a/.changeset/cool-tools-add.md b/.changeset/cool-tools-add.md deleted file mode 100644 index 167f5d86d..000000000 --- a/.changeset/cool-tools-add.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -fix: handle multiple same-name headers as array in fetch proxyExternalRequest diff --git a/.changeset/eager-masks-work.md b/.changeset/eager-masks-work.md deleted file mode 100644 index a21bc4d70..000000000 --- a/.changeset/eager-masks-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -add support for prefetch inlining in the cache interceptor diff --git a/.changeset/filter-native-platform-binaries.md b/.changeset/filter-native-platform-binaries.md deleted file mode 100644 index 9e986a8f5..000000000 --- a/.changeset/filter-native-platform-binaries.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -Auto-filter non-Linux platform-specific native binaries (e.g. @swc/core-darwin-arm64) from Lambda bundles during traced files copy diff --git a/.changeset/i18n_redirects_with_query_parameters.md b/.changeset/i18n_redirects_with_query_parameters.md deleted file mode 100644 index 56777fe82..000000000 --- a/.changeset/i18n_redirects_with_query_parameters.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -Preserve query parameters during i18n redirects to a localized path \ No newline at end of file diff --git a/.changeset/slick-crabs-hear.md b/.changeset/slick-crabs-hear.md deleted file mode 100644 index 4c3684a6e..000000000 --- a/.changeset/slick-crabs-hear.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@opennextjs/aws": minor ---- - -Add support for SWR (stale-while-revalidate) in `revalidateTag` - -Introduces a new optional method `isStale` in the tag cache for both the original and the next modes. The implementation is mandatory for SWR to work. - -It also introduces a `RequestCache` utility that can be used to cache things scoped to a request (stored in the OpenNext internal AsyncLocalStorage context) - -### BREAKING CHANGE - -`writeTags` for the tag cache signature has changed to `writeTags(tags: NextModeTagCacheWriteInput[]): Promise` for Next mode, and `writeTags(tags: OriginalTagCacheWriteInput[]): Promise` for the original mode. -This is breaking only for custom tag cache implementations, if you are using the default one provided by OpenNext, you don't need to do anything. - -`globalThis.isNextAfter15` is no longer available in the cache. \ No newline at end of file diff --git a/.changeset/thirty-turtles-tan.md b/.changeset/thirty-turtles-tan.md deleted file mode 100644 index 076a2bf85..000000000 --- a/.changeset/thirty-turtles-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -fix: dereference symlinks when copying public folder diff --git a/examples/app-pages-router/CHANGELOG.md b/examples/app-pages-router/CHANGELOG.md index 2a7db15a5..8b895e9db 100644 --- a/examples/app-pages-router/CHANGELOG.md +++ b/examples/app-pages-router/CHANGELOG.md @@ -1,5 +1,12 @@ # app-pages-router +## 0.1.55 + +### Patch Changes + +- Updated dependencies [[`fad4632ef4278db0a040b3a3948d259c1cf43c05`](https://github.com/opennextjs/opennextjs-aws/commit/fad4632ef4278db0a040b3a3948d259c1cf43c05), [`323448b83f6c292398338f9d6307c113d1246da9`](https://github.com/opennextjs/opennextjs-aws/commit/323448b83f6c292398338f9d6307c113d1246da9), [`8210035cc30720702a6052e22bbf9275ef54c636`](https://github.com/opennextjs/opennextjs-aws/commit/8210035cc30720702a6052e22bbf9275ef54c636), [`3a2b1b9497c531e9f07f66f7a140f152a9d8fc26`](https://github.com/opennextjs/opennextjs-aws/commit/3a2b1b9497c531e9f07f66f7a140f152a9d8fc26), [`e49782af723ec97f1373e654a7e400e1ba3e827e`](https://github.com/opennextjs/opennextjs-aws/commit/e49782af723ec97f1373e654a7e400e1ba3e827e), [`1a75cc712c56448f5d77abb810cf4af259802a28`](https://github.com/opennextjs/opennextjs-aws/commit/1a75cc712c56448f5d77abb810cf4af259802a28), [`92f1f300341321a820e60133eb9ee399b39fc5d1`](https://github.com/opennextjs/opennextjs-aws/commit/92f1f300341321a820e60133eb9ee399b39fc5d1)]: + - @opennextjs/aws@3.10.0 + ## 0.1.54 ### Patch Changes diff --git a/examples/app-pages-router/package.json b/examples/app-pages-router/package.json index 0e7a344a6..61c6b7cf1 100644 --- a/examples/app-pages-router/package.json +++ b/examples/app-pages-router/package.json @@ -1,6 +1,6 @@ { "name": "app-pages-router", - "version": "0.1.54", + "version": "0.1.55", "private": true, "scripts": { "openbuild": "node ../../packages/open-next/dist/index.js build --build-command \"npx turbo build\"", diff --git a/packages/open-next/CHANGELOG.md b/packages/open-next/CHANGELOG.md index c53b86560..a79a2b55b 100644 --- a/packages/open-next/CHANGELOG.md +++ b/packages/open-next/CHANGELOG.md @@ -1,5 +1,36 @@ # open-next +## 3.10.0 + +### Minor Changes + +- [#1122](https://github.com/opennextjs/opennextjs-aws/pull/1122) [`1a75cc712c56448f5d77abb810cf4af259802a28`](https://github.com/opennextjs/opennextjs-aws/commit/1a75cc712c56448f5d77abb810cf4af259802a28) Thanks [@conico974](https://github.com/conico974)! - Add support for SWR (stale-while-revalidate) in `revalidateTag` + + Introduces a new optional method `isStale` in the tag cache for both the original and the next modes. The implementation is mandatory for SWR to work. + + It also introduces a `RequestCache` utility that can be used to cache things scoped to a request (stored in the OpenNext internal AsyncLocalStorage context) + + ### BREAKING CHANGE + + `writeTags` for the tag cache signature has changed to `writeTags(tags: NextModeTagCacheWriteInput[]): Promise` for Next mode, and `writeTags(tags: OriginalTagCacheWriteInput[]): Promise` for the original mode. + This is breaking only for custom tag cache implementations, if you are using the default one provided by OpenNext, you don't need to do anything. + + `globalThis.isNextAfter15` is no longer available in the cache. + +### Patch Changes + +- [#1121](https://github.com/opennextjs/opennextjs-aws/pull/1121) [`fad4632ef4278db0a040b3a3948d259c1cf43c05`](https://github.com/opennextjs/opennextjs-aws/commit/fad4632ef4278db0a040b3a3948d259c1cf43c05) Thanks [@ntltd](https://github.com/ntltd)! - Fix ISR revalidation to also accept valid Next.js non-200 status codes (307, 308 and 404) + +- [#1135](https://github.com/opennextjs/opennextjs-aws/pull/1135) [`323448b83f6c292398338f9d6307c113d1246da9`](https://github.com/opennextjs/opennextjs-aws/commit/323448b83f6c292398338f9d6307c113d1246da9) Thanks [@ktKongTong](https://github.com/ktKongTong)! - fix: handle multiple same-name headers as array in fetch proxyExternalRequest + +- [#1132](https://github.com/opennextjs/opennextjs-aws/pull/1132) [`8210035cc30720702a6052e22bbf9275ef54c636`](https://github.com/opennextjs/opennextjs-aws/commit/8210035cc30720702a6052e22bbf9275ef54c636) Thanks [@conico974](https://github.com/conico974)! - add support for prefetch inlining in the cache interceptor + +- [#1117](https://github.com/opennextjs/opennextjs-aws/pull/1117) [`3a2b1b9497c531e9f07f66f7a140f152a9d8fc26`](https://github.com/opennextjs/opennextjs-aws/commit/3a2b1b9497c531e9f07f66f7a140f152a9d8fc26) Thanks [@clichedmoog](https://github.com/clichedmoog)! - Auto-filter non-Linux platform-specific native binaries (e.g. @swc/core-darwin-arm64) from Lambda bundles during traced files copy + +- [#1118](https://github.com/opennextjs/opennextjs-aws/pull/1118) [`e49782af723ec97f1373e654a7e400e1ba3e827e`](https://github.com/opennextjs/opennextjs-aws/commit/e49782af723ec97f1373e654a7e400e1ba3e827e) Thanks [@tsurumeso](https://github.com/tsurumeso)! - Preserve query parameters during i18n redirects to a localized path + +- [#1125](https://github.com/opennextjs/opennextjs-aws/pull/1125) [`92f1f300341321a820e60133eb9ee399b39fc5d1`](https://github.com/opennextjs/opennextjs-aws/commit/92f1f300341321a820e60133eb9ee399b39fc5d1) Thanks [@rikublock](https://github.com/rikublock)! - fix: dereference symlinks when copying public folder + ## 3.9.16 ### Patch Changes diff --git a/packages/open-next/package.json b/packages/open-next/package.json index b1e814834..01c4d6c2f 100644 --- a/packages/open-next/package.json +++ b/packages/open-next/package.json @@ -3,7 +3,7 @@ "access": "public" }, "name": "@opennextjs/aws", - "version": "3.9.16", + "version": "3.10.0", "bin": { "open-next": "./dist/index.js" },