diff --git a/.changeset/c3-frameworks-update-5097.md b/.changeset/c3-frameworks-update-5097.md deleted file mode 100644 index 8483d1050a49..000000000000 --- a/.changeset/c3-frameworks-update-5097.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-hono` from `0.4.0` to `0.5.0` diff --git a/.changeset/c3-frameworks-update-5121.md b/.changeset/c3-frameworks-update-5121.md deleted file mode 100644 index 444fe88c60c4..000000000000 --- a/.changeset/c3-frameworks-update-5121.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `@angular/create` from `17.2.1` to `17.2.2` diff --git a/.changeset/c3-frameworks-update-5122.md b/.changeset/c3-frameworks-update-5122.md deleted file mode 100644 index 8b65a73ca26c..000000000000 --- a/.changeset/c3-frameworks-update-5122.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-remix` from `2.7.2` to `2.8.0` diff --git a/.changeset/cuddly-worms-sin.md b/.changeset/cuddly-worms-sin.md deleted file mode 100644 index d3f79742b283..000000000000 --- a/.changeset/cuddly-worms-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: update solid preview and deploy scripts to be aligned with the rest of the frameworks 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/hungry-cooks-brake.md b/.changeset/hungry-cooks-brake.md deleted file mode 100644 index 20d3f601b7d3..000000000000 --- a/.changeset/hungry-cooks-brake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: Add legacy_env support to experimental versions upload command. diff --git a/.changeset/kind-ducks-pay.md b/.changeset/kind-ducks-pay.md deleted file mode 100644 index 939888c359c0..000000000000 --- a/.changeset/kind-ducks-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -feature: Python support for remote dev 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/stale-needles-unite.md b/.changeset/stale-needles-unite.md deleted file mode 100644 index 0869d521a3dc..000000000000 --- a/.changeset/stale-needles-unite.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: make sure that all C3 projects include in their `.gitignore` the wrangler files - -Previously only the worker templates included in their `.gitignore` the wrangler files (those being `.dev.vars` and `.wrangler`). Make sure to instead include such files in the `.gitignore` files of all the templates including the full stack ones. diff --git a/.changeset/swift-peaches-battle.md b/.changeset/swift-peaches-battle.md deleted file mode 100644 index 7ba2f18bb3b0..000000000000 --- a/.changeset/swift-peaches-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -fix: Including version identifiers in Python requirements.txt will now throw an error 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/.changeset/weak-tools-judge.md b/.changeset/weak-tools-judge.md deleted file mode 100644 index e9fc0c3a6d70..000000000000 --- a/.changeset/weak-tools-judge.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"wrangler": patch ---- - -fix: make `wrangler types` always generate a `d.ts` file for module workers - -Currently if a config file doesn't define any binding nor module, running -`wrangler types` against such file would not produce a `d.ts` file. - -Producing a `d.ts` file can however still be beneficial as it would define a correct -env interface (even if empty) that can be expanded/referenced by user code (this can -be particularly convenient for scaffolding tools that may want to always generate an -env interface). - -Example: -Before `wrangler types --env-interface MyEnv` run with an empty `wrangler.toml` file -would not generate any file, after these change it would instead generate a file with -the following content: - -``` -interface MyEnv { -} -``` diff --git a/.changeset/wet-suns-own.md b/.changeset/wet-suns-own.md deleted file mode 100644 index f27fe636b904..000000000000 --- a/.changeset/wet-suns-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: update solid C3 template to write an `app.config.(js/ts)` file instead of `vite.config.(js/ts)` diff --git a/.changeset/yellow-phones-buy.md b/.changeset/yellow-phones-buy.md deleted file mode 100644 index 9f0dc009434d..000000000000 --- a/.changeset/yellow-phones-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: ensure Workers-AI local mode fetcher returns headers to client worker diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 85d6d37fb150..45ebfd989935 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,23 @@ # create-cloudflare +## 2.13.1 + +### Patch Changes + +- [#5097](https://github.com/cloudflare/workers-sdk/pull/5097) [`9d1d11c`](https://github.com/cloudflare/workers-sdk/commit/9d1d11c3acccb0ee7c06af501163906c738b740a) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-hono` from `0.4.0` to `0.5.0` + +- [#5121](https://github.com/cloudflare/workers-sdk/pull/5121) [`fd2f153`](https://github.com/cloudflare/workers-sdk/commit/fd2f1530ec1737671d13bf918edfaaf53141b8a2) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `@angular/create` from `17.2.1` to `17.2.2` + +- [#5122](https://github.com/cloudflare/workers-sdk/pull/5122) [`b4f7ad8`](https://github.com/cloudflare/workers-sdk/commit/b4f7ad819c26b7c6c9603b0ddb451bc7cef145f3) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-remix` from `2.7.2` to `2.8.0` + +- [#5135](https://github.com/cloudflare/workers-sdk/pull/5135) [`8935526`](https://github.com/cloudflare/workers-sdk/commit/89355269dea7b33242f9b271bdf6a00d3f6e7e87) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: update solid preview and deploy scripts to be aligned with the rest of the frameworks + +- [#5129](https://github.com/cloudflare/workers-sdk/pull/5129) [`23074c7`](https://github.com/cloudflare/workers-sdk/commit/23074c7d2124ff19b01aa6f9d6482395bbf0659e) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: make sure that all C3 projects include in their `.gitignore` the wrangler files + + Previously only the worker templates included in their `.gitignore` the wrangler files (those being `.dev.vars` and `.wrangler`). Make sure to instead include such files in the `.gitignore` files of all the templates including the full stack ones. + +- [#5135](https://github.com/cloudflare/workers-sdk/pull/5135) [`8935526`](https://github.com/cloudflare/workers-sdk/commit/89355269dea7b33242f9b271bdf6a00d3f6e7e87) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: update solid C3 template to write an `app.config.(js/ts)` file instead of `vite.config.(js/ts)` + ## 2.13.0 ### Minor Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index d1582d348f1a..62331785d11e 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.13.0", + "version": "2.13.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 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..b7184b43b201 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), [`d27e2a7`](https://github.com/cloudflare/workers-sdk/commit/d27e2a70904aab98b4e5c7279661a8d98e7da917), [`b0bd413`](https://github.com/cloudflare/workers-sdk/commit/b0bd4137f8504c1a96c5fa60f25c41028c9ba23e), [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423), [`30694a3`](https://github.com/cloudflare/workers-sdk/commit/30694a31d65016e56e30d14a3b14f2fed6df4370), [`42bcc72`](https://github.com/cloudflare/workers-sdk/commit/42bcc7216ab14455c1398d55bc552023726eb423), [`a5231de`](https://github.com/cloudflare/workers-sdk/commit/a5231decbf18898811749a64f8e36be4aa5fd941), [`3dd9089`](https://github.com/cloudflare/workers-sdk/commit/3dd9089f34d30dcd6f03e63093e86efa9b8c1e1f)]: + - wrangler@3.31.0 + - 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 85e15b8188c1..231d41148a3c 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,52 @@ # wrangler +## 3.31.0 + +### Minor Changes + +- [#5119](https://github.com/cloudflare/workers-sdk/pull/5119) [`b0bd413`](https://github.com/cloudflare/workers-sdk/commit/b0bd4137f8504c1a96c5fa60f25c41028c9ba23e) Thanks [@garrettgu10](https://github.com/garrettgu10)! - feature: Python support for remote dev + +- [#5118](https://github.com/cloudflare/workers-sdk/pull/5118) [`30694a3`](https://github.com/cloudflare/workers-sdk/commit/30694a31d65016e56e30d14a3b14f2fed6df4370) Thanks [@garrettgu10](https://github.com/garrettgu10)! - fix: Including version identifiers in Python requirements.txt will now throw an error + +### 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", + }); + ``` + +- [#5128](https://github.com/cloudflare/workers-sdk/pull/5128) [`d27e2a7`](https://github.com/cloudflare/workers-sdk/commit/d27e2a70904aab98b4e5c7279661a8d98e7da917) Thanks [@taylorlee](https://github.com/taylorlee)! - fix: Add legacy_env support to experimental versions upload command. + +- [#5087](https://github.com/cloudflare/workers-sdk/pull/5087) [`a5231de`](https://github.com/cloudflare/workers-sdk/commit/a5231decbf18898811749a64f8e36be4aa5fd941) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: make `wrangler types` always generate a `d.ts` file for module workers + + Currently if a config file doesn't define any binding nor module, running + `wrangler types` against such file would not produce a `d.ts` file. + + Producing a `d.ts` file can however still be beneficial as it would define a correct + env interface (even if empty) that can be expanded/referenced by user code (this can + be particularly convenient for scaffolding tools that may want to always generate an + env interface). + + Example: + Before `wrangler types --env-interface MyEnv` run with an empty `wrangler.toml` file + would not generate any file, after these change it would instead generate a file with + the following content: + + ``` + interface MyEnv { + } + ``` + +- [#5138](https://github.com/cloudflare/workers-sdk/pull/5138) [`3dd9089`](https://github.com/cloudflare/workers-sdk/commit/3dd9089f34d30dcd6f03e63093e86efa9b8c1e1f) Thanks [@G4brym](https://github.com/G4brym)! - fix: ensure Workers-AI local mode fetcher returns headers to client worker + +- 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 @@ -146,6 +193,7 @@ whilst also making the type compatible with workers-types - Updated dependencies [[`7723ac17`](https://github.com/cloudflare/workers-sdk/commit/7723ac17906f894afe9af2152437726ac09a6290), [`027f9719`](https://github.com/cloudflare/workers-sdk/commit/027f971975a48a564603275f3583d21e9d053229), [`027f9719`](https://github.com/cloudflare/workers-sdk/commit/027f971975a48a564603275f3583d21e9d053229), [`027f9719`](https://github.com/cloudflare/workers-sdk/commit/027f971975a48a564603275f3583d21e9d053229), [`027f9719`](https://github.com/cloudflare/workers-sdk/commit/027f971975a48a564603275f3583d21e9d053229), [`027f9719`](https://github.com/cloudflare/workers-sdk/commit/027f971975a48a564603275f3583d21e9d053229), [`027f9719`](https://github.com/cloudflare/workers-sdk/commit/027f971975a48a564603275f3583d21e9d053229)]: + - miniflare@3.20240129.3 - [#4475](https://github.com/cloudflare/workers-sdk/pull/4475) [86d94ff](https://github.com/cloudflare/workers-sdk/commit/86d94ff5acd31eee7f02bc68e0b70f792eb3e74c) Thanks [@paulrostorp](https://github.com/paulrostorp)! - feat: support custom HTTPS certificate paths in Wrangler dev commands. diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 6b39e0ac7dec..a631a0238f76 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.30.1", + "version": "3.31.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",