diff --git a/.changeset/cruel-ears-heal.md b/.changeset/cruel-ears-heal.md deleted file mode 100644 index 88288cec0713..000000000000 --- a/.changeset/cruel-ears-heal.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -"wrangler": patch ---- - -update `maybeStartOrUpdateRemoteProxySession` config argument (to allow callers to specify an environment) - -Before this change `maybeStartOrUpdateRemoteProxySession` could be called with either the path to a wrangler config file or the configuration of a worker. The former override however did not allow the caller to specify an environment, so the `maybeStartOrUpdateRemoteProxySession` API has been updated so that in the wrangler config case an object (with the path and a potential environment) needs to be passed instead. - -For example, before callers could invoke the function in the following way - -```ts -await maybeStartOrUpdateRemoteProxySession(configPath); -``` - -note that there is no way to tell the function what environment to use when parsing the wrangle configuration. - -Now callers will instead call the function in the following way: - -```ts -await maybeStartOrUpdateRemoteProxySession({ - path: configPath, - environment: targetEnvironment, -}); -``` - -note that now a target environment can be specified. diff --git a/.changeset/evil-loops-eat.md b/.changeset/evil-loops-eat.md deleted file mode 100644 index 5f6673fa7c1d..000000000000 --- a/.changeset/evil-loops-eat.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -fix: stop containers breaking vitest-pool-workers - -Testing interactions with containers is still currently unsupported. diff --git a/.changeset/giant-laws-play.md b/.changeset/giant-laws-play.md deleted file mode 100644 index b4494abfa143..000000000000 --- a/.changeset/giant-laws-play.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix `getPlatformProxy` not taking into account the potentially specified environment for remote bindings diff --git a/.changeset/sdw-auth.md b/.changeset/sdw-auth.md deleted file mode 100644 index 07d20c544043..000000000000 --- a/.changeset/sdw-auth.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -"wrangler": patch ---- - -fix `startWorker` not respecting `auth` options for remote bindings - -fix `startWorker` currently not taking into account the `auth` field -that can be provided as part of the `dev` options when used in conjunction -with remote bindings - -example: - -Given the following - -```js -import { unstable_startWorker } from "wrangler"; - -const worker = await unstable_startWorker({ - entrypoint: "./worker.js", - bindings: { - AI: { - type: "ai", - experimental_remote: true, - }, - }, - dev: { - experimentalRemoteBindings: true, - auth: { - accountId: "", - apiToken: { - apiToken: "", - }, - }, - }, -}); - -await worker.ready; -``` - -`wrangler` will now use the provided `` and `` to integrate with -the remote AI binding instead of requiring the user to authenticate. diff --git a/.changeset/smooth-shirts-add.md b/.changeset/smooth-shirts-add.md deleted file mode 100644 index 2d2c07aba280..000000000000 --- a/.changeset/smooth-shirts-add.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: strip ANSI escape codes from log files to improve readability and parsing diff --git a/.changeset/spotty-poets-jump.md b/.changeset/spotty-poets-jump.md deleted file mode 100644 index 5527e6c59119..000000000000 --- a/.changeset/spotty-poets-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"devprod-status-bot": minor ---- - -Add GitHub issue security analysis feature to detect and alert on potential vulnerability reports diff --git a/.changeset/stale-dogs-throw.md b/.changeset/stale-dogs-throw.md deleted file mode 100644 index 1ac6dc7b736f..000000000000 --- a/.changeset/stale-dogs-throw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -fix the potentially specified environment not being taken into account for remote bindings diff --git a/.changeset/twenty-seas-cross.md b/.changeset/twenty-seas-cross.md deleted file mode 100644 index 3f4b808c0932..000000000000 --- a/.changeset/twenty-seas-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Validate container configuration against account limits in wrangler to give early feedback to the user diff --git a/.changeset/whole-masks-sniff.md b/.changeset/whole-masks-sniff.md deleted file mode 100644 index 72b9c1df96fa..000000000000 --- a/.changeset/whole-masks-sniff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix incorrect TypeScript type for AI binding in the `startWorker` API diff --git a/packages/devprod-status-bot/CHANGELOG.md b/packages/devprod-status-bot/CHANGELOG.md index 5b65e59ddc71..8b8a15e80d80 100644 --- a/packages/devprod-status-bot/CHANGELOG.md +++ b/packages/devprod-status-bot/CHANGELOG.md @@ -1,5 +1,11 @@ # devprod-status-bot +## 1.2.0 + +### Minor Changes + +- [#10214](https://github.com/cloudflare/workers-sdk/pull/10214) [`b9d3174`](https://github.com/cloudflare/workers-sdk/commit/b9d317490a0236f3472646b175b75891290e41ef) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Add GitHub issue security analysis feature to detect and alert on potential vulnerability reports + ## 1.1.7 ### Patch Changes diff --git a/packages/devprod-status-bot/package.json b/packages/devprod-status-bot/package.json index 22217e628eaf..a033bb8af936 100644 --- a/packages/devprod-status-bot/package.json +++ b/packages/devprod-status-bot/package.json @@ -1,6 +1,6 @@ { "name": "devprod-status-bot", - "version": "1.1.7", + "version": "1.2.0", "private": true, "scripts": { "check:lint": "eslint . --max-warnings=0", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index e77757b00328..e2de1a7061c9 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/vite-plugin +## 1.11.2 + +### Patch Changes + +- Updated dependencies [[`773cca3`](https://github.com/cloudflare/workers-sdk/commit/773cca387b5ef01221c7a304883f8b36d1b386da), [`773cca3`](https://github.com/cloudflare/workers-sdk/commit/773cca387b5ef01221c7a304883f8b36d1b386da), [`2e8eb24`](https://github.com/cloudflare/workers-sdk/commit/2e8eb249a1da8a80455e25dba52455ee534c1490), [`93c4c26`](https://github.com/cloudflare/workers-sdk/commit/93c4c26eb5e13bef366add6f96959ccddd64d43b), [`48853a6`](https://github.com/cloudflare/workers-sdk/commit/48853a6882b0bb390b989c55a16aed232cdc8ddc), [`2e8eb24`](https://github.com/cloudflare/workers-sdk/commit/2e8eb249a1da8a80455e25dba52455ee534c1490)]: + - wrangler@4.28.1 + ## 1.11.1 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 6fcbc55b12ab..62df919094c0 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.11.1", + "version": "1.11.2", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 37664c58e7c1..e91325354b00 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,18 @@ # @cloudflare/vitest-pool-workers +## 0.8.61 + +### Patch Changes + +- [#10162](https://github.com/cloudflare/workers-sdk/pull/10162) [`5bd0a19`](https://github.com/cloudflare/workers-sdk/commit/5bd0a1977a7c127ea52b2823f548c4b4cd3ceb10) Thanks [@emily-shen](https://github.com/emily-shen)! - fix: stop containers breaking vitest-pool-workers + + Testing interactions with containers is still currently unsupported. + +- [#10130](https://github.com/cloudflare/workers-sdk/pull/10130) [`773cca3`](https://github.com/cloudflare/workers-sdk/commit/773cca387b5ef01221c7a304883f8b36d1b386da) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix the potentially specified environment not being taken into account for remote bindings + +- Updated dependencies [[`773cca3`](https://github.com/cloudflare/workers-sdk/commit/773cca387b5ef01221c7a304883f8b36d1b386da), [`773cca3`](https://github.com/cloudflare/workers-sdk/commit/773cca387b5ef01221c7a304883f8b36d1b386da), [`2e8eb24`](https://github.com/cloudflare/workers-sdk/commit/2e8eb249a1da8a80455e25dba52455ee534c1490), [`93c4c26`](https://github.com/cloudflare/workers-sdk/commit/93c4c26eb5e13bef366add6f96959ccddd64d43b), [`48853a6`](https://github.com/cloudflare/workers-sdk/commit/48853a6882b0bb390b989c55a16aed232cdc8ddc), [`2e8eb24`](https://github.com/cloudflare/workers-sdk/commit/2e8eb249a1da8a80455e25dba52455ee534c1490)]: + - wrangler@4.28.1 + ## 0.8.60 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 457a0a65eefd..c518ee45b150 100644 --- a/packages/vitest-pool-workers/package.json +++ b/packages/vitest-pool-workers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-pool-workers", - "version": "0.8.60", + "version": "0.8.61", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 946cef2089e2..d7e6137c38ca 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,78 @@ # wrangler +## 4.28.1 + +### Patch Changes + +- [#10130](https://github.com/cloudflare/workers-sdk/pull/10130) [`773cca3`](https://github.com/cloudflare/workers-sdk/commit/773cca387b5ef01221c7a304883f8b36d1b386da) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - update `maybeStartOrUpdateRemoteProxySession` config argument (to allow callers to specify an environment) + + Before this change `maybeStartOrUpdateRemoteProxySession` could be called with either the path to a wrangler config file or the configuration of a worker. The former override however did not allow the caller to specify an environment, so the `maybeStartOrUpdateRemoteProxySession` API has been updated so that in the wrangler config case an object (with the path and a potential environment) needs to be passed instead. + + For example, before callers could invoke the function in the following way + + ```ts + await maybeStartOrUpdateRemoteProxySession(configPath); + ``` + + note that there is no way to tell the function what environment to use when parsing the wrangle configuration. + + Now callers will instead call the function in the following way: + + ```ts + await maybeStartOrUpdateRemoteProxySession({ + path: configPath, + environment: targetEnvironment, + }); + ``` + + note that now a target environment can be specified. + +- [#10130](https://github.com/cloudflare/workers-sdk/pull/10130) [`773cca3`](https://github.com/cloudflare/workers-sdk/commit/773cca387b5ef01221c7a304883f8b36d1b386da) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix `getPlatformProxy` not taking into account the potentially specified environment for remote bindings + +- [#10122](https://github.com/cloudflare/workers-sdk/pull/10122) [`2e8eb24`](https://github.com/cloudflare/workers-sdk/commit/2e8eb249a1da8a80455e25dba52455ee534c1490) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix `startWorker` not respecting `auth` options for remote bindings + + fix `startWorker` currently not taking into account the `auth` field + that can be provided as part of the `dev` options when used in conjunction + with remote bindings + + example: + + Given the following + + ```js + import { unstable_startWorker } from "wrangler"; + + const worker = await unstable_startWorker({ + entrypoint: "./worker.js", + bindings: { + AI: { + type: "ai", + experimental_remote: true, + }, + }, + dev: { + experimentalRemoteBindings: true, + auth: { + accountId: "", + apiToken: { + apiToken: "", + }, + }, + }, + }); + + await worker.ready; + ``` + + `wrangler` will now use the provided `` and `` to integrate with + the remote AI binding instead of requiring the user to authenticate. + +- [#10209](https://github.com/cloudflare/workers-sdk/pull/10209) [`93c4c26`](https://github.com/cloudflare/workers-sdk/commit/93c4c26eb5e13bef366add6f96959ccddd64d43b) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - fix: strip ANSI escape codes from log files to improve readability and parsing + +- [#9774](https://github.com/cloudflare/workers-sdk/pull/9774) [`48853a6`](https://github.com/cloudflare/workers-sdk/commit/48853a6882b0bb390b989c55a16aed232cdc8ddc) Thanks [@nikitassharma](https://github.com/nikitassharma)! - Validate container configuration against account limits in wrangler to give early feedback to the user + +- [#10122](https://github.com/cloudflare/workers-sdk/pull/10122) [`2e8eb24`](https://github.com/cloudflare/workers-sdk/commit/2e8eb249a1da8a80455e25dba52455ee534c1490) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix incorrect TypeScript type for AI binding in the `startWorker` API + ## 4.28.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 41d621384319..fe5f97eacba2 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.28.0", + "version": "4.28.1", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",