diff --git a/.changeset/khaki-dragons-build.md b/.changeset/khaki-dragons-build.md deleted file mode 100644 index 8a2dad341..000000000 --- a/.changeset/khaki-dragons-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -Fix middleware search params with multiple values diff --git a/.changeset/lucky-ghosts-knock.md b/.changeset/lucky-ghosts-knock.md deleted file mode 100644 index d973d0f52..000000000 --- a/.changeset/lucky-ghosts-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -pass revalidate for ISR/SSG cache diff --git a/.changeset/six-icons-knock.md b/.changeset/six-icons-knock.md deleted file mode 100644 index bdb720046..000000000 --- a/.changeset/six-icons-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/aws": patch ---- - -fix edge middleware path on windows diff --git a/.changeset/sour-pandas-buy.md b/.changeset/sour-pandas-buy.md deleted file mode 100644 index 228a050fb..000000000 --- a/.changeset/sour-pandas-buy.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -"@opennextjs/aws": minor ---- - -Introduce support for the composable cache - -BREAKING CHANGE: The interface for the Incremental cache has changed. The new interface use a Cache type instead of a boolean to distinguish between the different types of caches. It also includes a new Cache type for the composable cache. The new interface is as follows: - -```ts -export type CacheEntryType = "cache" | "fetch" | "composable"; - -export type IncrementalCache = { - get( - key: string, - cacheType?: CacheType, - ): Promise> | null>; - set( - key: string, - value: CacheValue, - isFetch?: CacheType, - ): Promise; - delete(key: string): Promise; - name: string; -}; -``` - -NextModeTagCache also get a new function `getLastRevalidated` used for the composable cache: - -```ts - getLastRevalidated(tags: string[]): Promise; -``` \ No newline at end of file diff --git a/examples/app-pages-router/CHANGELOG.md b/examples/app-pages-router/CHANGELOG.md index f9ad96da5..caeb6a389 100644 --- a/examples/app-pages-router/CHANGELOG.md +++ b/examples/app-pages-router/CHANGELOG.md @@ -1,5 +1,12 @@ # app-pages-router +## 0.1.17 + +### Patch Changes + +- Updated dependencies [[`1ed738fed4184fe1f509c17d87239a6ec89cd014`](https://github.com/opennextjs/opennextjs-aws/commit/1ed738fed4184fe1f509c17d87239a6ec89cd014), [`3b979a2c18f2cf3f930f89587158fda29645fbbc`](https://github.com/opennextjs/opennextjs-aws/commit/3b979a2c18f2cf3f930f89587158fda29645fbbc), [`de53c4d2458f22d056320b71bd28567b8ac6ec04`](https://github.com/opennextjs/opennextjs-aws/commit/de53c4d2458f22d056320b71bd28567b8ac6ec04), [`64ee6845dd38d8b543ecbe1cda807ae1f9a37a16`](https://github.com/opennextjs/opennextjs-aws/commit/64ee6845dd38d8b543ecbe1cda807ae1f9a37a16)]: + - @opennextjs/aws@3.6.0 + ## 0.1.16 ### Patch Changes diff --git a/examples/app-pages-router/package.json b/examples/app-pages-router/package.json index aba0261fa..51e293abc 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.16", + "version": "0.1.17", "private": true, "scripts": { "openbuild": "node ../../packages/open-next/dist/index.js build --build-command \"npx turbo build\"", diff --git a/examples/app-router/CHANGELOG.md b/examples/app-router/CHANGELOG.md index b12bc1f7a..3cf4ebc5d 100644 --- a/examples/app-router/CHANGELOG.md +++ b/examples/app-router/CHANGELOG.md @@ -1,5 +1,12 @@ # app-router +## 0.1.17 + +### Patch Changes + +- Updated dependencies [[`1ed738fed4184fe1f509c17d87239a6ec89cd014`](https://github.com/opennextjs/opennextjs-aws/commit/1ed738fed4184fe1f509c17d87239a6ec89cd014), [`3b979a2c18f2cf3f930f89587158fda29645fbbc`](https://github.com/opennextjs/opennextjs-aws/commit/3b979a2c18f2cf3f930f89587158fda29645fbbc), [`de53c4d2458f22d056320b71bd28567b8ac6ec04`](https://github.com/opennextjs/opennextjs-aws/commit/de53c4d2458f22d056320b71bd28567b8ac6ec04), [`64ee6845dd38d8b543ecbe1cda807ae1f9a37a16`](https://github.com/opennextjs/opennextjs-aws/commit/64ee6845dd38d8b543ecbe1cda807ae1f9a37a16)]: + - @opennextjs/aws@3.6.0 + ## 0.1.16 ### Patch Changes diff --git a/examples/app-router/package.json b/examples/app-router/package.json index 6053b1051..a35c570e4 100644 --- a/examples/app-router/package.json +++ b/examples/app-router/package.json @@ -1,6 +1,6 @@ { "name": "app-router", - "version": "0.1.16", + "version": "0.1.17", "private": true, "scripts": { "openbuild": "node ../../packages/open-next/dist/index.js build --streaming --build-command \"npx turbo build\"", diff --git a/packages/open-next/CHANGELOG.md b/packages/open-next/CHANGELOG.md index 956ebe8f1..8b7237ebb 100644 --- a/packages/open-next/CHANGELOG.md +++ b/packages/open-next/CHANGELOG.md @@ -1,5 +1,45 @@ # open-next +## 3.6.0 + +### Minor Changes + +- [#843](https://github.com/opennextjs/opennextjs-aws/pull/843) [`64ee6845dd38d8b543ecbe1cda807ae1f9a37a16`](https://github.com/opennextjs/opennextjs-aws/commit/64ee6845dd38d8b543ecbe1cda807ae1f9a37a16) Thanks [@conico974](https://github.com/conico974)! - Introduce support for the composable cache + + BREAKING CHANGE: The interface for the Incremental cache has changed. The new interface use a Cache type instead of a boolean to distinguish between the different types of caches. It also includes a new Cache type for the composable cache. The new interface is as follows: + + ```ts + export type CacheEntryType = "cache" | "fetch" | "composable"; + + export type IncrementalCache = { + get( + key: string, + cacheType?: CacheType + ): Promise> | null>; + set( + key: string, + value: CacheValue, + isFetch?: CacheType + ): Promise; + delete(key: string): Promise; + name: string; + }; + ``` + + NextModeTagCache also get a new function `getLastRevalidated` used for the composable cache: + + ```ts + getLastRevalidated(tags: string[]): Promise; + ``` + +### Patch Changes + +- [#844](https://github.com/opennextjs/opennextjs-aws/pull/844) [`1ed738fed4184fe1f509c17d87239a6ec89cd014`](https://github.com/opennextjs/opennextjs-aws/commit/1ed738fed4184fe1f509c17d87239a6ec89cd014) Thanks [@conico974](https://github.com/conico974)! - Fix middleware search params with multiple values + +- [#833](https://github.com/opennextjs/opennextjs-aws/pull/833) [`3b979a2c18f2cf3f930f89587158fda29645fbbc`](https://github.com/opennextjs/opennextjs-aws/commit/3b979a2c18f2cf3f930f89587158fda29645fbbc) Thanks [@conico974](https://github.com/conico974)! - pass revalidate for ISR/SSG cache + +- [#839](https://github.com/opennextjs/opennextjs-aws/pull/839) [`de53c4d2458f22d056320b71bd28567b8ac6ec04`](https://github.com/opennextjs/opennextjs-aws/commit/de53c4d2458f22d056320b71bd28567b8ac6ec04) Thanks [@james-elicx](https://github.com/james-elicx)! - fix edge middleware path on windows + ## 3.5.8 ### Patch Changes diff --git a/packages/open-next/package.json b/packages/open-next/package.json index f68d01de0..0cbffab4c 100644 --- a/packages/open-next/package.json +++ b/packages/open-next/package.json @@ -3,7 +3,7 @@ "access": "public" }, "name": "@opennextjs/aws", - "version": "3.5.8", + "version": "3.6.0", "bin": { "open-next": "./dist/index.js" },