Change8

0.8.1

📦 uvView on GitHub →
12 features🐛 10 fixes

Summary

uv 0.8.1 adds numerous enhancements such as HF_TOKEN support, new config‑settings handling, and Windows improvements, while fixing bugs around virtual environment removal and HTTP handling.

✨ New Features

  • Add support for `HF_TOKEN` (https://github.com/astral-sh/uv/pull/14797)
  • Allow `--config-settings-package` to apply configuration settings at the package level (https://github.com/astral-sh/uv/pull/14573)
  • Create (e.g.) `python3.13t` executables in `uv venv` (https://github.com/astral-sh/uv/pull/14764)
  • Disallow writing symlinks outside the source distribution target directory (https://github.com/astral-sh/uv/pull/12259)
  • Elide traceback when `python -m uv` is interrupted with Ctrl-C on Windows (https://github.com/astral-sh/uv/pull/14715)
  • Match `--bounds` formatting for `uv_build` bounds in `uv init` (https://github.com/astral-sh/uv/pull/14731)
  • Support `extras` and `dependency_groups` markers in PEP 508 grammar (https://github.com/astral-sh/uv/pull/14753)
  • Support `extras` and `dependency_groups` markers on `uv pip install` and `uv pip sync` (https://github.com/astral-sh/uv/pull/14755)
  • Add hint to use `uv self version` when `uv version` cannot find a project (https://github.com/astral-sh/uv/pull/14738)
  • Improve error reporting when removing Python versions from the Windows registry (https://github.com/astral-sh/uv/pull/14722)
  • Make warnings about masked `[tool.uv]` fields more precise (https://github.com/astral-sh/uv/pull/14325)
  • Emit JSON output in `uv sync` with `--quiet` (preview feature) (https://github.com/astral-sh/uv/pull/14810)

🐛 Bug Fixes

  • Allow removal of virtual environments with missing interpreters (https://github.com/astral-sh/uv/pull/14812)
  • Apply `Cache-Control` overrides to response, not request headers (https://github.com/astral-sh/uv/pull/14736)
  • Copy entry points into ephemeral environments to ensure layers are respected (https://github.com/astral-sh/uv/pull/14790)
  • Workaround Jupyter Lab application directory discovery in ephemeral environments (https://github.com/astral-sh/uv/pull/14790)
  • Enforce `requires-python` in `pylock.toml` (https://github.com/astral-sh/uv/pull/14787)
  • Fix kebab casing of `README` variants in build backend (https://github.com/astral-sh/uv/pull/14762)
  • Improve concurrency resilience of removing Python versions from the Windows registry (https://github.com/astral-sh/uv/pull/14717)
  • Retry HTTP requests on invalid data errors (https://github.com/astral-sh/uv/pull/14703)
  • Update virtual environment removal to delete `pyvenv.cfg` last (https://github.com/astral-sh/uv/pull/14808)
  • Error on unknown fields in `dependency-metadata` (https://github.com/astral-sh/uv/pull/14801)