uv 0.12.1: Package-specific pre-release policies, Xonsh support, and performance
sdkinfrapreviewengineer
feature patch
This release of uv introduces package-specific pre-release policies, enabling finer control over handling pre-release versions for individual packages. It also adds support for Xonsh shell activation scripts and includes performance enhancements, such as faster SHA-256 hashing on certain ARM64 platforms. The update is available as a patch for all users, with new preview features and bug fixes.
- →Add automatic fixes to uv check with --fix
- →Avoid rejecting unchanged metadata-free lockfiles when workspace dependencies share direct sources
- →Honor direct URL constraints when validating metadata-free lockfiles
- →Ignore malformed PEP 723 scripts discovered during project checks
- →Use ty's native script exclusion in uv check
Features (5) ›
- Add automatic fixes to uv check with --fix
- Avoid rejecting unchanged metadata-free lockfiles when workspace dependencies share direct sources
- Honor direct URL constraints when validating metadata-free lockfiles
- Ignore malformed PEP 723 scripts discovered during project checks
- Use ty's native script exclusion in uv check
Enhancements (6) ›
- Add package-specific pre-release policies with --prerelease-package
- Support local HTML files as flat indexes
- Add Xonsh virtual environment activation scripts (activate.xsh)
- Preserve filesystem paths passed to uv add --index when updating pyproject.toml
- Parse canonical uv lockfiles directly, with a fallback for other valid TOML syntax
- Accelerate SHA-256 hashing on non-Windows ARM64 platforms
Fixes (4) ›
- Flush shell startup file updates before uv tool update-shell and uv python update-shell exit
- Make workspace-root dependency groups available to commands run from workspace members
- Resolve --find-links paths in requirements files relative to the containing file
- Respect configured indexes in uv tool list --outdated
Read the original announcement →
https://github.com/astral-sh/uv/releases/tag/0.12.1
Related releases
- uv 0.12.14 Delivers Enhanced Diagnostics and Performance for Python uv Releases ·
- Pydantic-AI v2.43.0 Enhances CLI Experience and Fixes OpenAI Chat Model Behavior Pydantic AI Releases ·
- ADK-Python v2.9.0 enhances agent resilience, voice integration, and workflow management Google ADK (Python) Releases ·
- uv 0.12.13 Released: Adds GraalPy 3.13.0 Support and Security Enhancements uv Releases ·
- PyCharm License Discount for Django Software Foundation Extended Django Weblog ·
- CrewAI 1.15.21 Release Introduces Telemetry and Resolves Multiple Bugs CrewAI Releases ·