Skip to content

cf@1.0.0-rc.7

Latest

Choose a tag to compare

@ant-release-bot ant-release-bot released this 30 Nov 16:53
· 27 commits to main since this release
98d6ef2

Minor Changes

  • bb6dd45: Add cf complete <shell> --install

    Write the shell completion script to cf's config directory so your shell can
    load the file instead of running cf complete on every startup, which cost
    roughly 250ms per shell. bash, zsh, and PowerShell get an rc line that skips a
    missing file; fish gets a symlink into its autoloaded completions directory.
    Pressing TAB keeps installed scripts current after cf upgrades.

    cf complete zsh --install
    # then add the printed line to ~/.zshrc, e.g. on Linux
    # (macOS uses ~/Library/Preferences/cloudflare):
    if [ -f ~/.config/cloudflare/completions/cf.zsh ]; then source ~/.config/cloudflare/completions/cf.zsh; fi
  • 56789bc: Update the generated command surface for Cloudflare API schemas revision
    35fd5e2c98a046bbff7c94be3e6e2bf1abbcd0ff.

  • a2cc5dd: Update the generated command surface for Cloudflare API schemas revision
    904c543412786c28ed09dc263c6668df8901cf18.

  • c49b21d: Update the generated command surface for Cloudflare API schemas revision
    9a5e4d44bd74d90fa9e4822142b8eb67e4ba3c70.

  • 4d716b2: Update the generated command surface for Cloudflare API schemas revision
    abc01d069bea19cb16fafed15f66ffe9a337e617.

  • c4f8a9d: Update the generated command surface for Cloudflare API schemas revision
    c020280b640697061f994f8fe305d7523e0f17b6.

  • 3d77bb8: Update the generated command surface for Cloudflare API schemas revision
    df4199d61448de7e296a83e9aee473786980f08e.

  • b5c770a: Update the generated command surface for Cloudflare API schemas revision
    df5b78801a495a6843e4c104737be9b22d6bdc7f.

Patch Changes

  • bb6dd45: Print cf complete <shell> scripts faster

    The init script does not depend on cf's command catalogue, so skip loading
    it. eval "$(cf complete zsh)" in a shell rc now costs roughly a third of
    what it did.

  • 90aaf73: Stop project setup when Wrangler migration does not run

    Commands such as cf deploy, cf build, and cf dev no longer fall back to framework setup when a Wrangler config is present but migration is declined, cannot be prompted for, or needs an explicit config path. This prevents static setup from dropping a Worker's entrypoint and bindings. Run cf migrate explicitly before trying again, or use cf migrate <path> if multiple Wrangler configs are present. You can also continue using Wrangler.

  • b0d81a4: Explain how to migrate legacy Pages Functions when cf deploy detects them in CI or a non-interactive run, instead of falling back to a generic missing dev server error.

  • 43bedb4: Update dependencies published from the Workers SDK repository:

    • @cloudflare/autoconfig: 0.13.4 → 0.13.5
    • @cloudflare/build-output-utils: 1.0.0-rc.4 → 1.0.0-rc.5
    • @cloudflare/cli-shared-helpers: 0.3.13 → 0.3.14
    • @cloudflare/codemods: 0.9.1 → 0.10.0
    • @cloudflare/config: 1.0.0-rc.4 → 1.0.0-rc.5
    • @cloudflare/containers-shared: 0.27.2 → 0.28.0
    • @cloudflare/deploy-helpers: 0.30.0 → 0.31.0
    • @cloudflare/runtime-types: 0.1.34 → 0.1.35
    • @cloudflare/workers-auth: 0.18.8 → 0.19.0
    • @cloudflare/workers-utils: 0.57.0 → 0.58.0
    • miniflare: 5.20261123.1-beta → 5.20261127.0-beta
  • bc1347e: Update dependencies published from the Workers SDK repository:

    • @cloudflare/autoconfig: 0.13.5 → 0.14.0
    • @cloudflare/build-output-utils: 1.0.0-rc.5 → 1.0.0-rc.6
    • @cloudflare/cli-shared-helpers: 0.3.14 → 0.4.0
    • @cloudflare/codemods: 0.10.0 → 0.11.0
    • @cloudflare/containers-shared: 0.28.0 → 0.28.1
    • @cloudflare/deploy-helpers: 0.31.0 → 0.32.0
    • @cloudflare/runtime-types: 0.1.35 → 0.1.36
    • @cloudflare/workers-auth: 0.19.0 → 0.19.1
    • @cloudflare/workers-utils: 0.58.0 → 0.59.0
    • miniflare: 5.20261127.0-beta → 5.20261127.1-beta
  • 74fcc87: Support global Vite+ installs in cf update

    cf update now recognises a cf installed with vp add -g cf and updates it with Vite+, including installs pinned to a specific version.