Change8

0.11.17

📦 uvView on GitHub →
9 features🐛 12 fixes🔧 14 symbols

Summary

This release introduces several enhancements, including diagnostics for `uv add` and support for PEP 794 in `uv-build`. Numerous bug fixes address issues related to Git dependencies, environment handling in `uv run`, and cache relocatability.

✨ New Features

  • Add a diagnostic for `uv add` with standard library modules.
  • Expose `uv workspace` and its `list` subcommand in help output.
  • Improve the "403 forbidden" hint to suggest `ignore-error-codes` when applicable.
  • Skip direct URL lock freshness checks while offline.
  • Add `import-names` and `import-namespaces` support to `uv-build` (referencing PEP 794).
  • Add a `--no-editable-package` flag to various commands.
  • Infer Python version requests from source trees in `uv tool` invocations.
  • Preview feature: Add module owners to `uv workspace metadata`.
  • Preview feature: Do not allow `uv venv --clear` to remove non-virtual environments.

🐛 Bug Fixes

  • Improve the performance of large entries in `tool.uv.conflicts`.
  • Avoid modifying the parent process' env with `--env-file` in `uv run`.
  • Fix script environment creation for scripts with long filenames.
  • Fix transitive Git archive dependencies in lockfiles.
  • Preserve Git repository URLs in direct URL metadata.
  • Support redirects in `--check-url`.
  • Accept case-insensitive HTML tags in `--find-links` parsing.
  • Reject duplicate script metadata blocks.
  • Ban names like "python3" as script entry points.
  • Validate Git LFS artifacts for Git archives.
  • Use a relative path when creating symlinks in cache to improve relocatability.
  • Fix malformed positional anchors in the CLI reference documentation.

Affected Symbols