diff --git a/CHANGELOG.md b/CHANGELOG.md index 330efb5fa1dd..3439fe957ebe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## 0.4.10 + +### Enhancements + +- Allow `uv tool upgrade --all` to continue on individual upgrade failure ([#7333](https://github.com/astral-sh/uv/pull/7333)) +- Support globs as cache keys in `tool.uv.cache-keys` ([#7268](https://github.com/astral-sh/uv/pull/7268)) +- Add Python package (`__main__.py`) support to `uv run` ([#7281](https://github.com/astral-sh/uv/pull/7281)) +- Add zip application support to `uv run` ([#7289](https://github.com/astral-sh/uv/pull/7289)) +- Add `--token` option to `self update` command ([#7279](https://github.com/astral-sh/uv/pull/7279)) + +### Performance + +- Use `globwalk` for `cache-keys` matching ([#7337](https://github.com/astral-sh/uv/pull/7337)) + +### Bug fixes + +- Always treat archive-like requirements as local files ([#7364](https://github.com/astral-sh/uv/pull/7364)) +- Apply `--no-install` options when constructing resolution ([#7277](https://github.com/astral-sh/uv/pull/7277)) +- Avoid clobbering existing `py.typed` files contents in `uv init` ([#7338](https://github.com/astral-sh/uv/pull/7338)) +- Avoid enforcing platform compatibility when validating lockfile ([#7305](https://github.com/astral-sh/uv/pull/7305)) +- Avoid installing transitive dev dependencies ([#7318](https://github.com/astral-sh/uv/pull/7318)) +- Avoid selecting prerelease Python installations without opt-in ([#7300](https://github.com/astral-sh/uv/pull/7300)) +- Fix PPC64 page size in binary builds. ([#7298](https://github.com/astral-sh/uv/pull/7298)) +- Include pre-release Python versions in `uv python list` ([#7290](https://github.com/astral-sh/uv/pull/7290)) +- Make version ID optional for source builds ([#7362](https://github.com/astral-sh/uv/pull/7362)) +- Support relative paths in `uv add --script` ([#7301](https://github.com/astral-sh/uv/pull/7301)) + +### Documentation + +- Fix documentation typos for `uv build --build-constraint` flag ([#7330](https://github.com/astral-sh/uv/pull/7330)) +- Fix grammatical error in CLI docs ([#7353](https://github.com/astral-sh/uv/pull/7353)) + +### Error messages + +- Add dedicated lock errors for wheel-only distributions ([#7307](https://github.com/astral-sh/uv/pull/7307)) +- Avoid treating `.whl` sources as source distributions ([#7303](https://github.com/astral-sh/uv/pull/7303)) +- Clarify Python requirement source for script incompatibilities ([#7339](https://github.com/astral-sh/uv/pull/7339)) + ## 0.4.9 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 26185d0ca05d..d84c5e66b3eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4445,7 +4445,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.9" +version = "0.4.10" dependencies = [ "anstream", "anyhow", @@ -5238,7 +5238,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.9" +version = "0.4.10" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 75d52592676e..ba539a33853f 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.9" +version = "0.4.10" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 9a710e16c6bd..8002f54e8210 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.9" +version = "0.4.10" 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 10b7c566e62f..a7316b75308c 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: - `uv:latest` -- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.9` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.10` - `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version) In addition, uv publishes the following images: @@ -56,7 +56,7 @@ In addition, uv publishes the following images: - `uv:python3.8-bookworm-slim` As with the distroless image, each image is published with uv version tags as -`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.9-alpine`. +`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.10-alpine`. For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) page. @@ -94,13 +94,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.9 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.10 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.9/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.10/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 9e2eefdb9deb..37e177a031bf 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v2 with: # Install a specific version of uv. - version: "0.4.9" + version: "0.4.10" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index d94a4fa2fb8e..716ea7e166cb 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.9 + rev: 0.4.10 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.9 + rev: 0.4.10 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.9 + rev: 0.4.10 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 1018d91dc239..681a9b5d2c01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.9" +version = "0.4.10" 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"