diff --git a/.changeset/clean-rockets-decide.md b/.changeset/clean-rockets-decide.md deleted file mode 100644 index 168be37784c6..000000000000 --- a/.changeset/clean-rockets-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -chore: remove the warning about local mode flag being removed in the future diff --git a/.changeset/eight-lizards-bathe.md b/.changeset/eight-lizards-bathe.md deleted file mode 100644 index a85e9d896d28..000000000000 --- a/.changeset/eight-lizards-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -feat: update unenv to the latest available version diff --git a/.changeset/fast-pears-ring.md b/.changeset/fast-pears-ring.md deleted file mode 100644 index 6ef522b61da7..000000000000 --- a/.changeset/fast-pears-ring.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/workers-shared": patch ---- - -fix: Stabilize Workers naming across `workers-shared` - -The Asset Worker and Router Worker use inconsistent naming conventions across `workers-shared`. This commit stabilizes the naming to Asset Worker and Router Worker and permutations of those. diff --git a/.changeset/few-icons-refuse.md b/.changeset/few-icons-refuse.md deleted file mode 100644 index 7e08410ed986..000000000000 --- a/.changeset/few-icons-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: Prevent spaces in names when validating diff --git a/.changeset/forty-taxis-live.md b/.changeset/forty-taxis-live.md deleted file mode 100644 index ab7d50b20110..000000000000 --- a/.changeset/forty-taxis-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/quick-edit": patch ---- - -fix: disable autosave on quick editor to avoid context reset without explicit user action diff --git a/.changeset/giant-yaks-thank.md b/.changeset/giant-yaks-thank.md deleted file mode 100644 index 323c3282a1b1..000000000000 --- a/.changeset/giant-yaks-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -chore: Improve Miniflare CRON warning wording diff --git a/.changeset/green-lies-crash.md b/.changeset/green-lies-crash.md deleted file mode 100644 index 2015220c0301..000000000000 --- a/.changeset/green-lies-crash.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: remove `experimental:` prefix requirement for nodejs_compat_v2 - -See https://jira.cfdata.org/browse/DEVDASH-218 diff --git a/.changeset/late-kings-peel.md b/.changeset/late-kings-peel.md deleted file mode 100644 index 296aa0951ae0..000000000000 --- a/.changeset/late-kings-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -feat: Add deployment http targets to wrangler deploy logs, and add url to pages deploy logs diff --git a/.changeset/lucky-points-remain.md b/.changeset/lucky-points-remain.md deleted file mode 100644 index ddd0cb9c3ec3..000000000000 --- a/.changeset/lucky-points-remain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: Show a clearer user error when trying to use a python worker without the `python_workers` compatibility flag specified diff --git a/.changeset/mighty-seas-change.md b/.changeset/mighty-seas-change.md deleted file mode 100644 index c3f4bd153344..000000000000 --- a/.changeset/mighty-seas-change.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": minor ---- - -chore: move `wrangler versions ...`, `wrangler deployments ...`, `wrangler rollback` and `wrangler triggers ...` out of experimental and open beta. -These are now available to use without the --x-versions flag, you can continue to pass this however without issue to keep compatibility with all the usage today. - -A few of the commands had an output that wasn't guarded by `--x-versions` those have been updated to use the newer output, we have tried to keep compatibility where possible (for example: `wrangler rollback` will continue to output "Worker Version ID:" so users can continue to grab the ID). -If you wish to use the old versions of the commands you can pass the `--no-x-versions` flag. Note, these will be removed in the future so please work on migrating. diff --git a/.changeset/slow-ladybugs-heal.md b/.changeset/slow-ladybugs-heal.md deleted file mode 100644 index 5954708310aa..000000000000 --- a/.changeset/slow-ladybugs-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -feat: Inject a 404 response for browser requested `favicon.ico` files when loading the `/__scheduled` page for scheduled-only Workers diff --git a/.changeset/thirty-boats-knock.md b/.changeset/thirty-boats-knock.md deleted file mode 100644 index 5de88d5807e5..000000000000 --- a/.changeset/thirty-boats-knock.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -feat: update `wrangler deploy` to use the new versions and deployments API. -This should have zero user-facing impact but sets up the most used command to deploy Workers to use the new recommended APIs and move away from the old ones. -We will still call the old upload path where required (e.g. Durable Object migration or Service Worker format). diff --git a/.changeset/tiny-cobras-swim.md b/.changeset/tiny-cobras-swim.md deleted file mode 100644 index a85e9d896d28..000000000000 --- a/.changeset/tiny-cobras-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -feat: update unenv to the latest available version diff --git a/.changeset/tough-melons-worry.md b/.changeset/tough-melons-worry.md deleted file mode 100644 index d78e5f726831..000000000000 --- a/.changeset/tough-melons-worry.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"create-cloudflare": minor ---- - -feature: Use `create-vite` instead of `create-react-app` for React projects. - -[React's documentation](https://react.dev/learn/start-a-new-react-project#can-i-use-react-without-a-framework) now recommends using `create-vite` over `create-react-app`, as the latter has been deprecated. To align with these best practices, React projects created with C3 will now use [Vite](https://vitejs.dev/). - -With this change, the default development command will switch from using `create-react-app` to `create-vite`, providing a more modern and efficient development experience. - -Additionally, selection of variants for React projects created by Vite has been added, allowing users to choose different configurations based on their needs. The test suite has also been adapted to accommodate the new configuration, ensuring all tests run without errors. diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 02038db6f54f..1bd9fcaceb4b 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,17 @@ # create-cloudflare +## 2.26.0 + +### Minor Changes + +- [#6573](https://github.com/cloudflare/workers-sdk/pull/6573) [`3ff6506`](https://github.com/cloudflare/workers-sdk/commit/3ff6506cc5f1d79e5df6530673cb600507c7da1b) Thanks [@penalosa](https://github.com/penalosa)! - feature: Use `create-vite` instead of `create-react-app` for React projects. + + [React's documentation](https://react.dev/learn/start-a-new-react-project#can-i-use-react-without-a-framework) now recommends using `create-vite` over `create-react-app`, as the latter has been deprecated. To align with these best practices, React projects created with C3 will now use [Vite](https://vitejs.dev/). + + With this change, the default development command will switch from using `create-react-app` to `create-vite`, providing a more modern and efficient development experience. + + Additionally, selection of variants for React projects created by Vite has been added, allowing users to choose different configurations based on their needs. The test suite has also been adapted to accommodate the new configuration, ensuring all tests run without errors. + ## 2.25.2 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 115199b9bd6e..dfca55041716 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.25.2", + "version": "2.26.0", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/quick-edit/CHANGELOG.md b/packages/quick-edit/CHANGELOG.md index 9ed542f29af2..41812fcff389 100644 --- a/packages/quick-edit/CHANGELOG.md +++ b/packages/quick-edit/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/quick-edit +## 0.0.2 + +### Patch Changes + +- [#6558](https://github.com/cloudflare/workers-sdk/pull/6558) [`2a5b648`](https://github.com/cloudflare/workers-sdk/commit/2a5b64815455a324dd57cdcf98abbcc3f7156c98) Thanks [@edmundhung](https://github.com/edmundhung)! - fix: disable autosave on quick editor to avoid context reset without explicit user action + ## 0.0.1 ### Patch Changes diff --git a/packages/quick-edit/package.json b/packages/quick-edit/package.json index e0e2b7f96551..18467d3ac7f4 100644 --- a/packages/quick-edit/package.json +++ b/packages/quick-edit/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/quick-edit", - "version": "0.0.1", + "version": "0.0.2", "private": true, "description": "VSCode for Web hosted for use in Cloudflare's Quick Editor", "homepage": "https://github.com/cloudflare/workers-sdk#readme", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index c18bdb38f16b..dbc3243381a8 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/vitest-pool-workers +## 0.4.27 + +### Patch Changes + +- Updated dependencies [[`da48a70`](https://github.com/cloudflare/workers-sdk/commit/da48a7036911bbc5b23d7cd70e3260b3c3fa99bc), [`0a76d7e`](https://github.com/cloudflare/workers-sdk/commit/0a76d7e550893eefb60ffe78236ef5fc3a6d3e2e), [`c2460c4`](https://github.com/cloudflare/workers-sdk/commit/c2460c4d89ecdf74f48bcd37466dce47d01c4f43), [`72ea742`](https://github.com/cloudflare/workers-sdk/commit/72ea74214d8df3bcabf842249865edc9d13029f1), [`f097cb7`](https://github.com/cloudflare/workers-sdk/commit/f097cb73befbd317ce0c4ab4cd0203e9e8e9b811), [`a7e1bfe`](https://github.com/cloudflare/workers-sdk/commit/a7e1bfea3e01413495e964c09ce74f209f408d32), [`0d83428`](https://github.com/cloudflare/workers-sdk/commit/0d834284d00b43bd1da5d09404ff7a6b8409babe), [`3bd833c`](https://github.com/cloudflare/workers-sdk/commit/3bd833cbe29b92edf512759833f0a0115e1799bc), [`72ea742`](https://github.com/cloudflare/workers-sdk/commit/72ea74214d8df3bcabf842249865edc9d13029f1), [`3bd833c`](https://github.com/cloudflare/workers-sdk/commit/3bd833cbe29b92edf512759833f0a0115e1799bc), [`f4c8cea`](https://github.com/cloudflare/workers-sdk/commit/f4c8cea142b03629e0dfffc5acaf71da0a33d15c)]: + - wrangler@3.73.0 + ## 0.4.26 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index e7bf14a174fb..4d9404d24bde 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.4.26", + "version": "0.4.27", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/workers-shared/CHANGELOG.md b/packages/workers-shared/CHANGELOG.md index b0f6300a8db8..eaf654bfb7a0 100644 --- a/packages/workers-shared/CHANGELOG.md +++ b/packages/workers-shared/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/workers-shared +## 0.4.1 + +### Patch Changes + +- [#6588](https://github.com/cloudflare/workers-sdk/pull/6588) [`45ad2e0`](https://github.com/cloudflare/workers-sdk/commit/45ad2e0c83f1382e1662aadc2b145969ed9a719b) Thanks [@CarmenPopoviciu](https://github.com/CarmenPopoviciu)! - fix: Stabilize Workers naming across `workers-shared` + + The Asset Worker and Router Worker use inconsistent naming conventions across `workers-shared`. This commit stabilizes the naming to Asset Worker and Router Worker and permutations of those. + ## 0.4.0 ### Minor Changes diff --git a/packages/workers-shared/package.json b/packages/workers-shared/package.json index 894591dc8e1e..55cd23f84147 100644 --- a/packages/workers-shared/package.json +++ b/packages/workers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-shared", - "version": "0.4.0", + "version": "0.4.1", "description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workers.", "keywords": [ "cloudflare", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index ddb5cd250034..42265699ca5c 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,44 @@ # wrangler +## 3.73.0 + +### Minor Changes + +- [#6571](https://github.com/cloudflare/workers-sdk/pull/6571) [`a7e1bfe`](https://github.com/cloudflare/workers-sdk/commit/a7e1bfea3e01413495e964c09ce74f209f408d32) Thanks [@penalosa](https://github.com/penalosa)! - feat: Add deployment http targets to wrangler deploy logs, and add url to pages deploy logs + +- [#6497](https://github.com/cloudflare/workers-sdk/pull/6497) [`3bd833c`](https://github.com/cloudflare/workers-sdk/commit/3bd833cbe29b92edf512759833f0a0115e1799bc) Thanks [@WalshyDev](https://github.com/WalshyDev)! - chore: move `wrangler versions ...`, `wrangler deployments ...`, `wrangler rollback` and `wrangler triggers ...` out of experimental and open beta. + These are now available to use without the --x-versions flag, you can continue to pass this however without issue to keep compatibility with all the usage today. + + A few of the commands had an output that wasn't guarded by `--x-versions` those have been updated to use the newer output, we have tried to keep compatibility where possible (for example: `wrangler rollback` will continue to output "Worker Version ID:" so users can continue to grab the ID). + If you wish to use the old versions of the commands you can pass the `--no-x-versions` flag. Note, these will be removed in the future so please work on migrating. + +- [#6586](https://github.com/cloudflare/workers-sdk/pull/6586) [`72ea742`](https://github.com/cloudflare/workers-sdk/commit/72ea74214d8df3bcabf842249865edc9d13029f1) Thanks [@penalosa](https://github.com/penalosa)! - feat: Inject a 404 response for browser requested `favicon.ico` files when loading the `/__scheduled` page for scheduled-only Workers + +- [#6497](https://github.com/cloudflare/workers-sdk/pull/6497) [`3bd833c`](https://github.com/cloudflare/workers-sdk/commit/3bd833cbe29b92edf512759833f0a0115e1799bc) Thanks [@WalshyDev](https://github.com/WalshyDev)! - feat: update `wrangler deploy` to use the new versions and deployments API. + This should have zero user-facing impact but sets up the most used command to deploy Workers to use the new recommended APIs and move away from the old ones. + We will still call the old upload path where required (e.g. Durable Object migration or Service Worker format). + +### Patch Changes + +- [#6563](https://github.com/cloudflare/workers-sdk/pull/6563) [`da48a70`](https://github.com/cloudflare/workers-sdk/commit/da48a7036911bbc5b23d7cd70e3260b3c3fa99bc) Thanks [@threepointone](https://github.com/threepointone)! - chore: remove the warning about local mode flag being removed in the future + +- [#6595](https://github.com/cloudflare/workers-sdk/pull/6595) [`0a76d7e`](https://github.com/cloudflare/workers-sdk/commit/0a76d7e550893eefb60ffe78236ef5fc3a6d3e2e) Thanks [@vicb](https://github.com/vicb)! - feat: update unenv to the latest available version + +- [#5738](https://github.com/cloudflare/workers-sdk/pull/5738) [`c2460c4`](https://github.com/cloudflare/workers-sdk/commit/c2460c4d89ecdf74f48bcd37466dce47d01c4f43) Thanks [@penalosa](https://github.com/penalosa)! - fix: Prevent spaces in names when validating + +- [#6586](https://github.com/cloudflare/workers-sdk/pull/6586) [`72ea742`](https://github.com/cloudflare/workers-sdk/commit/72ea74214d8df3bcabf842249865edc9d13029f1) Thanks [@penalosa](https://github.com/penalosa)! - chore: Improve Miniflare CRON warning wording + +- [#6593](https://github.com/cloudflare/workers-sdk/pull/6593) [`f097cb7`](https://github.com/cloudflare/workers-sdk/commit/f097cb73befbd317ce0c4ab4cd0203e9e8e9b811) Thanks [@vicb](https://github.com/vicb)! - fix: remove `experimental:` prefix requirement for nodejs_compat_v2 + + See https://jira.cfdata.org/browse/DEVDASH-218 + +- [#6572](https://github.com/cloudflare/workers-sdk/pull/6572) [`0d83428`](https://github.com/cloudflare/workers-sdk/commit/0d834284d00b43bd1da5d09404ff7a6b8409babe) Thanks [@penalosa](https://github.com/penalosa)! - fix: Show a clearer user error when trying to use a python worker without the `python_workers` compatibility flag specified + +- [#6589](https://github.com/cloudflare/workers-sdk/pull/6589) [`f4c8cea`](https://github.com/cloudflare/workers-sdk/commit/f4c8cea142b03629e0dfffc5acaf71da0a33d15c) Thanks [@vicb](https://github.com/vicb)! - feat: update unenv to the latest available version + +- Updated dependencies [[`45ad2e0`](https://github.com/cloudflare/workers-sdk/commit/45ad2e0c83f1382e1662aadc2b145969ed9a719b)]: + - @cloudflare/workers-shared@0.4.1 + ## 3.72.3 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 5a71b32677e7..c736045e1945 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.72.3", + "version": "3.73.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 40e2ea6def52..fda78a7b1e8b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -906,7 +906,7 @@ importers: version: 8.49.0 eslint-config-turbo: specifier: latest - version: 2.0.14(eslint@8.49.0) + version: 2.1.0(eslint@8.49.0) eslint-plugin-import: specifier: 2.26.x version: 2.26.0(@typescript-eslint/parser@6.10.0(eslint@8.49.0)(typescript@5.5.4))(eslint@8.49.0) @@ -5148,8 +5148,8 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-config-turbo@2.0.14: - resolution: {integrity: sha512-VkzAH/AR1/fjMsqzuurfWkEgyGVTTzfZQB1umDB8dMWzFhqo8p/2KEWbvRQLEvSFxjVfeJl5ErQAJ7h7DYglxg==} + eslint-config-turbo@2.1.0: + resolution: {integrity: sha512-3SeE2OCWnkA/84adGJXABm++966LNGxRdXtXKBcplJdIe4PmERkov1z6Kzp2PrPKT13wGu/bwoLV5h1rm7v9ug==} peerDependencies: eslint: '>6.6.0' @@ -5223,8 +5223,8 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - eslint-plugin-turbo@2.0.14: - resolution: {integrity: sha512-E++MSAEeWZTU0FYARrfakMPq+7XeltqeY4JBDQTzbGEWG3kgYJPeYBMWsypcvBujVihQLlMu0S6ImnfV692mHg==} + eslint-plugin-turbo@2.1.0: + resolution: {integrity: sha512-+CWVY29y7Qa+gvrKSzP+TOYrHAlNLCh/97K5VtDdnpH54h/JFmnd3U0aSG6WANe0HgAK8NHQfeWFDdRzfDqbKA==} peerDependencies: eslint: '>6.6.0' @@ -11197,7 +11197,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.5.4) '@typescript-eslint/utils': 6.10.0(eslint@8.49.0)(typescript@5.5.4) - debug: 4.3.5 + debug: 4.3.6(supports-color@9.2.2) eslint: 8.49.0 ts-api-utils: 1.0.3(typescript@5.5.4) optionalDependencies: @@ -12800,10 +12800,10 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-config-turbo@2.0.14(eslint@8.49.0): + eslint-config-turbo@2.1.0(eslint@8.49.0): dependencies: eslint: 8.49.0 - eslint-plugin-turbo: 2.0.14(eslint@8.49.0) + eslint-plugin-turbo: 2.1.0(eslint@8.49.0) eslint-import-resolver-node@0.3.7: dependencies: @@ -12920,7 +12920,7 @@ snapshots: semver: 6.3.1 string.prototype.matchall: 4.0.8 - eslint-plugin-turbo@2.0.14(eslint@8.49.0): + eslint-plugin-turbo@2.1.0(eslint@8.49.0): dependencies: dotenv: 16.0.3 eslint: 8.49.0