diff --git a/CHANGELOG.md b/CHANGELOG.md index cc98984bad6d..0542d61b88d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 0.2.32 + +### Enhancements + +- Deprecate the `--isolated` flag in favor of `--no-config` ([#5466](https://github.com/astral-sh/uv/pull/5466)) +- Re-enable `requires-python` narrowing in forks ([#5583](https://github.com/astral-sh/uv/pull/5583)) + +### Performance + +- Skip copying to empty entries in seekable zip ([#5571](https://github.com/astral-sh/uv/pull/5571)) +- Use a consistent buffer size for downloads ([#5569](https://github.com/astral-sh/uv/pull/5569)) +- Use a consistent buffer size when writing out zip files ([#5570](https://github.com/astral-sh/uv/pull/5570)) + +### Bug fixes + +- Avoid setting executable permissions on files we might not own ([#5582](https://github.com/astral-sh/uv/pull/5582)) +- Statically link liblzma ([#5577](https://github.com/astral-sh/uv/pull/5577)) + ## 0.2.31 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 5379c1a93a7a..709fc5c9ce63 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4432,7 +4432,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.2.31" +version = "0.2.32" dependencies = [ "anstream", "anyhow", @@ -5157,7 +5157,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.31" +version = "0.2.32" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index a13aa1ac90d9..512381e2860d 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 0.2.32 + +### Preview features + +- Implement `uv run --directory` ([#5566](https://github.com/astral-sh/uv/pull/5566)) +- Add `--isolated` support to `uv run` ([#5471](https://github.com/astral-sh/uv/pull/5471)) +- Add `--no-workspace` and `--no-project` in lieu of `--isolated` ([#5465](https://github.com/astral-sh/uv/pull/5465)) +- Add documentation for cache clearing ([#5517](https://github.com/astral-sh/uv/pull/5517)) +- Add forks to lockfile, don't read them yet ([#5480](https://github.com/astral-sh/uv/pull/5480)) +- Add links to documentation footer ([#5616](https://github.com/astral-sh/uv/pull/5616)) +- Error when multiple git references are provided in `uv add` ([#5502](https://github.com/astral-sh/uv/pull/5502)) +- Improvements to the project concept docs ([#5634](https://github.com/astral-sh/uv/pull/5634)) +- List installed tools when no command is provided to `uv tool run` ([#5553](https://github.com/astral-sh/uv/pull/5553)) +- Make `--directory` a global argument ([#5579](https://github.com/astral-sh/uv/pull/5579)) +- Reframe use of `--isolated` in `tool run` ([#5470](https://github.com/astral-sh/uv/pull/5470)) +- Remove `--isolated` usages from the `uv python` API ([#5468](https://github.com/astral-sh/uv/pull/5468)) +- Rename more use of "lock file" to "lockfile" ([#5629](https://github.com/astral-sh/uv/pull/5629)) +- Suppress resolver output by default in `uv run` and `uv tool run` ([#5580](https://github.com/astral-sh/uv/pull/5580)) +- Wrap documentation at 100 characters ([#5635](https://github.com/astral-sh/uv/pull/5635)) + ## 0.2.31 ### Preview features diff --git a/README.md b/README.md index deee3c735a30..beff288b1c78 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.31/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.31/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.32/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.32/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 4cefb699e523..6a5ce98984db 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.31" +version = "0.2.32" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index b11ffd70bbaf..ef531f7ad957 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.31" +version = "0.2.32" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index c590bead4619..a88535994311 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -8,7 +8,7 @@ To compile requirements via pre-commit, add the following to the `.pre-commit-co ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.31 + rev: 0.2.32 hooks: # Compile requirements - id: pip-compile @@ -20,7 +20,7 @@ To compile alternative files, modify `args` and `files`: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.31 + rev: 0.2.32 hooks: # Compile requirements - id: pip-compile @@ -33,7 +33,7 @@ To run the hook over multiple files at the same time: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.31 + rev: 0.2.32 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 727ba72eeacf..29e01f9e8fba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.31" +version = "0.2.32" 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"