diff --git a/.changeset/fluffy-yaks-matter.md b/.changeset/fluffy-yaks-matter.md deleted file mode 100644 index 4f1f7ca4dc44..000000000000 --- a/.changeset/fluffy-yaks-matter.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"wrangler": patch ---- - -fix: switch default logging level of `unstable_dev()` to `warn` - -When running `unstable_dev()` in its default "test mode", the logging level was set to `none`. This meant any Worker startup errors or helpful warnings wouldn't be shown. This change switches the default to `warn`. To restore the previous behaviour, include `logLevel: "none"` in your options object: - -```js -const worker = await unstable_dev("path/to/script.js", { - logLevel: "none", -}); -``` diff --git a/.changeset/silent-geese-leave.md b/.changeset/silent-geese-leave.md deleted file mode 100644 index 7adbb042dee5..000000000000 --- a/.changeset/silent-geese-leave.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -fix: ensure internals can access `workerd` when starting on non-local `host` - -Previously, if Miniflare was configured to start on a `host` that wasn't `127.0.0.1`, `::1`, `*`, `::`, or `0.0.0.0`, calls to `Miniflare` API methods relying on the magic proxy (e.g. `getKVNamespace()`, `getWorker()`, etc.) would fail. This change ensures `workerd` is always accessible to Miniflare's internals. This also fixes `wrangler dev` when using local network address such as `192.168.0.10` with the `--ip` flag. diff --git a/.changeset/tender-nails-tickle.md b/.changeset/tender-nails-tickle.md deleted file mode 100644 index 42ee87bd3528..000000000000 --- a/.changeset/tender-nails-tickle.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -fix: ensure IPv6 addresses can be used as `host`s - -Previously, if Miniflare was configured to start on an IPv6 `host`, it could crash. This change ensures IPv6 addresses are handled correctly. This also fixes `wrangler dev` when using IPv6 addresses such as `::1` with the `--ip` flag. diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 631f8060dca2..04a6240666c6 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,17 @@ # miniflare +## 3.20240223.1 + +### Patch Changes + +- [#5133](https://github.com/cloudflare/workers-sdk/pull/5133) [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure internals can access `workerd` when starting on non-local `host` + + Previously, if Miniflare was configured to start on a `host` that wasn't `127.0.0.1`, `::1`, `*`, `::`, or `0.0.0.0`, calls to `Miniflare` API methods relying on the magic proxy (e.g. `getKVNamespace()`, `getWorker()`, etc.) would fail. This change ensures `workerd` is always accessible to Miniflare's internals. This also fixes `wrangler dev` when using local network address such as `192.168.0.10` with the `--ip` flag. + +- [#5133](https://github.com/cloudflare/workers-sdk/pull/5133) [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure IPv6 addresses can be used as `host`s + + Previously, if Miniflare was configured to start on an IPv6 `host`, it could crash. This change ensures IPv6 addresses are handled correctly. This also fixes `wrangler dev` when using IPv6 addresses such as `::1` with the `--ip` flag. + ## 3.20240223.0 ### Minor Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 192e66c0d08d..7069741008dc 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20240223.0", + "version": "3.20240223.1", "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 b284dd55b7dc..8879fb3008cc 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.11.16 + +### Patch Changes + +- Updated dependencies [[`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423), [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423)]: + - miniflare@3.20240223.1 + ## 0.11.15 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 1863eb958c83..5ce321708ed4 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.15", + "version": "0.11.16", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 534794912342..dd36949faea1 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-pool-workers +## 0.0.6 + +### Patch Changes + +- Updated dependencies [[`82a3f94`](https://github.com/cloudflare/workers-sdk/commit/82a3f94db091c893b5dfc9496aad6154a54474c5), [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423), [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423)]: + - wrangler@3.30.2 + - miniflare@3.20240223.1 + ## 0.0.5 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 530888a8a46d..fa2b7ac0c7a3 100644 --- a/packages/vitest-pool-workers/package.json +++ b/packages/vitest-pool-workers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-pool-workers", - "version": "0.0.5", + "version": "0.0.6", "private": true, "main": "dist/pool/index.mjs", "types": "test/cloudflare-test.d.ts", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 425a7f2ab44d..e0e1d953d996 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,22 @@ # wrangler +## 3.30.2 + +### Patch Changes + +- [#5132](https://github.com/cloudflare/workers-sdk/pull/5132) [`82a3f94`](https://github.com/cloudflare/workers-sdk/commit/82a3f94db091c893b5dfc9496aad6154a54474c5) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: switch default logging level of `unstable_dev()` to `warn` + + When running `unstable_dev()` in its default "test mode", the logging level was set to `none`. This meant any Worker startup errors or helpful warnings wouldn't be shown. This change switches the default to `warn`. To restore the previous behaviour, include `logLevel: "none"` in your options object: + + ```js + const worker = await unstable_dev("path/to/script.js", { + logLevel: "none", + }); + ``` + +- Updated dependencies [[`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423), [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423)]: + - miniflare@3.20240223.1 + ## 3.30.1 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 6b39e0ac7dec..1d7cc604438e 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.30.1", + "version": "3.30.2", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",