diff --git a/CHANGELOG.md b/CHANGELOG.md index 8180c1baa..6db8eaff2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## 0.2.24 + +### Enhancements + +- Add support for 'any' Python requests ([#4948](https://github.com/astral-sh/uv/pull/4948)) +- Allow constraints to be provided in `--upgrade-package` ([#4952](https://github.com/astral-sh/uv/pull/4952)) +- Add `manylinux_2_31` to supported `--python-platform` ([#4965](https://github.com/astral-sh/uv/pull/4965)) +- Improve marker simplification ([#4639](https://github.com/astral-sh/uv/pull/4639)) + +### CLI + +- Display short help menu when `--help` is used ([#4772](https://github.com/astral-sh/uv/pull/4772)) +- Allow `uv help` global options during `uv help` ([#4906](https://github.com/astral-sh/uv/pull/4906)) +- Use paging for `uv help` display when available ([#4909](https://github.com/astral-sh/uv/pull/4909)) + +### Performance + +- Switch to single threaded async runtime ([#4934](https://github.com/astral-sh/uv/pull/4934)) + +### Bug fixes + +- Avoid AND-ing multi-term specifiers in marker normalization ([#4911](https://github.com/astral-sh/uv/pull/4911)) +- Avoid inferring package name for GitHub Archives ([#4928](https://github.com/astral-sh/uv/pull/4928)) +- Retry on connection reset network errors ([#4960](https://github.com/astral-sh/uv/pull/4960)) +- Apply extra to overrides and constraints ([#4829](https://github.com/astral-sh/uv/pull/4829)) + +### Rust API + +- Allow `uv` crate to be used as a library ([#4642](https://github.com/astral-sh/uv/pull/4642)) + ## 0.2.23 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index ae51e1cf6..47729af65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4439,7 +4439,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.2.23" +version = "0.2.24" dependencies = [ "anstream", "anyhow", @@ -5142,7 +5142,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.23" +version = "0.2.24" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index 6d62ee604..e579ee7ac 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 0.2.24 + +### Preview features + +- Add Python installation guide ([#4942](https://github.com/astral-sh/uv/pull/4942)) +- Add `uv python pin` ([#4950](https://github.com/astral-sh/uv/pull/4950)) +- Add command-separation for Python discovery display ([#4916](https://github.com/astral-sh/uv/pull/4916)) +- Avoid debug error for `uv run` with unknown Python version ([#4913](https://github.com/astral-sh/uv/pull/4913)) +- Enable `--all` to uninstall all managed Pythons ([#4932](https://github.com/astral-sh/uv/pull/4932)) +- Enable `--all` to uninstall all managed tools ([#4937](https://github.com/astral-sh/uv/pull/4937)) +- Filter out markers based on Python requirement ([#4912](https://github.com/astral-sh/uv/pull/4912)) +- Implement `uv tree` ([#4708](https://github.com/astral-sh/uv/pull/4708)) +- Improve 'any' search message during `uv python install` ([#4940](https://github.com/astral-sh/uv/pull/4940)) +- Lock for the duration of tool commands ([#4720](https://github.com/astral-sh/uv/pull/4720)) +- Perform lock in `uv sync` by default ([#4839](https://github.com/astral-sh/uv/pull/4839)) +- Reinstall and recreate environments when interpreter is removed ([#4935](https://github.com/astral-sh/uv/pull/4935)) +- Respect `--isolated` in `uv python install` ([#4938](https://github.com/astral-sh/uv/pull/4938)) +- Respect resolver settings in `uv remove` ([#4930](https://github.com/astral-sh/uv/pull/4930)) +- Update "Python versions" documentation ([#4943](https://github.com/astral-sh/uv/pull/4943)) +- Warn if tool binary directory is not on path ([#4951](https://github.com/astral-sh/uv/pull/4951)) +- Avoid reparsing wheel URLs ([#4947](https://github.com/astral-sh/uv/pull/4947)) +- Avoid serializing if lockfile does not change ([#4945](https://github.com/astral-sh/uv/pull/4945)) + ## 0.2.23 ### Preview features diff --git a/README.md b/README.md index 61fa46219..d6045aa16 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,8 @@ curl -LsSf https://astral.sh/uv/install.sh | sh powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # For a specific version. -curl -LsSf https://astral.sh/uv/0.2.23/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.23/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.24/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.24/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index c87ea00aa..7531bfc34 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.23" +version = "0.2.24" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index ce1f33894..51605aced 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.23" +version = "0.2.24" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/pyproject.toml b/pyproject.toml index 0ba70594e..4a620d6af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.23" +version = "0.2.24" description = "An extremely fast Python package installer and resolver, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] requires-python = ">=3.8"