diff --git a/.changeset/bright-deers-rescue.md b/.changeset/bright-deers-rescue.md deleted file mode 100644 index 425a5cc85cab..000000000000 --- a/.changeset/bright-deers-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -chore: Include serialised `FormData` in debug logs diff --git a/.changeset/c3-frameworks-update-6848.md b/.changeset/c3-frameworks-update-6848.md deleted file mode 100644 index c13511c61da7..000000000000 --- a/.changeset/c3-frameworks-update-6848.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-analog | 1.3.1 | 1.8.1 | diff --git a/.changeset/cool-wombats-marry.md b/.changeset/cool-wombats-marry.md deleted file mode 100644 index 8683a2b0dc58..000000000000 --- a/.changeset/cool-wombats-marry.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: the docs command should not crash if given search terms - -Fixes a regression accidentally introduced by #3735. diff --git a/.changeset/curly-forks-allow.md b/.changeset/curly-forks-allow.md deleted file mode 100644 index d35412574a7c..000000000000 --- a/.changeset/curly-forks-allow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: reduce logging noise during wrangler dev with static assets - -Updates to static assets are accessible by passing in --log-level="debug" but otherwise hidden. diff --git a/.changeset/eleven-planes-promise.md b/.changeset/eleven-planes-promise.md deleted file mode 100644 index 4d80d454dcc7..000000000000 --- a/.changeset/eleven-planes-promise.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -feat: update the `--experimental-dev-env` (shorthand: `--x-dev-env`) flag to on-by-default - -If you experience any issues, you can disable the flag with `--x-dev-env=false`. Please also let us know by opening an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose. diff --git a/.changeset/happy-balloons-work.md b/.changeset/happy-balloons-work.md deleted file mode 100644 index 4bc186bf9763..000000000000 --- a/.changeset/happy-balloons-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: custom builds outputting files in assets watched directory no longer cause the custom build to run again in an infinite loop diff --git a/.changeset/perfect-experts-draw.md b/.changeset/perfect-experts-draw.md deleted file mode 100644 index 3cd85c4cb6c1..000000000000 --- a/.changeset/perfect-experts-draw.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"wrangler": patch ---- - -fix: render a helpful build error if a Service Worker mode Worker has imports - -A common mistake is to forget to export from the entry-point of a Worker, which causes -Wrangler to infer that we are in "Service Worker" mode. - -In this mode, imports to external modules are not allowed. -Currently this only fails at runtime, because our esbuild step converts these imports to an internal `__require()` call that throws an error. -The error message is misleading and does not help the user identify the cause of the problem. -This is particularly tricky where the external imports are added by a library or our own node.js polyfills. - -Fixes #6648 diff --git a/.changeset/popular-horses-hide.md b/.changeset/popular-horses-hide.md deleted file mode 100644 index 1fae2da8fa6f..000000000000 --- a/.changeset/popular-horses-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: Handle more module declaration cases diff --git a/.changeset/rude-steaks-sip.md b/.changeset/rude-steaks-sip.md deleted file mode 100644 index 4bb738d05eb9..000000000000 --- a/.changeset/rude-steaks-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: Improve static asset upload messaging diff --git a/.changeset/tasty-bears-behave.md b/.changeset/tasty-bears-behave.md deleted file mode 100644 index 5078fb15a26e..000000000000 --- a/.changeset/tasty-bears-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: remove invalid `ctx` import from hello-world experimental templates diff --git a/.changeset/yellow-ears-kick.md b/.changeset/yellow-ears-kick.md deleted file mode 100644 index abb08c57b039..000000000000 --- a/.changeset/yellow-ears-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Capitalises GitHub correctly diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index cbfe63353cd0..be42f5132ad7 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,21 @@ # create-cloudflare +## 2.29.2 + +### Patch Changes + +- [#6848](https://github.com/cloudflare/workers-sdk/pull/6848) [`291e5f3`](https://github.com/cloudflare/workers-sdk/commit/291e5f33584e73ceb90a9b7b74e08454b7b55fda) 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-analog | 1.3.1 | 1.8.1 | + +- [#6839](https://github.com/cloudflare/workers-sdk/pull/6839) [`b0d514e`](https://github.com/cloudflare/workers-sdk/commit/b0d514ea5c43ad2325709a6576c6b39b67e81ca4) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: remove invalid `ctx` import from hello-world experimental templates + +- [#6882](https://github.com/cloudflare/workers-sdk/pull/6882) [`20a1750`](https://github.com/cloudflare/workers-sdk/commit/20a17502b2b091b24189e9b32d309c088487fcf6) Thanks [@andyjessop](https://github.com/andyjessop)! - chore: Capitalises GitHub correctly + ## 2.29.1 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 07b38847328f..64ca0321978b 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.29.1", + "version": "2.29.2", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 2bdcbf789f1f..175d14e2e6d6 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/vitest-pool-workers +## 0.5.14 + +### Patch Changes + +- Updated dependencies [[`04a8fed`](https://github.com/cloudflare/workers-sdk/commit/04a8feda8ee1e855ac9935b2395db4eed20b99b7), [`b27d8cb`](https://github.com/cloudflare/workers-sdk/commit/b27d8cbad4d2bcf435e7ac87891b17db1997cd4e), [`b123f43`](https://github.com/cloudflare/workers-sdk/commit/b123f43c6946fa97f49bc10532c924b9c58548b6), [`3fa846e`](https://github.com/cloudflare/workers-sdk/commit/3fa846ec205a1f4e91bc1f69640dfd6e0a7b6a77), [`7ca37bc`](https://github.com/cloudflare/workers-sdk/commit/7ca37bcbb274e88709fc14aea6f62c003ddc1b92), [`b2d094e`](https://github.com/cloudflare/workers-sdk/commit/b2d094e52b519decf8fdef1bb8dcd42d3e4ac2ad), [`27e8385`](https://github.com/cloudflare/workers-sdk/commit/27e8385167a4ef6eff9bb91cf0203184fbd16915), [`7dbd0c8`](https://github.com/cloudflare/workers-sdk/commit/7dbd0c82a52ba772f46081ccd4b39d59b1f4c8bf)]: + - wrangler@3.80.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 078ee3d9a8cd..b665d876ffdc 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.5.13", + "version": "0.5.14", "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 d8daaedeb54a..0533abc1e225 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,43 @@ # wrangler +## 3.80.0 + +### Minor Changes + +- [#6408](https://github.com/cloudflare/workers-sdk/pull/6408) [`3fa846e`](https://github.com/cloudflare/workers-sdk/commit/3fa846ec205a1f4e91bc1f69640dfd6e0a7b6a77) Thanks [@RamIdeas](https://github.com/RamIdeas)! - feat: update the `--experimental-dev-env` (shorthand: `--x-dev-env`) flag to on-by-default + + If you experience any issues, you can disable the flag with `--x-dev-env=false`. Please also let us know by opening an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose. + +### Patch Changes + +- [#6854](https://github.com/cloudflare/workers-sdk/pull/6854) [`04a8fed`](https://github.com/cloudflare/workers-sdk/commit/04a8feda8ee1e855ac9935b2395db4eed20b99b7) Thanks [@penalosa](https://github.com/penalosa)! - chore: Include serialised `FormData` in debug logs + +- [#6879](https://github.com/cloudflare/workers-sdk/pull/6879) [`b27d8cb`](https://github.com/cloudflare/workers-sdk/commit/b27d8cbad4d2bcf435e7ac87891b17db1997cd4e) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: the docs command should not crash if given search terms + + Fixes a regression accidentally introduced by #3735. + +- [#6873](https://github.com/cloudflare/workers-sdk/pull/6873) [`b123f43`](https://github.com/cloudflare/workers-sdk/commit/b123f43c6946fa97f49bc10532c924b9c58548b6) Thanks [@zwily](https://github.com/zwily)! - fix: reduce logging noise during wrangler dev with static assets + + Updates to static assets are accessible by passing in --log-level="debug" but otherwise hidden. + +- [#6881](https://github.com/cloudflare/workers-sdk/pull/6881) [`7ca37bc`](https://github.com/cloudflare/workers-sdk/commit/7ca37bcbb274e88709fc14aea6f62c003ddc1b92) Thanks [@RamIdeas](https://github.com/RamIdeas)! - fix: custom builds outputting files in assets watched directory no longer cause the custom build to run again in an infinite loop + +- [#6872](https://github.com/cloudflare/workers-sdk/pull/6872) [`b2d094e`](https://github.com/cloudflare/workers-sdk/commit/b2d094e52b519decf8fdef1bb8dcd42d3e4ac2ad) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: render a helpful build error if a Service Worker mode Worker has imports + + A common mistake is to forget to export from the entry-point of a Worker, which causes + Wrangler to infer that we are in "Service Worker" mode. + + In this mode, imports to external modules are not allowed. + Currently this only fails at runtime, because our esbuild step converts these imports to an internal `__require()` call that throws an error. + The error message is misleading and does not help the user identify the cause of the problem. + This is particularly tricky where the external imports are added by a library or our own node.js polyfills. + + Fixes #6648 + +- [#6792](https://github.com/cloudflare/workers-sdk/pull/6792) [`27e8385`](https://github.com/cloudflare/workers-sdk/commit/27e8385167a4ef6eff9bb91cf0203184fbd16915) Thanks [@penalosa](https://github.com/penalosa)! - fix: Handle more module declaration cases + +- [#6838](https://github.com/cloudflare/workers-sdk/pull/6838) [`7dbd0c8`](https://github.com/cloudflare/workers-sdk/commit/7dbd0c82a52ba772f46081ccd4b39d59b1f4c8bf) Thanks [@GregBrimble](https://github.com/GregBrimble)! - fix: Improve static asset upload messaging + ## 3.79.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 4f287e5a94b1..22e41d85b180 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.79.0", + "version": "3.80.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f647a614b2cd..c72e81ac3366 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1951,7 +1951,7 @@ importers: version: 2.1.1(@types/node@20.8.3)(@vitest/ui@1.6.0)(msw@2.3.0(typescript@5.5.4))(supports-color@9.2.2) vitest-websocket-mock: specifier: ^0.3.0 - version: 0.3.0(vitest@2.1.1(@types/node@20.8.3)(@vitest/ui@1.6.0)(msw@2.3.0(typescript@5.5.4))(supports-color@9.2.2)) + version: 0.3.0(vitest@2.1.1) ws: specifier: ^8.17.1 version: 8.17.1 @@ -16297,7 +16297,7 @@ snapshots: '@types/node': 20.8.3 fsevents: 2.3.3 - vitest-websocket-mock@0.3.0(vitest@2.1.1(@types/node@20.8.3)(@vitest/ui@1.6.0)(msw@2.3.0(typescript@5.5.4))(supports-color@9.2.2)): + vitest-websocket-mock@0.3.0(vitest@2.1.1): dependencies: jest-diff: 29.7.0 mock-socket: 9.3.1