diff --git a/.changeset/clean-eyes-lead.md b/.changeset/clean-eyes-lead.md deleted file mode 100644 index 38245df03fe5..000000000000 --- a/.changeset/clean-eyes-lead.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"wrangler": patch ---- - -slightly improve wrangler dev bindings loggings - -improve the bindings loggings by: - -- removing the unnecessary (and potentially incorrect) `[connected]` suffix for remote bindings -- making sure that the modes presented in the bindings logs are correctly aligned diff --git a/.changeset/dirty-dryers-tie.md b/.changeset/dirty-dryers-tie.md deleted file mode 100644 index 98a03d81f202..000000000000 --- a/.changeset/dirty-dryers-tie.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -add hello world binding that serves as as an explanatory example. diff --git a/.changeset/famous-candies-start.md b/.changeset/famous-candies-start.md deleted file mode 100644 index d6343abb83e2..000000000000 --- a/.changeset/famous-candies-start.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -add workerName option to startMixedModeSession API diff --git a/.changeset/five-shoes-call.md b/.changeset/five-shoes-call.md deleted file mode 100644 index ff10be6e26bb..000000000000 --- a/.changeset/five-shoes-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -make workers created with `startWorker` await the `ready` promise on `dispose` diff --git a/.changeset/forty-waves-stare.md b/.changeset/forty-waves-stare.md deleted file mode 100644 index 5c6925656142..000000000000 --- a/.changeset/forty-waves-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -Add support for Vitest 3.2.x diff --git a/.changeset/lemon-laws-mate.md b/.changeset/lemon-laws-mate.md deleted file mode 100644 index 93e049c9ed20..000000000000 --- a/.changeset/lemon-laws-mate.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -add mixed-mode support for mtls bindings diff --git a/.changeset/nasty-pots-cheat.md b/.changeset/nasty-pots-cheat.md deleted file mode 100644 index 2f8d40f7acc0..000000000000 --- a/.changeset/nasty-pots-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Ensure that .dev.vars files cannot be accessed via the dev server or preview server. diff --git a/.changeset/pink-ties-relate.md b/.changeset/pink-ties-relate.md deleted file mode 100644 index 7c17667cb05e..000000000000 --- a/.changeset/pink-ties-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -make sure that remote binding errors are surfaced when using mixed (hybrid) mode diff --git a/.changeset/rich-bottles-hug.md b/.changeset/rich-bottles-hug.md deleted file mode 100644 index 05e10d1b2fd7..000000000000 --- a/.changeset/rich-bottles-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Reorder deploy output when deploying a container worker so the worker url is printed last and the worker triggers aren't deployed until the container has been built and deployed successfully. diff --git a/.changeset/salty-ducks-repair.md b/.changeset/salty-ducks-repair.md deleted file mode 100644 index 76bff5b05616..000000000000 --- a/.changeset/salty-ducks-repair.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -update vitest version on hello-world and hello-world-with-assets templates diff --git a/.changeset/stale-boats-fold.md b/.changeset/stale-boats-fold.md deleted file mode 100644 index 4a672d3a5256..000000000000 --- a/.changeset/stale-boats-fold.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"miniflare": minor -"wrangler": minor ---- - -feat: add static routing options via 'run_worker_first' to Wrangler - -Implements the proposal noted here https://github.com/cloudflare/workers-sdk/discussions/9143. - -This is now usable in `wrangler dev` and in production - just specify the routes that should hit the worker first with `run_worker_first` in your Wrangler config. You can also omit certain paths with `!` negative rules. diff --git a/.changeset/tidy-hoops-win.md b/.changeset/tidy-hoops-win.md deleted file mode 100644 index d0ee59269315..000000000000 --- a/.changeset/tidy-hoops-win.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@cloudflare/vite-plugin": minor ---- - -Enhanced build support for Workers with assets. - -Assets that are imported in the entry Worker are now automatically moved to the client build output. This enables importing assets in your Worker and accessing them via the [assets binding](https://developers.cloudflare.com/workers/static-assets/binding/#binding). See [Static Asset Handling](https://vite.dev/guide/assets) to find out about all the ways you can import assets in Vite. - -Additionally, a broader range of build scenarios are now supported. These are: - -- Assets only build with client entry/entries -- Assets only build with no client entry/entries that includes `public` directory assets -- Worker(s) + assets build with client entry/entries -- Worker(s) + assets build with no client entry/entries that includes imported and/or `public` directory assets -- Worker(s) build with no assets diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index ae559f5ce90b..c2bbd4251c7f 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,11 @@ # create-cloudflare +## 2.49.2 + +### Patch Changes + +- [#9439](https://github.com/cloudflare/workers-sdk/pull/9439) [`8d648e7`](https://github.com/cloudflare/workers-sdk/commit/8d648e7c2f94cf315cdfffad6ee43e01e82a0947) Thanks [@edmundhung](https://github.com/edmundhung)! - update vitest version on hello-world and hello-world-with-assets templates + ## 2.49.1 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index df169b557fe4..999221511cd7 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.49.1", + "version": "2.49.2", "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 d675a276a223..7f614c8c17a2 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,21 @@ # miniflare +## 4.20250604.1 + +### Minor Changes + +- [#9509](https://github.com/cloudflare/workers-sdk/pull/9509) [`0b2ba45`](https://github.com/cloudflare/workers-sdk/commit/0b2ba4590ca59f1d95d7262e64adeefebe6a3e7e) Thanks [@emily-shen](https://github.com/emily-shen)! - feat: add static routing options via 'run_worker_first' to Wrangler + + Implements the proposal noted here https://github.com/cloudflare/workers-sdk/discussions/9143. + + This is now usable in `wrangler dev` and in production - just specify the routes that should hit the worker first with `run_worker_first` in your Wrangler config. You can also omit certain paths with `!` negative rules. + +### Patch Changes + +- [#9475](https://github.com/cloudflare/workers-sdk/pull/9475) [`931f467`](https://github.com/cloudflare/workers-sdk/commit/931f467e39f70abfd0e1c08172f330e6e3de02a3) Thanks [@edmundhung](https://github.com/edmundhung)! - add hello world binding that serves as as an explanatory example. + +- [#9443](https://github.com/cloudflare/workers-sdk/pull/9443) [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add mixed-mode support for mtls bindings + ## 4.20250604.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 9ab0bfcaff51..9a9cc2d77f89 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20250604.0", + "version": "4.20250604.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 7af3962436e9..8a3d68e40551 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.45 + +### Patch Changes + +- Updated dependencies [[`931f467`](https://github.com/cloudflare/workers-sdk/commit/931f467e39f70abfd0e1c08172f330e6e3de02a3), [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1), [`0b2ba45`](https://github.com/cloudflare/workers-sdk/commit/0b2ba4590ca59f1d95d7262e64adeefebe6a3e7e)]: + - miniflare@4.20250604.1 + ## 0.13.44 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 1b1e3110d69c..d310a43ececd 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.44", + "version": "0.13.45", "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 93df549f3159..600adbeaa913 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,30 @@ # @cloudflare/vite-plugin +## 1.6.0 + +### Minor Changes + +- [#9510](https://github.com/cloudflare/workers-sdk/pull/9510) [`590d69b`](https://github.com/cloudflare/workers-sdk/commit/590d69b7b46954947d0b3f9dacd7da7417e736b7) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Enhanced build support for Workers with assets. + + Assets that are imported in the entry Worker are now automatically moved to the client build output. This enables importing assets in your Worker and accessing them via the [assets binding](https://developers.cloudflare.com/workers/static-assets/binding/#binding). See [Static Asset Handling](https://vite.dev/guide/assets) to find out about all the ways you can import assets in Vite. + + Additionally, a broader range of build scenarios are now supported. These are: + + - Assets only build with client entry/entries + - Assets only build with no client entry/entries that includes `public` directory assets + - Worker(s) + assets build with client entry/entries + - Worker(s) + assets build with no client entry/entries that includes imported and/or `public` directory assets + - Worker(s) build with no assets + +### Patch Changes + +- [#9513](https://github.com/cloudflare/workers-sdk/pull/9513) [`0e50072`](https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Ensure that .dev.vars files cannot be accessed via the dev server or preview server. + +- Updated dependencies [[`1914b87`](https://github.com/cloudflare/workers-sdk/commit/1914b87e254bb733298cb0c0e96bb0bd234acde4), [`931f467`](https://github.com/cloudflare/workers-sdk/commit/931f467e39f70abfd0e1c08172f330e6e3de02a3), [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1), [`80b8bd9`](https://github.com/cloudflare/workers-sdk/commit/80b8bd93e6dd931a7b216645a6f249642c420dee), [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1), [`9e4cd16`](https://github.com/cloudflare/workers-sdk/commit/9e4cd16ce1639cc6763f5c50b9478eece7f4be73), [`92305af`](https://github.com/cloudflare/workers-sdk/commit/92305af0a7efa68fc0e13e3549f88d19f3cb069b), [`0b2ba45`](https://github.com/cloudflare/workers-sdk/commit/0b2ba4590ca59f1d95d7262e64adeefebe6a3e7e)]: + - wrangler@4.20.0 + - miniflare@4.20250604.1 + - @cloudflare/unenv-preset@2.3.3 + ## 1.5.1 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 26a3aa05c21d..cc7db66dd2b5 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.5.1", + "version": "1.6.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 b1c0b4730595..4ae0f58db02d 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/vitest-pool-workers +## 0.8.38 + +### Patch Changes + +- [#9439](https://github.com/cloudflare/workers-sdk/pull/9439) [`8d648e7`](https://github.com/cloudflare/workers-sdk/commit/8d648e7c2f94cf315cdfffad6ee43e01e82a0947) Thanks [@edmundhung](https://github.com/edmundhung)! - Add support for Vitest 3.2.x + +- Updated dependencies [[`1914b87`](https://github.com/cloudflare/workers-sdk/commit/1914b87e254bb733298cb0c0e96bb0bd234acde4), [`931f467`](https://github.com/cloudflare/workers-sdk/commit/931f467e39f70abfd0e1c08172f330e6e3de02a3), [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1), [`80b8bd9`](https://github.com/cloudflare/workers-sdk/commit/80b8bd93e6dd931a7b216645a6f249642c420dee), [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1), [`9e4cd16`](https://github.com/cloudflare/workers-sdk/commit/9e4cd16ce1639cc6763f5c50b9478eece7f4be73), [`92305af`](https://github.com/cloudflare/workers-sdk/commit/92305af0a7efa68fc0e13e3549f88d19f3cb069b), [`0b2ba45`](https://github.com/cloudflare/workers-sdk/commit/0b2ba4590ca59f1d95d7262e64adeefebe6a3e7e)]: + - wrangler@4.20.0 + - miniflare@4.20250604.1 + ## 0.8.37 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 054d1a98fa42..d0a9f88a6625 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.37", + "version": "0.8.38", "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 5660cee3ba75..c14fc1e4cf75 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,40 @@ # wrangler +## 4.20.0 + +### Minor Changes + +- [#9509](https://github.com/cloudflare/workers-sdk/pull/9509) [`0b2ba45`](https://github.com/cloudflare/workers-sdk/commit/0b2ba4590ca59f1d95d7262e64adeefebe6a3e7e) Thanks [@emily-shen](https://github.com/emily-shen)! - feat: add static routing options via 'run_worker_first' to Wrangler + + Implements the proposal noted here https://github.com/cloudflare/workers-sdk/discussions/9143. + + This is now usable in `wrangler dev` and in production - just specify the routes that should hit the worker first with `run_worker_first` in your Wrangler config. You can also omit certain paths with `!` negative rules. + +### Patch Changes + +- [#9507](https://github.com/cloudflare/workers-sdk/pull/9507) [`1914b87`](https://github.com/cloudflare/workers-sdk/commit/1914b87e254bb733298cb0c0e96bb0bd234acde4) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - slightly improve wrangler dev bindings loggings + + improve the bindings loggings by: + + - removing the unnecessary (and potentially incorrect) `[connected]` suffix for remote bindings + - making sure that the modes presented in the bindings logs are correctly aligned + +- [#9475](https://github.com/cloudflare/workers-sdk/pull/9475) [`931f467`](https://github.com/cloudflare/workers-sdk/commit/931f467e39f70abfd0e1c08172f330e6e3de02a3) Thanks [@edmundhung](https://github.com/edmundhung)! - add hello world binding that serves as as an explanatory example. + +- [#9443](https://github.com/cloudflare/workers-sdk/pull/9443) [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add workerName option to startMixedModeSession API + +- [#9541](https://github.com/cloudflare/workers-sdk/pull/9541) [`80b8bd9`](https://github.com/cloudflare/workers-sdk/commit/80b8bd93e6dd931a7b216645a6f249642c420dee) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - make workers created with `startWorker` await the `ready` promise on `dispose` + +- [#9443](https://github.com/cloudflare/workers-sdk/pull/9443) [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add mixed-mode support for mtls bindings + +- [#9515](https://github.com/cloudflare/workers-sdk/pull/9515) [`9e4cd16`](https://github.com/cloudflare/workers-sdk/commit/9e4cd16ce1639cc6763f5c50b9478eece7f4be73) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - make sure that remote binding errors are surfaced when using mixed (hybrid) mode + +- [#9516](https://github.com/cloudflare/workers-sdk/pull/9516) [`92305af`](https://github.com/cloudflare/workers-sdk/commit/92305af0a7efa68fc0e13e3549f88d19f3cb069b) Thanks [@IRCody](https://github.com/IRCody)! - Reorder deploy output when deploying a container worker so the worker url is printed last and the worker triggers aren't deployed until the container has been built and deployed successfully. + +- Updated dependencies [[`931f467`](https://github.com/cloudflare/workers-sdk/commit/931f467e39f70abfd0e1c08172f330e6e3de02a3), [`95eb47d`](https://github.com/cloudflare/workers-sdk/commit/95eb47d2c6adcff9a475c0cd507a72bd2e83f3b1), [`0b2ba45`](https://github.com/cloudflare/workers-sdk/commit/0b2ba4590ca59f1d95d7262e64adeefebe6a3e7e)]: + - miniflare@4.20250604.1 + - @cloudflare/unenv-preset@2.3.3 + ## 4.19.2 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 7a8af549325e..01dd101cd947 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.19.2", + "version": "4.20.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",