diff --git a/.changeset/auto-apply-migrations.md b/.changeset/auto-apply-migrations.md deleted file mode 100644 index 878265d3ee..0000000000 --- a/.changeset/auto-apply-migrations.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"wrangler": minor ---- - -Add a new `--force` flag to `d1 migrations apply` which skips the interactive confirmation and applies any pending migrations non-interactively. This is useful for CI and automation. - -Usage example: - -``` -wrangler d1 migrations apply --remote --force -``` - -Fixes #5017 diff --git a/.changeset/autoconfig-astro-beta-add.md b/.changeset/autoconfig-astro-beta-add.md deleted file mode 100644 index 0611f91e8c..0000000000 --- a/.changeset/autoconfig-astro-beta-add.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/autoconfig": patch ---- - -Fix Astro projects set up for cf getting a `wrangler.jsonc` instead of a `cloudflare.config.ts` - -Autoconfig installed `astro@beta` to get the `astro add` that writes `cloudflare.config.ts`, but package managers such as pnpm kept the project's newer stable Astro, whose `astro add` writes `wrangler.jsonc`, so the build failed. Autoconfig now runs the beta's `astro add` once without installing it, and keeps the project's Astro version. diff --git a/.changeset/autoconfig-cf-vite-7-minimum.md b/.changeset/autoconfig-cf-vite-7-minimum.md deleted file mode 100644 index 3aa1559fb8..0000000000 --- a/.changeset/autoconfig-cf-vite-7-minimum.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/autoconfig": patch ---- - -Require Vite 7 or later when autoconfiguring Vite projects for `cf` - -`cf` installs `@cloudflare/vite-plugin` v2, which requires Vite 7 or 8, so a Vite 6 project is now rejected before any changes are made instead of failing during dependency installation. diff --git a/.changeset/autoconfig-solid-start-2-2-3.md b/.changeset/autoconfig-solid-start-2-2-3.md deleted file mode 100644 index c93f0f6898..0000000000 --- a/.changeset/autoconfig-solid-start-2-2-3.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/autoconfig": patch ---- - -Stop adding the SolidStart pre-bundling exclude on `cf` for SolidStart 2.2.3 and later - -SolidStart 2.2.3 keeps `@solidjs/start` out of server pre-bundling itself, so autoconfig now adds `environments.ssr.optimizeDeps.exclude` to the Vite config, or asks you to add it, only for earlier 2.x versions. diff --git a/.changeset/autoconfig-vite-plugin-install-hint.md b/.changeset/autoconfig-vite-plugin-install-hint.md deleted file mode 100644 index c6323f5061..0000000000 --- a/.changeset/autoconfig-vite-plugin-install-hint.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/autoconfig": patch ---- - -Suggest a compatible Cloudflare Vite plugin version when the installed one doesn't support cf - -When `@cloudflare/vite-plugin` was missing or too old, autoconfig suggested installing `@cloudflare/vite-plugin@beta`, which resolves to a version that cf rejects. The suggested command now installs `@cloudflare/vite-plugin@^2.0.0-rc.0`, matching the version autoconfig installs when it configures a project for cf. diff --git a/.changeset/browser-run-chrome-152.md b/.changeset/browser-run-chrome-152.md deleted file mode 100644 index c0d27aa557..0000000000 --- a/.changeset/browser-run-chrome-152.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Local Browser Run sessions now use Chrome 152 - -Local Browser Run bindings now run Chrome 152.0.7977.64, the same version that Browser Run uses in production. Miniflare will download Chrome 152 the first time you start a local Browser Run session after you upgrade. diff --git a/.changeset/curly-dry-run-exit.md b/.changeset/curly-dry-run-exit.md deleted file mode 100644 index 03dfbbb578..0000000000 --- a/.changeset/curly-dry-run-exit.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/autoconfig": patch -"wrangler": patch ---- - -Correct the dry-run setup message to say "exiting now" instead of "existing now". - -The previous wording contained a typo and appeared in Wrangler setup output and other consumers of shared autoconfig. diff --git a/.changeset/default-compat-date-17003.md b/.changeset/default-compat-date-17003.md deleted file mode 100644 index 61c68df878..0000000000 --- a/.changeset/default-compat-date-17003.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"@cloudflare/workers-utils": patch -"@cloudflare/autoconfig": patch -"@cloudflare/build-output-utils": patch -"@cloudflare/cli-shared-helpers": patch -"@cloudflare/codemods": patch -"@cloudflare/config": patch -"@cloudflare/containers-shared": patch -"@cloudflare/deploy-helpers": patch -"@cloudflare/pages-functions": patch -"@cloudflare/pages-shared": patch -"@cloudflare/runtime-types": patch -"@cloudflare/vite-plugin": patch -"@cloudflare/vitest-plugin": patch -"@cloudflare/workers-auth": patch -"create-cloudflare": patch -"miniflare": patch -"wrangler": patch ---- - -Update `DEFAULT_COMPAT_DATE` to 2026-11-18 - -Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. diff --git a/.changeset/dependabot-update-17003.md b/.changeset/dependabot-update-17003.md deleted file mode 100644 index 0926bb6a33..0000000000 --- a/.changeset/dependabot-update-17003.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -Update dependencies of "miniflare", "wrangler" - -The following dependency versions have been updated: - -| Dependency | From | To | -| ------------------------- | ------------- | ------------- | -| @cloudflare/workers-types | ^5.20261117.1 | ^5.20261118.1 | -| workerd | 1.20261117.1 | 1.20261118.1 | diff --git a/.changeset/dev-vars-utf16-encoding.md b/.changeset/dev-vars-utf16-encoding.md deleted file mode 100644 index 80cb2055e1..0000000000 --- a/.changeset/dev-vars-utf16-encoding.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Report `.dev.vars` and `.env` files that are not UTF-8 instead of silently loading no variables - -Before Wrangler would incorrectly read non UTF-8 `.dev.vars` and `.env` files as UTF-8. A `.dev.vars` file that is not UTF-8 now stops `wrangler dev` with a message that says how to fix it, and a `.env` file that is not UTF-8 is skipped with a warning. UTF-8 files, with or without a BOM, load as before. diff --git a/.changeset/import-meta-url-cjs-bundles.md b/.changeset/import-meta-url-cjs-bundles.md deleted file mode 100644 index 7a52684f59..0000000000 --- a/.changeset/import-meta-url-cjs-bundles.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"miniflare": patch -"create-cloudflare": patch ---- - -Fix startup failures in Miniflare and C3 when loading ESM dependencies - -Miniflare and `create-cloudflare` can now load dependencies that use Node.js's `createRequire()` without failing on an invalid file URL. This prevents these dependencies from causing an error before the CLI or local development environment starts. diff --git a/.changeset/migrate-blake3-wasm-to-hash-wasm.md b/.changeset/migrate-blake3-wasm-to-hash-wasm.md deleted file mode 100644 index 10501aad84..0000000000 --- a/.changeset/migrate-blake3-wasm-to-hash-wasm.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/deploy-helpers": patch -"wrangler": patch ---- - -Replace the unmaintained asset hashing dependency with `hash-wasm` - -Keep asset hashes unchanged for Workers and Pages deployments and local Pages development while using a maintained WebAssembly implementation. diff --git a/.changeset/miniflare-plugin-declarations.md b/.changeset/miniflare-plugin-declarations.md deleted file mode 100644 index 0e61c69751..0000000000 --- a/.changeset/miniflare-plugin-declarations.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Fix missing types when using Miniflare with `skipLibCheck: false` - -TypeScript projects importing Miniflare could fail with `Cannot find module './shared'`. The required types are now included in the published package, so projects can check Miniflare's declarations without this error. diff --git a/.changeset/preview-build-output-secrets-file.md b/.changeset/preview-build-output-secrets-file.md deleted file mode 100644 index 8004429a55..0000000000 --- a/.changeset/preview-build-output-secrets-file.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/deploy-helpers": minor ---- - -Accept a secrets file when uploading a Preview from Build Output - -`previewBuildOutput()` now takes the same `secretsFile` option as `preview()`. The file's secrets are uploaded with the Preview deployment, so a CLI that deploys Previews from Build Output can set Preview secrets without a separate command or the Cloudflare dashboard. diff --git a/.changeset/remote-bindings-rpc-network-errors.md b/.changeset/remote-bindings-rpc-network-errors.md deleted file mode 100644 index 94b0a59e92..0000000000 --- a/.changeset/remote-bindings-rpc-network-errors.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch -"@cloudflare/vite-plugin": patch -"@cloudflare/vitest-plugin": patch ---- - -Fail remote RPC binding requests on network errors instead of hanging - -Remote bindings that connect over RPC treated every network failure, such as being offline, a DNS or TLS error, as a preview reload. The request then waited silently for a reload that never came. These requests now fail with the error, while GET and HEAD requests interrupted by an actual reload are still retried. diff --git a/.changeset/share-cf-config-container-images.md b/.changeset/share-cf-config-container-images.md deleted file mode 100644 index e41522ead3..0000000000 --- a/.changeset/share-cf-config-container-images.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/containers-shared": minor -"@cloudflare/vite-plugin": patch ---- - -Add `prepareContainerImagesForCfConfig` for building or pulling the Container images of a `cloudflare.config.ts` project - -Tools that run Containers from cf config can now share one implementation, including Cloudflare-managed registry authentication, instead of keeping their own copies. diff --git a/.changeset/share-worker-zone-helpers.md b/.changeset/share-worker-zone-helpers.md deleted file mode 100644 index ced29a6649..0000000000 --- a/.changeset/share-worker-zone-helpers.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/workers-utils": minor ---- - -Export `getWorkerZone()` and `toApiComplianceRegion()` - -`getWorkerZone()` returns the zone of a Worker's first route, taken from its domains or fetch triggers. `toApiComplianceRegion()` converts a `cloudflare.config.ts` compliance region to the form Cloudflare's API takes. diff --git a/.changeset/tsdown-migration-esm-output.md b/.changeset/tsdown-migration-esm-output.md deleted file mode 100644 index 9db7bb767d..0000000000 --- a/.changeset/tsdown-migration-esm-output.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@cloudflare/workers-utils": patch -"@cloudflare/workers-auth": patch -"@cloudflare/deploy-helpers": patch -"@cloudflare/kv-asset-handler": patch -"@cloudflare/autoconfig": patch -"@cloudflare/containers-shared": patch -"@cloudflare/codemods": patch -"@cloudflare/vite-plugin": patch -"@cloudflare/vitest-plugin": patch ---- - -Fix `Dynamic require` errors when importing packages from ES modules - -Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. diff --git a/.changeset/update-browser-proxy-basic-ftp.md b/.changeset/update-browser-proxy-basic-ftp.md deleted file mode 100644 index e2aa966977..0000000000 --- a/.changeset/update-browser-proxy-basic-ftp.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Update the bundled FTP client to include upstream denial-of-service fixes - -Update `basic-ftp` to 6.2.6 in the browser download proxy dependency graph. This includes fixes for malformed FTP credentials and directory listings when loading FTP-hosted PAC files. diff --git a/.changeset/wrangler-tsdown-build.md b/.changeset/wrangler-tsdown-build.md deleted file mode 100644 index 0f1e7809ff..0000000000 --- a/.changeset/wrangler-tsdown-build.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Fix TypeScript errors when importing Wrangler's APIs - -Projects that import Wrangler's APIs, such as `getPlatformProxy` or `defineWranglerConfig`, can now type-check with `skipLibCheck: false`. The published types no longer refer to missing internal packages, and their required type dependencies are installed automatically. diff --git a/packages/autoconfig/CHANGELOG.md b/packages/autoconfig/CHANGELOG.md index e0954a7952..b9b3ea1e16 100644 --- a/packages/autoconfig/CHANGELOG.md +++ b/packages/autoconfig/CHANGELOG.md @@ -1,5 +1,42 @@ # @cloudflare/autoconfig +## 0.13.2 + +### Patch Changes + +- [#16995](https://github.com/cloudflare/workers-sdk/pull/16995) [`c79c1fc`](https://github.com/cloudflare/workers-sdk/commit/c79c1fccc307cb16450121fef5353c7ff6ba5c00) Thanks [@edmundhung](https://github.com/edmundhung)! - Fix Astro projects set up for cf getting a `wrangler.jsonc` instead of a `cloudflare.config.ts` + + Autoconfig installed `astro@beta` to get the `astro add` that writes `cloudflare.config.ts`, but package managers such as pnpm kept the project's newer stable Astro, whose `astro add` writes `wrangler.jsonc`, so the build failed. Autoconfig now runs the beta's `astro add` once without installing it, and keeps the project's Astro version. + +- [#17009](https://github.com/cloudflare/workers-sdk/pull/17009) [`496a062`](https://github.com/cloudflare/workers-sdk/commit/496a062afca5587050e21ff026d541b730b4e125) Thanks [@edmundhung](https://github.com/edmundhung)! - Require Vite 7 or later when autoconfiguring Vite projects for `cf` + + `cf` installs `@cloudflare/vite-plugin` v2, which requires Vite 7 or 8, so a Vite 6 project is now rejected before any changes are made instead of failing during dependency installation. + +- [#16992](https://github.com/cloudflare/workers-sdk/pull/16992) [`f1c64b5`](https://github.com/cloudflare/workers-sdk/commit/f1c64b5c8aae426a85c57aac1def4f7b46019102) Thanks [@edmundhung](https://github.com/edmundhung)! - Stop adding the SolidStart pre-bundling exclude on `cf` for SolidStart 2.2.3 and later + + SolidStart 2.2.3 keeps `@solidjs/start` out of server pre-bundling itself, so autoconfig now adds `environments.ssr.optimizeDeps.exclude` to the Vite config, or asks you to add it, only for earlier 2.x versions. + +- [#17010](https://github.com/cloudflare/workers-sdk/pull/17010) [`a959051`](https://github.com/cloudflare/workers-sdk/commit/a95905118cbc64083db1edb861dfa36162a16d3e) Thanks [@edmundhung](https://github.com/edmundhung)! - Suggest a compatible Cloudflare Vite plugin version when the installed one doesn't support cf + + When `@cloudflare/vite-plugin` was missing or too old, autoconfig suggested installing `@cloudflare/vite-plugin@beta`, which resolves to a version that cf rejects. The suggested command now installs `@cloudflare/vite-plugin@^2.0.0-rc.0`, matching the version autoconfig installs when it configures a project for cf. + +- [#16019](https://github.com/cloudflare/workers-sdk/pull/16019) [`8f26e90`](https://github.com/cloudflare/workers-sdk/commit/8f26e9008c8fb50a677f7cb7836beaf6deb66073) Thanks [@penalosa](https://github.com/penalosa)! - Correct the dry-run setup message to say "exiting now" instead of "existing now". + + The previous wording contained a typo and appeared in Wrangler setup output and other consumers of shared autoconfig. + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + +- Updated dependencies [[`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3)]: + - @cloudflare/workers-utils@0.55.0 + - @cloudflare/cli-shared-helpers@0.3.11 + - @cloudflare/config@1.0.0-rc.2 + ## 0.13.1 ### Patch Changes diff --git a/packages/autoconfig/package.json b/packages/autoconfig/package.json index fccc221ccc..bcfaa6a300 100644 --- a/packages/autoconfig/package.json +++ b/packages/autoconfig/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/autoconfig", - "version": "0.13.1", + "version": "0.13.2", "description": "Framework autoconfig detection and configuration for Cloudflare Workers", "license": "MIT OR Apache-2.0", "repository": { diff --git a/packages/build-output-utils/CHANGELOG.md b/packages/build-output-utils/CHANGELOG.md index ae7b7f5bd8..4575423b3c 100644 --- a/packages/build-output-utils/CHANGELOG.md +++ b/packages/build-output-utils/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/build-output-utils +## 1.0.0-rc.2 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- Updated dependencies [[`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c)]: + - @cloudflare/config@1.0.0-rc.2 + ## 1.0.0-rc.1 ### Patch Changes diff --git a/packages/build-output-utils/package.json b/packages/build-output-utils/package.json index cb1fc412f9..eb398f483e 100644 --- a/packages/build-output-utils/package.json +++ b/packages/build-output-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/build-output-utils", - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "description": "Utilities for reading and writing the Build Output Specification directory.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/build-output-utils#readme", "bugs": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 82fc45b3f7..71b9d2d70b 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/cli +## 0.3.11 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- Updated dependencies [[`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3)]: + - @cloudflare/workers-utils@0.55.0 + ## 0.3.10 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 3ae7a3b597..ca0f14bffd 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/cli-shared-helpers", - "version": "0.3.10", + "version": "0.3.11", "description": "Internal shared CLI helpers for workers-sdk. Not intended for external use — APIs may change without notice.", "keywords": [ "cli", diff --git a/packages/codemods/CHANGELOG.md b/packages/codemods/CHANGELOG.md index dd1db882b0..bb2cc9b868 100644 --- a/packages/codemods/CHANGELOG.md +++ b/packages/codemods/CHANGELOG.md @@ -1,5 +1,17 @@ # @cloudflare/codemods +## 0.8.2 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + ## 0.8.1 ### Patch Changes diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 826465cd9b..d84ae2bb4b 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/codemods", - "version": "0.8.1", + "version": "0.8.2", "description": "Codemods for upgrading Cloudflare developer projects", "keywords": [ "cloudflare", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 2aa6b14c31..ba85480e27 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/config +## 1.0.0-rc.2 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + ## 1.0.0-rc.1 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 02a4e9bbd8..3a95a69b99 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/config", - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "description": "Definitions and utilities for configuring Cloudflare Workers and related products. This is not yet stable enough for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/config#readme", "bugs": { diff --git a/packages/containers-shared/CHANGELOG.md b/packages/containers-shared/CHANGELOG.md index 2ae3869259..1b846c452d 100644 --- a/packages/containers-shared/CHANGELOG.md +++ b/packages/containers-shared/CHANGELOG.md @@ -1,5 +1,29 @@ # @cloudflare/containers-shared +## 0.27.0 + +### Minor Changes + +- [#16877](https://github.com/cloudflare/workers-sdk/pull/16877) [`dff5212`](https://github.com/cloudflare/workers-sdk/commit/dff5212681e8282ff47b1ed0006f7e74aed1bf53) Thanks [@edmundhung](https://github.com/edmundhung)! - Add `prepareContainerImagesForCfConfig` for building or pulling the Container images of a `cloudflare.config.ts` project + + Tools that run Containers from cf config can now share one implementation, including Cloudflare-managed registry authentication, instead of keeping their own copies. + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + +- Updated dependencies [[`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3)]: + - @cloudflare/workers-utils@0.55.0 + - @cloudflare/build-output-utils@1.0.0-rc.2 + - @cloudflare/cli-shared-helpers@0.3.11 + - @cloudflare/config@1.0.0-rc.2 + ## 0.26.3 ### Patch Changes diff --git a/packages/containers-shared/package.json b/packages/containers-shared/package.json index 635d5f47d8..4ba1db122f 100644 --- a/packages/containers-shared/package.json +++ b/packages/containers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/containers-shared", - "version": "0.26.3", + "version": "0.27.0", "description": "Internal-only shared container helpers for workers-sdk. Do not use directly; APIs are unstable and may change or disappear without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/containers-shared#readme", "bugs": { diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index a8400464bc..de8790877e 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,17 @@ # create-cloudflare +## 2.74.15 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix startup failures in Miniflare and C3 when loading ESM dependencies + + Miniflare and `create-cloudflare` can now load dependencies that use Node.js's `createRequire()` without failing on an invalid file URL. This prevents these dependencies from causing an error before the CLI or local development environment starts. + ## 2.74.14 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index f5b62ea39c..ea3e8d9a8c 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.74.14", + "version": "2.74.15", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/deploy-helpers/CHANGELOG.md b/packages/deploy-helpers/CHANGELOG.md index 02497f662a..aa05fcbbde 100644 --- a/packages/deploy-helpers/CHANGELOG.md +++ b/packages/deploy-helpers/CHANGELOG.md @@ -1,5 +1,34 @@ # @cloudflare/deploy-helpers +## 0.28.0 + +### Minor Changes + +- [#16751](https://github.com/cloudflare/workers-sdk/pull/16751) [`7b72b22`](https://github.com/cloudflare/workers-sdk/commit/7b72b22ea3355743ef5df3357e459c514672c13d) Thanks [@edmundhung](https://github.com/edmundhung)! - Accept a secrets file when uploading a Preview from Build Output + + `previewBuildOutput()` now takes the same `secretsFile` option as `preview()`. The file's secrets are uploaded with the Preview deployment, so a CLI that deploys Previews from Build Output can set Preview secrets without a separate command or the Cloudflare dashboard. + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#14334](https://github.com/cloudflare/workers-sdk/pull/14334) [`67d7c0a`](https://github.com/cloudflare/workers-sdk/commit/67d7c0a12b7476430d59e7d6a106c8996449f4e6) Thanks [@Divkix](https://github.com/Divkix)! - Replace the unmaintained asset hashing dependency with `hash-wasm` + + Keep asset hashes unchanged for Workers and Pages deployments and local Pages development while using a maintained WebAssembly implementation. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + +- Updated dependencies [[`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`dff5212`](https://github.com/cloudflare/workers-sdk/commit/dff5212681e8282ff47b1ed0006f7e74aed1bf53), [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76)]: + - miniflare@5.20261118.0-beta + - @cloudflare/workers-utils@0.55.0 + - @cloudflare/cli-shared-helpers@0.3.11 + - @cloudflare/config@1.0.0-rc.2 + - @cloudflare/containers-shared@0.27.0 + ## 0.27.2 ### Patch Changes diff --git a/packages/deploy-helpers/package.json b/packages/deploy-helpers/package.json index 783a7fd17e..7c680924df 100644 --- a/packages/deploy-helpers/package.json +++ b/packages/deploy-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/deploy-helpers", - "version": "0.27.2", + "version": "0.28.0", "description": "Internal deploy helpers for workers-sdk. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/deploy-helpers#readme", "bugs": { diff --git a/packages/kv-asset-handler/CHANGELOG.md b/packages/kv-asset-handler/CHANGELOG.md index dffe83f10b..8b7bbc1ece 100644 --- a/packages/kv-asset-handler/CHANGELOG.md +++ b/packages/kv-asset-handler/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.5.1 + +### Patch Changes + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + ## 0.5.0 ### Minor Changes diff --git a/packages/kv-asset-handler/package.json b/packages/kv-asset-handler/package.json index 63ae32374b..410478fa87 100644 --- a/packages/kv-asset-handler/package.json +++ b/packages/kv-asset-handler/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/kv-asset-handler", - "version": "0.5.0", + "version": "0.5.1", "description": "Routes requests to KV assets", "keywords": [ "assets", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 78ab3732ac..5a088fc430 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,38 @@ # miniflare +## 5.20261118.0-beta + +### Patch Changes + +- [#16954](https://github.com/cloudflare/workers-sdk/pull/16954) [`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253) Thanks [@mkuritsu](https://github.com/mkuritsu)! - Local Browser Run sessions now use Chrome 152 + + Local Browser Run bindings now run Chrome 152.0.7977.64, the same version that Browser Run uses in production. Miniflare will download Chrome 152 the first time you start a local Browser Run session after you upgrade. + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------------- | ------------- | ------------- | + | @cloudflare/workers-types | ^5.20261117.1 | ^5.20261118.1 | + | workerd | 1.20261117.1 | 1.20261118.1 | + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix startup failures in Miniflare and C3 when loading ESM dependencies + + Miniflare and `create-cloudflare` can now load dependencies that use Node.js's `createRequire()` without failing on an invalid file URL. This prevents these dependencies from causing an error before the CLI or local development environment starts. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix missing types when using Miniflare with `skipLibCheck: false` + + TypeScript projects importing Miniflare could fail with `Cannot find module './shared'`. The required types are now included in the published package, so projects can check Miniflare's declarations without this error. + +- [#17015](https://github.com/cloudflare/workers-sdk/pull/17015) [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Update the bundled FTP client to include upstream denial-of-service fixes + + Update `basic-ftp` to 6.2.6 in the browser download proxy dependency graph. This includes fixes for malformed FTP credentials and directory listings when loading FTP-hosted PAC files. + ## 5.20261117.0-beta ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 2604eb5644..9435557ca8 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "5.20261117.0-beta", + "version": "5.20261118.0-beta", "description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", "keywords": [ "cloudflare", diff --git a/packages/pages-functions/CHANGELOG.md b/packages/pages-functions/CHANGELOG.md index e5849a6405..4aca04775d 100644 --- a/packages/pages-functions/CHANGELOG.md +++ b/packages/pages-functions/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/pages-functions +## 0.1.12 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + ## 0.1.11 ### Patch Changes diff --git a/packages/pages-functions/package.json b/packages/pages-functions/package.json index ba509577b4..041a8c92d5 100644 --- a/packages/pages-functions/package.json +++ b/packages/pages-functions/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-functions", - "version": "0.1.11", + "version": "0.1.12", "description": "Compile a Pages Functions directory into a Cloudflare Worker bundle", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/pages-functions#readme", "bugs": { diff --git a/packages/pages-shared/CHANGELOG.md b/packages/pages-shared/CHANGELOG.md index da7cf130e2..62347b4356 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/pages-shared +## 0.13.217 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- Updated dependencies [[`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76)]: + - miniflare@5.20261118.0-beta + ## 0.13.216 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 50ef798bd2..31fcbf1bbe 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.216", + "version": "0.13.217", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/remote-bindings/CHANGELOG.md b/packages/remote-bindings/CHANGELOG.md index 51e29f1770..3c8a792550 100644 --- a/packages/remote-bindings/CHANGELOG.md +++ b/packages/remote-bindings/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/remote-bindings +## 0.0.68 + +### Patch Changes + +- Updated dependencies [[`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`67d7c0a`](https://github.com/cloudflare/workers-sdk/commit/67d7c0a12b7476430d59e7d6a106c8996449f4e6), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`7b72b22`](https://github.com/cloudflare/workers-sdk/commit/7b72b22ea3355743ef5df3357e459c514672c13d), [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76)]: + - miniflare@5.20261118.0-beta + - @cloudflare/workers-utils@0.55.0 + - @cloudflare/deploy-helpers@0.28.0 + - @cloudflare/workers-auth@0.18.5 + ## 0.0.67 ### Patch Changes diff --git a/packages/remote-bindings/package.json b/packages/remote-bindings/package.json index a7ba785b38..9fe383c4d1 100644 --- a/packages/remote-bindings/package.json +++ b/packages/remote-bindings/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/remote-bindings", - "version": "0.0.67", + "version": "0.0.68", "private": true, "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/remote-bindings#readme", "bugs": { diff --git a/packages/runtime-types/CHANGELOG.md b/packages/runtime-types/CHANGELOG.md index 817de804b1..e0b975c058 100644 --- a/packages/runtime-types/CHANGELOG.md +++ b/packages/runtime-types/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/runtime-types +## 0.1.31 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- Updated dependencies [[`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76)]: + - miniflare@5.20261118.0-beta + ## 0.1.30 ### Patch Changes diff --git a/packages/runtime-types/package.json b/packages/runtime-types/package.json index f4e1d828aa..fca99d9377 100644 --- a/packages/runtime-types/package.json +++ b/packages/runtime-types/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/runtime-types", - "version": "0.1.30", + "version": "0.1.31", "description": "Utilities for generating Cloudflare Workers runtime types from compatibility dates and flags. This is not yet stable enough for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/runtime-types#readme", "bugs": { diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index b2c4e0f488..8a1609dd7a 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,31 @@ # @cloudflare/vite-plugin +## 2.0.0-rc.2 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#16949](https://github.com/cloudflare/workers-sdk/pull/16949) [`110c162`](https://github.com/cloudflare/workers-sdk/commit/110c16279a91927427396b0f3760e27d59a8079a) Thanks [@edmundhung](https://github.com/edmundhung)! - Fail remote RPC binding requests on network errors instead of hanging + + Remote bindings that connect over RPC treated every network failure, such as being offline, a DNS or TLS error, as a preview reload. The request then waited silently for a reload that never came. These requests now fail with the error, while GET and HEAD requests interrupted by an actual reload are still retried. + +- [#16877](https://github.com/cloudflare/workers-sdk/pull/16877) [`dff5212`](https://github.com/cloudflare/workers-sdk/commit/dff5212681e8282ff47b1ed0006f7e74aed1bf53) Thanks [@edmundhung](https://github.com/edmundhung)! - Add `prepareContainerImagesForCfConfig` for building or pulling the Container images of a `cloudflare.config.ts` project + + Tools that run Containers from cf config can now share one implementation, including Cloudflare-managed registry authentication, instead of keeping their own copies. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + +- Updated dependencies [[`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76)]: + - miniflare@5.20261118.0-beta + - @cloudflare/build-output-utils@1.0.0-rc.2 + - @cloudflare/config@1.0.0-rc.2 + - @cloudflare/runtime-types@0.1.31 + ## 2.0.0-rc.1 ### Minor Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index d4eafbd284..3bdf711c34 100644 --- a/packages/vite-plugin-cloudflare/package.json +++ b/packages/vite-plugin-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vite-plugin", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-plugin/CHANGELOG.md b/packages/vitest-plugin/CHANGELOG.md index e5fbb78d8d..d17d93d745 100644 --- a/packages/vitest-plugin/CHANGELOG.md +++ b/packages/vitest-plugin/CHANGELOG.md @@ -1,5 +1,25 @@ # @cloudflare/vitest-plugin +## 1.8.5 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#16949](https://github.com/cloudflare/workers-sdk/pull/16949) [`110c162`](https://github.com/cloudflare/workers-sdk/commit/110c16279a91927427396b0f3760e27d59a8079a) Thanks [@edmundhung](https://github.com/edmundhung)! - Fail remote RPC binding requests on network errors instead of hanging + + Remote bindings that connect over RPC treated every network failure, such as being offline, a DNS or TLS error, as a preview reload. The request then waited silently for a reload that never came. These requests now fail with the error, while GET and HEAD requests interrupted by an actual reload are still retried. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + +- Updated dependencies [[`24bd3c3`](https://github.com/cloudflare/workers-sdk/commit/24bd3c3aae162b6ef6f8ec661fdd3378123eb811), [`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253), [`8f26e90`](https://github.com/cloudflare/workers-sdk/commit/8f26e9008c8fb50a677f7cb7836beaf6deb66073), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`f833c8a`](https://github.com/cloudflare/workers-sdk/commit/f833c8ac21d5c562a25e1e2f90fa160c8510c127), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`67d7c0a`](https://github.com/cloudflare/workers-sdk/commit/67d7c0a12b7476430d59e7d6a106c8996449f4e6), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`110c162`](https://github.com/cloudflare/workers-sdk/commit/110c16279a91927427396b0f3760e27d59a8079a), [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3)]: + - wrangler@4.165.0 + - miniflare@5.20261118.0-beta + ## 1.8.4 ### Patch Changes diff --git a/packages/vitest-plugin/package.json b/packages/vitest-plugin/package.json index 077760ac05..fa34672130 100644 --- a/packages/vitest-plugin/package.json +++ b/packages/vitest-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-plugin", - "version": "1.8.4", + "version": "1.8.5", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/workers-auth/CHANGELOG.md b/packages/workers-auth/CHANGELOG.md index feaa8674e6..66bdb11278 100644 --- a/packages/workers-auth/CHANGELOG.md +++ b/packages/workers-auth/CHANGELOG.md @@ -1,5 +1,20 @@ # @cloudflare/workers-auth +## 0.18.5 + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + +- Updated dependencies [[`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3)]: + - @cloudflare/workers-utils@0.55.0 + ## 0.18.4 ### Patch Changes diff --git a/packages/workers-auth/package.json b/packages/workers-auth/package.json index 450da78bf9..fc164c4ac1 100644 --- a/packages/workers-auth/package.json +++ b/packages/workers-auth/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-auth", - "version": "0.18.4", + "version": "0.18.5", "description": "Internal OAuth 2.0 + PKCE flow for Cloudflare CLIs. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-auth#readme", "bugs": { diff --git a/packages/workers-utils/CHANGELOG.md b/packages/workers-utils/CHANGELOG.md index d4694d15ed..a934ff3646 100644 --- a/packages/workers-utils/CHANGELOG.md +++ b/packages/workers-utils/CHANGELOG.md @@ -1,5 +1,23 @@ # @cloudflare/workers-utils +## 0.55.0 + +### Minor Changes + +- [#16880](https://github.com/cloudflare/workers-sdk/pull/16880) [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557) Thanks [@edmundhung](https://github.com/edmundhung)! - Export `getWorkerZone()` and `toApiComplianceRegion()` + + `getWorkerZone()` returns the zone of a Worker's first route, taken from its domains or fetch triggers. `toApiComplianceRegion()` converts a `cloudflare.config.ts` compliance region to the form Cloudflare's API takes. + +### Patch Changes + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix `Dynamic require` errors when importing packages from ES modules + + Importing these packages in a Node.js ES module could fail with `Dynamic require of "..." is not supported` when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper. + ## 0.54.2 ### Patch Changes diff --git a/packages/workers-utils/package.json b/packages/workers-utils/package.json index 617216a7ed..f298462190 100644 --- a/packages/workers-utils/package.json +++ b/packages/workers-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-utils", - "version": "0.54.2", + "version": "0.55.0", "description": "Internal utility package for workers-sdk. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-utils#readme", "bugs": { diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 31603451a9..824606ecba 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,59 @@ # wrangler +## 4.165.0 + +### Minor Changes + +- [#10598](https://github.com/cloudflare/workers-sdk/pull/10598) [`24bd3c3`](https://github.com/cloudflare/workers-sdk/commit/24bd3c3aae162b6ef6f8ec661fdd3378123eb811) Thanks [@Ehbraheem](https://github.com/Ehbraheem)! - Add a new `--force` flag to `d1 migrations apply` which skips the interactive confirmation and applies any pending migrations non-interactively. This is useful for CI and automation. + + Usage example: + + ``` + wrangler d1 migrations apply --remote --force + ``` + + Fixes #5017 + +### Patch Changes + +- [#16019](https://github.com/cloudflare/workers-sdk/pull/16019) [`8f26e90`](https://github.com/cloudflare/workers-sdk/commit/8f26e9008c8fb50a677f7cb7836beaf6deb66073) Thanks [@penalosa](https://github.com/penalosa)! - Correct the dry-run setup message to say "exiting now" instead of "existing now". + + The previous wording contained a typo and appeared in Wrangler setup output and other consumers of shared autoconfig. + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-18 + + Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. + +- [#17003](https://github.com/cloudflare/workers-sdk/pull/17003) [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------------- | ------------- | ------------- | + | @cloudflare/workers-types | ^5.20261117.1 | ^5.20261118.1 | + | workerd | 1.20261117.1 | 1.20261118.1 | + +- [#16719](https://github.com/cloudflare/workers-sdk/pull/16719) [`f833c8a`](https://github.com/cloudflare/workers-sdk/commit/f833c8ac21d5c562a25e1e2f90fa160c8510c127) Thanks [@jaeminbird](https://github.com/jaeminbird)! - Report `.dev.vars` and `.env` files that are not UTF-8 instead of silently loading no variables + + Before Wrangler would incorrectly read non UTF-8 `.dev.vars` and `.env` files as UTF-8. A `.dev.vars` file that is not UTF-8 now stops `wrangler dev` with a message that says how to fix it, and a `.env` file that is not UTF-8 is skipped with a warning. UTF-8 files, with or without a BOM, load as before. + +- [#14334](https://github.com/cloudflare/workers-sdk/pull/14334) [`67d7c0a`](https://github.com/cloudflare/workers-sdk/commit/67d7c0a12b7476430d59e7d6a106c8996449f4e6) Thanks [@Divkix](https://github.com/Divkix)! - Replace the unmaintained asset hashing dependency with `hash-wasm` + + Keep asset hashes unchanged for Workers and Pages deployments and local Pages development while using a maintained WebAssembly implementation. + +- [#16949](https://github.com/cloudflare/workers-sdk/pull/16949) [`110c162`](https://github.com/cloudflare/workers-sdk/commit/110c16279a91927427396b0f3760e27d59a8079a) Thanks [@edmundhung](https://github.com/edmundhung)! - Fail remote RPC binding requests on network errors instead of hanging + + Remote bindings that connect over RPC treated every network failure, such as being offline, a DNS or TLS error, as a preview reload. The request then waited silently for a reload that never came. These requests now fail with the error, while GET and HEAD requests interrupted by an actual reload are still retried. + +- [#14578](https://github.com/cloudflare/workers-sdk/pull/14578) [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3) Thanks [@penalosa](https://github.com/penalosa)! - Fix TypeScript errors when importing Wrangler's APIs + + Projects that import Wrangler's APIs, such as `getPlatformProxy` or `defineWranglerConfig`, can now type-check with `skipLibCheck: false`. The published types no longer refer to missing internal packages, and their required type dependencies are installed automatically. + +- Updated dependencies [[`0a4315f`](https://github.com/cloudflare/workers-sdk/commit/0a4315fcf56a1cb6dbc6b4908afe6122e87d4253), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`3595295`](https://github.com/cloudflare/workers-sdk/commit/3595295869341f8c6e7ec369e24181e8bb95e20c), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`d04e667`](https://github.com/cloudflare/workers-sdk/commit/d04e667fadbc4b28666236ae9d85a3cae6bee557), [`6750663`](https://github.com/cloudflare/workers-sdk/commit/67506630c514912ad02d74c44a3b30c959e9a9f3), [`5a6e450`](https://github.com/cloudflare/workers-sdk/commit/5a6e4502f81c4f3032be8b0c174e730ea3817b76)]: + - miniflare@5.20261118.0-beta + - @cloudflare/workers-utils@0.55.0 + - @cloudflare/kv-asset-handler@0.5.1 + ## 4.164.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 323da57281..c07d6dffc3 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.164.0", + "version": "4.165.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "assembly",