diff --git a/.changeset/angry-crabs-sniff.md b/.changeset/angry-crabs-sniff.md deleted file mode 100644 index c8ff28e390f8..000000000000 --- a/.changeset/angry-crabs-sniff.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@cloudflare/cli": patch -"create-cloudflare": patch -"miniflare": patch -"@cloudflare/pages-shared": patch -"@cloudflare/quick-edit": patch -"@cloudflare/workers-shared": patch -"@cloudflare/workflows-shared": patch ---- - -Builds package with esbuild `v0.27.0` diff --git a/.changeset/bumpy-beds-sink.md b/.changeset/bumpy-beds-sink.md deleted file mode 100644 index 2ea1fd5f6c0a..000000000000 --- a/.changeset/bumpy-beds-sink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": minor ---- - -Support SolidStart in autoconfig `--experimental` flow diff --git a/.changeset/c3-frameworks-update-11385.md b/.changeset/c3-frameworks-update-11385.md deleted file mode 100644 index 88b3022ce271..000000000000 --- a/.changeset/c3-frameworks-update-11385.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 | -| ---------------------- | ------ | ------ | -| @tanstack/create-start | 0.36.2 | 0.37.2 | diff --git a/.changeset/c3-frameworks-update-11386.md b/.changeset/c3-frameworks-update-11386.md deleted file mode 100644 index 40c29b8d6c86..000000000000 --- a/.changeset/c3-frameworks-update-11386.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 | -| ---------- | ------ | ------ | -| sv | 0.9.14 | 0.10.5 | diff --git a/.changeset/c3-frameworks-update-11473.md b/.changeset/c3-frameworks-update-11473.md deleted file mode 100644 index a00080d05fdf..000000000000 --- a/.changeset/c3-frameworks-update-11473.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-vue | 3.18.2 | 3.18.3 | diff --git a/.changeset/c3-frameworks-update-11474.md b/.changeset/c3-frameworks-update-11474.md deleted file mode 100644 index 86a464a960aa..000000000000 --- a/.changeset/c3-frameworks-update-11474.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 | 21.0.0 | 21.0.1 | diff --git a/.changeset/c3-frameworks-update-11475.md b/.changeset/c3-frameworks-update-11475.md deleted file mode 100644 index de7d3c9d74b6..000000000000 --- a/.changeset/c3-frameworks-update-11475.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 | -| ---------------------- | ------ | ------ | -| @tanstack/create-start | 0.37.2 | 0.40.0 | diff --git a/.changeset/chilly-feet-shout.md b/.changeset/chilly-feet-shout.md deleted file mode 100644 index ec8f6d34a419..000000000000 --- a/.changeset/chilly-feet-shout.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -Remove the `wrangler deploy`'s `--x-remote-diff-check` experimental flag - -The remote diffing feature has been enabled by default for a while and its functionality is stable, as a result the experimental flag (only available for option-out of the feature right now) has been removed. diff --git a/.changeset/cold-parents-guess.md b/.changeset/cold-parents-guess.md deleted file mode 100644 index c18215e68010..000000000000 --- a/.changeset/cold-parents-guess.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@cloudflare/unenv-preset": patch -"wrangler": patch ---- - -Use more workerd native modules - -Node modules `punycode`, `trace_events`, `cluster`, `wasi`, and `domains` will be used when enabled -via a compatibility flag or by default when the compatibility date is greater or equal to 2025-12-04. diff --git a/.changeset/curly-weeks-run.md b/.changeset/curly-weeks-run.md deleted file mode 100644 index 86bcdc43a1b7..000000000000 --- a/.changeset/curly-weeks-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Export unstable helpers useful for generating wrangler config diff --git a/.changeset/dependabot-update-11419.md b/.changeset/dependabot-update-11419.md deleted file mode 100644 index 73c7c080041d..000000000000 --- a/.changeset/dependabot-update-11419.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"miniflare": patch ---- - -chore: update dependencies of "miniflare" package - -The following dependency versions have been updated: - -| Dependency | From | To | -| ---------- | ------------ | ------------ | -| workerd | 1.20251125.0 | 1.20251126.0 | diff --git a/.changeset/dependabot-update-11444.md b/.changeset/dependabot-update-11444.md deleted file mode 100644 index 4177b95acfa3..000000000000 --- a/.changeset/dependabot-update-11444.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"miniflare": patch ---- - -chore: update dependencies of "miniflare" package - -The following dependency versions have been updated: - -| Dependency | From | To | -| ---------- | ------------ | ------------ | -| workerd | 1.20251126.0 | 1.20251127.0 | diff --git a/.changeset/dependabot-update-11457.md b/.changeset/dependabot-update-11457.md deleted file mode 100644 index 5c7ea3e6f3b8..000000000000 --- a/.changeset/dependabot-update-11457.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"miniflare": patch ---- - -chore: update dependencies of "miniflare" package - -The following dependency versions have been updated: - -| Dependency | From | To | -| ---------- | ------------ | ------------ | -| workerd | 1.20251127.0 | 1.20251128.0 | diff --git a/.changeset/every-swans-melt.md b/.changeset/every-swans-melt.md deleted file mode 100644 index 0f633c6bb752..000000000000 --- a/.changeset/every-swans-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Remove unnecessary nitropack installation diff --git a/.changeset/fast-geese-invent.md b/.changeset/fast-geese-invent.md deleted file mode 100644 index fea98d0c98a1..000000000000 --- a/.changeset/fast-geese-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix typos in `hello-world-durable-object` templates diff --git a/.changeset/few-owls-mate.md b/.changeset/few-owls-mate.md deleted file mode 100644 index 5ac84b01f31f..000000000000 --- a/.changeset/few-owls-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Update the Angular starter to set a `preview` script instead of a `start` one diff --git a/.changeset/fifty-snakes-drop.md b/.changeset/fifty-snakes-drop.md deleted file mode 100644 index 9fdc5f8c03ac..000000000000 --- a/.changeset/fifty-snakes-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/workers-playground": patch ---- - -Use `tail_url` to power Workers Playground logging diff --git a/.changeset/forty-kids-fail.md b/.changeset/forty-kids-fail.md deleted file mode 100644 index fa3824db3454..000000000000 --- a/.changeset/forty-kids-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Remove uses of `eval()` from the Wrangler bundle diff --git a/.changeset/four-pants-roll.md b/.changeset/four-pants-roll.md deleted file mode 100644 index 02bae6b50506..000000000000 --- a/.changeset/four-pants-roll.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -Improve the `wrangler deploy` flow to also check for potential overrides of [secrets](https://developers.cloudflare.com/workers/configuration/secrets/). - -Now when you run `wrangler deploy` Wrangler will check the remote secrets for your workers for conflicts with the names of the bindings you're about to deploy. If there are conflicts, Wrangler will warn you and ask you for your permission before proceeding. diff --git a/.changeset/gold-ties-enjoy.md b/.changeset/gold-ties-enjoy.md deleted file mode 100644 index 1825e1d26036..000000000000 --- a/.changeset/gold-ties-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": patch ---- - -Set minimum KV Cache TTL in Miniflare to 30 seconds diff --git a/.changeset/happy-toys-devellop.md b/.changeset/happy-toys-devellop.md deleted file mode 100644 index fa1ddf766e09..000000000000 --- a/.changeset/happy-toys-devellop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": minor ---- - -Support TanStack Start in autoconfig `--experimental` flow diff --git a/.changeset/happy-toys-develop.md b/.changeset/happy-toys-develop.md deleted file mode 100644 index 27285d12e3ac..000000000000 --- a/.changeset/happy-toys-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Support TanStack Start in autoconfig diff --git a/.changeset/huge-onions-occur.md b/.changeset/huge-onions-occur.md deleted file mode 100644 index 305901b8405b..000000000000 --- a/.changeset/huge-onions-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": minor ---- - -Support Angular in autoconfig `--experimental` flow diff --git a/.changeset/metal-garlics-stare.md b/.changeset/metal-garlics-stare.md deleted file mode 100644 index c2af9991d96f..000000000000 --- a/.changeset/metal-garlics-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/playground-preview-worker": minor ---- - -Return `tail_url` from Worker uploads diff --git a/.changeset/nice-glasses-shave.md b/.changeset/nice-glasses-shave.md deleted file mode 100644 index 3703974b1816..000000000000 --- a/.changeset/nice-glasses-shave.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -"@cloudflare/vite-plugin": minor ---- - -Allow Worker config to be customized in the plugin config - -The Vite plugin can now be used to generate a Worker configuration instead of needing a Wrangler config file, or to customize an existing user-provided configuration. - -This is done via a new `config` option on the plugin, which accepts either a partial Worker configuration object, or a function that receives the current configuration and returns a partial config object, or modifies the current config in place. - -```ts -import cloudflare from "@cloudflare/vite-plugin"; -import { defineConfig } from "vite"; - -// Define a partial config object - -export default defineConfig({ - plugins: [ - cloudflare({ - config: { - compatibility_date: "2025-01-01", - }, - }), - ], -}); - -// Return a partial config from a function, conditional on some logic - -export default defineConfig({ - plugins: [ - cloudflare({ - config: (workerConfig) => { - if (workerConfig.name === "my-worker") { - return { - compatibility_flags: ["nodejs_compat"], - }; - } - }, - }), - ], -}); - -// Modify the config in place - -export default defineConfig({ - plugins: [ - cloudflare({ - config: (workerConfig) => { - workerConfig.compatibility_date = "2025-01-01"; - }, - }), - ], -}); -``` diff --git a/.changeset/open-donkeys-behave.md b/.changeset/open-donkeys-behave.md deleted file mode 100644 index b243f13fbdf2..000000000000 --- a/.changeset/open-donkeys-behave.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@cloudflare/vite-plugin": minor -"@cloudflare/containers-shared": minor -"wrangler": minor ---- - -Containers: Allow users to directly authenticate external image registries in local dev - -Previously, we always queried the API for stored registry credentials and used those to pull images. This means that if you are using an external registry (ECR, dockerhub) then you have to configure registry credentials remotely before running local dev. - -Now you can directly authenticate with your external registry provider (using `docker login` etc.), and Wrangler or Vite will be able to pull the image specified in the `containers.image` field in your config file. - -The Cloudflare-managed registry (registry.cloudflare.com) currently still does not work with the Vite plugin. diff --git a/.changeset/open-points-speak.md b/.changeset/open-points-speak.md deleted file mode 100644 index 7ce8d2001371..000000000000 --- a/.changeset/open-points-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Allow users to provide an `account_id` as part of the `WorkerConfigObject` they pass to `maybeStartOrUpdateRemoteProxySession` diff --git a/.changeset/plenty-tables-teach.md b/.changeset/plenty-tables-teach.md deleted file mode 100644 index f5c7491140f6..000000000000 --- a/.changeset/plenty-tables-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Support SolidStart in autoconfig diff --git a/.changeset/proud-socks-slide.md b/.changeset/proud-socks-slide.md deleted file mode 100644 index d612d04d97a1..000000000000 --- a/.changeset/proud-socks-slide.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Fix: Ensure that `vite dev` and `vite preview` hard error with an appropriate error message when a remote proxy session is required but if the connection with it fails to be established - -When using remote bindings, either with `vite dev` or `vite preview`, the remote proxy session necessary to connect to the remote resources can fail to be created. This might happen if for example you try to set a binding with some invalid values such as: - -```js -MY_R2: { - type: "r2_bucket", - bucket_name: "non-existent", // No bucket called "non-existent" exists - remote: true, -}, -``` - -Before, this could go undetected and cause unwanted behaviors such as requests handling hanging indefinitely. Now, a hard error will be thrown instead causing the vite process to crash, clearly indicating that something went wrong during the remote session's creation. diff --git a/.changeset/public-baths-change.md b/.changeset/public-baths-change.md deleted file mode 100644 index eed574bdc5bd..000000000000 --- a/.changeset/public-baths-change.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": minor ---- - -Support zero-config operation - -If the Vite plugin is used in a project without an existing Wrangler config file, it should be able to operate in "zero-config" mode by generating a default Wrangler configuration for an assets-only worker. diff --git a/.changeset/ready-kids-happen.md b/.changeset/ready-kids-happen.md deleted file mode 100644 index bde56cd368cf..000000000000 --- a/.changeset/ready-kids-happen.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": minor ---- - -Register named entrypoints with the dev registry. - -This enables binding to [named entrypoints](https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/rpc/#named-entrypoints) defined in a `vite dev` session from another `vite dev` or `wrangler dev` session running locally. diff --git a/.changeset/sad-mirrors-kiss.md b/.changeset/sad-mirrors-kiss.md deleted file mode 100644 index ebbffb8ea985..000000000000 --- a/.changeset/sad-mirrors-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Removes duplicate module warnings when vendoring Python packages diff --git a/.changeset/salty-games-push.md b/.changeset/salty-games-push.md deleted file mode 100644 index 24bf20c3f161..000000000000 --- a/.changeset/salty-games-push.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: Generalize autoconfig wording - -Generalize the autoconfig wording so that when it doesn't specifically mention "deployment" (since it can be run via `wrangler setup` or the autoconfig programmatic API) diff --git a/.changeset/short-donuts-deny.md b/.changeset/short-donuts-deny.md deleted file mode 100644 index af03b3d89e07..000000000000 --- a/.changeset/short-donuts-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Support Angular projects in autoconfig diff --git a/.changeset/slick-beers-cover.md b/.changeset/slick-beers-cover.md deleted file mode 100644 index a9b6cb7d99cc..000000000000 --- a/.changeset/slick-beers-cover.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -"wrangler": patch ---- - -Fix autoconfig using absolute paths for static projects - -Running the experimental autoconfig logic through `wrangler setup` and `wrangler deploy --x-autoconfig` on a static project results in absolute paths being used. This is incorrect, especially when such paths are being included in the generated wrangler.jsonc. The changes here fix the autoconfig logic to use paths relative to the project's root instead. - -For example given a project located in `/Users/usr/projects/sites/my-static-site`, before: - -```ts -// wrangler.jsonc at /Users/usr/projects/sites/my-static-site - { - "$schema": "node_modules/wrangler/config-schema.json", - "name": "static", - "compatibility_date": "2025-11-27", - "observability": { - "enabled": true - }, - "assets": { - "directory": "/Users/usr/projects/sites/my-static-site/public" - } - } -``` - -and after: - -```ts -// wrangler.jsonc at /Users/usr/projects/sites/my-static-site - { - "$schema": "node_modules/wrangler/config-schema.json", - "name": "static", - "compatibility_date": "2025-11-27", - "observability": { - "enabled": true - }, - "assets": { - "directory": "public" - } - } -``` diff --git a/.changeset/some-wasps-attack.md b/.changeset/some-wasps-attack.md deleted file mode 100644 index 00b1cd23e7c2..000000000000 --- a/.changeset/some-wasps-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Explicitly close FileHandle in `wrangler d1 execute` to support Node 25 diff --git a/.changeset/spotty-phones-pull.md b/.changeset/spotty-phones-pull.md deleted file mode 100644 index 8f6165038206..000000000000 --- a/.changeset/spotty-phones-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Delegate generation of HTTPS certificates to Miniflare diff --git a/.changeset/stale-hats-hug.md b/.changeset/stale-hats-hug.md deleted file mode 100644 index 079595666611..000000000000 --- a/.changeset/stale-hats-hug.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"wrangler": patch ---- - -Fix: ensure that when a remote proxy session creation fails a hard error is surfaced to the user (both in `wrangler dev` and in the programmatic API). - -When using remote bindings, either with `wrangler dev` or via `startRemoteProxySession`/`maybeStartOrUpdateRemoteProxySession` the remote proxy session necessary to connect to the remote resources can fail to be created, this might happen if for example you try to set a binding with some invalid values such as: - -```js -MY_R2: { - type: "r2_bucket", - bucket_name: "non-existent", // No bucket called "non-existent" exists - remote: true, -}, -``` - -Before this could go undetected and cause unwanted behaviors such as requests handling hanging indefinitely, now wrangler will instead crash (or throw a hard error ion the programmatic API), clearly indicating that something went wrong during the remote session's creation. diff --git a/.changeset/swift-pants-create.md b/.changeset/swift-pants-create.md deleted file mode 100644 index fe26b32572b5..000000000000 --- a/.changeset/swift-pants-create.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Use correctly-formatted names when displaying detected framework details diff --git a/.changeset/tangy-poets-rhyme.md b/.changeset/tangy-poets-rhyme.md deleted file mode 100644 index e03fdd9ccd29..000000000000 --- a/.changeset/tangy-poets-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Bumps `esbuild` version to [0.27.0](https://github.com/evanw/esbuild/releases/tag/v0.27.0) diff --git a/.changeset/tiny-melons-take.md b/.changeset/tiny-melons-take.md deleted file mode 100644 index 558a9fe988cd..000000000000 --- a/.changeset/tiny-melons-take.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Support internal-only undocumented `cross_account_grant` service binding property diff --git a/.changeset/tough-crabs-tap.md b/.changeset/tough-crabs-tap.md deleted file mode 100644 index 84d7fedcffcf..000000000000 --- a/.changeset/tough-crabs-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Make sure that the `account_id` present in the user's config file is used for remote bindings diff --git a/.changeset/tricky-starfishes-tap.md b/.changeset/tricky-starfishes-tap.md deleted file mode 100644 index 70b5a5e90535..000000000000 --- a/.changeset/tricky-starfishes-tap.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -We're soon going to make backend changes that mean that `wrangler dev --remote` sessions will no longer have an associated inspector connection. In advance of these backend changes, we've enabled a new `wrangler tail`-based logging strategy for `wrangler dev --remote`. For now, you can revert to the previous logging strategy with `wrangler dev --remote --no-x-tail-logs`, but in future it will not be possible to revert. - -The impact of this will be that logs that were previously available via devtools will now be provided directly to the Wrangler console and it will no longer be possible to interact with the remote Worker via the devtools console. diff --git a/.changeset/wet-flowers-kiss.md b/.changeset/wet-flowers-kiss.md deleted file mode 100644 index 9ef58af53634..000000000000 --- a/.changeset/wet-flowers-kiss.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Update the structure of the `configure` method of autoconfig frameworks - -Update the signature of the `configure` function of autoconfig frameworks (`AutoconfigDetails#Framework`), before they would return a `RawConfig` object to use to update the project's wrangler config file, now they return an object that includes the `RawConfig` and that can potentially also hold additional data relevant to the configuration. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 549aedd5c6b8..f48396b13e39 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/cli +## 1.1.4 + +### Patch Changes + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Builds package with esbuild `v0.27.0` + ## 1.1.3 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 89dfedb8e28b..0d31f3c147a0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/cli", - "version": "1.1.3", + "version": "1.1.4", "private": true, "description": "An SDK to build workers-sdk CLIs", "keywords": [ diff --git a/packages/containers-shared/CHANGELOG.md b/packages/containers-shared/CHANGELOG.md index 9a0547f9b51f..69bef73d90da 100644 --- a/packages/containers-shared/CHANGELOG.md +++ b/packages/containers-shared/CHANGELOG.md @@ -1,5 +1,17 @@ # @cloudflare/containers-shared +## 0.4.0 + +### Minor Changes + +- [#11360](https://github.com/cloudflare/workers-sdk/pull/11360) [`6b38532`](https://github.com/cloudflare/workers-sdk/commit/6b38532298a17fc4fd643dd8eb96647d9ef98e2f) Thanks [@emily-shen](https://github.com/emily-shen)! - Containers: Allow users to directly authenticate external image registries in local dev + + Previously, we always queried the API for stored registry credentials and used those to pull images. This means that if you are using an external registry (ECR, dockerhub) then you have to configure registry credentials remotely before running local dev. + + Now you can directly authenticate with your external registry provider (using `docker login` etc.), and Wrangler or Vite will be able to pull the image specified in the `containers.image` field in your config file. + + The Cloudflare-managed registry (registry.cloudflare.com) currently still does not work with the Vite plugin. + ## 0.3.0 ### Minor Changes diff --git a/packages/containers-shared/package.json b/packages/containers-shared/package.json index b15a59b7873c..700f3b9e6e33 100644 --- a/packages/containers-shared/package.json +++ b/packages/containers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/containers-shared", - "version": "0.3.0", + "version": "0.4.0", "private": true, "description": "Package that contains shared container functionality for Cloudflare Workers SDK.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/containers-shared#readme", diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index bf2a1cfbe8c9..c89387f8e078 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,65 @@ # create-cloudflare +## 2.57.0 + +### Minor Changes + +- [#11478](https://github.com/cloudflare/workers-sdk/pull/11478) [`2aec2b4`](https://github.com/cloudflare/workers-sdk/commit/2aec2b4e0ef710ec7e3897f823eca38d22991662) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Support SolidStart in autoconfig `--experimental` flow + +- [#11375](https://github.com/cloudflare/workers-sdk/pull/11375) [`9a1de61`](https://github.com/cloudflare/workers-sdk/commit/9a1de617412f610a332f2516f4d61bec12556919) Thanks [@penalosa](https://github.com/penalosa)! - Support TanStack Start in autoconfig `--experimental` flow + +- [#11330](https://github.com/cloudflare/workers-sdk/pull/11330) [`5a873bb`](https://github.com/cloudflare/workers-sdk/commit/5a873bbb0f018b02cf26a48da59c5389ef306589) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Support Angular in autoconfig `--experimental` flow + +### Patch Changes + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Builds package with esbuild `v0.27.0` + +- [#11385](https://github.com/cloudflare/workers-sdk/pull/11385) [`e51aa7a`](https://github.com/cloudflare/workers-sdk/commit/e51aa7a5573d602c43762331fae8b4f1e75cfb20) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------------------- | ------ | ------ | + | @tanstack/create-start | 0.36.2 | 0.37.2 | + +- [#11386](https://github.com/cloudflare/workers-sdk/pull/11386) [`8e8ab6f`](https://github.com/cloudflare/workers-sdk/commit/8e8ab6f2ce0cb3acf0545d72d86b3a5280b033a3) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------ | ------ | + | sv | 0.9.14 | 0.10.5 | + +- [#11473](https://github.com/cloudflare/workers-sdk/pull/11473) [`efac6c5`](https://github.com/cloudflare/workers-sdk/commit/efac6c58f9fadba777d584f20dfbea56ea9e772d) 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-vue | 3.18.2 | 3.18.3 | + +- [#11474](https://github.com/cloudflare/workers-sdk/pull/11474) [`b4dc50b`](https://github.com/cloudflare/workers-sdk/commit/b4dc50b1f761982dfcbbd4ec3432f114d7f84978) 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 | 21.0.0 | 21.0.1 | + +- [#11475](https://github.com/cloudflare/workers-sdk/pull/11475) [`452a300`](https://github.com/cloudflare/workers-sdk/commit/452a3009c16d2838a15b784c31d749018987ca4f) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------------------- | ------ | ------ | + | @tanstack/create-start | 0.37.2 | 0.40.0 | + +- [#11478](https://github.com/cloudflare/workers-sdk/pull/11478) [`2aec2b4`](https://github.com/cloudflare/workers-sdk/commit/2aec2b4e0ef710ec7e3897f823eca38d22991662) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Remove unnecessary nitropack installation + +- [#11480](https://github.com/cloudflare/workers-sdk/pull/11480) [`86d1e25`](https://github.com/cloudflare/workers-sdk/commit/86d1e257a58a1c9d98879c2deafa90a23f989d81) Thanks [@Hypercookie](https://github.com/Hypercookie)! - fix typos in `hello-world-durable-object` templates + +- [#11330](https://github.com/cloudflare/workers-sdk/pull/11330) [`5a873bb`](https://github.com/cloudflare/workers-sdk/commit/5a873bbb0f018b02cf26a48da59c5389ef306589) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Update the Angular starter to set a `preview` script instead of a `start` one + ## 2.56.0 ### Minor Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 8efae2066b09..f9d97815ba39 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.56.0", + "version": "2.57.0", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index a54b550fd0d5..c89ad9e3ceee 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,37 @@ # miniflare +## 4.20251128.0 + +### Patch Changes + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Builds package with esbuild `v0.27.0` + +- [#11419](https://github.com/cloudflare/workers-sdk/pull/11419) [`5ee3780`](https://github.com/cloudflare/workers-sdk/commit/5ee3780448935a24974e29a3b3837b639157e959) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "miniflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20251125.0 | 1.20251126.0 | + +- [#11444](https://github.com/cloudflare/workers-sdk/pull/11444) [`6e63b57`](https://github.com/cloudflare/workers-sdk/commit/6e63b57c699d56f29c2acf810b2c81baf88c0330) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "miniflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20251126.0 | 1.20251127.0 | + +- [#11457](https://github.com/cloudflare/workers-sdk/pull/11457) [`71ab562`](https://github.com/cloudflare/workers-sdk/commit/71ab562f4ba9f8ddc443dc33c486a48fc694e74e) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "miniflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20251127.0 | 1.20251128.0 | + +- [#11391](https://github.com/cloudflare/workers-sdk/pull/11391) [`5e937c1`](https://github.com/cloudflare/workers-sdk/commit/5e937c181d3189216b6e9fb47ba0776828236c91) Thanks [@pmiguel](https://github.com/pmiguel)! - Set minimum KV Cache TTL in Miniflare to 30 seconds + ## 4.20251125.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index bb75eb0e806d..cb25a45e4cf2 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20251125.0", + "version": "4.20251128.0", "description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", "keywords": [ "cloudflare", diff --git a/packages/pages-shared/CHANGELOG.md b/packages/pages-shared/CHANGELOG.md index 6fa8c4bab7e1..d2913a25c875 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,14 @@ # @cloudflare/pages-shared +## 0.13.90 + +### Patch Changes + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Builds package with esbuild `v0.27.0` + +- Updated dependencies [[`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f), [`5ee3780`](https://github.com/cloudflare/workers-sdk/commit/5ee3780448935a24974e29a3b3837b639157e959), [`6e63b57`](https://github.com/cloudflare/workers-sdk/commit/6e63b57c699d56f29c2acf810b2c81baf88c0330), [`71ab562`](https://github.com/cloudflare/workers-sdk/commit/71ab562f4ba9f8ddc443dc33c486a48fc694e74e), [`5e937c1`](https://github.com/cloudflare/workers-sdk/commit/5e937c181d3189216b6e9fb47ba0776828236c91)]: + - miniflare@4.20251128.0 + ## 0.13.89 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 71b4f56fbc28..341fcaa42874 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.89", + "version": "0.13.90", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/playground-preview-worker/CHANGELOG.md b/packages/playground-preview-worker/CHANGELOG.md index bed7ca9b85bf..150c6be0eeaa 100644 --- a/packages/playground-preview-worker/CHANGELOG.md +++ b/packages/playground-preview-worker/CHANGELOG.md @@ -1,5 +1,11 @@ # playground-preview-worker +## 0.2.0 + +### Minor Changes + +- [#11435](https://github.com/cloudflare/workers-sdk/pull/11435) [`ccf877e`](https://github.com/cloudflare/workers-sdk/commit/ccf877ea1a45e90e5aa7162624649220730920b9) Thanks [@penalosa](https://github.com/penalosa)! - Return `tail_url` from Worker uploads + ## 0.1.7 ### Patch Changes diff --git a/packages/playground-preview-worker/package.json b/packages/playground-preview-worker/package.json index d68984621e91..b467ab994ae3 100644 --- a/packages/playground-preview-worker/package.json +++ b/packages/playground-preview-worker/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/playground-preview-worker", - "version": "0.1.7", + "version": "0.2.0", "private": true, "scripts": { "build-middleware": "pnpm run build-middleware:common && pnpm run build-middleware:loader", diff --git a/packages/quick-edit/CHANGELOG.md b/packages/quick-edit/CHANGELOG.md index 05e60e18886b..9a5737f18470 100644 --- a/packages/quick-edit/CHANGELOG.md +++ b/packages/quick-edit/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/quick-edit +## 0.4.3 + +### Patch Changes + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Builds package with esbuild `v0.27.0` + ## 0.4.2 ### Patch Changes diff --git a/packages/quick-edit/package.json b/packages/quick-edit/package.json index b0ad60cf19f5..a93ab003e028 100644 --- a/packages/quick-edit/package.json +++ b/packages/quick-edit/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/quick-edit", - "version": "0.4.2", + "version": "0.4.3", "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/unenv-preset/CHANGELOG.md b/packages/unenv-preset/CHANGELOG.md index 10d56df3f8ed..d488c2a77896 100644 --- a/packages/unenv-preset/CHANGELOG.md +++ b/packages/unenv-preset/CHANGELOG.md @@ -1,5 +1,14 @@ # @cloudflare/unenv-preset +## 2.7.12 + +### Patch Changes + +- [#11397](https://github.com/cloudflare/workers-sdk/pull/11397) [`b154de2`](https://github.com/cloudflare/workers-sdk/commit/b154de2ffa93bf8eb448ae83a50e8bf3f8250398) Thanks [@vicb](https://github.com/vicb)! - Use more workerd native modules + + Node modules `punycode`, `trace_events`, `cluster`, `wasi`, and `domains` will be used when enabled + via a compatibility flag or by default when the compatibility date is greater or equal to 2025-12-04. + ## 2.7.11 ### Patch Changes diff --git a/packages/unenv-preset/package.json b/packages/unenv-preset/package.json index 041545b8aa19..b4e4aca0d6d6 100644 --- a/packages/unenv-preset/package.json +++ b/packages/unenv-preset/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/unenv-preset", - "version": "2.7.11", + "version": "2.7.12", "description": "cloudflare preset for unenv", "keywords": [ "cloudflare", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index 63601c3f019d..63d4a3e28ac5 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,99 @@ # @cloudflare/vite-plugin +## 1.16.0 + +### Minor Changes + +- [#11445](https://github.com/cloudflare/workers-sdk/pull/11445) [`c8e22c3`](https://github.com/cloudflare/workers-sdk/commit/c8e22c3124db1b4b8d3b8465295df8fb19f50f25) Thanks [@ascorbic](https://github.com/ascorbic)! - Allow Worker config to be customized in the plugin config + + The Vite plugin can now be used to generate a Worker configuration instead of needing a Wrangler config file, or to customize an existing user-provided configuration. + + This is done via a new `config` option on the plugin, which accepts either a partial Worker configuration object, or a function that receives the current configuration and returns a partial config object, or modifies the current config in place. + + ```ts + import cloudflare from "@cloudflare/vite-plugin"; + import { defineConfig } from "vite"; + + // Define a partial config object + + export default defineConfig({ + plugins: [ + cloudflare({ + config: { + compatibility_date: "2025-01-01", + }, + }), + ], + }); + + // Return a partial config from a function, conditional on some logic + + export default defineConfig({ + plugins: [ + cloudflare({ + config: (workerConfig) => { + if (workerConfig.name === "my-worker") { + return { + compatibility_flags: ["nodejs_compat"], + }; + } + }, + }), + ], + }); + + // Modify the config in place + + export default defineConfig({ + plugins: [ + cloudflare({ + config: (workerConfig) => { + workerConfig.compatibility_date = "2025-01-01"; + }, + }), + ], + }); + ``` + +- [#11360](https://github.com/cloudflare/workers-sdk/pull/11360) [`6b38532`](https://github.com/cloudflare/workers-sdk/commit/6b38532298a17fc4fd643dd8eb96647d9ef98e2f) Thanks [@emily-shen](https://github.com/emily-shen)! - Containers: Allow users to directly authenticate external image registries in local dev + + Previously, we always queried the API for stored registry credentials and used those to pull images. This means that if you are using an external registry (ECR, dockerhub) then you have to configure registry credentials remotely before running local dev. + + Now you can directly authenticate with your external registry provider (using `docker login` etc.), and Wrangler or Vite will be able to pull the image specified in the `containers.image` field in your config file. + + The Cloudflare-managed registry (registry.cloudflare.com) currently still does not work with the Vite plugin. + +- [#11408](https://github.com/cloudflare/workers-sdk/pull/11408) [`f29e699`](https://github.com/cloudflare/workers-sdk/commit/f29e699bc022ad0dde2cfddfbea6fa3906068d94) Thanks [@ascorbic](https://github.com/ascorbic)! - Support zero-config operation + + If the Vite plugin is used in a project without an existing Wrangler config file, it should be able to operate in "zero-config" mode by generating a default Wrangler configuration for an assets-only worker. + +- [#11417](https://github.com/cloudflare/workers-sdk/pull/11417) [`2ca70b1`](https://github.com/cloudflare/workers-sdk/commit/2ca70b1cba96f940ad1cda0c5371435edf0ba12e) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Register named entrypoints with the dev registry. + + This enables binding to [named entrypoints](https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/rpc/#named-entrypoints) defined in a `vite dev` session from another `vite dev` or `wrangler dev` session running locally. + +### Patch Changes + +- [#11383](https://github.com/cloudflare/workers-sdk/pull/11383) [`1d685cb`](https://github.com/cloudflare/workers-sdk/commit/1d685cbae8d37e6b06149563a89868e6a0ca2481) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Fix: Ensure that `vite dev` and `vite preview` hard error with an appropriate error message when a remote proxy session is required but if the connection with it fails to be established + + When using remote bindings, either with `vite dev` or `vite preview`, the remote proxy session necessary to connect to the remote resources can fail to be created. This might happen if for example you try to set a binding with some invalid values such as: + + ```js + MY_R2: { + type: "r2_bucket", + bucket_name: "non-existent", // No bucket called "non-existent" exists + remote: true, + }, + ``` + + Before, this could go undetected and cause unwanted behaviors such as requests handling hanging indefinitely. Now, a hard error will be thrown instead causing the vite process to crash, clearly indicating that something went wrong during the remote session's creation. + +- [#11009](https://github.com/cloudflare/workers-sdk/pull/11009) [`e4ddbc2`](https://github.com/cloudflare/workers-sdk/commit/e4ddbc2f0b64172552f58b148912cfe0b0aa5a71) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Make sure that the `account_id` present in the user's config file is used for remote bindings + +- Updated dependencies [[`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f), [`abe49d8`](https://github.com/cloudflare/workers-sdk/commit/abe49d88ba9db6a033a779e186972901e00a81de), [`b154de2`](https://github.com/cloudflare/workers-sdk/commit/b154de2ffa93bf8eb448ae83a50e8bf3f8250398), [`f29e699`](https://github.com/cloudflare/workers-sdk/commit/f29e699bc022ad0dde2cfddfbea6fa3906068d94), [`5ee3780`](https://github.com/cloudflare/workers-sdk/commit/5ee3780448935a24974e29a3b3837b639157e959), [`6e63b57`](https://github.com/cloudflare/workers-sdk/commit/6e63b57c699d56f29c2acf810b2c81baf88c0330), [`71ab562`](https://github.com/cloudflare/workers-sdk/commit/71ab562f4ba9f8ddc443dc33c486a48fc694e74e), [`76f0540`](https://github.com/cloudflare/workers-sdk/commit/76f05405f990b207f90669fa4046db8806de1267), [`2342d2f`](https://github.com/cloudflare/workers-sdk/commit/2342d2f618b50c508bf5b0bfbab547a801d82d9f), [`5e937c1`](https://github.com/cloudflare/workers-sdk/commit/5e937c181d3189216b6e9fb47ba0776828236c91), [`9a1de61`](https://github.com/cloudflare/workers-sdk/commit/9a1de617412f610a332f2516f4d61bec12556919), [`6b38532`](https://github.com/cloudflare/workers-sdk/commit/6b38532298a17fc4fd643dd8eb96647d9ef98e2f), [`e4ddbc2`](https://github.com/cloudflare/workers-sdk/commit/e4ddbc2f0b64172552f58b148912cfe0b0aa5a71), [`2aec2b4`](https://github.com/cloudflare/workers-sdk/commit/2aec2b4e0ef710ec7e3897f823eca38d22991662), [`695fa25`](https://github.com/cloudflare/workers-sdk/commit/695fa25ae7eb5c66db1b8be7bd59a53a5ee72c1c), [`504e258`](https://github.com/cloudflare/workers-sdk/commit/504e25840cc34bedffcdf3a0f0fcd6fe3dea7f3f), [`5a873bb`](https://github.com/cloudflare/workers-sdk/commit/5a873bbb0f018b02cf26a48da59c5389ef306589), [`d25f7e2`](https://github.com/cloudflare/workers-sdk/commit/d25f7e277f6228c50b7a6c780153474c6a58f236), [`1cfae2d`](https://github.com/cloudflare/workers-sdk/commit/1cfae2d079dd50163545ba914296da1d8ae36d83), [`e7b690b`](https://github.com/cloudflare/workers-sdk/commit/e7b690b6463d49a0c5e9159442533cfcb47e1ee6), [`1d685cb`](https://github.com/cloudflare/workers-sdk/commit/1d685cbae8d37e6b06149563a89868e6a0ca2481), [`edf896d`](https://github.com/cloudflare/workers-sdk/commit/edf896d3bdf4f1a4a085216ee0f06750a5a3d0b8), [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f), [`c47ad11`](https://github.com/cloudflare/workers-sdk/commit/c47ad114f5e5d111a005bc04feb587a1261f4525), [`a977701`](https://github.com/cloudflare/workers-sdk/commit/a9777016bc199f1409324f8383e2b3ab43d1c212), [`9eaa9e2`](https://github.com/cloudflare/workers-sdk/commit/9eaa9e2350893f145ce405f35b04dd8919db6699)]: + - miniflare@4.20251128.0 + - wrangler@4.52.0 + - @cloudflare/unenv-preset@2.7.12 + ## 1.15.3 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index bc7581cda0cb..99c11d92d0e3 100644 --- a/packages/vite-plugin-cloudflare/package.json +++ b/packages/vite-plugin-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vite-plugin", - "version": "1.15.3", + "version": "1.16.0", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 1f56c1fe11f2..52da7a9bbbba 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-pool-workers +## 0.10.12 + +### Patch Changes + +- Updated dependencies [[`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f), [`abe49d8`](https://github.com/cloudflare/workers-sdk/commit/abe49d88ba9db6a033a779e186972901e00a81de), [`b154de2`](https://github.com/cloudflare/workers-sdk/commit/b154de2ffa93bf8eb448ae83a50e8bf3f8250398), [`f29e699`](https://github.com/cloudflare/workers-sdk/commit/f29e699bc022ad0dde2cfddfbea6fa3906068d94), [`5ee3780`](https://github.com/cloudflare/workers-sdk/commit/5ee3780448935a24974e29a3b3837b639157e959), [`6e63b57`](https://github.com/cloudflare/workers-sdk/commit/6e63b57c699d56f29c2acf810b2c81baf88c0330), [`71ab562`](https://github.com/cloudflare/workers-sdk/commit/71ab562f4ba9f8ddc443dc33c486a48fc694e74e), [`76f0540`](https://github.com/cloudflare/workers-sdk/commit/76f05405f990b207f90669fa4046db8806de1267), [`2342d2f`](https://github.com/cloudflare/workers-sdk/commit/2342d2f618b50c508bf5b0bfbab547a801d82d9f), [`5e937c1`](https://github.com/cloudflare/workers-sdk/commit/5e937c181d3189216b6e9fb47ba0776828236c91), [`9a1de61`](https://github.com/cloudflare/workers-sdk/commit/9a1de617412f610a332f2516f4d61bec12556919), [`6b38532`](https://github.com/cloudflare/workers-sdk/commit/6b38532298a17fc4fd643dd8eb96647d9ef98e2f), [`e4ddbc2`](https://github.com/cloudflare/workers-sdk/commit/e4ddbc2f0b64172552f58b148912cfe0b0aa5a71), [`2aec2b4`](https://github.com/cloudflare/workers-sdk/commit/2aec2b4e0ef710ec7e3897f823eca38d22991662), [`695fa25`](https://github.com/cloudflare/workers-sdk/commit/695fa25ae7eb5c66db1b8be7bd59a53a5ee72c1c), [`504e258`](https://github.com/cloudflare/workers-sdk/commit/504e25840cc34bedffcdf3a0f0fcd6fe3dea7f3f), [`5a873bb`](https://github.com/cloudflare/workers-sdk/commit/5a873bbb0f018b02cf26a48da59c5389ef306589), [`d25f7e2`](https://github.com/cloudflare/workers-sdk/commit/d25f7e277f6228c50b7a6c780153474c6a58f236), [`1cfae2d`](https://github.com/cloudflare/workers-sdk/commit/1cfae2d079dd50163545ba914296da1d8ae36d83), [`e7b690b`](https://github.com/cloudflare/workers-sdk/commit/e7b690b6463d49a0c5e9159442533cfcb47e1ee6), [`1d685cb`](https://github.com/cloudflare/workers-sdk/commit/1d685cbae8d37e6b06149563a89868e6a0ca2481), [`edf896d`](https://github.com/cloudflare/workers-sdk/commit/edf896d3bdf4f1a4a085216ee0f06750a5a3d0b8), [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f), [`c47ad11`](https://github.com/cloudflare/workers-sdk/commit/c47ad114f5e5d111a005bc04feb587a1261f4525), [`a977701`](https://github.com/cloudflare/workers-sdk/commit/a9777016bc199f1409324f8383e2b3ab43d1c212), [`9eaa9e2`](https://github.com/cloudflare/workers-sdk/commit/9eaa9e2350893f145ce405f35b04dd8919db6699)]: + - miniflare@4.20251128.0 + - wrangler@4.52.0 + ## 0.10.11 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 0f26959e1033..0d6f2e4409cb 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.10.11", + "version": "0.10.12", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/workers-playground/CHANGELOG.md b/packages/workers-playground/CHANGELOG.md index 1af152918b6e..9cc6a41099b4 100644 --- a/packages/workers-playground/CHANGELOG.md +++ b/packages/workers-playground/CHANGELOG.md @@ -1,5 +1,11 @@ # workers-playground +## 0.2.6 + +### Patch Changes + +- [#11435](https://github.com/cloudflare/workers-sdk/pull/11435) [`ccf877e`](https://github.com/cloudflare/workers-sdk/commit/ccf877ea1a45e90e5aa7162624649220730920b9) Thanks [@penalosa](https://github.com/penalosa)! - Use `tail_url` to power Workers Playground logging + ## 0.2.5 ### Patch Changes diff --git a/packages/workers-playground/package.json b/packages/workers-playground/package.json index c520de6bf48d..d42165221742 100644 --- a/packages/workers-playground/package.json +++ b/packages/workers-playground/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-playground", - "version": "0.2.5", + "version": "0.2.6", "private": true, "type": "module", "scripts": { diff --git a/packages/workers-shared/CHANGELOG.md b/packages/workers-shared/CHANGELOG.md index ba381c0ce400..dd0e0dd1f326 100644 --- a/packages/workers-shared/CHANGELOG.md +++ b/packages/workers-shared/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/workers-shared +## 0.18.9 + +### Patch Changes + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Builds package with esbuild `v0.27.0` + ## 0.18.8 ### Patch Changes diff --git a/packages/workers-shared/package.json b/packages/workers-shared/package.json index 07b77c54cae5..ab3e61a482eb 100644 --- a/packages/workers-shared/package.json +++ b/packages/workers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-shared", - "version": "0.18.8", + "version": "0.18.9", "private": true, "description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workers.", "keywords": [ diff --git a/packages/workflows-shared/CHANGELOG.md b/packages/workflows-shared/CHANGELOG.md index ae967bd167cc..7adae85971fc 100644 --- a/packages/workflows-shared/CHANGELOG.md +++ b/packages/workflows-shared/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/workflows-shared +## 0.3.9 + +### Patch Changes + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Builds package with esbuild `v0.27.0` + ## 0.3.8 ### Patch Changes diff --git a/packages/workflows-shared/package.json b/packages/workflows-shared/package.json index d7e8a141afcb..9695cc88a9e9 100644 --- a/packages/workflows-shared/package.json +++ b/packages/workflows-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workflows-shared", - "version": "0.3.8", + "version": "0.3.9", "private": true, "description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workflows.", "keywords": [ diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 3f669958cd24..44a23716748e 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,124 @@ # wrangler +## 4.52.0 + +### Minor Changes + +- [#11416](https://github.com/cloudflare/workers-sdk/pull/11416) [`abe49d8`](https://github.com/cloudflare/workers-sdk/commit/abe49d88ba9db6a033a779e186972901e00a81de) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Remove the `wrangler deploy`'s `--x-remote-diff-check` experimental flag + + The remote diffing feature has been enabled by default for a while and its functionality is stable, as a result the experimental flag (only available for option-out of the feature right now) has been removed. + +- [#11408](https://github.com/cloudflare/workers-sdk/pull/11408) [`f29e699`](https://github.com/cloudflare/workers-sdk/commit/f29e699bc022ad0dde2cfddfbea6fa3906068d94) Thanks [@ascorbic](https://github.com/ascorbic)! - Export unstable helpers useful for generating wrangler config + +- [#11389](https://github.com/cloudflare/workers-sdk/pull/11389) [`2342d2f`](https://github.com/cloudflare/workers-sdk/commit/2342d2f618b50c508bf5b0bfbab547a801d82d9f) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Improve the `wrangler deploy` flow to also check for potential overrides of [secrets](https://developers.cloudflare.com/workers/configuration/secrets/). + + Now when you run `wrangler deploy` Wrangler will check the remote secrets for your workers for conflicts with the names of the bindings you're about to deploy. If there are conflicts, Wrangler will warn you and ask you for your permission before proceeding. + +- [#11375](https://github.com/cloudflare/workers-sdk/pull/11375) [`9a1de61`](https://github.com/cloudflare/workers-sdk/commit/9a1de617412f610a332f2516f4d61bec12556919) Thanks [@penalosa](https://github.com/penalosa)! - Support TanStack Start in autoconfig + +- [#11360](https://github.com/cloudflare/workers-sdk/pull/11360) [`6b38532`](https://github.com/cloudflare/workers-sdk/commit/6b38532298a17fc4fd643dd8eb96647d9ef98e2f) Thanks [@emily-shen](https://github.com/emily-shen)! - Containers: Allow users to directly authenticate external image registries in local dev + + Previously, we always queried the API for stored registry credentials and used those to pull images. This means that if you are using an external registry (ECR, dockerhub) then you have to configure registry credentials remotely before running local dev. + + Now you can directly authenticate with your external registry provider (using `docker login` etc.), and Wrangler or Vite will be able to pull the image specified in the `containers.image` field in your config file. + + The Cloudflare-managed registry (registry.cloudflare.com) currently still does not work with the Vite plugin. + +- [#11009](https://github.com/cloudflare/workers-sdk/pull/11009) [`e4ddbc2`](https://github.com/cloudflare/workers-sdk/commit/e4ddbc2f0b64172552f58b148912cfe0b0aa5a71) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Allow users to provide an `account_id` as part of the `WorkerConfigObject` they pass to `maybeStartOrUpdateRemoteProxySession` + +- [#11478](https://github.com/cloudflare/workers-sdk/pull/11478) [`2aec2b4`](https://github.com/cloudflare/workers-sdk/commit/2aec2b4e0ef710ec7e3897f823eca38d22991662) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Support SolidStart in autoconfig + +- [#11330](https://github.com/cloudflare/workers-sdk/pull/11330) [`5a873bb`](https://github.com/cloudflare/workers-sdk/commit/5a873bbb0f018b02cf26a48da59c5389ef306589) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Support Angular projects in autoconfig + +- [#11449](https://github.com/cloudflare/workers-sdk/pull/11449) [`e7b690b`](https://github.com/cloudflare/workers-sdk/commit/e7b690b6463d49a0c5e9159442533cfcb47e1ee6) Thanks [@penalosa](https://github.com/penalosa)! - Delegate generation of HTTPS certificates to Miniflare + +- [#11448](https://github.com/cloudflare/workers-sdk/pull/11448) [`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f) Thanks [@edmundhung](https://github.com/edmundhung)! - Bumps `esbuild` version to [0.27.0](https://github.com/evanw/esbuild/releases/tag/v0.27.0) + +- [#11335](https://github.com/cloudflare/workers-sdk/pull/11335) [`c47ad11`](https://github.com/cloudflare/workers-sdk/commit/c47ad114f5e5d111a005bc04feb587a1261f4525) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Support internal-only undocumented `cross_account_grant` service binding property + +- [#11346](https://github.com/cloudflare/workers-sdk/pull/11346) [`a977701`](https://github.com/cloudflare/workers-sdk/commit/a9777016bc199f1409324f8383e2b3ab43d1c212) Thanks [@penalosa](https://github.com/penalosa)! - We're soon going to make backend changes that mean that `wrangler dev --remote` sessions will no longer have an associated inspector connection. In advance of these backend changes, we've enabled a new `wrangler tail`-based logging strategy for `wrangler dev --remote`. For now, you can revert to the previous logging strategy with `wrangler dev --remote --no-x-tail-logs`, but in future it will not be possible to revert. + + The impact of this will be that logs that were previously available via devtools will now be provided directly to the Wrangler console and it will no longer be possible to interact with the remote Worker via the devtools console. + +### Patch Changes + +- [#11397](https://github.com/cloudflare/workers-sdk/pull/11397) [`b154de2`](https://github.com/cloudflare/workers-sdk/commit/b154de2ffa93bf8eb448ae83a50e8bf3f8250398) Thanks [@vicb](https://github.com/vicb)! - Use more workerd native modules + + Node modules `punycode`, `trace_events`, `cluster`, `wasi`, and `domains` will be used when enabled + via a compatibility flag or by default when the compatibility date is greater or equal to 2025-12-04. + +- [#11452](https://github.com/cloudflare/workers-sdk/pull/11452) [`76f0540`](https://github.com/cloudflare/workers-sdk/commit/76f05405f990b207f90669fa4046db8806de1267) Thanks [@penalosa](https://github.com/penalosa)! - Remove uses of `eval()` from the Wrangler bundle + +- [#11284](https://github.com/cloudflare/workers-sdk/pull/11284) [`695fa25`](https://github.com/cloudflare/workers-sdk/commit/695fa25ae7eb5c66db1b8be7bd59a53a5ee72c1c) Thanks [@dom96](https://github.com/dom96)! - Removes duplicate module warnings when vendoring Python packages + +- [#11249](https://github.com/cloudflare/workers-sdk/pull/11249) [`504e258`](https://github.com/cloudflare/workers-sdk/commit/504e25840cc34bedffcdf3a0f0fcd6fe3dea7f3f) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: Generalize autoconfig wording + + Generalize the autoconfig wording so that when it doesn't specifically mention "deployment" (since it can be run via `wrangler setup` or the autoconfig programmatic API) + +- [#11455](https://github.com/cloudflare/workers-sdk/pull/11455) [`d25f7e2`](https://github.com/cloudflare/workers-sdk/commit/d25f7e277f6228c50b7a6c780153474c6a58f236) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Fix autoconfig using absolute paths for static projects + + Running the experimental autoconfig logic through `wrangler setup` and `wrangler deploy --x-autoconfig` on a static project results in absolute paths being used. This is incorrect, especially when such paths are being included in the generated wrangler.jsonc. The changes here fix the autoconfig logic to use paths relative to the project's root instead. + + For example given a project located in `/Users/usr/projects/sites/my-static-site`, before: + + ```ts + // wrangler.jsonc at /Users/usr/projects/sites/my-static-site + { + "$schema": "node_modules/wrangler/config-schema.json", + "name": "static", + "compatibility_date": "2025-11-27", + "observability": { + "enabled": true + }, + "assets": { + "directory": "/Users/usr/projects/sites/my-static-site/public" + } + } + ``` + + and after: + + ```ts + // wrangler.jsonc at /Users/usr/projects/sites/my-static-site + { + "$schema": "node_modules/wrangler/config-schema.json", + "name": "static", + "compatibility_date": "2025-11-27", + "observability": { + "enabled": true + }, + "assets": { + "directory": "public" + } + } + ``` + +- [#11484](https://github.com/cloudflare/workers-sdk/pull/11484) [`1cfae2d`](https://github.com/cloudflare/workers-sdk/commit/1cfae2d079dd50163545ba914296da1d8ae36d83) Thanks [@edmundhung](https://github.com/edmundhung)! - Explicitly close FileHandle in `wrangler d1 execute` to support Node 25 + +- [#11383](https://github.com/cloudflare/workers-sdk/pull/11383) [`1d685cb`](https://github.com/cloudflare/workers-sdk/commit/1d685cbae8d37e6b06149563a89868e6a0ca2481) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Fix: ensure that when a remote proxy session creation fails a hard error is surfaced to the user (both in `wrangler dev` and in the programmatic API). + + When using remote bindings, either with `wrangler dev` or via `startRemoteProxySession`/`maybeStartOrUpdateRemoteProxySession` the remote proxy session necessary to connect to the remote resources can fail to be created, this might happen if for example you try to set a binding with some invalid values such as: + + ```js + MY_R2: { + type: "r2_bucket", + bucket_name: "non-existent", // No bucket called "non-existent" exists + remote: true, + }, + ``` + + Before this could go undetected and cause unwanted behaviors such as requests handling hanging indefinitely, now wrangler will instead crash (or throw a hard error ion the programmatic API), clearly indicating that something went wrong during the remote session's creation. + +- [#11366](https://github.com/cloudflare/workers-sdk/pull/11366) [`edf896d`](https://github.com/cloudflare/workers-sdk/commit/edf896d3bdf4f1a4a085216ee0f06750a5a3d0b8) Thanks [@ascorbic](https://github.com/ascorbic)! - Use correctly-formatted names when displaying detected framework details + +- [#11461](https://github.com/cloudflare/workers-sdk/pull/11461) [`9eaa9e2`](https://github.com/cloudflare/workers-sdk/commit/9eaa9e2350893f145ce405f35b04dd8919db6699) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Update the structure of the `configure` method of autoconfig frameworks + + Update the signature of the `configure` function of autoconfig frameworks (`AutoconfigDetails#Framework`), before they would return a `RawConfig` object to use to update the project's wrangler config file, now they return an object that includes the `RawConfig` and that can potentially also hold additional data relevant to the configuration. + +- Updated dependencies [[`2b4813b`](https://github.com/cloudflare/workers-sdk/commit/2b4813b18076817bb739491246313c32b403651f), [`b154de2`](https://github.com/cloudflare/workers-sdk/commit/b154de2ffa93bf8eb448ae83a50e8bf3f8250398), [`5ee3780`](https://github.com/cloudflare/workers-sdk/commit/5ee3780448935a24974e29a3b3837b639157e959), [`6e63b57`](https://github.com/cloudflare/workers-sdk/commit/6e63b57c699d56f29c2acf810b2c81baf88c0330), [`71ab562`](https://github.com/cloudflare/workers-sdk/commit/71ab562f4ba9f8ddc443dc33c486a48fc694e74e), [`5e937c1`](https://github.com/cloudflare/workers-sdk/commit/5e937c181d3189216b6e9fb47ba0776828236c91)]: + - miniflare@4.20251128.0 + - @cloudflare/unenv-preset@2.7.12 + ## 4.51.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 23cd8bae4fc8..4e7a938680da 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.51.0", + "version": "4.52.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",