diff --git a/.changeset/cool-peas-march.md b/.changeset/cool-peas-march.md deleted file mode 100644 index 1be2bfb25d1f..000000000000 --- a/.changeset/cool-peas-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -expose `Unstable_Binding` type diff --git a/.changeset/dependabot-update-9529.md b/.changeset/dependabot-update-9529.md deleted file mode 100644 index 5c4f30e45158..000000000000 --- a/.changeset/dependabot-update-9529.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"miniflare": patch ---- - -chore: update dependencies of "miniflare" package - -The following dependency versions have been updated: - -| Dependency | From | To | -| ------------------------- | ------------- | ------------- | -| workerd | 1.20250604.0 | 1.20250612.0 | -| @cloudflare/workers-types | ^4.20250604.0 | ^4.20250612.0 | diff --git a/.changeset/dirty-files-bet.md b/.changeset/dirty-files-bet.md deleted file mode 100644 index 5d5044aec77b..000000000000 --- a/.changeset/dirty-files-bet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": patch ---- - -Update capnp generated code from the workerd.capnp diff --git a/.changeset/dirty-roses-itch.md b/.changeset/dirty-roses-itch.md deleted file mode 100644 index bc1fdeacb310..000000000000 --- a/.changeset/dirty-roses-itch.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wrangler": patch ---- - -Switch container registry to `registry.cloudflare.com` from `registry.cloudchamber.cfdata.org`. -Also adds the env var `CLOUDFLARE_CONTAINER_REGISTRY` to override this diff --git a/.changeset/fair-lamps-fix.md b/.changeset/fair-lamps-fix.md deleted file mode 100644 index 018c882e812e..000000000000 --- a/.changeset/fair-lamps-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix the default value for keep_names (`true`) diff --git a/.changeset/fifty-bananas-applaud.md b/.changeset/fifty-bananas-applaud.md deleted file mode 100644 index 1ce2e6847acd..000000000000 --- a/.changeset/fifty-bananas-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/chrome-devtools-patches": patch ---- - -Update Devtools Patches diff --git a/.changeset/five-chefs-kneel.md b/.changeset/five-chefs-kneel.md deleted file mode 100644 index 902462ffad7d..000000000000 --- a/.changeset/five-chefs-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -Add `type: module` in package.json diff --git a/.changeset/fix-tcp-regression-connect-pass-through.md b/.changeset/fix-tcp-regression-connect-pass-through.md deleted file mode 100644 index c462ba6f23f0..000000000000 --- a/.changeset/fix-tcp-regression-connect-pass-through.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -Strip the `CF-Connecting-IP` header from outgoing fetches diff --git a/.changeset/forty-things-beam.md b/.changeset/forty-things-beam.md deleted file mode 100644 index ecf93f9f57cc..000000000000 --- a/.changeset/forty-things-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Point to the right location for docs on telemetry diff --git a/.changeset/itchy-ears-carry.md b/.changeset/itchy-ears-carry.md deleted file mode 100644 index c4df57a4eceb..000000000000 --- a/.changeset/itchy-ears-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -add experimental support for mixed mode diff --git a/.changeset/nine-facts-kneel.md b/.changeset/nine-facts-kneel.md deleted file mode 100644 index 236fe50a231f..000000000000 --- a/.changeset/nine-facts-kneel.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -fix: avoid crashing on unknown service bindings at startup - -With Dev Registry support, the plugin no longer throws an assertion error during startup when a service binding references a named entrypoint from an unknown worker. Instead, an appropriate runtime error will be returned if the worker cannot be resolved. diff --git a/.changeset/odd-queens-enjoy.md b/.changeset/odd-queens-enjoy.md deleted file mode 100644 index ddc35a19a1ba..000000000000 --- a/.changeset/odd-queens-enjoy.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Enable HTML handling for HTML files in the public directory. - -It is generally encouraged to use [HTML files as entry points](https://vite.dev/guide/features#html) in Vite so that their dependencies are bundled. However, if you have plain HTML files that should simply be copied to the root of the output directory as-is, you can place these in the [public directory](https://vite.dev/guide/assets#the-public-directory) and they will now work as expected in dev. diff --git a/.changeset/sharp-phones-hope.md b/.changeset/sharp-phones-hope.md deleted file mode 100644 index 26d0db26dfe5..000000000000 --- a/.changeset/sharp-phones-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -drop unused `WRANGLER_UNENV_RESOLVE_PATHS` env var diff --git a/.changeset/shy-cups-float.md b/.changeset/shy-cups-float.md deleted file mode 100644 index fc1b8b1b725e..000000000000 --- a/.changeset/shy-cups-float.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch -"wrangler": patch ---- - -Bump `@cloudflare/unenv-preset` to 2.3.3 diff --git a/.changeset/six-parrots-clap.md b/.changeset/six-parrots-clap.md deleted file mode 100644 index 6bafbf894528..000000000000 --- a/.changeset/six-parrots-clap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -fix: ensure that globals are polyfilled before every import diff --git a/.changeset/slick-ideas-shave.md b/.changeset/slick-ideas-shave.md deleted file mode 100644 index c5852cd5cb0a..000000000000 --- a/.changeset/slick-ideas-shave.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"@cloudflare/vite-plugin": minor ---- - -Support `run_worker_first`. - -`run_worker_first` has been expanded to accept an array of routes that should go directly to your Worker. Additionally, routes can be omitted by adding a `!` prefix. These negative routes will be treated as assets. - -This is a new way to define routing explicitly and, when provided, overrides the implicit routing behavior. - -```jsonc -{ - "assets": { - "not_found_handling": "single-page-application", - "run_worker_first": [ - "/api/*", // These routes go directly to the Worker - "!/api/docs/*", // These routes are still treated as assets - ], - }, -} -``` - -The previous behavior of setting `"run_worker_first": true` to always invoke your Worker is also now supported. diff --git a/.changeset/some-cloths-move.md b/.changeset/some-cloths-move.md deleted file mode 100644 index 4c10ddae4e07..000000000000 --- a/.changeset/some-cloths-move.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"wrangler": patch ---- - -add warning about env not specified to potentially risky wrangler commands - -add a warning suggesting users to specify their target environment (via `-e` or `--env`) -when their wrangler config file contains some environments and they are calling one -of the following commands: - -- wrangler deploy -- wrangler versions upload -- wrangler versions deploy -- wrangler versions secret bulk -- wrangler versions secret put -- wrangler versions secret delete -- wrangler secret bulk -- wrangler secret put -- wrangler secret delete -- wrangler triggers deploy - -this is a measure we're putting in place to try to prevent developers from accidentally applying -changes to an incorrect (potentially even production) environment diff --git a/.changeset/spotty-worlds-rest.md b/.changeset/spotty-worlds-rest.md deleted file mode 100644 index a882c6371850..000000000000 --- a/.changeset/spotty-worlds-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -allow passing an empty string to the `-e|--env` flag to target the top-level environment diff --git a/.changeset/tall-insects-read.md b/.changeset/tall-insects-read.md deleted file mode 100644 index ae1934f0398e..000000000000 --- a/.changeset/tall-insects-read.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch -"@cloudflare/vitest-pool-workers": patch -"wrangler": patch ---- - -performance improvement: restart a mixed mode session only if the worker's remote bindings have changed diff --git a/.changeset/tasty-otters-go.md b/.changeset/tasty-otters-go.md deleted file mode 100644 index 65556650a021..000000000000 --- a/.changeset/tasty-otters-go.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": patch ---- - -bump capnp-es to 0.0.11 in miniflare diff --git a/.changeset/true-cities-try.md b/.changeset/true-cities-try.md deleted file mode 100644 index a40a8baad611..000000000000 --- a/.changeset/true-cities-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -allow `startWorker` to accept `false` as an `inspector` option (to disable the inspector server) diff --git a/.changeset/violet-donkeys-fail.md b/.changeset/violet-donkeys-fail.md deleted file mode 100644 index 0e0ff3183be0..000000000000 --- a/.changeset/violet-donkeys-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -bump capnp-es to 0.0.10 diff --git a/.changeset/wet-socks-read.md b/.changeset/wet-socks-read.md deleted file mode 100644 index 8675dd26011b..000000000000 --- a/.changeset/wet-socks-read.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -expose new `experimental_maybeStartOrUpdateMixedModeSession` utility diff --git a/packages/chrome-devtools-patches/CHANGELOG.md b/packages/chrome-devtools-patches/CHANGELOG.md index 60a92e8711d4..cce8a6802e85 100644 --- a/packages/chrome-devtools-patches/CHANGELOG.md +++ b/packages/chrome-devtools-patches/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/chrome-devtools-patches +## 0.1.3 + +### Patch Changes + +- [#9551](https://github.com/cloudflare/workers-sdk/pull/9551) [`b0b59e0`](https://github.com/cloudflare/workers-sdk/commit/b0b59e071393e13e3770fd59fb0cb26136e88272) Thanks [@penalosa](https://github.com/penalosa)! - Update Devtools Patches + ## 0.1.2 ### Patch Changes diff --git a/packages/chrome-devtools-patches/package.json b/packages/chrome-devtools-patches/package.json index 451e2df96fdf..832b2f27aef6 100644 --- a/packages/chrome-devtools-patches/package.json +++ b/packages/chrome-devtools-patches/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/chrome-devtools-patches", - "version": "0.1.2", + "version": "0.1.3", "private": true, "description": "Chrome Devtools hosted for easy use with Workers tooling and applications (Wrangler, Playground, Quick Editor).", "homepage": "https://github.com/cloudflare/workers-sdk#readme", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 7f614c8c17a2..b97516a64d91 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,24 @@ # miniflare +## 4.20250612.0 + +### Patch Changes + +- [#9529](https://github.com/cloudflare/workers-sdk/pull/9529) [`bd528d5`](https://github.com/cloudflare/workers-sdk/commit/bd528d5d53a473b8339574290da0c47797c3b322) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "miniflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------------- | ------------- | ------------- | + | workerd | 1.20250604.0 | 1.20250612.0 | + | @cloudflare/workers-types | ^4.20250604.0 | ^4.20250612.0 | + +- [#9582](https://github.com/cloudflare/workers-sdk/pull/9582) [`2177fb4`](https://github.com/cloudflare/workers-sdk/commit/2177fb44f43357d349ff2e2cc4b40d72c929e491) Thanks [@vicb](https://github.com/vicb)! - Update capnp generated code from the workerd.capnp + +- [#9506](https://github.com/cloudflare/workers-sdk/pull/9506) [`36113c2`](https://github.com/cloudflare/workers-sdk/commit/36113c29c8d2338fcd7a6da19f4c59c7e9f65a3b) Thanks [@penalosa](https://github.com/penalosa)! - Strip the `CF-Connecting-IP` header from outgoing fetches + +- [#9493](https://github.com/cloudflare/workers-sdk/pull/9493) [`e16fcc7`](https://github.com/cloudflare/workers-sdk/commit/e16fcc747aa7701405eb4f49a73e622425f67527) Thanks [@vicb](https://github.com/vicb)! - bump capnp-es to 0.0.11 in miniflare + ## 4.20250604.1 ### Minor Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 46fe966f643e..0fd9d04d8ccc 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20250604.1", + "version": "4.20250612.0", "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 8a3d68e40551..0b9360944e9b 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.46 + +### Patch Changes + +- Updated dependencies [[`bd528d5`](https://github.com/cloudflare/workers-sdk/commit/bd528d5d53a473b8339574290da0c47797c3b322), [`2177fb4`](https://github.com/cloudflare/workers-sdk/commit/2177fb44f43357d349ff2e2cc4b40d72c929e491), [`36113c2`](https://github.com/cloudflare/workers-sdk/commit/36113c29c8d2338fcd7a6da19f4c59c7e9f65a3b), [`e16fcc7`](https://github.com/cloudflare/workers-sdk/commit/e16fcc747aa7701405eb4f49a73e622425f67527)]: + - miniflare@4.20250612.0 + ## 0.13.45 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index b2d0689b3699..cf4246ea06e0 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.45", + "version": "0.13.46", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index 600adbeaa913..0377dcdcf950 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,49 @@ # @cloudflare/vite-plugin +## 1.7.0 + +### Minor Changes + +- [#9575](https://github.com/cloudflare/workers-sdk/pull/9575) [`5601fc3`](https://github.com/cloudflare/workers-sdk/commit/5601fc32f8cb7b4867eb758f77590fa70f0a4b4f) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Support `run_worker_first`. + + `run_worker_first` has been expanded to accept an array of routes that should go directly to your Worker. Additionally, routes can be omitted by adding a `!` prefix. These negative routes will be treated as assets. + + This is a new way to define routing explicitly and, when provided, overrides the implicit routing behavior. + + ```jsonc + { + "assets": { + "not_found_handling": "single-page-application", + "run_worker_first": [ + "/api/*", // These routes go directly to the Worker + "!/api/docs/*", // These routes are still treated as assets + ], + }, + } + ``` + + The previous behavior of setting `"run_worker_first": true` to always invoke your Worker is also now supported. + +### Patch Changes + +- [#9583](https://github.com/cloudflare/workers-sdk/pull/9583) [`70ba9fb`](https://github.com/cloudflare/workers-sdk/commit/70ba9fbf905a9ba5fe158d0bc8d48f6bf31712a2) Thanks [@edmundhung](https://github.com/edmundhung)! - fix: avoid crashing on unknown service bindings at startup + + With Dev Registry support, the plugin no longer throws an assertion error during startup when a service binding references a named entrypoint from an unknown worker. Instead, an appropriate runtime error will be returned if the worker cannot be resolved. + +- [#9548](https://github.com/cloudflare/workers-sdk/pull/9548) [`0174e39`](https://github.com/cloudflare/workers-sdk/commit/0174e3996e393080abfb28226ce1ad1e7d5d8e50) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Enable HTML handling for HTML files in the public directory. + + It is generally encouraged to use [HTML files as entry points](https://vite.dev/guide/features#html) in Vite so that their dependencies are bundled. However, if you have plain HTML files that should simply be copied to the root of the output directory as-is, you can place these in the [public directory](https://vite.dev/guide/assets#the-public-directory) and they will now work as expected in dev. + +- [#9566](https://github.com/cloudflare/workers-sdk/pull/9566) [`521eeb9`](https://github.com/cloudflare/workers-sdk/commit/521eeb9d7db1da5aae7a1c215d540184f6457301) Thanks [@vicb](https://github.com/vicb)! - Bump `@cloudflare/unenv-preset` to 2.3.3 + +- [#9581](https://github.com/cloudflare/workers-sdk/pull/9581) [`6bc0a2f`](https://github.com/cloudflare/workers-sdk/commit/6bc0a2f288b63613b29658be239996b66beb908a) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: ensure that globals are polyfilled before every import + +- [#9536](https://github.com/cloudflare/workers-sdk/pull/9536) [`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed + +- Updated dependencies [[`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8), [`bd528d5`](https://github.com/cloudflare/workers-sdk/commit/bd528d5d53a473b8339574290da0c47797c3b322), [`2177fb4`](https://github.com/cloudflare/workers-sdk/commit/2177fb44f43357d349ff2e2cc4b40d72c929e491), [`1d3293f`](https://github.com/cloudflare/workers-sdk/commit/1d3293f0cbf88a45d7b86bae0fc886e08aa6e841), [`04f9164`](https://github.com/cloudflare/workers-sdk/commit/04f9164bbcea528f9a4075bef47e8edf4cd22ae8), [`36113c2`](https://github.com/cloudflare/workers-sdk/commit/36113c29c8d2338fcd7a6da19f4c59c7e9f65a3b), [`49f5ac7`](https://github.com/cloudflare/workers-sdk/commit/49f5ac7ef2ff041897a56aec6607616689ca87a5), [`cf33417`](https://github.com/cloudflare/workers-sdk/commit/cf33417320109bc405b105818bf759916b51d2d0), [`521eeb9`](https://github.com/cloudflare/workers-sdk/commit/521eeb9d7db1da5aae7a1c215d540184f6457301), [`02e2c1e`](https://github.com/cloudflare/workers-sdk/commit/02e2c1e4dec0a7026c49bf6ab0b3da1f0ddfedd5), [`02e2c1e`](https://github.com/cloudflare/workers-sdk/commit/02e2c1e4dec0a7026c49bf6ab0b3da1f0ddfedd5), [`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8), [`e16fcc7`](https://github.com/cloudflare/workers-sdk/commit/e16fcc747aa7701405eb4f49a73e622425f67527), [`c117904`](https://github.com/cloudflare/workers-sdk/commit/c11790486fc1a5c7c907f5757779b3b8eba29013), [`fae8c02`](https://github.com/cloudflare/workers-sdk/commit/fae8c02bcfb51cb87a01a5185b249f6c5889d0a6)]: + - wrangler@4.20.1 + - miniflare@4.20250612.0 + ## 1.6.0 ### Minor Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 92c2170e7dd4..995f7415f45d 100644 --- a/packages/vite-plugin-cloudflare/package.json +++ b/packages/vite-plugin-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vite-plugin", - "version": "1.6.0", + "version": "1.7.0", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 4ae0f58db02d..57b1a17115a4 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,21 @@ # @cloudflare/vitest-pool-workers +## 0.8.39 + +### Patch Changes + +- [#9595](https://github.com/cloudflare/workers-sdk/pull/9595) [`9793e5b`](https://github.com/cloudflare/workers-sdk/commit/9793e5bf254da449f96c7bceaaf65a9f6987fa71) Thanks [@vicb](https://github.com/vicb)! - Add `type: module` in package.json + +- [#9473](https://github.com/cloudflare/workers-sdk/pull/9473) [`fae8c02`](https://github.com/cloudflare/workers-sdk/commit/fae8c02bcfb51cb87a01a5185b249f6c5889d0a6) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add experimental support for mixed mode + +- [#9536](https://github.com/cloudflare/workers-sdk/pull/9536) [`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed + +- [#9495](https://github.com/cloudflare/workers-sdk/pull/9495) [`5710518`](https://github.com/cloudflare/workers-sdk/commit/5710518954f8495d40745e2d7b1e35760a19fd37) Thanks [@vicb](https://github.com/vicb)! - bump capnp-es to 0.0.10 + +- Updated dependencies [[`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8), [`bd528d5`](https://github.com/cloudflare/workers-sdk/commit/bd528d5d53a473b8339574290da0c47797c3b322), [`2177fb4`](https://github.com/cloudflare/workers-sdk/commit/2177fb44f43357d349ff2e2cc4b40d72c929e491), [`1d3293f`](https://github.com/cloudflare/workers-sdk/commit/1d3293f0cbf88a45d7b86bae0fc886e08aa6e841), [`04f9164`](https://github.com/cloudflare/workers-sdk/commit/04f9164bbcea528f9a4075bef47e8edf4cd22ae8), [`36113c2`](https://github.com/cloudflare/workers-sdk/commit/36113c29c8d2338fcd7a6da19f4c59c7e9f65a3b), [`49f5ac7`](https://github.com/cloudflare/workers-sdk/commit/49f5ac7ef2ff041897a56aec6607616689ca87a5), [`cf33417`](https://github.com/cloudflare/workers-sdk/commit/cf33417320109bc405b105818bf759916b51d2d0), [`521eeb9`](https://github.com/cloudflare/workers-sdk/commit/521eeb9d7db1da5aae7a1c215d540184f6457301), [`02e2c1e`](https://github.com/cloudflare/workers-sdk/commit/02e2c1e4dec0a7026c49bf6ab0b3da1f0ddfedd5), [`02e2c1e`](https://github.com/cloudflare/workers-sdk/commit/02e2c1e4dec0a7026c49bf6ab0b3da1f0ddfedd5), [`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8), [`e16fcc7`](https://github.com/cloudflare/workers-sdk/commit/e16fcc747aa7701405eb4f49a73e622425f67527), [`c117904`](https://github.com/cloudflare/workers-sdk/commit/c11790486fc1a5c7c907f5757779b3b8eba29013), [`fae8c02`](https://github.com/cloudflare/workers-sdk/commit/fae8c02bcfb51cb87a01a5185b249f6c5889d0a6)]: + - wrangler@4.20.1 + - miniflare@4.20250612.0 + ## 0.8.38 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index f3c933b01eaa..90c55be99dfa 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.8.38", + "version": "0.8.39", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index c14fc1e4cf75..f25b741b59af 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,55 @@ # wrangler +## 4.20.1 + +### Patch Changes + +- [#9536](https://github.com/cloudflare/workers-sdk/pull/9536) [`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - expose `Unstable_Binding` type + +- [#9564](https://github.com/cloudflare/workers-sdk/pull/9564) [`1d3293f`](https://github.com/cloudflare/workers-sdk/commit/1d3293f0cbf88a45d7b86bae0fc886e08aa6e841) Thanks [@skepticfx](https://github.com/skepticfx)! - Switch container registry to `registry.cloudflare.com` from `registry.cloudchamber.cfdata.org`. + Also adds the env var `CLOUDFLARE_CONTAINER_REGISTRY` to override this + +- [#9520](https://github.com/cloudflare/workers-sdk/pull/9520) [`04f9164`](https://github.com/cloudflare/workers-sdk/commit/04f9164bbcea528f9a4075bef47e8edf4cd22ae8) Thanks [@vicb](https://github.com/vicb)! - fix the default value for keep_names (`true`) + +- [#9506](https://github.com/cloudflare/workers-sdk/pull/9506) [`36113c2`](https://github.com/cloudflare/workers-sdk/commit/36113c29c8d2338fcd7a6da19f4c59c7e9f65a3b) Thanks [@penalosa](https://github.com/penalosa)! - Strip the `CF-Connecting-IP` header from outgoing fetches + +- [#9592](https://github.com/cloudflare/workers-sdk/pull/9592) [`49f5ac7`](https://github.com/cloudflare/workers-sdk/commit/49f5ac7ef2ff041897a56aec6607616689ca87a5) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Point to the right location for docs on telemetry + +- [#9593](https://github.com/cloudflare/workers-sdk/pull/9593) [`cf33417`](https://github.com/cloudflare/workers-sdk/commit/cf33417320109bc405b105818bf759916b51d2d0) Thanks [@vicb](https://github.com/vicb)! - drop unused `WRANGLER_UNENV_RESOLVE_PATHS` env var + +- [#9566](https://github.com/cloudflare/workers-sdk/pull/9566) [`521eeb9`](https://github.com/cloudflare/workers-sdk/commit/521eeb9d7db1da5aae7a1c215d540184f6457301) Thanks [@vicb](https://github.com/vicb)! - Bump `@cloudflare/unenv-preset` to 2.3.3 + +- [#9344](https://github.com/cloudflare/workers-sdk/pull/9344) [`02e2c1e`](https://github.com/cloudflare/workers-sdk/commit/02e2c1e4dec0a7026c49bf6ab0b3da1f0ddfedd5) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add warning about env not specified to potentially risky wrangler commands + + add a warning suggesting users to specify their target environment (via `-e` or `--env`) + when their wrangler config file contains some environments and they are calling one + of the following commands: + + - wrangler deploy + - wrangler versions upload + - wrangler versions deploy + - wrangler versions secret bulk + - wrangler versions secret put + - wrangler versions secret delete + - wrangler secret bulk + - wrangler secret put + - wrangler secret delete + - wrangler triggers deploy + + this is a measure we're putting in place to try to prevent developers from accidentally applying + changes to an incorrect (potentially even production) environment + +- [#9344](https://github.com/cloudflare/workers-sdk/pull/9344) [`02e2c1e`](https://github.com/cloudflare/workers-sdk/commit/02e2c1e4dec0a7026c49bf6ab0b3da1f0ddfedd5) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - allow passing an empty string to the `-e|--env` flag to target the top-level environment + +- [#9536](https://github.com/cloudflare/workers-sdk/pull/9536) [`3b61c41`](https://github.com/cloudflare/workers-sdk/commit/3b61c41f2c9e98ff023d21d79676d6f9981e52f8) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed + +- [#9550](https://github.com/cloudflare/workers-sdk/pull/9550) [`c117904`](https://github.com/cloudflare/workers-sdk/commit/c11790486fc1a5c7c907f5757779b3b8eba29013) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - allow `startWorker` to accept `false` as an `inspector` option (to disable the inspector server) + +- [#9473](https://github.com/cloudflare/workers-sdk/pull/9473) [`fae8c02`](https://github.com/cloudflare/workers-sdk/commit/fae8c02bcfb51cb87a01a5185b249f6c5889d0a6) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - expose new `experimental_maybeStartOrUpdateMixedModeSession` utility + +- Updated dependencies [[`bd528d5`](https://github.com/cloudflare/workers-sdk/commit/bd528d5d53a473b8339574290da0c47797c3b322), [`2177fb4`](https://github.com/cloudflare/workers-sdk/commit/2177fb44f43357d349ff2e2cc4b40d72c929e491), [`36113c2`](https://github.com/cloudflare/workers-sdk/commit/36113c29c8d2338fcd7a6da19f4c59c7e9f65a3b), [`e16fcc7`](https://github.com/cloudflare/workers-sdk/commit/e16fcc747aa7701405eb4f49a73e622425f67527)]: + - miniflare@4.20250612.0 + ## 4.20.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index f3bd01b6f264..9e97a39f6529 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.20.0", + "version": "4.20.1", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",