diff --git a/CHANGELOG.md b/CHANGELOG.md index 954c174db02f..c85021aecca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## 0.3.4 + +### CLI + +- Show `--editable` on the `uv add` CLI ([#6608](https://github.com/astral-sh/uv/pull/6608)) +- Add `--refresh` to `tool run` warning for `--with` dependencies ([#6609](https://github.com/astral-sh/uv/pull/6609)) + +### Bug fixes + +- Allow per dependency build isolation for `setup.py`-based projects ([#6517](https://github.com/astral-sh/uv/pull/6517)) +- Avoid un-strict syncing by-default for build isolation ([#6606](https://github.com/astral-sh/uv/pull/6606)) +- Respect `--no-build-isolation-package` in `uv sync` ([#6605](https://github.com/astral-sh/uv/pull/6605)) +- Respect extras and markers on virtual dev dependencies ([#6620](https://github.com/astral-sh/uv/pull/6620)) +- Support PEP 723 scripts in GUI files ([#6611](https://github.com/astral-sh/uv/pull/6611)) +- Update lockfile after setting minimum bounds in `uv add` ([#6618](https://github.com/astral-sh/uv/pull/6618)) +- Use relative paths for `--find-links` and local registries ([#6566](https://github.com/astral-sh/uv/pull/6566)) +- Use separate types to represent raw vs. resolver markers ([#6646](https://github.com/astral-sh/uv/pull/6646)) +- Parse wheels `WHEEL` and `METADATA` files as email messages ([#6616](https://github.com/astral-sh/uv/pull/6616)) +- Support unquoted hrefs in `--find-links` and other HTML sources ([#6622](https://github.com/astral-sh/uv/pull/6622)) +- Don't canonicalize paths to user requirements ([#6560](https://github.com/astral-sh/uv/pull/6560)) + +### Documentation + +- Add FastAPI guide to overview ([#6603](https://github.com/astral-sh/uv/pull/6603)) +- Add docs for disabling build isolation with `uv sync` ([#6607](https://github.com/astral-sh/uv/pull/6607)) +- Add example of reading script from stdin using echo ([#6567](https://github.com/astral-sh/uv/pull/6567)) +- Add tip to use intermediate layers in Docker builds ([#6650](https://github.com/astral-sh/uv/pull/6650)) +- Clarify need to include `pyproject.toml` with `--no-install-project` ([#6581](https://github.com/astral-sh/uv/pull/6581)) +- Move `WORKDIR` directive in Docker examples ([#6652](https://github.com/astral-sh/uv/pull/6652)) +- Remove duplicate `WORKDIR` directive in Docker example ([#6651](https://github.com/astral-sh/uv/pull/6651)) + ## 0.3.3 ### Enhancements @@ -2779,3 +2810,4 @@ path ([#1433](https://github.com/astral-sh/uv/pull/1433)) + diff --git a/Cargo.lock b/Cargo.lock index e2f1e1059ae7..d6df45f6f67c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4492,7 +4492,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.3.3" +version = "0.3.4" dependencies = [ "anstream", "anyhow", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.3.3" +version = "0.3.4" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 6bf4fed5482b..1c566f6f8222 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.3.3" +version = "0.3.4" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 7bfd96c29d5f..84f54597adb7 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.3.3" +version = "0.3.4" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 059dd51da89a..6f8cefe3ef15 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -35,11 +35,11 @@ By default, uv is installed to `~/.cargo/bin`. Request a specific version by including it in the URL: ```console title="macOS and Linux" -$ curl -LsSf https://astral.sh/uv/0.3.3/install.sh | sh +$ curl -LsSf https://astral.sh/uv/0.3.4/install.sh | sh ``` ```console title="Windows" -$ powershell -c "irm https://astral.sh/uv/0.3.3/install.ps1 | iex" +$ powershell -c "irm https://astral.sh/uv/0.3.4/install.ps1 | iex" ``` ### PyPI diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 340eb3a99bc0..5a0b957a026e 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -41,13 +41,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.3.3 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.3.4 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.3.3/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.3.4/install.sh /uv-installer.sh ``` ## Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index d2af9537ee33..13b6b06e93b2 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -76,7 +76,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: curl -LsSf https://astral.sh/uv/0.3.3/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.4/install.sh | sh ``` === "macOS" @@ -94,7 +94,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: curl -LsSf https://astral.sh/uv/0.3.3/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.4/install.sh | sh ``` === "Windows" @@ -112,7 +112,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: irm https://astral.sh/uv/0.3.3/install.ps1 | iex + run: irm https://astral.sh/uv/0.3.4/install.ps1 | iex shell: powershell ``` diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 8ca5dea19e0d..d6cf18b873dc 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.3.3 + rev: 0.3.4 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.3.3 + rev: 0.3.4 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.3.3 + rev: 0.3.4 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 8610fb9da6ee..bdd6a57f5d8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.3.3" +version = "0.3.4" 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"