Change8

0.7.21

📦 uvView on GitHub →
10 features🐛 1 fixes🔧 4 symbols

Summary

uv 0.7.21 adds new CLI options, improves cache‑key handling, introduces a JSON output preview for sync, and fixes a Python‑version resolution bug.

✨ New Features

  • Add `--python-platform` option to `uv sync`.
  • Support pre‑releases in `uv version --bump`.
  • Add `-w` shorthand for `--with`.
  • Add Windows exception handler to display crash information.
  • Add hint when Python downloads are disabled.
  • Add `UV_HTTP_RETRIES` environment variable to customize HTTP retry counts.
  • Make `cache-key` follow leaf symlinks matched by globs.
  • Support parent path components (`..`) in globs for `cache-key`.
  • Improve `cache-key` performance.
  • Preview feature: `uv sync --output-format json`.

🐛 Bug Fixes

  • Do not re‑resolve with a new Python version in `uv tool` if it is incompatible with `--python`.

🔧 Affected Symbols

uv syncuv versionuv toolcache-key