From 5e67ea176ac03718061b49bce6311ce169a355bd Mon Sep 17 00:00:00 2001 From: "workers-devprod@cloudflare.com" <116369605+workers-devprod@users.noreply.github.com> Date: Tue, 5 Dec 2023 19:19:03 +0000 Subject: [PATCH] Version Packages (#4536) Co-authored-by: github-actions[bot] --- .changeset/c3-frameworks-update-4538.md | 5 ----- .changeset/heavy-cherries-fetch.md | 5 ----- .changeset/quick-pens-develop.md | 7 ------- .changeset/serious-toys-repeat.md | 12 ----------- .changeset/slow-pants-fetch.md | 9 -------- .changeset/wise-seas-press.md | 8 ------- fixtures/dev-env/package.json | 2 +- packages/create-cloudflare/CHANGELOG.md | 6 ++++++ packages/create-cloudflare/package.json | 2 +- packages/miniflare/CHANGELOG.md | 14 +++++++++++++ packages/miniflare/package.json | 2 +- packages/pages-shared/CHANGELOG.md | 7 +++++++ packages/pages-shared/package.json | 2 +- packages/wrangler/CHANGELOG.md | 28 +++++++++++++++++++++++++ packages/wrangler/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 16 files changed, 62 insertions(+), 53 deletions(-) delete mode 100644 .changeset/c3-frameworks-update-4538.md delete mode 100644 .changeset/heavy-cherries-fetch.md delete mode 100644 .changeset/quick-pens-develop.md delete mode 100644 .changeset/serious-toys-repeat.md delete mode 100644 .changeset/slow-pants-fetch.md delete mode 100644 .changeset/wise-seas-press.md diff --git a/.changeset/c3-frameworks-update-4538.md b/.changeset/c3-frameworks-update-4538.md deleted file mode 100644 index bef96950c947..000000000000 --- a/.changeset/c3-frameworks-update-4538.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-docusaurus` from `3.0.0` to `3.0.1` diff --git a/.changeset/heavy-cherries-fetch.md b/.changeset/heavy-cherries-fetch.md deleted file mode 100644 index 588013626300..000000000000 --- a/.changeset/heavy-cherries-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: init from dash specifying explicit usage model in wrangler.toml for standard users diff --git a/.changeset/quick-pens-develop.md b/.changeset/quick-pens-develop.md deleted file mode 100644 index 8c762c019888..000000000000 --- a/.changeset/quick-pens-develop.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -fix: listen on IPv4 loopback only by default on Windows - -Due to a [known issue](https://github.com/cloudflare/workerd/issues/1408), `workerd` will only listen on the IPv4 loopback address `127.0.0.1` when it's asked to listen on `localhost`. On Node.js > 17, `localhost` will resolve to the IPv6 loopback address, meaning requests to `workerd` would fail. This change switches to using the IPv4 loopback address throughout Wrangler on Windows, while [workerd#1408](https://github.com/cloudflare/workerd/issues/1408) gets fixed. diff --git a/.changeset/serious-toys-repeat.md b/.changeset/serious-toys-repeat.md deleted file mode 100644 index bcb2b71609a8..000000000000 --- a/.changeset/serious-toys-repeat.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"wrangler": minor ---- - -Reintroduces some internal refactorings of wrangler dev servers (including `wrangler dev`, `wrangler dev --remote`, and `unstable_dev()`). - -These changes were released in 3.13.0 and reverted in 3.13.1 -- we believe the changes are now more stable and ready for release again. - -There are no changes required for developers to opt-in. Improvements include: - -- fewer 'address in use' errors upon reloads -- upon config/source file changes, requests are buffered to guarantee the response is from the new version of the Worker diff --git a/.changeset/slow-pants-fetch.md b/.changeset/slow-pants-fetch.md deleted file mode 100644 index fef97030d453..000000000000 --- a/.changeset/slow-pants-fetch.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"miniflare": patch ---- - -fix: ensure unused KV and Cache blobs cleaned up - -When storing data in KV, Cache and R2, Miniflare uses both an SQL database and separate blob store. When writing a key/value pair, a blob is created for the new value and the old blob for the previous value (if any) is deleted. A few months ago, we introduced a change that prevented old blobs being deleted for KV and Cache. R2 was unaffected. This shouldn't have caused any problems, but could lead to persistence directories growing unnecessarily as they filled up with garbage blobs. This change ensures garbage blobs are deleted. - -Note existing garbage will not be cleaned up. If you'd like to do this, download this Node script (https://gist.github.com/mrbbot/68787e19dcde511bd99aa94997b39076). If you're using the default Wrangler persistence directory, run `node gc.mjs kv .wrangler/state/v3/kv ...` and `node gc.mjs cache .wrangler/state/v3/cache default named: named: ...` with each of your KV namespace IDs (not binding names) and named caches. diff --git a/.changeset/wise-seas-press.md b/.changeset/wise-seas-press.md deleted file mode 100644 index b62fe35f90b1..000000000000 --- a/.changeset/wise-seas-press.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -fix: validate `Host` and `Orgin` headers where appropriate - -`Host` and `Origin` headers are now checked when connecting to the inspector and Miniflare's magic proxy. If these don't match what's expected, the request will fail. diff --git a/fixtures/dev-env/package.json b/fixtures/dev-env/package.json index 11103f0de5a0..0a513819b5b7 100644 --- a/fixtures/dev-env/package.json +++ b/fixtures/dev-env/package.json @@ -16,7 +16,7 @@ "@types/ws": "^8.5.7", "@cloudflare/workers-tsconfig": "workspace:^", "get-port": "^7.0.0", - "miniflare": "3.20231025.1", + "miniflare": "3.20231030.3", "undici": "^5.23.0", "wrangler": "workspace:*", "ws": "^8.14.2" diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index adf52f4f169b..807b5d261a71 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,11 @@ # create-cloudflare +## 2.8.1 + +### Patch Changes + +- [#4538](https://github.com/cloudflare/workers-sdk/pull/4538) [`a72f64c8`](https://github.com/cloudflare/workers-sdk/commit/a72f64c81c549510535fdc955bd3ad550be6c5a6) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-docusaurus` from `3.0.0` to `3.0.1` + ## 2.8.0 ### Minor Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index f0309d3a11d4..2ac80cf1bf90 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.8.0", + "version": "2.8.1", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 47e2ceb577e5..e6357f705ac5 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,19 @@ # miniflare +## 3.20231030.3 + +### Patch Changes + +- [#4466](https://github.com/cloudflare/workers-sdk/pull/4466) [`71fb0b86`](https://github.com/cloudflare/workers-sdk/commit/71fb0b86cf0ed81cc29ad71792edbba3a79ba87c) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure unused KV and Cache blobs cleaned up + + When storing data in KV, Cache and R2, Miniflare uses both an SQL database and separate blob store. When writing a key/value pair, a blob is created for the new value and the old blob for the previous value (if any) is deleted. A few months ago, we introduced a change that prevented old blobs being deleted for KV and Cache. R2 was unaffected. This shouldn't have caused any problems, but could lead to persistence directories growing unnecessarily as they filled up with garbage blobs. This change ensures garbage blobs are deleted. + + Note existing garbage will not be cleaned up. If you'd like to do this, download this Node script (https://gist.github.com/mrbbot/68787e19dcde511bd99aa94997b39076). If you're using the default Wrangler persistence directory, run `node gc.mjs kv .wrangler/state/v3/kv ...` and `node gc.mjs cache .wrangler/state/v3/cache default named: named: ...` with each of your KV namespace IDs (not binding names) and named caches. + +* [#4550](https://github.com/cloudflare/workers-sdk/pull/4550) [`63708a94`](https://github.com/cloudflare/workers-sdk/commit/63708a94fb7a055bf15fa963f2d598b47b11d3c0) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: validate `Host` and `Orgin` headers where appropriate + + `Host` and `Origin` headers are now checked when connecting to the inspector and Miniflare's magic proxy. If these don't match what's expected, the request will fail. + ## 3.20231030.2 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index aee55ab0f06e..ef2e91ce78e7 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20231030.2", + "version": "3.20231030.3", "description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", "keywords": [ "cloudflare", diff --git a/packages/pages-shared/CHANGELOG.md b/packages/pages-shared/CHANGELOG.md index 2349a6b0b9de..a963eca4d9da 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.11.3 + +### Patch Changes + +- Updated dependencies [[`71fb0b86`](https://github.com/cloudflare/workers-sdk/commit/71fb0b86cf0ed81cc29ad71792edbba3a79ba87c), [`63708a94`](https://github.com/cloudflare/workers-sdk/commit/63708a94fb7a055bf15fa963f2d598b47b11d3c0)]: + - miniflare@3.20231030.3 + ## 0.11.2 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 66935a14df0d..b920e53a9b69 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.2", + "version": "0.11.3", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 810478f09fd4..fb93f1b7f128 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,33 @@ # wrangler +## 3.19.0 + +### Minor Changes + +- [#4547](https://github.com/cloudflare/workers-sdk/pull/4547) [`86c81ff0`](https://github.com/cloudflare/workers-sdk/commit/86c81ff0d59e79d2d33f176f69a7c2d1dcd91e02) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: listen on IPv4 loopback only by default on Windows + + Due to a [known issue](https://github.com/cloudflare/workerd/issues/1408), `workerd` will only listen on the IPv4 loopback address `127.0.0.1` when it's asked to listen on `localhost`. On Node.js > 17, `localhost` will resolve to the IPv6 loopback address, meaning requests to `workerd` would fail. This change switches to using the IPv4 loopback address throughout Wrangler on Windows, while [workerd#1408](https://github.com/cloudflare/workerd/issues/1408) gets fixed. + +* [#4535](https://github.com/cloudflare/workers-sdk/pull/4535) [`29df8e17`](https://github.com/cloudflare/workers-sdk/commit/29df8e17545bf3926b6d61678b596be809d40c6d) Thanks [@mrbbot](https://github.com/mrbbot)! - Reintroduces some internal refactorings of wrangler dev servers (including `wrangler dev`, `wrangler dev --remote`, and `unstable_dev()`). + + These changes were released in 3.13.0 and reverted in 3.13.1 -- we believe the changes are now more stable and ready for release again. + + There are no changes required for developers to opt-in. Improvements include: + + - fewer 'address in use' errors upon reloads + - upon config/source file changes, requests are buffered to guarantee the response is from the new version of the Worker + +### Patch Changes + +- [#4521](https://github.com/cloudflare/workers-sdk/pull/4521) [`6c5bc704`](https://github.com/cloudflare/workers-sdk/commit/6c5bc704c5a13aab58b765c57b700204bc0830bf) Thanks [@zebp](https://github.com/zebp)! - fix: init from dash specifying explicit usage model in wrangler.toml for standard users + +* [#4550](https://github.com/cloudflare/workers-sdk/pull/4550) [`63708a94`](https://github.com/cloudflare/workers-sdk/commit/63708a94fb7a055bf15fa963f2d598b47b11d3c0) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: validate `Host` and `Orgin` headers where appropriate + + `Host` and `Origin` headers are now checked when connecting to the inspector and Miniflare's magic proxy. If these don't match what's expected, the request will fail. + +* Updated dependencies [[`71fb0b86`](https://github.com/cloudflare/workers-sdk/commit/71fb0b86cf0ed81cc29ad71792edbba3a79ba87c), [`63708a94`](https://github.com/cloudflare/workers-sdk/commit/63708a94fb7a055bf15fa963f2d598b47b11d3c0)]: + - miniflare@3.20231030.3 + ## 3.18.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 31097b29dc7f..8bdc476cf5cf 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.18.0", + "version": "3.19.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e181e3d120de..93fe639358fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -118,7 +118,7 @@ importers: specifier: ^7.0.0 version: 7.0.0 miniflare: - specifier: 3.20231025.1 + specifier: 3.20231030.3 version: link:../../packages/miniflare undici: specifier: ^5.23.0 @@ -16468,6 +16468,7 @@ packages: hasBin: true dependencies: lru-cache: 6.0.0 + dev: true /semver@7.5.4: resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} @@ -18550,7 +18551,6 @@ packages: optional: true utf-8-validate: optional: true - dev: false /xdg-app-paths@8.3.0: resolution: {integrity: sha512-mgxlWVZw0TNWHoGmXq+NC3uhCIc55dDpAlDkMQUaIAcQzysb0kxctwv//fvuW61/nAAeUBJMQ8mnZjMmuYwOcQ==}