diff --git a/.changeset/beige-lamps-leave.md b/.changeset/beige-lamps-leave.md deleted file mode 100644 index 35222439ac40..000000000000 --- a/.changeset/beige-lamps-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Fix Durable Objects transfer migration validation diff --git a/.changeset/c3-frameworks-update-7822.md b/.changeset/c3-frameworks-update-7822.md deleted file mode 100644 index aa84aef17d37..000000000000 --- a/.changeset/c3-frameworks-update-7822.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.6.11 | 0.6.13 | diff --git a/.changeset/c3-frameworks-update-7823.md b/.changeset/c3-frameworks-update-7823.md deleted file mode 100644 index 7aca3c455005..000000000000 --- a/.changeset/c3-frameworks-update-7823.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-next-app | 15.1.4 | 15.1.5 | diff --git a/.changeset/c3-frameworks-update-7824.md b/.changeset/c3-frameworks-update-7824.md deleted file mode 100644 index a34b11c36fd9..000000000000 --- a/.changeset/c3-frameworks-update-7824.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: update dependencies of "create-cloudflare" package - -The following dependency versions have been updated: - -| Dependency | From | To | -| --------------- | ------ | ------ | -| @angular/create | 19.0.7 | 19.1.2 | diff --git a/.changeset/chilled-maps-learn.md b/.changeset/chilled-maps-learn.md deleted file mode 100644 index 46e07600f26f..000000000000 --- a/.changeset/chilled-maps-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Initial beta release of the Cloudflare Vite plugin diff --git a/.changeset/cuddly-radios-rule.md b/.changeset/cuddly-radios-rule.md deleted file mode 100644 index 9044f99c2c3f..000000000000 --- a/.changeset/cuddly-radios-rule.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: bump `vitest-pool-workers` version range in templates - -This resolves [#7815](https://github.com/cloudflare/workers-sdk/issues/7815), where users encountered an error about missing `nodejs_compat` or `nodejs_compat_v2` compatibility flags when running Vitest on a fresh Hello World project created with `create-cloudflare`. diff --git a/.changeset/dry-snakes-deliver.md b/.changeset/dry-snakes-deliver.md deleted file mode 100644 index b8f13f688537..000000000000 --- a/.changeset/dry-snakes-deliver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix(wrangler): fix wrangler config schema defaults diff --git a/.changeset/gentle-sloths-eat.md b/.changeset/gentle-sloths-eat.md deleted file mode 100644 index 047e0bc00f0b..000000000000 --- a/.changeset/gentle-sloths-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": minor ---- - -Support service bindings from Pages projects to Workers in a single `workerd` instance. To try it out, pass multiple `-c` flags to Wrangler: i.e. `wrangler pages dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first `-c` flag must point to your Pages config file, and the rest should point to Workers that are bound to your Pages project. diff --git a/.changeset/green-mice-carry.md b/.changeset/green-mice-carry.md deleted file mode 100644 index 317f448b0c3d..000000000000 --- a/.changeset/green-mice-carry.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"wrangler": patch ---- - -Relax the messaging when Wrangler uses redirected configuration - -Previously the messaging was rendered as a warning, which implied that the user -had done something wrong. Now it is just a regular info message. diff --git a/.changeset/heavy-parents-switch.md b/.changeset/heavy-parents-switch.md deleted file mode 100644 index 8ed033dffe41..000000000000 --- a/.changeset/heavy-parents-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/workers-shared": patch ---- - -fix: fix analytics not being logged for `asset-worker` in the case of a successful request. diff --git a/.changeset/red-comics-sit.md b/.changeset/red-comics-sit.md deleted file mode 100644 index 705d1ffcbcce..000000000000 --- a/.changeset/red-comics-sit.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@cloudflare/unenv-preset": patch -"wrangler": patch ---- - -chore: update unenv to 2.0.0-rc.0 - -Pull a couple changes in node:timers - -- unjs/unenv#384 fix function bindings in node:timer -- unjs/unenv#385 implement active and \_unrefActive in node:timer - -The unenv update also includes #unjs/unenv/381 which implements -`stdout`, `stderr` and `stdin` of `node:process` with `node:tty` diff --git a/.changeset/thick-dots-sit.md b/.changeset/thick-dots-sit.md deleted file mode 100644 index 560915e747ed..000000000000 --- a/.changeset/thick-dots-sit.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -"wrangler": minor ---- - -add support for assets bindings to `getPlatformProxy` - -this change makes sure that that `getPlatformProxy`, when the input configuration -file contains an assets field, correctly returns the appropriate asset binding proxy - -example: - -```json -// wrangler.json -{ - "name": "my-worker", - "assets": { - "directory": "./public/", - "binding": "ASSETS" - }, - "vars": { - "MY_VAR": "my-var" - } -} -``` - -```js -import { getPlatformProxy } from "wrangler"; - -const { env, dispose } = await getPlatformProxy(); - -if (env.ASSETS) { - const text = await (await env.ASSETS.fetch("http://0.0.0.0/file.txt")).text(); - console.log(text); // logs the content of file.txt -} - -await dispose(); -``` diff --git a/.changeset/twenty-ears-rescue.md b/.changeset/twenty-ears-rescue.md deleted file mode 100644 index 0c75eee6ca39..000000000000 --- a/.changeset/twenty-ears-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -improve multi account error message in non-interactive mode diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 1c90d1be4e99..f597968be8ef 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,37 @@ # create-cloudflare +## 2.37.2 + +### Patch Changes + +- [#7822](https://github.com/cloudflare/workers-sdk/pull/7822) [`c6e8a1c`](https://github.com/cloudflare/workers-sdk/commit/c6e8a1cccd6355fc2c4864fb1bc7b6da1c97704d) 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.6.11 | 0.6.13 | + +- [#7823](https://github.com/cloudflare/workers-sdk/pull/7823) [`4f84172`](https://github.com/cloudflare/workers-sdk/commit/4f84172314d217cce94f1e071bb0a300f8d787c1) 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-next-app | 15.1.4 | 15.1.5 | + +- [#7824](https://github.com/cloudflare/workers-sdk/pull/7824) [`794b446`](https://github.com/cloudflare/workers-sdk/commit/794b44606dc1e157ad2447a9e580578b79567678) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package + + The following dependency versions have been updated: + + | Dependency | From | To | + | --------------- | ------ | ------ | + | @angular/create | 19.0.7 | 19.1.2 | + +- [#7827](https://github.com/cloudflare/workers-sdk/pull/7827) [`6c2e943`](https://github.com/cloudflare/workers-sdk/commit/6c2e94318dd079f9cba3f763e67ba6698ef597f6) Thanks [@edmundhung](https://github.com/edmundhung)! - fix: bump `vitest-pool-workers` version range in templates + + This resolves [#7815](https://github.com/cloudflare/workers-sdk/issues/7815), where users encountered an error about missing `nodejs_compat` or `nodejs_compat_v2` compatibility flags when running Vitest on a fresh Hello World project created with `create-cloudflare`. + ## 2.37.1 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index df76020e4854..5fcd69bb20f0 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.37.1", + "version": "2.37.2", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/unenv-preset/CHANGELOG.md b/packages/unenv-preset/CHANGELOG.md index c3bc157542a0..61a5f89a8c5c 100644 --- a/packages/unenv-preset/CHANGELOG.md +++ b/packages/unenv-preset/CHANGELOG.md @@ -1,5 +1,19 @@ # @cloudflare/unenv-preset +## 1.0.2 + +### Patch Changes + +- [#7806](https://github.com/cloudflare/workers-sdk/pull/7806) [`d7adb50`](https://github.com/cloudflare/workers-sdk/commit/d7adb50fcc9e3c509365fed8a86df485ea9f739b) Thanks [@vicb](https://github.com/vicb)! - chore: update unenv to 2.0.0-rc.0 + + Pull a couple changes in node:timers + + - unjs/unenv#384 fix function bindings in node:timer + - unjs/unenv#385 implement active and \_unrefActive in node:timer + + The unenv update also includes #unjs/unenv/381 which implements + `stdout`, `stderr` and `stdin` of `node:process` with `node:tty` + ## 1.0.1 ### Patch Changes diff --git a/packages/unenv-preset/package.json b/packages/unenv-preset/package.json index b8391a590de4..a8d6f9e8d995 100644 --- a/packages/unenv-preset/package.json +++ b/packages/unenv-preset/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/unenv-preset", - "version": "1.0.1", + "version": "1.0.2", "description": "cloudflare preset for unenv", "keywords": [ "cloudflare", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md new file mode 100644 index 000000000000..8ec84f88717e --- /dev/null +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -0,0 +1,11 @@ +# @cloudflare/vite-plugin + +## 0.0.1 + +### Patch Changes + +- [#7763](https://github.com/cloudflare/workers-sdk/pull/7763) [`7e04493`](https://github.com/cloudflare/workers-sdk/commit/7e0449340caba36b8db0e8121623bf286acacd3b) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Initial beta release of the Cloudflare Vite plugin + +- Updated dependencies [[`cccfe51`](https://github.com/cloudflare/workers-sdk/commit/cccfe51ca6a18a2a69bb6c7fa7066c92c9d704af), [`fcaa02c`](https://github.com/cloudflare/workers-sdk/commit/fcaa02cdf4f3f648d7218e8f7fb411a2324eebb5), [`26fa9e8`](https://github.com/cloudflare/workers-sdk/commit/26fa9e80279401ba5eea4e1522597953441402f2), [`97d2a1b`](https://github.com/cloudflare/workers-sdk/commit/97d2a1bb56ea0bb94531f9c41b737ba43ed5996f), [`d7adb50`](https://github.com/cloudflare/workers-sdk/commit/d7adb50fcc9e3c509365fed8a86df485ea9f739b), [`f6cc029`](https://github.com/cloudflare/workers-sdk/commit/f6cc0293d3a6bf45a323b6d9718b7162149cc84f), [`9077a67`](https://github.com/cloudflare/workers-sdk/commit/9077a6748a30d5f24c9b7cbdc3a6514fec5aa66c)]: + - wrangler@3.104.0 + - miniflare@3.20241230.2 diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index fe928b18d25b..df11147bb68a 100644 --- a/packages/vite-plugin-cloudflare/package.json +++ b/packages/vite-plugin-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vite-plugin", - "version": "0.0.0", + "version": "0.0.1", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 867afc08f2c7..48f4f2e0e26c 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-pool-workers +## 0.6.5 + +### Patch Changes + +- Updated dependencies [[`cccfe51`](https://github.com/cloudflare/workers-sdk/commit/cccfe51ca6a18a2a69bb6c7fa7066c92c9d704af), [`fcaa02c`](https://github.com/cloudflare/workers-sdk/commit/fcaa02cdf4f3f648d7218e8f7fb411a2324eebb5), [`26fa9e8`](https://github.com/cloudflare/workers-sdk/commit/26fa9e80279401ba5eea4e1522597953441402f2), [`97d2a1b`](https://github.com/cloudflare/workers-sdk/commit/97d2a1bb56ea0bb94531f9c41b737ba43ed5996f), [`d7adb50`](https://github.com/cloudflare/workers-sdk/commit/d7adb50fcc9e3c509365fed8a86df485ea9f739b), [`f6cc029`](https://github.com/cloudflare/workers-sdk/commit/f6cc0293d3a6bf45a323b6d9718b7162149cc84f), [`9077a67`](https://github.com/cloudflare/workers-sdk/commit/9077a6748a30d5f24c9b7cbdc3a6514fec5aa66c)]: + - wrangler@3.104.0 + - miniflare@3.20241230.2 + ## 0.6.4 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index d2674530e5c1..01ac5bb18ba7 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.6.4", + "version": "0.6.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-shared/CHANGELOG.md b/packages/workers-shared/CHANGELOG.md index ba87c7d40960..78af702ae912 100644 --- a/packages/workers-shared/CHANGELOG.md +++ b/packages/workers-shared/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/workers-shared +## 0.12.2 + +### Patch Changes + +- [#7808](https://github.com/cloudflare/workers-sdk/pull/7808) [`7faabeb`](https://github.com/cloudflare/workers-sdk/commit/7faabeb1d1534818d0e93fe4e4710e9b77af1bfb) Thanks [@WalshyDev](https://github.com/WalshyDev)! - fix: fix analytics not being logged for `asset-worker` in the case of a successful request. + ## 0.12.1 ### Patch Changes diff --git a/packages/workers-shared/package.json b/packages/workers-shared/package.json index 5ef38a70ee61..38a583f63e8b 100644 --- a/packages/workers-shared/package.json +++ b/packages/workers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-shared", - "version": "0.12.1", + "version": "0.12.2", "description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workers.", "keywords": [ "cloudflare", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 32fd1477a6b1..16d3f411085b 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,73 @@ # wrangler +## 3.104.0 + +### Minor Changes + +- [#7715](https://github.com/cloudflare/workers-sdk/pull/7715) [`26fa9e8`](https://github.com/cloudflare/workers-sdk/commit/26fa9e80279401ba5eea4e1522597953441402f2) Thanks [@penalosa](https://github.com/penalosa)! - Support service bindings from Pages projects to Workers in a single `workerd` instance. To try it out, pass multiple `-c` flags to Wrangler: i.e. `wrangler pages dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first `-c` flag must point to your Pages config file, and the rest should point to Workers that are bound to your Pages project. + +- [#7816](https://github.com/cloudflare/workers-sdk/pull/7816) [`f6cc029`](https://github.com/cloudflare/workers-sdk/commit/f6cc0293d3a6bf45a323b6d9718b7162149cc84f) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add support for assets bindings to `getPlatformProxy` + + this change makes sure that that `getPlatformProxy`, when the input configuration + file contains an assets field, correctly returns the appropriate asset binding proxy + + example: + + ```json + // wrangler.json + { + "name": "my-worker", + "assets": { + "directory": "./public/", + "binding": "ASSETS" + }, + "vars": { + "MY_VAR": "my-var" + } + } + ``` + + ```js + import { getPlatformProxy } from "wrangler"; + + const { env, dispose } = await getPlatformProxy(); + + if (env.ASSETS) { + const text = await ( + await env.ASSETS.fetch("http://0.0.0.0/file.txt") + ).text(); + console.log(text); // logs the content of file.txt + } + + await dispose(); + ``` + +### Patch Changes + +- [#7785](https://github.com/cloudflare/workers-sdk/pull/7785) [`cccfe51`](https://github.com/cloudflare/workers-sdk/commit/cccfe51ca6a18a2a69bb6c7fa7066c92c9d704af) Thanks [@joshthoward](https://github.com/joshthoward)! - Fix Durable Objects transfer migration validation + +- [#7821](https://github.com/cloudflare/workers-sdk/pull/7821) [`fcaa02c`](https://github.com/cloudflare/workers-sdk/commit/fcaa02cdf4f3f648d7218e8f7fb411a2324eebb5) Thanks [@vicb](https://github.com/vicb)! - fix(wrangler): fix wrangler config schema defaults + +- [#7832](https://github.com/cloudflare/workers-sdk/pull/7832) [`97d2a1b`](https://github.com/cloudflare/workers-sdk/commit/97d2a1bb56ea0bb94531f9c41b737ba43ed5996f) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Relax the messaging when Wrangler uses redirected configuration + + Previously the messaging was rendered as a warning, which implied that the user + had done something wrong. Now it is just a regular info message. + +- [#7806](https://github.com/cloudflare/workers-sdk/pull/7806) [`d7adb50`](https://github.com/cloudflare/workers-sdk/commit/d7adb50fcc9e3c509365fed8a86df485ea9f739b) Thanks [@vicb](https://github.com/vicb)! - chore: update unenv to 2.0.0-rc.0 + + Pull a couple changes in node:timers + + - unjs/unenv#384 fix function bindings in node:timer + - unjs/unenv#385 implement active and \_unrefActive in node:timer + + The unenv update also includes #unjs/unenv/381 which implements + `stdout`, `stderr` and `stdin` of `node:process` with `node:tty` + +- [#7828](https://github.com/cloudflare/workers-sdk/pull/7828) [`9077a67`](https://github.com/cloudflare/workers-sdk/commit/9077a6748a30d5f24c9b7cbdc3a6514fec5aa66c) Thanks [@edmundhung](https://github.com/edmundhung)! - improve multi account error message in non-interactive mode + +- Updated dependencies []: + - miniflare@3.20241230.2 + ## 3.103.2 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 128aeef01ebf..812385dc7f99 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.103.2", + "version": "3.104.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",