From 46e53ec54e83d5efcc25c5b0e96e0d3e2a9ec5c2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 12:29:44 +0000 Subject: [PATCH] Version Packages (#670) Co-authored-by: github-actions[bot] --- .changeset/beige-ducks-glow.md | 9 ------ .changeset/brave-jeans-wait.md | 10 ------- .changeset/fresh-years-tap.md | 5 ---- .changeset/heavy-cheetahs-hear.md | 5 ---- .changeset/rare-deers-brake.md | 10 ------- .../eslint-plugin-next-on-pages/CHANGELOG.md | 2 ++ .../eslint-plugin-next-on-pages/package.json | 2 +- packages/next-on-pages/CHANGELOG.md | 29 +++++++++++++++++++ packages/next-on-pages/package.json | 2 +- 9 files changed, 33 insertions(+), 41 deletions(-) delete mode 100644 .changeset/beige-ducks-glow.md delete mode 100644 .changeset/brave-jeans-wait.md delete mode 100644 .changeset/fresh-years-tap.md delete mode 100644 .changeset/heavy-cheetahs-hear.md delete mode 100644 .changeset/rare-deers-brake.md diff --git a/.changeset/beige-ducks-glow.md b/.changeset/beige-ducks-glow.md deleted file mode 100644 index 946e5c903..000000000 --- a/.changeset/beige-ducks-glow.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Make the `getRequestContext`'s error message more helpful during local development - -During local development add information in the `getRequestContext`'s error -message reminding the user to setup the dev platform via `setupDevPlatform` -in their config file diff --git a/.changeset/brave-jeans-wait.md b/.changeset/brave-jeans-wait.md deleted file mode 100644 index 6f9018f6b..000000000 --- a/.changeset/brave-jeans-wait.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Make `getRequestContext` and `getOptionalRequestContext` throw if used inside the Node.js runtime - -Currently if users run `getRequestContext` or `getOptionalRequestContext` in the Node.js runtime -they get a generic error saying that the request context could not be found, improve such behavior -by having the functions throw instead, clearly informing the user that the problem is the wrong -runtime being used diff --git a/.changeset/fresh-years-tap.md b/.changeset/fresh-years-tap.md deleted file mode 100644 index 1c4250b5b..000000000 --- a/.changeset/fresh-years-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Fix bundled wasm imports that are not located inside the function's directory. diff --git a/.changeset/heavy-cheetahs-hear.md b/.changeset/heavy-cheetahs-hear.md deleted file mode 100644 index d5ee74be0..000000000 --- a/.changeset/heavy-cheetahs-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Fix the Next.js `originalRequest` bug for an unminified edge function generated by Vercel. diff --git a/.changeset/rare-deers-brake.md b/.changeset/rare-deers-brake.md deleted file mode 100644 index 0ce733a8d..000000000 --- a/.changeset/rare-deers-brake.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@cloudflare/next-on-pages': minor ---- - -make (no-op) `caches` available in dev mode - -update `setupDevPlatform` to also add a `caches` object to the global scope -so that it can be used during development in a production-like manner - -_note_: the implementation of `caches` is currently a no-op one diff --git a/packages/eslint-plugin-next-on-pages/CHANGELOG.md b/packages/eslint-plugin-next-on-pages/CHANGELOG.md index a7cbaccd5..447a3cbde 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.10.0 + ## 1.9.0 ## 1.8.6 diff --git a/packages/eslint-plugin-next-on-pages/package.json b/packages/eslint-plugin-next-on-pages/package.json index 714944739..790aba5ab 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.9.0", + "version": "1.10.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 1be1654da..4dfd04b7e 100644 --- a/packages/next-on-pages/CHANGELOG.md +++ b/packages/next-on-pages/CHANGELOG.md @@ -1,5 +1,34 @@ # @cloudflare/next-on-pages +## 1.10.0 + +### Minor Changes + +- 739e2a7: make (no-op) `caches` available in dev mode + + update `setupDevPlatform` to also add a `caches` object to the global scope + so that it can be used during development in a production-like manner + + _note_: the implementation of `caches` is currently a no-op one + +### Patch Changes + +- 90e140c: Make the `getRequestContext`'s error message more helpful during local development + + During local development add information in the `getRequestContext`'s error + message reminding the user to setup the dev platform via `setupDevPlatform` + in their config file + +- 5187973: Make `getRequestContext` and `getOptionalRequestContext` throw if used inside the Node.js runtime + + Currently if users run `getRequestContext` or `getOptionalRequestContext` in the Node.js runtime + they get a generic error saying that the request context could not be found, improve such behavior + by having the functions throw instead, clearly informing the user that the problem is the wrong + runtime being used + +- 9b1d951: Fix bundled wasm imports that are not located inside the function's directory. +- b46977c: Fix the Next.js `originalRequest` bug for an unminified edge function generated by Vercel. + ## 1.9.0 ### Minor Changes diff --git a/packages/next-on-pages/package.json b/packages/next-on-pages/package.json index f7ef80802..ca30339e8 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.9.0", + "version": "1.10.0", "bin": "./bin/index.js", "exports": { ".": "./dist/api/index.js",