diff --git a/.changeset/c3-frameworks-update-8731.md b/.changeset/c3-frameworks-update-8731.md deleted file mode 100644 index 71f3a923e5f1..000000000000 --- a/.changeset/c3-frameworks-update-8731.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 | 19.1.6 | 19.2.5 | diff --git a/.changeset/c3-frameworks-update-8732.md b/.changeset/c3-frameworks-update-8732.md deleted file mode 100644 index 2244f1513436..000000000000 --- a/.changeset/c3-frameworks-update-8732.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-react-router | 7.4.0 | 7.4.1 | diff --git a/.changeset/c3-frameworks-update-8734.md b/.changeset/c3-frameworks-update-8734.md deleted file mode 100644 index 0937e3324801..000000000000 --- a/.changeset/c3-frameworks-update-8734.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-solid | 0.6.1 | 0.6.2 | diff --git a/.changeset/every-wolves-roll.md b/.changeset/every-wolves-roll.md deleted file mode 100644 index c1f85f0e8d6d..000000000000 --- a/.changeset/every-wolves-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -add sslmode to hyperdrive and update mtls flags diff --git a/.changeset/five-camels-cheer.md b/.changeset/five-camels-cheer.md deleted file mode 100644 index 9403958193c1..000000000000 --- a/.changeset/five-camels-cheer.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Ensure that Node.js polyfills are pre-optimized before the first request - -Previously, these polyfills were only optimized on demand when Vite became aware of them. -This was either because Vite was able to find an import to a polyfill when statically analysing the import tree of the entry-point, -or when a polyfilled module was dynamically imported as part of a executing code to handle a request. - -In the second case, the optimizing of the dynamically imported dependency causes a reload of the Vite server, which can break applications that are holding state in modules during the request. -This is the case of most React type frameworks, in particular React Router. - -Now, we pre-optimize all the possible Node.js polyfills when the server starts before the first request is handled. diff --git a/.changeset/hip-parents-shave.md b/.changeset/hip-parents-shave.md deleted file mode 100644 index d9378e688c09..000000000000 --- a/.changeset/hip-parents-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -fix: make sure that users can specify inspector port `0` to use a random port diff --git a/.changeset/resource-name-from-binding-8719.md b/.changeset/resource-name-from-binding-8719.md deleted file mode 100644 index 3a0eff4feeca..000000000000 --- a/.changeset/resource-name-from-binding-8719.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Fix logic to derive resource name from binding by replacing all underscores with dashes diff --git a/.changeset/sharp-dogs-love.md b/.changeset/sharp-dogs-love.md deleted file mode 100644 index fcd7fac3a880..000000000000 --- a/.changeset/sharp-dogs-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Add validation for the `configPath` option in the plugin config that clearly indicates any issues. diff --git a/.changeset/shiny-ghosts-flash.md b/.changeset/shiny-ghosts-flash.md deleted file mode 100644 index ce3b6a2bc522..000000000000 --- a/.changeset/shiny-ghosts-flash.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: stop getPlatformProxy crashing when internal DOs are present - -Internal DOs still do not work with getPlatformProxy, but warn instead of crashing. diff --git a/.changeset/stale-snakes-boil.md b/.changeset/stale-snakes-boil.md deleted file mode 100644 index 3308a40dd928..000000000000 --- a/.changeset/stale-snakes-boil.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Graduate Next.js + Workers Assets template from experimental - -You no longer need the `--experimental` flag to access this template. diff --git a/.changeset/tangy-badgers-grow.md b/.changeset/tangy-badgers-grow.md deleted file mode 100644 index 97d73f6e34cc..000000000000 --- a/.changeset/tangy-badgers-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: General improvements for the R2 catalog commands diff --git a/.changeset/twenty-ads-follow.md b/.changeset/twenty-ads-follow.md deleted file mode 100644 index adccd394a502..000000000000 --- a/.changeset/twenty-ads-follow.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -replace modules runtime checks with vite environment config validation - -currently at runtime the vite plugin applies checks to make sure that -external files are not being imported, such checks are however too -restrictive and prevent worker code to perform some valid imports from -node_modules (e.g. `import stylesheet from "/styles.css?url";`) - -the changes here replace the runtime checks (allowing valid imports from -node_modules) with some validation to the worker vite environment configurations, -specifically they make sure that the environment doesn't specify invalid -`optimizeDeps.exclude` and `resolve.external` options diff --git a/.changeset/warm-mammals-invent.md b/.changeset/warm-mammals-invent.md deleted file mode 100644 index 11ba4226226a..000000000000 --- a/.changeset/warm-mammals-invent.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -fix: make sure that the plugin keeps looking for available inspector ports by default - -this change updates the plugin so that if an inspector port is not specified and the -default inspector port (9229) is not available it keeps looking for other available -port instead of crashing diff --git a/.changeset/wide-ideas-work.md b/.changeset/wide-ideas-work.md deleted file mode 100644 index 6b86a63a7c60..000000000000 --- a/.changeset/wide-ideas-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: remove `main` field in wrangler.jsonc of Hono Pages template diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index f6ec2c51ad6b..a7bef758de2e 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,39 @@ # create-cloudflare +## 2.43.2 + +### Patch Changes + +- [#8731](https://github.com/cloudflare/workers-sdk/pull/8731) [`5eb6e1b`](https://github.com/cloudflare/workers-sdk/commit/5eb6e1bd9908835d11a800bfe59f631b6cc866ae) 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 | 19.1.6 | 19.2.5 | + +- [#8732](https://github.com/cloudflare/workers-sdk/pull/8732) [`5fc7fe6`](https://github.com/cloudflare/workers-sdk/commit/5fc7fe6c7092fa089111d4a5e5b4a6c667b49463) 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-react-router | 7.4.0 | 7.4.1 | + +- [#8734](https://github.com/cloudflare/workers-sdk/pull/8734) [`e4e7296`](https://github.com/cloudflare/workers-sdk/commit/e4e7296fd2bcb00b511f9d48fb199c71540916ef) 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-solid | 0.6.1 | 0.6.2 | + +- [#8741](https://github.com/cloudflare/workers-sdk/pull/8741) [`56637e3`](https://github.com/cloudflare/workers-sdk/commit/56637e3b2ca2c4aa86e07863a5b903503ee1c25a) Thanks [@emily-shen](https://github.com/emily-shen)! - Graduate Next.js + Workers Assets template from experimental + + You no longer need the `--experimental` flag to access this template. + +- [#8738](https://github.com/cloudflare/workers-sdk/pull/8738) [`da1ec13`](https://github.com/cloudflare/workers-sdk/commit/da1ec13e730065169dfbcf24103728e5c04dd9a1) Thanks [@emily-shen](https://github.com/emily-shen)! - fix: remove `main` field in wrangler.jsonc of Hono Pages template + ## 2.43.1 ### Patch Changes diff --git a/packages/create-cloudflare/e2e-tests/frameworks/framework-test-config.ts b/packages/create-cloudflare/e2e-tests/frameworks/framework-test-config.ts index ac79fdffe160..9706fd307904 100644 --- a/packages/create-cloudflare/e2e-tests/frameworks/framework-test-config.ts +++ b/packages/create-cloudflare/e2e-tests/frameworks/framework-test-config.ts @@ -399,7 +399,6 @@ export default function getFrameworkTestConfig(pm: string) { "next:workers": { argv: ["--platform", "workers"], timeout: LONG_TIMEOUT, - unsupportedPms: ["pnpm"], testCommitMessage: true, flags: [ "--ts", @@ -426,6 +425,7 @@ export default function getFrameworkTestConfig(pm: string) { // see https://github.com/cloudflare/next-on-pages/blob/main/packages/next-on-pages/docs/supported.md#operating-systems unsupportedOSs: ["win32"], unsupportedPms: [ + "pnpm", // bun and yarn are failing in CI "bun", "yarn", diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 91172f97c558..5ea4dfbd1daf 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.43.1", + "version": "2.43.2", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index a377d5847eb8..87bcbeea315b 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,46 @@ # @cloudflare/vite-plugin +## 0.1.20 + +### Patch Changes + +- [#8688](https://github.com/cloudflare/workers-sdk/pull/8688) [`28522ae`](https://github.com/cloudflare/workers-sdk/commit/28522aea505a23ca8b392fdc11ff5a2d8d6486f5) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Ensure that Node.js polyfills are pre-optimized before the first request + + Previously, these polyfills were only optimized on demand when Vite became aware of them. + This was either because Vite was able to find an import to a polyfill when statically analysing the import tree of the entry-point, + or when a polyfilled module was dynamically imported as part of a executing code to handle a request. + + In the second case, the optimizing of the dynamically imported dependency causes a reload of the Vite server, which can break applications that are holding state in modules during the request. + This is the case of most React type frameworks, in particular React Router. + + Now, we pre-optimize all the possible Node.js polyfills when the server starts before the first request is handled. + +- [#8680](https://github.com/cloudflare/workers-sdk/pull/8680) [`8dcc50f`](https://github.com/cloudflare/workers-sdk/commit/8dcc50f50d0bffc3c555beacbc19da7e6e130542) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: make sure that users can specify inspector port `0` to use a random port + +- [#8572](https://github.com/cloudflare/workers-sdk/pull/8572) [`e6fea13`](https://github.com/cloudflare/workers-sdk/commit/e6fea13186f2da77228b9bf0eb0b12e79d1f2eb9) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Add validation for the `configPath` option in the plugin config that clearly indicates any issues. + +- [#8672](https://github.com/cloudflare/workers-sdk/pull/8672) [`d533f5e`](https://github.com/cloudflare/workers-sdk/commit/d533f5ee7da69c205d8d5e2a5f264d2370fc612b) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - replace modules runtime checks with vite environment config validation + + currently at runtime the vite plugin applies checks to make sure that + external files are not being imported, such checks are however too + restrictive and prevent worker code to perform some valid imports from + node_modules (e.g. `import stylesheet from "/styles.css?url";`) + + the changes here replace the runtime checks (allowing valid imports from + node_modules) with some validation to the worker vite environment configurations, + specifically they make sure that the environment doesn't specify invalid + `optimizeDeps.exclude` and `resolve.external` options + +- [#8680](https://github.com/cloudflare/workers-sdk/pull/8680) [`8dcc50f`](https://github.com/cloudflare/workers-sdk/commit/8dcc50f50d0bffc3c555beacbc19da7e6e130542) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: make sure that the plugin keeps looking for available inspector ports by default + + this change updates the plugin so that if an inspector port is not specified and the + default inspector port (9229) is not available it keeps looking for other available + port instead of crashing + +- Updated dependencies [[`3993374`](https://github.com/cloudflare/workers-sdk/commit/39933740e81156baf90475acc23093eb3da8f47f), [`8df60b5`](https://github.com/cloudflare/workers-sdk/commit/8df60b592c0b0eaf7329b2e8d0f16fac9ac6c329), [`ec1f813`](https://github.com/cloudflare/workers-sdk/commit/ec1f813e9aff7f4af9ca187754ecf5006361bd38), [`624882e`](https://github.com/cloudflare/workers-sdk/commit/624882eaeb8db25096e4a84f8e194497de46be82)]: + - wrangler@4.7.0 + - @cloudflare/unenv-preset@2.3.1 + ## 0.1.19 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 6c305b0e6d57..3eb5fe9070cc 100644 --- a/packages/vite-plugin-cloudflare/package.json +++ b/packages/vite-plugin-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vite-plugin", - "version": "0.1.19", + "version": "0.1.20", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 1d4f61cdfee9..6dfea00890a1 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/vitest-pool-workers +## 0.8.9 + +### Patch Changes + +- Updated dependencies [[`3993374`](https://github.com/cloudflare/workers-sdk/commit/39933740e81156baf90475acc23093eb3da8f47f), [`8df60b5`](https://github.com/cloudflare/workers-sdk/commit/8df60b592c0b0eaf7329b2e8d0f16fac9ac6c329), [`ec1f813`](https://github.com/cloudflare/workers-sdk/commit/ec1f813e9aff7f4af9ca187754ecf5006361bd38), [`624882e`](https://github.com/cloudflare/workers-sdk/commit/624882eaeb8db25096e4a84f8e194497de46be82)]: + - wrangler@4.7.0 + ## 0.8.8 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 5ec6836199c4..e9140476324e 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.8", + "version": "0.8.9", "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 e74e39c9354a..b2c3f0f1462d 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,21 @@ # wrangler +## 4.7.0 + +### Minor Changes + +- [#8727](https://github.com/cloudflare/workers-sdk/pull/8727) [`3993374`](https://github.com/cloudflare/workers-sdk/commit/39933740e81156baf90475acc23093eb3da8f47f) Thanks [@Ltadrian](https://github.com/Ltadrian)! - add sslmode to hyperdrive and update mtls flags + +### Patch Changes + +- [#8720](https://github.com/cloudflare/workers-sdk/pull/8720) [`8df60b5`](https://github.com/cloudflare/workers-sdk/commit/8df60b592c0b0eaf7329b2e8d0f16fac9ac6c329) Thanks [@lukevalenta](https://github.com/lukevalenta)! - Fix logic to derive resource name from binding by replacing all underscores with dashes + +- [#8697](https://github.com/cloudflare/workers-sdk/pull/8697) [`ec1f813`](https://github.com/cloudflare/workers-sdk/commit/ec1f813e9aff7f4af9ca187754ecf5006361bd38) Thanks [@emily-shen](https://github.com/emily-shen)! - fix: stop getPlatformProxy crashing when internal DOs are present + + Internal DOs still do not work with getPlatformProxy, but warn instead of crashing. + +- [#8737](https://github.com/cloudflare/workers-sdk/pull/8737) [`624882e`](https://github.com/cloudflare/workers-sdk/commit/624882eaeb8db25096e4a84f8e194497de46be82) Thanks [@garvit-gupta](https://github.com/garvit-gupta)! - fix: General improvements for the R2 catalog commands + ## 4.6.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index a23c0b843d3e..d172a06590b3 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.6.0", + "version": "4.7.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",