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/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/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/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/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/silly-things-walk.md b/.changeset/silly-things-walk.md deleted file mode 100644 index 3b5629ffd671..000000000000 --- a/.changeset/silly-things-walk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"miniflare": patch -"wrangler": 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/smooth-shirts-add.md b/.changeset/smooth-shirts-add.md deleted file mode 100644 index 2d2c07aba280..000000000000 --- a/.changeset/smooth-shirts-add.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: strip ANSI escape codes from log files to improve readability and parsing diff --git a/.changeset/violet-walls-tie.md b/.changeset/violet-walls-tie.md deleted file mode 100644 index 311dede14d1a..000000000000 --- a/.changeset/violet-walls-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Handle UTF BOM in config files - detect and remove UTF-8 BOMs, error on unsupported BOMs (UTF-16, UTF-32) diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 4e0d37d0d99e..aba0093f84e1 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,17 @@ # miniflare +## 3.20250718.1 + +### Minor Changes + +- [#10015](https://github.com/cloudflare/workers-sdk/pull/10015) [`b5d9bb0`](https://github.com/cloudflare/workers-sdk/commit/b5d9bb026ebfb4c732c3c4999aa5ac0757f1a1b2) 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 + +### Patch Changes + +- [#10216](https://github.com/cloudflare/workers-sdk/pull/10216) [`76d3002`](https://github.com/cloudflare/workers-sdk/commit/76d3002bf7e03f4b5ee255c9fd0eaa81f092311d) 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. + ## 3.20250718.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 03d98683f3d3..148d9519d75b 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20250718.0", + "version": "3.20250718.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 0192f73b4006..63a82f0eaed6 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.20 + +### Patch Changes + +- Updated dependencies [[`b5d9bb0`](https://github.com/cloudflare/workers-sdk/commit/b5d9bb026ebfb4c732c3c4999aa5ac0757f1a1b2), [`76d3002`](https://github.com/cloudflare/workers-sdk/commit/76d3002bf7e03f4b5ee255c9fd0eaa81f092311d)]: + - miniflare@3.20250718.1 + ## 0.13.19 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index fab113db4df4..6c4c59e92b29 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.19", + "version": "0.13.20", "private": true, "repository": { "type": "git", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index bdadaec859a9..c99121ee0a7b 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,56 @@ # wrangler +## 3.114.13 + +### Patch Changes + +- [#10015](https://github.com/cloudflare/workers-sdk/pull/10015) [`b5d9bb0`](https://github.com/cloudflare/workers-sdk/commit/b5d9bb026ebfb4c732c3c4999aa5ac0757f1a1b2) 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) + +- [#10187](https://github.com/cloudflare/workers-sdk/pull/10187) [`f480ec7`](https://github.com/cloudflare/workers-sdk/commit/f480ec74d1aaf05681fb8ebabcbcf147cfd6ea8a) Thanks [@workers-devprod](https://github.com/workers-devprod)! - Deleting when Pages project binds to worker requires confirmation + +- [#10182](https://github.com/cloudflare/workers-sdk/pull/10182) [`1f686ef`](https://github.com/cloudflare/workers-sdk/commit/1f686ef3d20e2986d1c2d6d554a7fb99004b9924) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - fix: report startup errors before workerd profiling + +- [#10226](https://github.com/cloudflare/workers-sdk/pull/10226) [`989e17e`](https://github.com/cloudflare/workers-sdk/commit/989e17e71aeefad3d021a368b57d2f6af6827d1a) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Enforce 64-character limit for Workflow binding names locally to match production validation + +- [#10216](https://github.com/cloudflare/workers-sdk/pull/10216) [`76d3002`](https://github.com/cloudflare/workers-sdk/commit/76d3002bf7e03f4b5ee255c9fd0eaa81f092311d) 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. + +- [#10261](https://github.com/cloudflare/workers-sdk/pull/10261) [`8c38b65`](https://github.com/cloudflare/workers-sdk/commit/8c38b65a7fcb424e5674575595c1663b6b363be9) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: strip ANSI escape codes from log files to improve readability and parsing + +- [#10171](https://github.com/cloudflare/workers-sdk/pull/10171) [`0d73563`](https://github.com/cloudflare/workers-sdk/commit/0d73563833d47bb61582eb5569b0af74e8f4de1e) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Handle UTF BOM in config files - detect and remove UTF-8 BOMs, error on unsupported BOMs (UTF-16, UTF-32) + +- Updated dependencies [[`b5d9bb0`](https://github.com/cloudflare/workers-sdk/commit/b5d9bb026ebfb4c732c3c4999aa5ac0757f1a1b2), [`76d3002`](https://github.com/cloudflare/workers-sdk/commit/76d3002bf7e03f4b5ee255c9fd0eaa81f092311d)]: + - miniflare@3.20250718.1 + ## 3.114.12 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 41a1ed04307d..a2b143d23fec 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.114.12", + "version": "3.114.13", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",