diff --git a/.changeset/funny-berries-beg.md b/.changeset/funny-berries-beg.md deleted file mode 100644 index 9078b151f..000000000 --- a/.changeset/funny-berries-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -fix `trailingSlash` set to `true` alongside `i18n` enabled causing incorrect `404`s diff --git a/.changeset/fuzzy-turkeys-try.md b/.changeset/fuzzy-turkeys-try.md deleted file mode 100644 index ae51bcc4f..000000000 --- a/.changeset/fuzzy-turkeys-try.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'eslint-plugin-next-on-pages': minor ---- - -add new `no-app-nodejs-dynamic-ssg` rule - -add the new `no-app-nodejs-dynamic-ssg` rule that makes sure that -developers using `generateStaticParams` also export either the `runtime` -variable set to `edge` or the `dynamicParams` one set to `false` diff --git a/.changeset/healthy-ads-knock.md b/.changeset/healthy-ads-knock.md deleted file mode 100644 index 3cf325bd9..000000000 --- a/.changeset/healthy-ads-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Make sure protocol relative URLs are not treated as actual relative URLs diff --git a/.changeset/khaki-pumas-whisper.md b/.changeset/khaki-pumas-whisper.md deleted file mode 100644 index cd61ee066..000000000 --- a/.changeset/khaki-pumas-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -fix issue in which redirect responses become rewrites when a middleware is involved diff --git a/.changeset/lazy-avocados-swim.md b/.changeset/lazy-avocados-swim.md deleted file mode 100644 index f8af795c9..000000000 --- a/.changeset/lazy-avocados-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -make sure that the original request headers are not passed along when fetching external images diff --git a/.changeset/proud-coats-raise.md b/.changeset/proud-coats-raise.md deleted file mode 100644 index 6c9f08b3c..000000000 --- a/.changeset/proud-coats-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -fix `process.env` not giving access to bindings during local development (in `next-dev`) diff --git a/.changeset/shaggy-colts-rhyme.md b/.changeset/shaggy-colts-rhyme.md deleted file mode 100644 index 10166efd3..000000000 --- a/.changeset/shaggy-colts-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Throw a user friendly error message when `getRequestContext` is called during prerendering diff --git a/.changeset/six-hotels-rule.md b/.changeset/six-hotels-rule.md deleted file mode 100644 index 87a1b2f07..000000000 --- a/.changeset/six-hotels-rule.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'eslint-plugin-next-on-pages': minor ---- - -add new `no-pages-nodejs-dynamic-ssg` rule - -add the new `no-pages-nodejs-dynamic-ssg` rule that makes sure that -developers using `getStaticPaths` set the `fallback` property to `false` -or opt in into the `edge` runtime diff --git a/.changeset/sour-jeans-kneel.md b/.changeset/sour-jeans-kneel.md deleted file mode 100644 index 33ab2d98d..000000000 --- a/.changeset/sour-jeans-kneel.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -fix applications using Next.js v.14.2.0-canary.18 and up - -In v.14.2.0-canary.18 a simple upstream change in Next.js changes the code that -next-on-pages receives, nullifying a find-and-replace regex that next-on-pages -is currently relying on, update such regex so that it can handle the new code diff --git a/packages/eslint-plugin-next-on-pages/CHANGELOG.md b/packages/eslint-plugin-next-on-pages/CHANGELOG.md index 447a3cbde..efc824be2 100644 --- a/packages/eslint-plugin-next-on-pages/CHANGELOG.md +++ b/packages/eslint-plugin-next-on-pages/CHANGELOG.md @@ -1,5 +1,21 @@ # eslint-plugin-next-on-pages +## 1.11.0 + +### Minor Changes + +- 702f601: add new `no-app-nodejs-dynamic-ssg` rule + + add the new `no-app-nodejs-dynamic-ssg` rule that makes sure that + developers using `generateStaticParams` also export either the `runtime` + variable set to `edge` or the `dynamicParams` one set to `false` + +- 82aa1a4: add new `no-pages-nodejs-dynamic-ssg` rule + + add the new `no-pages-nodejs-dynamic-ssg` rule that makes sure that + developers using `getStaticPaths` set the `fallback` property to `false` + or opt in into the `edge` runtime + ## 1.10.0 ## 1.9.0 diff --git a/packages/eslint-plugin-next-on-pages/package.json b/packages/eslint-plugin-next-on-pages/package.json index 790aba5ab..8c061bdc5 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.10.0", + "version": "1.11.0", "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 4dfd04b7e..8492b411e 100644 --- a/packages/next-on-pages/CHANGELOG.md +++ b/packages/next-on-pages/CHANGELOG.md @@ -1,5 +1,21 @@ # @cloudflare/next-on-pages +## 1.11.0 + +### Patch Changes + +- 555b4a7: fix `trailingSlash` set to `true` alongside `i18n` enabled causing incorrect `404`s +- 8da9da2: Make sure protocol relative URLs are not treated as actual relative URLs +- 60eb0ae: fix issue in which redirect responses become rewrites when a middleware is involved +- c3fb67b: make sure that the original request headers are not passed along when fetching external images +- 9900517: fix `process.env` not giving access to bindings during local development (in `next-dev`) +- 869cee0: Throw a user friendly error message when `getRequestContext` is called during prerendering +- 53cb762: fix applications using Next.js v.14.2.0-canary.18 and up + + In v.14.2.0-canary.18 a simple upstream change in Next.js changes the code that + next-on-pages receives, nullifying a find-and-replace regex that next-on-pages + is currently relying on, update such regex so that it can handle the new code + ## 1.10.0 ### Minor Changes diff --git a/packages/next-on-pages/package.json b/packages/next-on-pages/package.json index ca30339e8..dadd4df5d 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.10.0", + "version": "1.11.0", "bin": "./bin/index.js", "exports": { ".": "./dist/api/index.js",