diff --git a/.changeset/blue-seals-fail.md b/.changeset/blue-seals-fail.md deleted file mode 100644 index 9616927c0..000000000 --- a/.changeset/blue-seals-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -print warning in case developers are using a different package manager to run @cloudflare/next-on-pages diff --git a/.changeset/brave-cougars-melt.md b/.changeset/brave-cougars-melt.md deleted file mode 100644 index b613731f4..000000000 --- a/.changeset/brave-cougars-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Fix route intercepts causing 404s for the non-intercepted route. diff --git a/.changeset/dull-wolves-arrive.md b/.changeset/dull-wolves-arrive.md deleted file mode 100644 index d8404280d..000000000 --- a/.changeset/dull-wolves-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Fix route intercept modals not getting all the parameters for a route. diff --git a/.changeset/fast-masks-attack.md b/.changeset/fast-masks-attack.md deleted file mode 100644 index 692cdaa7c..000000000 --- a/.changeset/fast-masks-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -improve unhelpful error message (so that instead of `[object Object]` it prints the actual error message) diff --git a/.changeset/good-squids-join.md b/.changeset/good-squids-join.md deleted file mode 100644 index d33dc66b6..000000000 --- a/.changeset/good-squids-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Improved support for newer version of Next.js with the suspense cache through trying to handle soft/implicit tags properly diff --git a/.changeset/olive-needles-lay.md b/.changeset/olive-needles-lay.md deleted file mode 100644 index b48882ded..000000000 --- a/.changeset/olive-needles-lay.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -fix external middleware rewrites - -Currently Middleware rewrites (`NextResponse.rewrite()`) assume that the rewrite destination -is on the same host as the application, meaning that the following operations would work as intended: - -```ts -NextResponse.rewrite(new URL('/rewrite-dest', request.url)); -``` - -while something like this would not: - -```ts -return NextResponse.rewrite( - new URL('https://my-customer-rewrite-site.come/rewrite-dest', request.url), -); -``` - -Remove such assumption and allow such external rewrites to take place (as they do on Vercel) diff --git a/.changeset/shaggy-wombats-happen.md b/.changeset/shaggy-wombats-happen.md deleted file mode 100644 index 8073b2bcb..000000000 --- a/.changeset/shaggy-wombats-happen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Fix old version of Next.js not updating a cache entry properly due to not receving the correct shape they expected. diff --git a/packages/eslint-plugin-next-on-pages/CHANGELOG.md b/packages/eslint-plugin-next-on-pages/CHANGELOG.md index a6624758b..e397113fc 100644 --- a/packages/eslint-plugin-next-on-pages/CHANGELOG.md +++ b/packages/eslint-plugin-next-on-pages/CHANGELOG.md @@ -1,5 +1,7 @@ # eslint-plugin-next-on-pages +## 1.8.1 + ## 1.8.0 ## 1.7.4 diff --git a/packages/eslint-plugin-next-on-pages/package.json b/packages/eslint-plugin-next-on-pages/package.json index 5762c6991..d64f81e8f 100644 --- a/packages/eslint-plugin-next-on-pages/package.json +++ b/packages/eslint-plugin-next-on-pages/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-next-on-pages", - "version": "1.8.0", + "version": "1.8.1", "main": "dist/index.js", "scripts": { "prebuild": "rimraf dist", diff --git a/packages/next-on-pages/CHANGELOG.md b/packages/next-on-pages/CHANGELOG.md index cfd0e1e32..351c46219 100644 --- a/packages/next-on-pages/CHANGELOG.md +++ b/packages/next-on-pages/CHANGELOG.md @@ -1,5 +1,35 @@ # @cloudflare/next-on-pages +## 1.8.1 + +### Patch Changes + +- 61d0a2f: print warning in case developers are using a different package manager to run @cloudflare/next-on-pages +- 1e73555: Fix route intercepts causing 404s for the non-intercepted route. +- 1e73555: Fix route intercept modals not getting all the parameters for a route. +- b7f9225: improve unhelpful error message (so that instead of `[object Object]` it prints the actual error message) +- bc216b4: Improved support for newer version of Next.js with the suspense cache through trying to handle soft/implicit tags properly +- 8ece962: fix external middleware rewrites + + Currently Middleware rewrites (`NextResponse.rewrite()`) assume that the rewrite destination + is on the same host as the application, meaning that the following operations would work as intended: + + ```ts + NextResponse.rewrite(new URL('/rewrite-dest', request.url)); + ``` + + while something like this would not: + + ```ts + return NextResponse.rewrite( + new URL('https://my-customer-rewrite-site.come/rewrite-dest', request.url), + ); + ``` + + Remove such assumption and allow such external rewrites to take place (as they do on Vercel) + +- bc216b4: Fix old version of Next.js not updating a cache entry properly due to not receving the correct shape they expected. + ## 1.8.0 ### Minor Changes diff --git a/packages/next-on-pages/package.json b/packages/next-on-pages/package.json index 2870ef82f..e957066da 100644 --- a/packages/next-on-pages/package.json +++ b/packages/next-on-pages/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/next-on-pages", - "version": "1.8.0", + "version": "1.8.1", "bin": "./bin/index.js", "exports": { "./__experimental__next-dev": "./dist/next-dev/index.cjs"