diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c2358af9bce..05d77bc2c403 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## 0.4.19 + +### Enhancements + +- Add managed downloads for CPython 3.13.0rc3 and 3.12.7 ([#7880](https://github.com/astral-sh/uv/pull/7880)) +- Display the target virtual environment path if non-default ([#7850](https://github.com/astral-sh/uv/pull/7850)) +- Preserve case-insensitive sorts in `uv add` ([#7864](https://github.com/astral-sh/uv/pull/7864)) +- Respect project upper bounds when filtering wheels on `requires-python` ([#7904](https://github.com/astral-sh/uv/pull/7904)) +- Add `--script` to `uv run` to treat an input as PEP 723 regardless of extension ([#7739](https://github.com/astral-sh/uv/pull/7739)) +- Improve legibility of build failure errors ([#7854](https://github.com/astral-sh/uv/pull/7854)) +- Show interpreter source during Python discovery query errors ([#7928](https://github.com/astral-sh/uv/pull/7928)) + +### Configuration + +- Add `UV_FIND_LINKS` environment variable for `--find-links` ([#7912](https://github.com/astral-sh/uv/pull/7912)) +- Ignore empty string values for `UV_PYTHON` environment variable ([#7878](https://github.com/astral-sh/uv/pull/7878)) + +### Bug fixes + +- Allow `py3x-none` tags in newer than Python 3.x ([#7867](https://github.com/astral-sh/uv/pull/7867)) +- Allow self-dependencies in the `dev` section ([#7943](https://github.com/astral-sh/uv/pull/7943)) +- Always ignore `cp2` wheels in resolution ([#7902](https://github.com/astral-sh/uv/pull/7902)) +- Clear the publish progress bar on retry ([#7921](https://github.com/astral-sh/uv/pull/7921)) +- Fix parsing of `gnueabi` libc variants in Python version requests ([#7975](https://github.com/astral-sh/uv/pull/7975)) +- Simplify supported environments when comparing to lockfile ([#7894](https://github.com/astral-sh/uv/pull/7894)) +- Trim commits when reading from Git refs ([#7922](https://github.com/astral-sh/uv/pull/7922)) +- Use a higher HTTP read timeout when publishing packages ([#7923](https://github.com/astral-sh/uv/pull/7923)) +- Remove the first empty line for `uv tree --package foo` ([#7885](https://github.com/astral-sh/uv/pull/7885)) + +### Documentation + +- Add 3.13 support to the platform reference ([#7971](https://github.com/astral-sh/uv/pull/7971)) +- Clarify project environment creation a little ([#7941](https://github.com/astral-sh/uv/pull/7941)) +- Fix code block title in Gitlab integration docs ([#7861](https://github.com/astral-sh/uv/pull/7861)) +- Fix documentation (projects guide) regarding adding a git dependency ([#7916](https://github.com/astral-sh/uv/pull/7916)) +- fix uninstallation command for windows on documentation ([#7944](https://github.com/astral-sh/uv/pull/7944)) + +- Clearly specify the minimum supported Windows Server version in the document ([#7946](https://github.com/astral-sh/uv/pull/7946)) + +### Rust API + +- Remove unused `Sha256Reader` ([#7929](https://github.com/astral-sh/uv/pull/7929)) +- Remove unnecessary `Deserialize` derives on settings ([#7856](https://github.com/astral-sh/uv/pull/7856)) + ## 0.4.18 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index c12e2ccf045c..b8a09e888a0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4134,7 +4134,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.18" +version = "0.4.19" dependencies = [ "anstream", "anyhow", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.18" +version = "0.4.19" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 33eecd9fc433..3db079c63b4b 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.18" +version = "0.4.19" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index efc9ac770eed..68abe69e15f3 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.18" +version = "0.4.19" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index ab5b546b4f5e..e183a87bea73 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -21,7 +21,7 @@ $ docker run ghcr.io/astral-sh/uv --help uv provides a distroless Docker image including the `uv` binary. The following tags are published: - `ghcr.io/astral-sh/uv:latest` -- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.4.18` +- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.4.19` - `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.4` (the latest patch version) @@ -59,7 +59,7 @@ In addition, uv publishes the following images: As with the distroless image, each image is published with uv version tags as `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}-{base}` and -`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.4.18-alpine`. +`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.4.19-alpine`. For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) page. @@ -97,13 +97,13 @@ Note this requires `curl` to be available. In either case, it is best practice to pin to a specific uv version, e.g., with: ```dockerfile -COPY --from=ghcr.io/astral-sh/uv:0.4.18 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.19 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.18/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.19/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index e71d8affbe78..8dbb2aeea4b9 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v3 with: # Install a specific version of uv. - version: "0.4.18" + version: "0.4.19" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 1b8e4b267b1b..20d906f2966b 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.4.18 + rev: 0.4.19 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.4.18 + rev: 0.4.19 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.4.18 + rev: 0.4.19 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index cb6eedcb2f21..ed0554c107f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.18" +version = "0.4.19" description = "An extremely fast Python package and project manager, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] requires-python = ">=3.8"