diff --git a/.changeset/c3-frameworks-update-10127.md b/.changeset/c3-frameworks-update-10127.md deleted file mode 100644 index 9cde2e545395..000000000000 --- a/.changeset/c3-frameworks-update-10127.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 | -| ---------- | ------ | ------ | -| create-vue | 3.17.0 | 3.18.0 | diff --git a/.changeset/c3-frameworks-update-10197.md b/.changeset/c3-frameworks-update-10197.md deleted file mode 100644 index e0dd7ce19e3b..000000000000 --- a/.changeset/c3-frameworks-update-10197.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 | -| ------------ | ------ | ------ | -| create-astro | 4.13.0 | 4.13.1 | diff --git a/.changeset/c3-frameworks-update-10198.md b/.changeset/c3-frameworks-update-10198.md deleted file mode 100644 index 85fc71d11561..000000000000 --- a/.changeset/c3-frameworks-update-10198.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 | -| ---------- | ------ | ----- | -| sv | 0.8.20 | 0.9.0 | diff --git a/.changeset/c3-frameworks-update-10199.md b/.changeset/c3-frameworks-update-10199.md deleted file mode 100644 index 0ee92e364601..000000000000 --- a/.changeset/c3-frameworks-update-10199.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.1.3 | 20.1.4 | diff --git a/.changeset/c3-frameworks-update-9956.md b/.changeset/c3-frameworks-update-9956.md deleted file mode 100644 index c47dea18ffb3..000000000000 --- a/.changeset/c3-frameworks-update-9956.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 | -| ---------- | ------ | ------ | -| nuxi | 3.25.1 | 3.27.0 | diff --git a/.changeset/cold-colts-crash.md b/.changeset/cold-colts-crash.md deleted file mode 100644 index 12959a39cd32..000000000000 --- a/.changeset/cold-colts-crash.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Fix issue that resulted in `A hanging Promise was canceled` errors when developing large applications. -We now handle requests for modules in a Durable Object so that they can be shared across invocations. - -Additionally, using `import.meta.hot.send` within the context of a request is now supported. diff --git a/.changeset/cold-hands-reply.md b/.changeset/cold-hands-reply.md deleted file mode 100644 index 20c27534c4cd..000000000000 --- a/.changeset/cold-hands-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/unenv-preset": minor ---- - -add support for native `node:os` diff --git a/.changeset/deep-lizards-move.md b/.changeset/deep-lizards-move.md deleted file mode 100644 index e4ecbb02dbd2..000000000000 --- a/.changeset/deep-lizards-move.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"wrangler": patch ---- - -fix `wrangler dev` logs being logged on the incorrect level in some cases - -currently the way `wrangler dev` prints logs is faulty, for example the following code - -```js -console.error("this is an error"); -console.warn("this is a warning"); -console.debug("this is a debug"); -``` - -inside a worker would cause the following logs: - -```text -✘ [ERROR] this is an error - -✘ [ERROR] this is a warning - -this is a debug -``` - -(note that the warning is printed as an error and the debug log is printed even if by default it should not) - -the changes here make sure that the logs are instead logged to their correct level, so for the code about the following will be logged instead: - -```text -✘ [ERROR] this is an error - -▲ [WARNING] this is a warning -``` - -(running `wrangler dev` with the `--log-level=debug` flag will also cause the debug log to be included as well) diff --git a/.changeset/dependabot-update-10148.md b/.changeset/dependabot-update-10148.md deleted file mode 100644 index bf57c170aba1..000000000000 --- a/.changeset/dependabot-update-10148.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.20250730.0 | 1.20250801.0 | -| @cloudflare/workers-types | ^4.20250730.0 | ^4.20250801.0 | diff --git a/.changeset/dependabot-update-10203.md b/.changeset/dependabot-update-10203.md deleted file mode 100644 index 49efd602046d..000000000000 --- a/.changeset/dependabot-update-10203.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.20250801.0 | 1.20250803.0 | -| @cloudflare/workers-types | ^4.20250801.0 | ^4.20250803.0 | diff --git a/.changeset/eight-buckets-bathe.md b/.changeset/eight-buckets-bathe.md deleted file mode 100644 index 2d8fd746b14b..000000000000 --- a/.changeset/eight-buckets-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -fix: cross-process service bindings no longer skip static asset serving diff --git a/.changeset/full-areas-lick.md b/.changeset/full-areas-lick.md deleted file mode 100644 index 66091e99e4e3..000000000000 --- a/.changeset/full-areas-lick.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": minor ---- - -add `structuredWorkerdLogs` option - -add a new top-level option named `structuredWorkerdLogs` that makes workerd print to stdout structured logs (stringified jsons of the following shape: `{ timestamp: number, level: string, message: string }`) instead of printing logs to stdout and stderr diff --git a/.changeset/great-terms-roll.md b/.changeset/great-terms-roll.md deleted file mode 100644 index 0680038b79aa..000000000000 --- a/.changeset/great-terms-roll.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch -"wrangler": patch ---- - -fix: move local dev container cleanup to process exit hook. This should ensure containers are cleaned up even when Wrangler is shut down programatically. diff --git a/.changeset/happy-streets-leave.md b/.changeset/happy-streets-leave.md deleted file mode 100644 index 2973d331266a..000000000000 --- a/.changeset/happy-streets-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Add --json flag to r2 bucket info command for machine-readable output. diff --git a/.changeset/hip-sites-camp.md b/.changeset/hip-sites-camp.md deleted file mode 100644 index 8a8af4d5c614..000000000000 --- a/.changeset/hip-sites-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Deleting when Pages project binds to worker requires confirmation diff --git a/.changeset/icy-lands-build.md b/.changeset/icy-lands-build.md deleted file mode 100644 index dc1e1e1377fd..000000000000 --- a/.changeset/icy-lands-build.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": minor ---- - -Added a `serviceName` option to `unsafeDirectSockets` - -This allows registering the current worker in the dev registry under its own name, but routing to a different service. diff --git a/.changeset/long-hairs-feel.md b/.changeset/long-hairs-feel.md deleted file mode 100644 index d4271b11cc11..000000000000 --- a/.changeset/long-hairs-feel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: report startup errors before workerd profiling diff --git a/.changeset/orange-queens-throw.md b/.changeset/orange-queens-throw.md deleted file mode 100644 index 276048ec50f6..000000000000 --- a/.changeset/orange-queens-throw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Update `wrangler containers images list` to make fewer API calls to improve command runtime diff --git a/.changeset/rare-peaches-change.md b/.changeset/rare-peaches-change.md deleted file mode 100644 index 886942919f49..000000000000 --- a/.changeset/rare-peaches-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Enforce 64-character limit for Workflow binding names locally to match production validation diff --git a/.changeset/rich-tigers-decide.md b/.changeset/rich-tigers-decide.md deleted file mode 100644 index 56b693d745fb..000000000000 --- a/.changeset/rich-tigers-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Fix UTF BOM handling in config files - remove UTF-8 BOM and error on other BOMs diff --git a/.changeset/shaky-experts-beg.md b/.changeset/shaky-experts-beg.md deleted file mode 100644 index 0b4b7e625a32..000000000000 --- a/.changeset/shaky-experts-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Ensure that headers set via `server.headers` in the Vite config are added to HTML asset responses in development. diff --git a/.changeset/silent-lies-decide.md b/.changeset/silent-lies-decide.md deleted file mode 100644 index 7b6d5f11242a..000000000000 --- a/.changeset/silent-lies-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -add .gitignore to hello-world-assets-only template diff --git a/.changeset/silly-things-walk.md b/.changeset/silly-things-walk.md deleted file mode 100644 index fd8dbaaa5d1a..000000000000 --- a/.changeset/silly-things-walk.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch -"create-cloudflare": patch ---- - -Add macOS version validation to prevent EPIPE errors on unsupported macOS versions (below 13.5). Miniflare and C3 fail hard while Wrangler shows warnings but continues execution. diff --git a/.changeset/sour-mails-crash.md b/.changeset/sour-mails-crash.md deleted file mode 100644 index 8ff137271745..000000000000 --- a/.changeset/sour-mails-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Preserve comments in wrangler.json files when C3 updates them during project generation. Previously, comments were stripped when updating configuration files from templates. diff --git a/.changeset/strong-dryers-stand.md b/.changeset/strong-dryers-stand.md deleted file mode 100644 index 6007c8de768f..000000000000 --- a/.changeset/strong-dryers-stand.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/unenv-preset": minor ---- - -Add support for http and https server APIs diff --git a/.changeset/weak-dryers-stand.md b/.changeset/weak-dryers-stand.md deleted file mode 100644 index 6a45e5fd9ad2..000000000000 --- a/.changeset/weak-dryers-stand.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/unenv-preset": patch ---- - -Refactor http overrides diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index aa38f59f0ada..7dee7d404b42 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,55 @@ # create-cloudflare +## 2.50.8 + +### Patch Changes + +- [#10127](https://github.com/cloudflare/workers-sdk/pull/10127) [`65f0ef2`](https://github.com/cloudflare/workers-sdk/commit/65f0ef26a511ba810ceddeb8f1d459cdcea8e54f) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------ | ------ | + | create-vue | 3.17.0 | 3.18.0 | + +- [#10197](https://github.com/cloudflare/workers-sdk/pull/10197) [`11225f9`](https://github.com/cloudflare/workers-sdk/commit/11225f9b44163e38bfe8ad1dbf6950faca2fa4b5) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------ | ------ | ------ | + | create-astro | 4.13.0 | 4.13.1 | + +- [#10198](https://github.com/cloudflare/workers-sdk/pull/10198) [`626b226`](https://github.com/cloudflare/workers-sdk/commit/626b2269803fa24da19a06ae16cb72bb8b9e91c4) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------ | ----- | + | sv | 0.8.20 | 0.9.0 | + +- [#10199](https://github.com/cloudflare/workers-sdk/pull/10199) [`53a685f`](https://github.com/cloudflare/workers-sdk/commit/53a685f88855c66991f8ebd89ed6fc16fba37060) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | --------------- | ------ | ------ | + | @angular/create | 20.1.3 | 20.1.4 | + +- [#9956](https://github.com/cloudflare/workers-sdk/pull/9956) [`b70a702`](https://github.com/cloudflare/workers-sdk/commit/b70a70266c5f2c9be8717d798394ab02afaf4c65) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------ | ------ | + | nuxi | 3.25.1 | 3.27.0 | + +- [#10189](https://github.com/cloudflare/workers-sdk/pull/10189) [`69e2114`](https://github.com/cloudflare/workers-sdk/commit/69e2114880afe259b92de116779a80248f605d6a) Thanks [@fjararibet](https://github.com/fjararibet)! - add .gitignore to hello-world-assets-only template + +- [#10176](https://github.com/cloudflare/workers-sdk/pull/10176) [`07c8611`](https://github.com/cloudflare/workers-sdk/commit/07c8611b69721e8aa1300ba209dc45a75173e1d7) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Add macOS version validation to prevent EPIPE errors on unsupported macOS versions (below 13.5). Miniflare and C3 fail hard while Wrangler shows warnings but continues execution. + +- [#10192](https://github.com/cloudflare/workers-sdk/pull/10192) [`f5854a9`](https://github.com/cloudflare/workers-sdk/commit/f5854a97ede2d083ac2c351a28ccfbf7e097229a) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Preserve comments in wrangler.json files when C3 updates them during project generation. Previously, comments were stripped when updating configuration files from templates. + ## 2.50.7 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index f476c36b3d73..25159205155a 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.50.7", + "version": "2.50.8", "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 5cffebc708cd..a211049ccc57 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,39 @@ # miniflare +## 4.20250803.0 + +### Minor Changes + +- [#10004](https://github.com/cloudflare/workers-sdk/pull/10004) [`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add `structuredWorkerdLogs` option + + add a new top-level option named `structuredWorkerdLogs` that makes workerd print to stdout structured logs (stringified jsons of the following shape: `{ timestamp: number, level: string, message: string }`) instead of printing logs to stdout and stderr + +- [#9556](https://github.com/cloudflare/workers-sdk/pull/9556) [`8ba7736`](https://github.com/cloudflare/workers-sdk/commit/8ba7736a8ae5666870d12945a1cb6185b6ac3633) Thanks [@edmundhung](https://github.com/edmundhung)! - Added a `serviceName` option to `unsafeDirectSockets` + + This allows registering the current worker in the dev registry under its own name, but routing to a different service. + +### Patch Changes + +- [#10148](https://github.com/cloudflare/workers-sdk/pull/10148) [`631f26d`](https://github.com/cloudflare/workers-sdk/commit/631f26df58d8933da81fb312f2ba2e30dc22821a) 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.20250730.0 | 1.20250801.0 | + | @cloudflare/workers-types | ^4.20250730.0 | ^4.20250801.0 | + +- [#10203](https://github.com/cloudflare/workers-sdk/pull/10203) [`d6ecd05`](https://github.com/cloudflare/workers-sdk/commit/d6ecd05be5d272857f2b3e243e57ddee4e6a576c) 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.20250801.0 | 1.20250803.0 | + | @cloudflare/workers-types | ^4.20250801.0 | ^4.20250803.0 | + +- [#10176](https://github.com/cloudflare/workers-sdk/pull/10176) [`07c8611`](https://github.com/cloudflare/workers-sdk/commit/07c8611b69721e8aa1300ba209dc45a75173e1d7) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Add macOS version validation to prevent EPIPE errors on unsupported macOS versions (below 13.5). Miniflare and C3 fail hard while Wrangler shows warnings but continues execution. + ## 4.20250730.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 3f7f9196bc51..ac7365aa9cfe 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20250730.0", + "version": "4.20250803.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 677ec3dc0228..a11b3fdcdb82 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.60 + +### Patch Changes + +- Updated dependencies [[`631f26d`](https://github.com/cloudflare/workers-sdk/commit/631f26df58d8933da81fb312f2ba2e30dc22821a), [`d6ecd05`](https://github.com/cloudflare/workers-sdk/commit/d6ecd05be5d272857f2b3e243e57ddee4e6a576c), [`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e), [`8ba7736`](https://github.com/cloudflare/workers-sdk/commit/8ba7736a8ae5666870d12945a1cb6185b6ac3633), [`07c8611`](https://github.com/cloudflare/workers-sdk/commit/07c8611b69721e8aa1300ba209dc45a75173e1d7)]: + - miniflare@4.20250803.0 + ## 0.13.59 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 419c01695d32..4663f2646bf9 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.59", + "version": "0.13.60", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/unenv-preset/CHANGELOG.md b/packages/unenv-preset/CHANGELOG.md index 47e544232dc1..4f2783cdeb15 100644 --- a/packages/unenv-preset/CHANGELOG.md +++ b/packages/unenv-preset/CHANGELOG.md @@ -1,5 +1,17 @@ # @cloudflare/unenv-preset +## 2.6.0 + +### Minor Changes + +- [#10208](https://github.com/cloudflare/workers-sdk/pull/10208) [`6b9cd5b`](https://github.com/cloudflare/workers-sdk/commit/6b9cd5b18775446760e938a10bf8ca1cfbb8c96f) Thanks [@vicb](https://github.com/vicb)! - add support for native `node:os` + +- [#10205](https://github.com/cloudflare/workers-sdk/pull/10205) [`7e204a9`](https://github.com/cloudflare/workers-sdk/commit/7e204a941e4e907b690f2ad6ff3cb10f2d2f20bd) Thanks [@vicb](https://github.com/vicb)! - Add support for http and https server APIs + +### Patch Changes + +- [#10150](https://github.com/cloudflare/workers-sdk/pull/10150) [`3f83ac1`](https://github.com/cloudflare/workers-sdk/commit/3f83ac1d8b67c07a0c7d08961b8a81a830543853) Thanks [@vicb](https://github.com/vicb)! - Refactor http overrides + ## 2.5.0 ### Minor Changes diff --git a/packages/unenv-preset/package.json b/packages/unenv-preset/package.json index dbfc0e297e70..267ebc61684f 100644 --- a/packages/unenv-preset/package.json +++ b/packages/unenv-preset/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/unenv-preset", - "version": "2.5.0", + "version": "2.6.0", "description": "cloudflare preset for unenv", "keywords": [ "cloudflare", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index 8389cf053191..e77757b00328 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,25 @@ # @cloudflare/vite-plugin +## 1.11.1 + +### Patch Changes + +- [#9993](https://github.com/cloudflare/workers-sdk/pull/9993) [`9901788`](https://github.com/cloudflare/workers-sdk/commit/9901788035e858d11632d2df857fa3cc536531e6) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Fix issue that resulted in `A hanging Promise was canceled` errors when developing large applications. + We now handle requests for modules in a Durable Object so that they can be shared across invocations. + + Additionally, using `import.meta.hot.send` within the context of a request is now supported. + +- [#9556](https://github.com/cloudflare/workers-sdk/pull/9556) [`8ba7736`](https://github.com/cloudflare/workers-sdk/commit/8ba7736a8ae5666870d12945a1cb6185b6ac3633) Thanks [@edmundhung](https://github.com/edmundhung)! - fix: cross-process service bindings no longer skip static asset serving + +- [#10099](https://github.com/cloudflare/workers-sdk/pull/10099) [`360004d`](https://github.com/cloudflare/workers-sdk/commit/360004d4d96eb1e89f9a3e01eaea27197e08bf8a) Thanks [@emily-shen](https://github.com/emily-shen)! - fix: move local dev container cleanup to process exit hook. This should ensure containers are cleaned up even when Wrangler is shut down programatically. + +- [#10173](https://github.com/cloudflare/workers-sdk/pull/10173) [`4e62cd8`](https://github.com/cloudflare/workers-sdk/commit/4e62cd8d30781917857fda8d529637ea45699b89) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Ensure that headers set via `server.headers` in the Vite config are added to HTML asset responses in development. + +- Updated dependencies [[`6b9cd5b`](https://github.com/cloudflare/workers-sdk/commit/6b9cd5b18775446760e938a10bf8ca1cfbb8c96f), [`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e), [`631f26d`](https://github.com/cloudflare/workers-sdk/commit/631f26df58d8933da81fb312f2ba2e30dc22821a), [`d6ecd05`](https://github.com/cloudflare/workers-sdk/commit/d6ecd05be5d272857f2b3e243e57ddee4e6a576c), [`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e), [`360004d`](https://github.com/cloudflare/workers-sdk/commit/360004d4d96eb1e89f9a3e01eaea27197e08bf8a), [`e82aa19`](https://github.com/cloudflare/workers-sdk/commit/e82aa199b86f9b9de95f39ad1460d48feec8b00f), [`dae1377`](https://github.com/cloudflare/workers-sdk/commit/dae1377cbee54cf394e070917087da6c9df37d1f), [`8ba7736`](https://github.com/cloudflare/workers-sdk/commit/8ba7736a8ae5666870d12945a1cb6185b6ac3633), [`1655bec`](https://github.com/cloudflare/workers-sdk/commit/1655bec50c0bfa3efbfc84b171171a44b120f03f), [`354a001`](https://github.com/cloudflare/workers-sdk/commit/354a001e3e7e8189f80c1baf52bac13bca08ad74), [`5c3b83f`](https://github.com/cloudflare/workers-sdk/commit/5c3b83fc40525590deb62ceda2a8d303a42bc1d8), [`502a8e0`](https://github.com/cloudflare/workers-sdk/commit/502a8e0db0eecda425912340088ae51568bbf4f6), [`07c8611`](https://github.com/cloudflare/workers-sdk/commit/07c8611b69721e8aa1300ba209dc45a75173e1d7), [`7e204a9`](https://github.com/cloudflare/workers-sdk/commit/7e204a941e4e907b690f2ad6ff3cb10f2d2f20bd), [`3f83ac1`](https://github.com/cloudflare/workers-sdk/commit/3f83ac1d8b67c07a0c7d08961b8a81a830543853)]: + - @cloudflare/unenv-preset@2.6.0 + - wrangler@4.28.0 + - miniflare@4.20250803.0 + ## 1.11.0 ### Minor Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 961e9d406210..6fcbc55b12ab 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.11.0", + "version": "1.11.1", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 0412feefed46..37664c58e7c1 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.60 + +### Patch Changes + +- Updated dependencies [[`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e), [`631f26d`](https://github.com/cloudflare/workers-sdk/commit/631f26df58d8933da81fb312f2ba2e30dc22821a), [`d6ecd05`](https://github.com/cloudflare/workers-sdk/commit/d6ecd05be5d272857f2b3e243e57ddee4e6a576c), [`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e), [`360004d`](https://github.com/cloudflare/workers-sdk/commit/360004d4d96eb1e89f9a3e01eaea27197e08bf8a), [`e82aa19`](https://github.com/cloudflare/workers-sdk/commit/e82aa199b86f9b9de95f39ad1460d48feec8b00f), [`dae1377`](https://github.com/cloudflare/workers-sdk/commit/dae1377cbee54cf394e070917087da6c9df37d1f), [`8ba7736`](https://github.com/cloudflare/workers-sdk/commit/8ba7736a8ae5666870d12945a1cb6185b6ac3633), [`1655bec`](https://github.com/cloudflare/workers-sdk/commit/1655bec50c0bfa3efbfc84b171171a44b120f03f), [`354a001`](https://github.com/cloudflare/workers-sdk/commit/354a001e3e7e8189f80c1baf52bac13bca08ad74), [`5c3b83f`](https://github.com/cloudflare/workers-sdk/commit/5c3b83fc40525590deb62ceda2a8d303a42bc1d8), [`502a8e0`](https://github.com/cloudflare/workers-sdk/commit/502a8e0db0eecda425912340088ae51568bbf4f6), [`07c8611`](https://github.com/cloudflare/workers-sdk/commit/07c8611b69721e8aa1300ba209dc45a75173e1d7)]: + - wrangler@4.28.0 + - miniflare@4.20250803.0 + ## 0.8.59 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 2e8c6f2fa91b..457a0a65eefd 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.59", + "version": "0.8.60", "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 7fce07fe0e6c..946cef2089e2 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,63 @@ # wrangler +## 4.28.0 + +### Minor Changes + +- [#9530](https://github.com/cloudflare/workers-sdk/pull/9530) [`e82aa19`](https://github.com/cloudflare/workers-sdk/commit/e82aa199b86f9b9de95f39ad1460d48feec8b00f) Thanks [@Akshit222](https://github.com/Akshit222)! - Add --json flag to r2 bucket info command for machine-readable output. + +### Patch Changes + +- [#10004](https://github.com/cloudflare/workers-sdk/pull/10004) [`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix `wrangler dev` logs being logged on the incorrect level in some cases + + currently the way `wrangler dev` prints logs is faulty, for example the following code + + ```js + console.error("this is an error"); + console.warn("this is a warning"); + console.debug("this is a debug"); + ``` + + inside a worker would cause the following logs: + + ```text + ✘ [ERROR] this is an error + + ✘ [ERROR] this is a warning + + this is a debug + ``` + + (note that the warning is printed as an error and the debug log is printed even if by default it should not) + + the changes here make sure that the logs are instead logged to their correct level, so for the code about the following will be logged instead: + + ```text + ✘ [ERROR] this is an error + + ▲ [WARNING] this is a warning + ``` + + (running `wrangler dev` with the `--log-level=debug` flag will also cause the debug log to be included as well) + +- [#10099](https://github.com/cloudflare/workers-sdk/pull/10099) [`360004d`](https://github.com/cloudflare/workers-sdk/commit/360004d4d96eb1e89f9a3e01eaea27197e08bf8a) Thanks [@emily-shen](https://github.com/emily-shen)! - fix: move local dev container cleanup to process exit hook. This should ensure containers are cleaned up even when Wrangler is shut down programatically. + +- [#10186](https://github.com/cloudflare/workers-sdk/pull/10186) [`dae1377`](https://github.com/cloudflare/workers-sdk/commit/dae1377cbee54cf394e070917087da6c9df37d1f) Thanks [@matthewdavidrodgers](https://github.com/matthewdavidrodgers)! - Deleting when Pages project binds to worker requires confirmation + +- [#10169](https://github.com/cloudflare/workers-sdk/pull/10169) [`1655bec`](https://github.com/cloudflare/workers-sdk/commit/1655bec50c0bfa3efbfc84b171171a44b120f03f) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - fix: report startup errors before workerd profiling + +- [#10136](https://github.com/cloudflare/workers-sdk/pull/10136) [`354a001`](https://github.com/cloudflare/workers-sdk/commit/354a001e3e7e8189f80c1baf52bac13bca08ad74) Thanks [@nikitassharma](https://github.com/nikitassharma)! - Update `wrangler containers images list` to make fewer API calls to improve command runtime + +- [#10157](https://github.com/cloudflare/workers-sdk/pull/10157) [`5c3b83f`](https://github.com/cloudflare/workers-sdk/commit/5c3b83fc40525590deb62ceda2a8d303a42bc1d8) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Enforce 64-character limit for Workflow binding names locally to match production validation + +- [#10154](https://github.com/cloudflare/workers-sdk/pull/10154) [`502a8e0`](https://github.com/cloudflare/workers-sdk/commit/502a8e0db0eecda425912340088ae51568bbf4f6) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Fix UTF BOM handling in config files - remove UTF-8 BOM and error on other BOMs + +- [#10176](https://github.com/cloudflare/workers-sdk/pull/10176) [`07c8611`](https://github.com/cloudflare/workers-sdk/commit/07c8611b69721e8aa1300ba209dc45a75173e1d7) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Add macOS version validation to prevent EPIPE errors on unsupported macOS versions (below 13.5). Miniflare and C3 fail hard while Wrangler shows warnings but continues execution. + +- Updated dependencies [[`6b9cd5b`](https://github.com/cloudflare/workers-sdk/commit/6b9cd5b18775446760e938a10bf8ca1cfbb8c96f), [`631f26d`](https://github.com/cloudflare/workers-sdk/commit/631f26df58d8933da81fb312f2ba2e30dc22821a), [`d6ecd05`](https://github.com/cloudflare/workers-sdk/commit/d6ecd05be5d272857f2b3e243e57ddee4e6a576c), [`b4d1373`](https://github.com/cloudflare/workers-sdk/commit/b4d13733b5f64f84274a194dd725943658d6184e), [`8ba7736`](https://github.com/cloudflare/workers-sdk/commit/8ba7736a8ae5666870d12945a1cb6185b6ac3633), [`07c8611`](https://github.com/cloudflare/workers-sdk/commit/07c8611b69721e8aa1300ba209dc45a75173e1d7), [`7e204a9`](https://github.com/cloudflare/workers-sdk/commit/7e204a941e4e907b690f2ad6ff3cb10f2d2f20bd), [`3f83ac1`](https://github.com/cloudflare/workers-sdk/commit/3f83ac1d8b67c07a0c7d08961b8a81a830543853)]: + - @cloudflare/unenv-preset@2.6.0 + - miniflare@4.20250803.0 + ## 4.27.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 35d276a5fbb0..41d621384319 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.27.0", + "version": "4.28.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",