diff --git a/.changeset/neat-rockets-perform.md b/.changeset/neat-rockets-perform.md deleted file mode 100644 index 36a12c13a..000000000 --- a/.changeset/neat-rockets-perform.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -add assertions for making sure that the required `setupDevBindings` options are provided diff --git a/.changeset/orange-buttons-add.md b/.changeset/orange-buttons-add.md deleted file mode 100644 index b79164707..000000000 --- a/.changeset/orange-buttons-add.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -fix: ensure Durable Object stub proxies fetch Durable Objects and not their containing Worker - -Previously, calling `DurableObjectStub#fetch()` would dispatch a `fetch` event to the Worker containing the target Durable Object, not the Durable Object itself. This change ensures the `fetch` event is dispatched directly to the Durable Object. diff --git a/.changeset/polite-rice-grab.md b/.changeset/polite-rice-grab.md deleted file mode 100644 index 7cabdf97c..000000000 --- a/.changeset/polite-rice-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -indent `setupDevBindings` warnings diff --git a/.changeset/popular-guests-tell.md b/.changeset/popular-guests-tell.md deleted file mode 100644 index e45194d84..000000000 --- a/.changeset/popular-guests-tell.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -add `databaseId` variant for D1s to the `setupDevBindings` D1 binding type - -D1 databases can only be referenced by their ID and not name, the current implementation -wrongly accepts the database name and uses it as the database id, in order to amend this -without introducing a breaking change we add a variant of the D1 binding type that accepts -a `databaseId` field instead of the `databaseName` for the binding and we present a warning -to users if the `databaseName` is used instead. - -When a better more stable/clear API will be decided for D1 bindings we can revisit this API. diff --git a/.changeset/strange-zoos-unite.md b/.changeset/strange-zoos-unite.md deleted file mode 100644 index 7218e0e35..000000000 --- a/.changeset/strange-zoos-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -remove the invalid stringification of var bindings in `next-dev` diff --git a/.changeset/witty-kids-repair.md b/.changeset/witty-kids-repair.md deleted file mode 100644 index 7539c9f3c..000000000 --- a/.changeset/witty-kids-repair.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -chore: bump to `miniflare@3.20231218.1` diff --git a/packages/eslint-plugin-next-on-pages/CHANGELOG.md b/packages/eslint-plugin-next-on-pages/CHANGELOG.md index b383137bc..cf9ec6552 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.6 + ## 1.8.5 ## 1.8.4 diff --git a/packages/eslint-plugin-next-on-pages/package.json b/packages/eslint-plugin-next-on-pages/package.json index 3d75d4c29..fc3c33a13 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.5", + "version": "1.8.6", "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 ccc3ea4a4..7546c4fde 100644 --- a/packages/next-on-pages/CHANGELOG.md +++ b/packages/next-on-pages/CHANGELOG.md @@ -1,5 +1,28 @@ # @cloudflare/next-on-pages +## 1.8.6 + +### Patch Changes + +- 0b1af18: add assertions for making sure that the required `setupDevBindings` options are provided +- bb18e8a: fix: ensure Durable Object stub proxies fetch Durable Objects and not their containing Worker + + Previously, calling `DurableObjectStub#fetch()` would dispatch a `fetch` event to the Worker containing the target Durable Object, not the Durable Object itself. This change ensures the `fetch` event is dispatched directly to the Durable Object. + +- 3dd1f20: indent `setupDevBindings` warnings +- 519c6cc: add `databaseId` variant for D1s to the `setupDevBindings` D1 binding type + + D1 databases can only be referenced by their ID and not name, the current implementation + wrongly accepts the database name and uses it as the database id, in order to amend this + without introducing a breaking change we add a variant of the D1 binding type that accepts + a `databaseId` field instead of the `databaseName` for the binding and we present a warning + to users if the `databaseName` is used instead. + + When a better more stable/clear API will be decided for D1 bindings we can revisit this API. + +- 05b6256: remove the invalid stringification of var bindings in `next-dev` +- bb18e8a: chore: bump to `miniflare@3.20231218.1` + ## 1.8.5 ### Patch Changes diff --git a/packages/next-on-pages/package.json b/packages/next-on-pages/package.json index f40c6b025..5ae1c596f 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.5", + "version": "1.8.6", "bin": "./bin/index.js", "exports": { "./next-dev": "./dist/next-dev/index.cjs"