Change8

0.11.22

📦 uvView on GitHub →
7 features🐛 14 fixes🔧 14 symbols

Summary

This release introduces new configuration options for preview features and enhances environment management commands like `uv check` and `uv metadata`. Numerous bug fixes address issues related to dependency resolution, validation, and command output.

✨ New Features

  • Publish wheels before sdists in `uv publish`.
  • Add `TY` and `RUFF` environment variables to provide paths for binaries used by `uv format` and `uv check`.
  • Allow configuring preview features in `uv.toml` and `pyproject.toml`.
  • Update the lockfile during `uv check --no-sync`.
  • Add `--script` flag to `uv check` and `uv metadata` commands.
  • Report workspace-exclusive dependency groups in `workspace metadata` output.
  • Support SARIF as an output format for `uv audit`.

🐛 Bug Fixes

  • Update string marker ordering semantics to match upstream clarified rules.
  • Reject extras that have the same normalized name.
  • Reject dependency group `include-group` entries that contain additional fields.
  • Reject invalid UTF-8 URL credentials.
  • Validate that PEP 517 `backend-path`s exist when building sdists.
  • Validate that `pylock.toml` files do not contain an unsupported `lock-version`.
  • Validate that the environment satisfies the `packages.requires-python` specified in a `pylock.toml`.
  • Allow `uv` to be recursively invoked by PEP 517 build hooks.
  • Allow empty `credentials.toml` files.
  • Fix transparent Python upgrades within project environments.
  • Handle non-file editable URLs correctly in `uv pip list`.
  • Fix incorrect output when using `uv tree --invert`.
  • Fix environment locking behavior of `uv venv` when run inside a project.
  • Fix handling of workspace-exclusive dependency groups in `uv tree`.

Affected Symbols