From fdca40c67aa99ca530c125ffe66121d3485f2dd3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2026 10:44:40 +0000 Subject: [PATCH] Version Packages (beta) --- .changeset/pre.json | 11 +++++ packages/cli/CHANGELOG.md | 85 +++++++++++++++++++++++++++++++++++++++ packages/cli/package.json | 2 +- 3 files changed, 97 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 62fa727770..73d9f77b82 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -57,6 +57,7 @@ "preserve-worker-secrets", "previews-command-group", "profiling-api-timeout", + "prompts-flows-stderr", "protobuf-binary-output", "quick-tunnels-allowed-mail", "quiet-delegation-environment", @@ -70,14 +71,18 @@ "renovate-workers-sdk-1b53b55dda14", "renovate-workers-sdk-2a564b65b09b", "renovate-workers-sdk-83342ab9935f", + "renovate-workers-sdk-86b7fdd7e599", "renovate-workers-sdk-b4f2bb49937e", "search-telemetry", + "skip-api-project-config", + "telemetry-delegation-versions", "temporary-accounts", "thin-api-client", "tunnel-diag", "tunnel-login", "tunnel-ready", "tunnel-tail", + "unknown-command-telemetry", "update-forge-0adf409896a7", "update-forge-10cdded1d9e9", "update-forge-3a9c5f0fb42a", @@ -92,13 +97,19 @@ "update-forge-f20240cf7d68", "update-forge", "update-openapi-15656f084dd7", + "update-openapi-2d3b9ab6825d", + "update-openapi-536d02b4bd56", "update-openapi-59bd82aa6c34", + "update-openapi-5de500b2959b", "update-openapi-843eae2fbf4f", + "update-openapi-880ff24a8d48", "update-openapi-939a69bb5ebb", + "update-openapi-acc1cbed2ca3", "update-openapi-dfab495170fe", "update-openapi-e91e65be9898", "update-openapi-ec19e9f82e21", "update-openapi-f816e2612cac", + "update-openapi-fdbc7d9b0fdc", "update-setup-migration-deps", "update-workers-auth", "vinext-vite-commands", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index fcdcde11d4..bec2c2804c 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,90 @@ # cf +## 1.0.0-beta.21 + +### Minor Changes + +- dcab54d: Move prompts, progress and workflow messages to stderr + + Breaking change during the beta: prompts, confirmations and the progress + spinner now render on stderr, so they keep working while stdout is redirected, + as in `cf kv namespaces create > ns.json`, and a confirmation that used to fail + there now waits for an answer. Some confirmations in `cf deploy` and + `cf workers triggers deploy` still ask only when stdout is a terminal, and go + ahead without asking otherwise. Prompts and the spinner need stdin and stderr + to be terminals outside CI, so the spinner no longer swallows piped input, and + Ctrl+C or Esc during the spinner now exits with status 130 instead of 0. + `cf init`, `cf build`, `cf deploy`, `cf workers versions create` and + `cf workers triggers deploy` print their messages on stderr too, together + with the output of the build and install commands cf runs, so scripts that + read those messages from stdout must read stderr instead. `cf previews deploy` + no longer prints upload messages into its JSON output, and `cf dev` still + gives the dev server the whole terminal. + + `--quiet` now also hides notices and the `✓` success line, but never warnings, + the commands that fix them, or prompts. A declined delete ends with + `└ Aborted.`, `cf init` prints its next steps below the closed flow so each + copies on its own, the first-run notices use clack info lines, and the + dev-server errors use the error frame with each install command on its own + line. + +- c440926: Record the global `cf` version in telemetry when it delegates to a project-pinned `cf` + + When a globally installed `cf` hands a command to the copy a project pins, it + now passes its own version to that copy, which adds it to telemetry as + `globalCliVersion`. `cliVersion` remains the version of the `cf` that runs the + command, and `delegated` still marks delegated runs. Older global installs do + not pass a version, so the property is omitted for them. + +- b50a51a: Record sanitised detail about unrecognised commands in usage telemetry + + When `cf` cannot match the arguments to a command, telemetry now records the + kind of failure, the recognised part of the command path, whether that part is + a complete command, and up to three unrecognised words. Only the first word can + be included as written, and only when it is a `cf` command name in a place + where a command name was expected; later words and anything else, including + any extra value after a complete command, are replaced by a category such as + ``, ``, or ``. Unrecognised flags, including short flags such + as `-x`, are counted, never named. + + Failures inside a group or command keep the `command` value they were reported + under before. Failures at the top level that were previously dropped – a typo + with a suggestion, several unknown words, or only flags with no command – are + now reported as unknown commands. + +- c761c0e: Update the generated command surface for Forge OpenAPI release + `2d3b9ab6825d7087ebe00a4b03c2ff219f08e4b4`. +- af49ab3: Update the generated command surface for Forge OpenAPI release + `536d02b4bd5629be5333aea4cf1024680abac1ef`. +- 4f7b6b4: Update the generated command surface for Forge OpenAPI release + `5de500b2959b09d00972516cac5a6c56aec4878a`. +- 9b339a6: Update the generated command surface for Forge OpenAPI release + `880ff24a8d487f05651f6dc24f482b9845127c7f`. +- 8e51747: Update the generated command surface for Forge OpenAPI release + `acc1cbed2ca3136244a31aee12f25fc6164566cc`. +- 25ad929: Update the generated command surface for Forge OpenAPI release + `fdbc7d9b0fdce613501dd81cb37466fbaf0b7cca`. + +### Patch Changes + +- 09c9303: Update dependencies published from the Workers SDK repository: + + - `@cloudflare/autoconfig`: `0.7.11` → `0.8.0` + - `@cloudflare/build-output-utils`: `0.9.3` → `0.9.4` + - `@cloudflare/cli-shared-helpers`: `0.2.7` → `0.2.8` + - `@cloudflare/codemods`: `0.5.1` → `0.6.0` + - `@cloudflare/config`: `0.27.0` → `0.28.0` + - `@cloudflare/containers-shared`: `0.23.1` → `0.23.2` + - `@cloudflare/deploy-helpers`: `0.22.1` → `0.23.0` + - `@cloudflare/runtime-types`: `0.1.14` → `0.1.15` + - `@cloudflare/workers-auth`: `0.14.1` → `0.15.0` + - `@cloudflare/workers-utils`: `0.47.3` → `0.48.0` + - `miniflare`: `5.20261019.1-beta` → `5.20261019.2-beta` + +- d4a5d17: Skip reading the compliance region from the config file when it is set in the environment + + Resolve `CLOUDFLARE_COMPLIANCE_REGION` before project settings, matching the existing account ID priority. Commands with both `CLOUDFLARE_ACCOUNT_ID` and `CLOUDFLARE_COMPLIANCE_REGION` no longer evaluate a `cloudflare.config.ts` file solely to establish API context. + ## 1.0.0-beta.20 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index e00906c3be..c015218606 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "cf", - "version": "1.0.0-beta.20", + "version": "1.0.0-beta.21", "description": "The Cloudflare CLI", "keywords": [ "ai",