diff --git a/CHANGELOG.md b/CHANGELOG.md index 69e321ac07e8..0f6b5c6de620 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 0.2.34 + +### Enhancements + +- Always strip in release mode ([#5745](https://github.com/astral-sh/uv/pull/5745)) +- Assume `git+` prefix when URLs end in `.git` ([#5868](https://github.com/astral-sh/uv/pull/5868)) +- Support build constraints ([#5639](https://github.com/astral-sh/uv/pull/5639)) + +### CLI + +- Create help sections for build, install, resolve, and index ([#5693](https://github.com/astral-sh/uv/pull/5693)) +- Improve CLI documentation for global options ([#5834](https://github.com/astral-sh/uv/pull/5834)) +- Improve `--python` CLI documentation ([#5869](https://github.com/astral-sh/uv/pull/5869)) +- Improve display order of top-level commands ([#5830](https://github.com/astral-sh/uv/pull/5830)) + +### Bug fixes + +- Allow downloading wheels for metadata with `--no-binary` ([#5707](https://github.com/astral-sh/uv/pull/5707)) +- Reject `pyproject.toml` in `--config-file` ([#5842](https://github.com/astral-sh/uv/pull/5842)) +- Remove double-proxy nodes in error reporting ([#5738](https://github.com/astral-sh/uv/pull/5738)) +- Respect pre-release preferences from input files ([#5736](https://github.com/astral-sh/uv/pull/5736)) +- Support overlapping local and non-local requirements in forks ([#5812](https://github.com/astral-sh/uv/pull/5812)) + ## 0.2.33 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 64628b050832..a6c18b383f61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4451,7 +4451,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.2.33" +version = "0.2.34" dependencies = [ "anstream", "anyhow", @@ -5179,7 +5179,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.33" +version = "0.2.34" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index 27fa9b21618e..2bba03b405b7 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,61 @@ # Changelog +## 0.2.34 + +### Preview features + +- Add "next steps" to some early documentation pages ([#5825](https://github.com/astral-sh/uv/pull/5825)) +- Add `--no-build-isolation` to uv lock et al ([#5829](https://github.com/astral-sh/uv/pull/5829)) +- Add `--no-sources` to avoid reading from `tool.uv.sources` ([#5801](https://github.com/astral-sh/uv/pull/5801)) +- Add `uv add --no-sync` and `uv remove --no-sync` ([#5881](https://github.com/astral-sh/uv/pull/5881)) +- Add a guide for publishing packages ([#5794](https://github.com/astral-sh/uv/pull/5794)) +- Address some feedback in the tools documentation ([#5827](https://github.com/astral-sh/uv/pull/5827)) +- Avoid lingering dev and optional dependencies in `uv tree` ([#5766](https://github.com/astral-sh/uv/pull/5766)) +- Avoid mismatch in `--locked` with Git dependencies ([#5865](https://github.com/astral-sh/uv/pull/5865)) +- Avoid panic when re-locking with precise commit ([#5863](https://github.com/astral-sh/uv/pull/5863)) +- Avoid using already-installed tools on `--upgrade` or `--reinstall` ([#5799](https://github.com/astral-sh/uv/pull/5799)) +- Better workspace documentation ([#5728](https://github.com/astral-sh/uv/pull/5728)) +- Collapse policies section into reference ([#5696](https://github.com/astral-sh/uv/pull/5696)) +- Don't show deprecated warning in `uvx --isolated` ([#5798](https://github.com/astral-sh/uv/pull/5798)) +- Ensure `python`-to-`pythonX.Y` symlink exists in downloaded Pythons ([#5849](https://github.com/astral-sh/uv/pull/5849)) +- Fix CLI reference URLs to subcommands ([#5722](https://github.com/astral-sh/uv/pull/5722)) +- Fix some console blocks in the environment doc ([#5826](https://github.com/astral-sh/uv/pull/5826)) +- Group resolver options in lockfile ([#5853](https://github.com/astral-sh/uv/pull/5853)) +- Improve CLI documentation for `uv tree` ([#5870](https://github.com/astral-sh/uv/pull/5870)) +- Improve documentation for `uv init` CLI ([#5862](https://github.com/astral-sh/uv/pull/5862)) +- Improvements to the documentation ([#5718](https://github.com/astral-sh/uv/pull/5718)) +- Link to the GitHub integration guide from the cache concept ([#5828](https://github.com/astral-sh/uv/pull/5828)) +- Make some minor tweaks to the docs ([#5786](https://github.com/astral-sh/uv/pull/5786)) +- Omit local segments when adding uv add bounds ([#5753](https://github.com/astral-sh/uv/pull/5753)) +- Remove top-level bar from Python installs ([#5788](https://github.com/astral-sh/uv/pull/5788)) +- Replace `uv help python` references in CLI documentation with links ([#5871](https://github.com/astral-sh/uv/pull/5871)) +- Respect `.python-version` in `--isolated` runs ([#5741](https://github.com/astral-sh/uv/pull/5741)) +- Respect malformed `.dist-info` directories in tool installs ([#5756](https://github.com/astral-sh/uv/pull/5756)) +- Reuse existing virtualenvs with `--no-project` ([#5846](https://github.com/astral-sh/uv/pull/5846)) +- Rewrite resolver docs ([#5723](https://github.com/astral-sh/uv/pull/5723)) +- Show default and possible options in CLI reference documentation ([#5720](https://github.com/astral-sh/uv/pull/5720)) +- Skip files when detecting workspace members ([#5735](https://github.com/astral-sh/uv/pull/5735)) +- Support empty dependencies in PEP 723 scripts ([#5864](https://github.com/astral-sh/uv/pull/5864)) +- Support uv add `--dev` in virtual workspaces ([#5821](https://github.com/astral-sh/uv/pull/5821)) +- Update documentation index ([#5824](https://github.com/astral-sh/uv/pull/5824)) +- Update resolver reference documentation ([#5823](https://github.com/astral-sh/uv/pull/5823)) +- Update the override section with some content from the README ([#5820](https://github.com/astral-sh/uv/pull/5820)) +- Update the resolution concept documentation ([#5813](https://github.com/astral-sh/uv/pull/5813)) +- Use cache for Python install temporary directories ([#5787](https://github.com/astral-sh/uv/pull/5787)) +- Use lockfile directly in `uv tree` ([#5761](https://github.com/astral-sh/uv/pull/5761)) +- Use uv installer during build ([#5854](https://github.com/astral-sh/uv/pull/5854)) +- Filter `uv tree` to current platform by default ([#5763](https://github.com/astral-sh/uv/pull/5763)) +- Redact registry credentials in lockfile ([#5803](https://github.com/astral-sh/uv/pull/5803)) +- Show extras and dev dependencies in `uv tree` ([#5768](https://github.com/astral-sh/uv/pull/5768)) +- Support `--python-platform` in `uv tree` ([#5764](https://github.com/astral-sh/uv/pull/5764)) +- Add help heading for `--no-sources` ([#5833](https://github.com/astral-sh/uv/pull/5833)) +- Avoid reusing incompatible distributions across lock and sync ([#5845](https://github.com/astral-sh/uv/pull/5845)) +- Fix broken anchor links in docs about dependencies ([#5769](https://github.com/astral-sh/uv/pull/5769)) +- Fix the default value of python-preference in docs/reference/settings.md ([#5755](https://github.com/astral-sh/uv/pull/5755)) +- Improve CLI documentation for `uv run` ([#5841](https://github.com/astral-sh/uv/pull/5841)) +- Remove some trailing backticks from the docs ([#5781](https://github.com/astral-sh/uv/pull/5781)) +- Use `uvx` in docs serve contributing command ([#5795](https://github.com/astral-sh/uv/pull/5795)) + ## 0.2.33 ### Preview features diff --git a/README.md b/README.md index 4e7302ea6224..6933852460ef 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,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.33/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.33/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.34/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.34/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 1850c25466a3..335d17fc7bea 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.33" +version = "0.2.34" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index aa3296bb04ac..a2858c454386 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.33" +version = "0.2.34" 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 b24b0b9d6f05..e92eb2dab560 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.33 + rev: 0.2.34 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.33 + rev: 0.2.34 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.33 + rev: 0.2.34 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 83642fc6dc62..7b603f0cfdf3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.33" +version = "0.2.34" 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"