diff --git a/.changeset/afraid-experts-take.md b/.changeset/afraid-experts-take.md deleted file mode 100644 index 50010cbdb69c..000000000000 --- a/.changeset/afraid-experts-take.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -feat(vite-plugin): Add Containers-related info logs - -Add logs, when a Worker has Containers configured, providing information about container build status, and how to rebuild containers during local development. diff --git a/.changeset/c3-frameworks-update-9431.md b/.changeset/c3-frameworks-update-9431.md deleted file mode 100644 index ffe3e1d7c49d..000000000000 --- a/.changeset/c3-frameworks-update-9431.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: update dependencies of "create-cloudflare" package - -The following dependency versions have been updated: - -| Dependency | From | To | -| --------------- | ------ | ------ | -| @angular/create | 20.0.5 | 20.1.3 | diff --git a/.changeset/dependabot-update-10129.md b/.changeset/dependabot-update-10129.md deleted file mode 100644 index 1cfa43ca86db..000000000000 --- a/.changeset/dependabot-update-10129.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.20250726.0 | 1.20250730.0 | -| @cloudflare/workers-types | ^4.20250726.0 | ^4.20250730.0 | diff --git a/.changeset/hungry-turtles-beam.md b/.changeset/hungry-turtles-beam.md deleted file mode 100644 index 6eb60a9faaa9..000000000000 --- a/.changeset/hungry-turtles-beam.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"wrangler": patch ---- - -Add support for custom instance limits for containers. For example, instead of -having to use the preconfigured dev/standard/basic instance types, you can now -set: - -``` -instance_type: { - vcpu: 1, - memory_mib: 1024, - disk_mb: 4000 -} -``` - -This feature is currently only available to customers on an enterprise plan. diff --git a/.changeset/moody-breads-pump.md b/.changeset/moody-breads-pump.md deleted file mode 100644 index b1fd2a437728..000000000000 --- a/.changeset/moody-breads-pump.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@cloudflare/vite-plugin": minor -"wrangler": minor ---- - -Add support for loading local dev vars from .env files - -If there are no `.dev.vars` or `.dev.vars.` files, when running Wrangler or the Vite plugin in local development mode, -they will now try to load additional local dev vars from `.env`, `.env.local`, `.env.` and `.env..local` files. - -These loaded vars are only for local development and have no effect in production to the vars in a deployed Worker. -Wrangler and Vite will continue to load `.env` files in order to configure themselves as a tool. - -Further details: - -- In `vite build` the local vars will be computed and stored in a `.dev.vars` file next to the compiled Worker code, so that `vite preview` can use them. -- The `wrangler types` command will similarly read the `.env` files (if no `.dev.vars` files) in order to generate the `Env` interface. -- If the `CLOUDFLARE_LOAD_DEV_VARS_FROM_DOT_ENV` environment variable is `"false"` then local dev variables will not be loaded from `.env` files. -- If the `CLOUDFLARE_INCLUDE_PROCESS_ENV` environment variable is `"true"` then all the environment variables found on `process.env` will be included as local dev vars. -- Wrangler (but not Vite plugin) also now supports the `--env-file=` global CLI option. This affects both loading `.env` to configure Wrangler the tool as well as loading local dev vars. diff --git a/.changeset/nasty-foxes-find.md b/.changeset/nasty-foxes-find.md deleted file mode 100644 index b4171a5ae98e..000000000000 --- a/.changeset/nasty-foxes-find.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix `require("debug")` in nodejs_compat mode diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 97340c7f4222..aa38f59f0ada 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,17 @@ # create-cloudflare +## 2.50.7 + +### Patch Changes + +- [#10109](https://github.com/cloudflare/workers-sdk/pull/10109) [`d983f2b`](https://github.com/cloudflare/workers-sdk/commit/d983f2be011e94204a1e6a3978c7228842de8524) Thanks [@alan-agius4](https://github.com/alan-agius4)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | --------------- | ------ | ------ | + | @angular/create | 20.0.5 | 20.1.3 | + ## 2.50.6 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index c0a0a9a06c4f..57c42da3daf9 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.50.6", + "version": "2.50.7", "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 47727ec286ce..5cffebc708cd 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,18 @@ # miniflare +## 4.20250730.0 + +### Patch Changes + +- [#10129](https://github.com/cloudflare/workers-sdk/pull/10129) [`9b61f44`](https://github.com/cloudflare/workers-sdk/commit/9b61f44c899aa6530ecd20f283dc4e2a9f7c79c7) 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.20250726.0 | 1.20250730.0 | + | @cloudflare/workers-types | ^4.20250726.0 | ^4.20250730.0 | + ## 4.20250726.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index b2763dcd0a67..b779b0cf0ade 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20250726.0", + "version": "4.20250730.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 cb8b6dbe6b81..677ec3dc0228 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.59 + +### Patch Changes + +- Updated dependencies [[`9b61f44`](https://github.com/cloudflare/workers-sdk/commit/9b61f44c899aa6530ecd20f283dc4e2a9f7c79c7)]: + - miniflare@4.20250730.0 + ## 0.13.58 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 65607dc88dd5..e6b725b0008d 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.58", + "version": "0.13.59", "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 e293a4224f3d..8389cf053191 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,35 @@ # @cloudflare/vite-plugin +## 1.11.0 + +### Minor Changes + +- [#9914](https://github.com/cloudflare/workers-sdk/pull/9914) [`a24c9d8`](https://github.com/cloudflare/workers-sdk/commit/a24c9d8c83d2cd1363f594d97829467c48fc7e7b) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Add support for loading local dev vars from .env files + + If there are no `.dev.vars` or `.dev.vars.` files, when running Wrangler or the Vite plugin in local development mode, + they will now try to load additional local dev vars from `.env`, `.env.local`, `.env.` and `.env..local` files. + + These loaded vars are only for local development and have no effect in production to the vars in a deployed Worker. + Wrangler and Vite will continue to load `.env` files in order to configure themselves as a tool. + + Further details: + + - In `vite build` the local vars will be computed and stored in a `.dev.vars` file next to the compiled Worker code, so that `vite preview` can use them. + - The `wrangler types` command will similarly read the `.env` files (if no `.dev.vars` files) in order to generate the `Env` interface. + - If the `CLOUDFLARE_LOAD_DEV_VARS_FROM_DOT_ENV` environment variable is `"false"` then local dev variables will not be loaded from `.env` files. + - If the `CLOUDFLARE_INCLUDE_PROCESS_ENV` environment variable is `"true"` then all the environment variables found on `process.env` will be included as local dev vars. + - Wrangler (but not Vite plugin) also now supports the `--env-file=` global CLI option. This affects both loading `.env` to configure Wrangler the tool as well as loading local dev vars. + +### Patch Changes + +- [#10071](https://github.com/cloudflare/workers-sdk/pull/10071) [`4a4049c`](https://github.com/cloudflare/workers-sdk/commit/4a4049c69aa5e556127f9aa1304c5ce0d348b5a0) Thanks [@CarmenPopoviciu](https://github.com/CarmenPopoviciu)! - feat(vite-plugin): Add Containers-related info logs + + Add logs, when a Worker has Containers configured, providing information about container build status, and how to rebuild containers during local development. + +- Updated dependencies [[`9b61f44`](https://github.com/cloudflare/workers-sdk/commit/9b61f44c899aa6530ecd20f283dc4e2a9f7c79c7), [`0f7820e`](https://github.com/cloudflare/workers-sdk/commit/0f7820ee384ed708e5d9058f9859b7f1d87e1807), [`a24c9d8`](https://github.com/cloudflare/workers-sdk/commit/a24c9d8c83d2cd1363f594d97829467c48fc7e7b), [`e9bb8d3`](https://github.com/cloudflare/workers-sdk/commit/e9bb8d372a149d9b99119e3b5b077935af0d98ae)]: + - miniflare@4.20250730.0 + - wrangler@4.27.0 + ## 1.10.2 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 7d5a4dab6b87..dd4c0920d10d 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.10.2", + "version": "1.11.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 4aca56a9030a..0412feefed46 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-pool-workers +## 0.8.59 + +### Patch Changes + +- Updated dependencies [[`9b61f44`](https://github.com/cloudflare/workers-sdk/commit/9b61f44c899aa6530ecd20f283dc4e2a9f7c79c7), [`0f7820e`](https://github.com/cloudflare/workers-sdk/commit/0f7820ee384ed708e5d9058f9859b7f1d87e1807), [`a24c9d8`](https://github.com/cloudflare/workers-sdk/commit/a24c9d8c83d2cd1363f594d97829467c48fc7e7b), [`e9bb8d3`](https://github.com/cloudflare/workers-sdk/commit/e9bb8d372a149d9b99119e3b5b077935af0d98ae)]: + - miniflare@4.20250730.0 + - wrangler@4.27.0 + ## 0.8.58 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index bfd1ddccdb36..5f285e1c9a01 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.58", + "version": "0.8.59", "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 2f54e60c85e0..7fce07fe0e6c 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,46 @@ # wrangler +## 4.27.0 + +### Minor Changes + +- [#9914](https://github.com/cloudflare/workers-sdk/pull/9914) [`a24c9d8`](https://github.com/cloudflare/workers-sdk/commit/a24c9d8c83d2cd1363f594d97829467c48fc7e7b) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Add support for loading local dev vars from .env files + + If there are no `.dev.vars` or `.dev.vars.` files, when running Wrangler or the Vite plugin in local development mode, + they will now try to load additional local dev vars from `.env`, `.env.local`, `.env.` and `.env..local` files. + + These loaded vars are only for local development and have no effect in production to the vars in a deployed Worker. + Wrangler and Vite will continue to load `.env` files in order to configure themselves as a tool. + + Further details: + + - In `vite build` the local vars will be computed and stored in a `.dev.vars` file next to the compiled Worker code, so that `vite preview` can use them. + - The `wrangler types` command will similarly read the `.env` files (if no `.dev.vars` files) in order to generate the `Env` interface. + - If the `CLOUDFLARE_LOAD_DEV_VARS_FROM_DOT_ENV` environment variable is `"false"` then local dev variables will not be loaded from `.env` files. + - If the `CLOUDFLARE_INCLUDE_PROCESS_ENV` environment variable is `"true"` then all the environment variables found on `process.env` will be included as local dev vars. + - Wrangler (but not Vite plugin) also now supports the `--env-file=` global CLI option. This affects both loading `.env` to configure Wrangler the tool as well as loading local dev vars. + +### Patch Changes + +- [#10051](https://github.com/cloudflare/workers-sdk/pull/10051) [`0f7820e`](https://github.com/cloudflare/workers-sdk/commit/0f7820ee384ed708e5d9058f9859b7f1d87e1807) Thanks [@nikitassharma](https://github.com/nikitassharma)! - Add support for custom instance limits for containers. For example, instead of + having to use the preconfigured dev/standard/basic instance types, you can now + set: + + ``` + instance_type: { + vcpu: 1, + memory_mib: 1024, + disk_mb: 4000 + } + ``` + + This feature is currently only available to customers on an enterprise plan. + +- [#10149](https://github.com/cloudflare/workers-sdk/pull/10149) [`e9bb8d3`](https://github.com/cloudflare/workers-sdk/commit/e9bb8d372a149d9b99119e3b5b077935af0d98ae) Thanks [@vicb](https://github.com/vicb)! - fix `require("debug")` in nodejs_compat mode + +- Updated dependencies [[`9b61f44`](https://github.com/cloudflare/workers-sdk/commit/9b61f44c899aa6530ecd20f283dc4e2a9f7c79c7)]: + - miniflare@4.20250730.0 + ## 4.26.1 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index be424d0948b1..d289cd535fef 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.26.1", + "version": "4.27.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",