diff --git a/.changeset/calm-falcons-reply.md b/.changeset/calm-falcons-reply.md deleted file mode 100644 index 9bd4477ffc4b..000000000000 --- a/.changeset/calm-falcons-reply.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: only offer to report unknown errors - -Previously, Wrangler would offer to report any error to Cloudflare. This included errors caused by misconfigurations or invalid commands. This change ensures those types of errors aren't reported. diff --git a/.changeset/eighty-hotels-train.md b/.changeset/eighty-hotels-train.md deleted file mode 100644 index 18ddd0e0a5b1..000000000000 --- a/.changeset/eighty-hotels-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -make sure the script path is correctly resolved in `pages dev` when no directory is specified diff --git a/.changeset/funny-otters-sing.md b/.changeset/funny-otters-sing.md deleted file mode 100644 index 76da845424ca..000000000000 --- a/.changeset/funny-otters-sing.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: don't require auth for `wrangler r2 object --local` operations - -Previously, Wrangler would ask you to login when reading or writing from local R2 buckets. This change ensures no login prompt is displayed, as authentication isn't required for these operations. diff --git a/.changeset/late-clocks-reply.md b/.changeset/late-clocks-reply.md deleted file mode 100644 index 73a7427d996e..000000000000 --- a/.changeset/late-clocks-reply.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": minor ---- - -feat: expose `rows_read` and `rows_written` in D1 result `meta` - -`rows_read`/`rows_written` contain the number of rows read from/written to the database engine when executing a query respectively. These numbers may be greater than the number of rows returned from/inserted by a query. These numbers form billing metrics when your Worker is deployed. See https://developers.cloudflare.com/d1/platform/pricing/#billing-metrics for more details. diff --git a/.changeset/odd-fans-own.md b/.changeset/odd-fans-own.md deleted file mode 100644 index 603eb4f498a0..000000000000 --- a/.changeset/odd-fans-own.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -fix: ensure `miniflare` and `wrangler` can source map in the same process - -Previously, if in a `wrangler dev` session you called `console.log()` and threw an unhandled error you'd see an error like `[ERR_ASSERTION]: The expression evaluated to a falsy value`. This change ensures you can do both of these things in the same session. diff --git a/.changeset/sharp-rivers-carry.md b/.changeset/sharp-rivers-carry.md deleted file mode 100644 index 4a7c85fbae31..000000000000 --- a/.changeset/sharp-rivers-carry.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: ensure logs containing `at ` not truncated to `at [object Object]` - -Previously, logs containing `at ` were always treated as stack trace call sites requiring source mapping. This change updates the call site detection to avoid false positives. diff --git a/.changeset/ten-dancers-wonder.md b/.changeset/ten-dancers-wonder.md deleted file mode 100644 index b489b06e334a..000000000000 --- a/.changeset/ten-dancers-wonder.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: remove confusing `--local` messaging from `wrangler pages dev` - -Running `wrangler pages dev` would previously log a warning saying `--local is no longer required` even though `--local` was never set. This change removes this warning. diff --git a/fixtures/dev-env/package.json b/fixtures/dev-env/package.json index cf432328f52a..e292298520a1 100644 --- a/fixtures/dev-env/package.json +++ b/fixtures/dev-env/package.json @@ -16,7 +16,7 @@ "@types/ws": "^8.5.7", "@cloudflare/workers-tsconfig": "workspace:^", "get-port": "^7.0.0", - "miniflare": "3.20231218.1", + "miniflare": "3.20231218.2", "undici": "^5.23.0", "wrangler": "workspace:*", "ws": "^8.14.2" diff --git a/packages/edge-preview-authenticated-proxy/package.json b/packages/edge-preview-authenticated-proxy/package.json index fdacaa20d46c..f0c1dd56ed3a 100644 --- a/packages/edge-preview-authenticated-proxy/package.json +++ b/packages/edge-preview-authenticated-proxy/package.json @@ -14,7 +14,7 @@ "@cloudflare/eslint-config-worker": "*", "@cloudflare/workers-types": "^4.20230321.0", "cookie": "^0.5.0", - "promjs": "^0.4.2", + "promjs": "^0.4.2", "toucan-js": "^3.1.0", "wrangler": "workspace:*", "@types/cookie": "^0.5.1" diff --git a/packages/format-errors/package.json b/packages/format-errors/package.json index e7cdd1ab66db..ec2d6da71247 100644 --- a/packages/format-errors/package.json +++ b/packages/format-errors/package.json @@ -12,7 +12,7 @@ "@cloudflare/eslint-config-worker": "*", "@cloudflare/workers-types": "^4.20230321.0", "mustache": "^4.2.0", - "promjs": "^0.4.2", + "promjs": "^0.4.2", "toucan-js": "^3.2.3", "tsconfig": "*", "typescript": "^5.0.2", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 198287f03dcf..89e1336ffce9 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,19 @@ # miniflare +## 3.20231218.2 + +### Minor Changes + +- [#4686](https://github.com/cloudflare/workers-sdk/pull/4686) [`4f6999ea`](https://github.com/cloudflare/workers-sdk/commit/4f6999eacd591d0d65180f805f2abc3c8a2c06c4) Thanks [@mrbbot](https://github.com/mrbbot)! - feat: expose `rows_read` and `rows_written` in D1 result `meta` + + `rows_read`/`rows_written` contain the number of rows read from/written to the database engine when executing a query respectively. These numbers may be greater than the number of rows returned from/inserted by a query. These numbers form billing metrics when your Worker is deployed. See https://developers.cloudflare.com/d1/platform/pricing/#billing-metrics for more details. + +### Patch Changes + +- [#4719](https://github.com/cloudflare/workers-sdk/pull/4719) [`c37d94b5`](https://github.com/cloudflare/workers-sdk/commit/c37d94b51f4d5517c244f8a4178be6a266d2362e) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure `miniflare` and `wrangler` can source map in the same process + + Previously, if in a `wrangler dev` session you called `console.log()` and threw an unhandled error you'd see an error like `[ERR_ASSERTION]: The expression evaluated to a falsy value`. This change ensures you can do both of these things in the same session. + ## 3.20231218.1 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index a21546d09258..8b52891924bd 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20231218.1", + "version": "3.20231218.2", "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 40e350227e7d..400da432fbc4 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.11.7 + +### Patch Changes + +- Updated dependencies [[`4f6999ea`](https://github.com/cloudflare/workers-sdk/commit/4f6999eacd591d0d65180f805f2abc3c8a2c06c4), [`c37d94b5`](https://github.com/cloudflare/workers-sdk/commit/c37d94b51f4d5517c244f8a4178be6a266d2362e)]: + - miniflare@3.20231218.2 + ## 0.11.6 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index f6b9b8f6d986..fb2ca2fc1d24 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.6", + "version": "0.11.7", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 3205376050d2..946c92b47759 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,34 @@ # wrangler +## 3.22.5 + +### Patch Changes + +- [#4707](https://github.com/cloudflare/workers-sdk/pull/4707) [`96a27f3d`](https://github.com/cloudflare/workers-sdk/commit/96a27f3d8a250c995907773d1aa695f80d43d9d0) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: only offer to report unknown errors + + Previously, Wrangler would offer to report any error to Cloudflare. This included errors caused by misconfigurations or invalid commands. This change ensures those types of errors aren't reported. + +* [#4676](https://github.com/cloudflare/workers-sdk/pull/4676) [`078cf84d`](https://github.com/cloudflare/workers-sdk/commit/078cf84dcdd8bfce3f80f0ccaf6d2afa714245c4) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - make sure the script path is correctly resolved in `pages dev` when no directory is specified + +- [#4722](https://github.com/cloudflare/workers-sdk/pull/4722) [`5af6df13`](https://github.com/cloudflare/workers-sdk/commit/5af6df1371166886ce16d8f0cdea04a1bc401cae) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: don't require auth for `wrangler r2 object --local` operations + + Previously, Wrangler would ask you to login when reading or writing from local R2 buckets. This change ensures no login prompt is displayed, as authentication isn't required for these operations. + +* [#4719](https://github.com/cloudflare/workers-sdk/pull/4719) [`c37d94b5`](https://github.com/cloudflare/workers-sdk/commit/c37d94b51f4d5517c244f8a4178be6a266d2362e) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure `miniflare` and `wrangler` can source map in the same process + + Previously, if in a `wrangler dev` session you called `console.log()` and threw an unhandled error you'd see an error like `[ERR_ASSERTION]: The expression evaluated to a falsy value`. This change ensures you can do both of these things in the same session. + +- [#4683](https://github.com/cloudflare/workers-sdk/pull/4683) [`24147166`](https://github.com/cloudflare/workers-sdk/commit/24147166a3cb8f5ca2612646a494dc80cb399f79) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure logs containing `at` not truncated to `at [object Object]` + + Previously, logs containing `at` were always treated as stack trace call sites requiring source mapping. This change updates the call site detection to avoid false positives. + +* [#4687](https://github.com/cloudflare/workers-sdk/pull/4687) [`0a488f66`](https://github.com/cloudflare/workers-sdk/commit/0a488f6616618ce67ee22a4402d4b7477669b075) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: remove confusing `--local` messaging from `wrangler pages dev` + + Running `wrangler pages dev` would previously log a warning saying `--local is no longer required` even though `--local` was never set. This change removes this warning. + +* Updated dependencies [[`4f6999ea`](https://github.com/cloudflare/workers-sdk/commit/4f6999eacd591d0d65180f805f2abc3c8a2c06c4), [`c37d94b5`](https://github.com/cloudflare/workers-sdk/commit/c37d94b51f4d5517c244f8a4178be6a266d2362e)]: + - miniflare@3.20231218.2 + ## 3.22.4 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 67d3a403a6e3..938287e1b052 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.22.4", + "version": "3.22.5", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 37a06fb3f8ad..d139d81b3be7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -135,7 +135,7 @@ importers: specifier: ^7.0.0 version: 7.0.0 miniflare: - specifier: 3.20231218.1 + specifier: 3.20231218.2 version: link:../../packages/miniflare undici: specifier: ^5.23.0