diff --git a/CHANGELOG.md b/CHANGELOG.md index f1bf06c0ba03..b0b3be62a899 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## 0.2.33 + +### Enhancements + +- Add support for `ksh` to relocatable virtual environments ([#5640](https://github.com/astral-sh/uv/pull/5640)) + +### CLI + +- Add help sections for global options ([#5665](https://github.com/astral-sh/uv/pull/5665)) +- Move `--python` and `--python-version` into the "Python options" help ([#5691](https://github.com/astral-sh/uv/pull/5691)) +- Show help specific options (i.e. `--no-pager`) in `uv help` ([#5516](https://github.com/astral-sh/uv/pull/5516)) +- Update top-level command descriptions ([#5706](https://github.com/astral-sh/uv/pull/5706)) + +### Bug fixes + +- Remove lingering executables after failed installs ([#5666](https://github.com/astral-sh/uv/pull/5666)) +- Switch from heuristic freshness lifetime to hard-coded value ([#5654](https://github.com/astral-sh/uv/pull/5654)) + +### Documentation + +- Don't use equals signs for CLI options with values ([#5704](https://github.com/astral-sh/uv/pull/5704)) + ## 0.2.32 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index fc2d998d38b0..7e2d95e90402 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4450,7 +4450,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.2.32" +version = "0.2.33" dependencies = [ "anstream", "anyhow", @@ -5178,7 +5178,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.32" +version = "0.2.33" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index 512381e2860d..27fa9b21618e 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## 0.2.33 + +### Preview features + +- Add `--package` to `uv sync` ([#5656](https://github.com/astral-sh/uv/pull/5656)) +- Add documentation for caching the uv cache in GHA ([#5663](https://github.com/astral-sh/uv/pull/5663)) +- Avoid persisting `uv add` calls that result in resolver errors ([#5664](https://github.com/astral-sh/uv/pull/5664)) +- Bold active nav links for accessibility ([#5673](https://github.com/astral-sh/uv/pull/5673)) +- Check idempotence in packse lock scenarios ([#5485](https://github.com/astral-sh/uv/pull/5485)) +- Detect python version from python project by default in `uv venv` ([#5592](https://github.com/astral-sh/uv/pull/5592)) +- Drop badges from docs landing ([#5617](https://github.com/astral-sh/uv/pull/5617)) +- Fix non-registry serialization for receipts ([#5668](https://github.com/astral-sh/uv/pull/5668)) +- Generate CLI reference for documentation ([#5685](https://github.com/astral-sh/uv/pull/5685)) +- Improve copy of console command examples ([#5397](https://github.com/astral-sh/uv/pull/5397)) +- Improve the project guide ([#5626](https://github.com/astral-sh/uv/pull/5626)) +- Improve the Python version concepts documentation ([#5638](https://github.com/astral-sh/uv/pull/5638)) +- Improve the dependency concept documentation ([#5658](https://github.com/astral-sh/uv/pull/5658)) +- Include newly-added optional dependencies in lockfile ([#5686](https://github.com/astral-sh/uv/pull/5686)) +- Initialize the cache in `uv init` ([#5669](https://github.com/astral-sh/uv/pull/5669)) +- Limit sync after `uv add` ([#5705](https://github.com/astral-sh/uv/pull/5705)) +- Move pip-compatibility doc into pip interface section ([#5670](https://github.com/astral-sh/uv/pull/5670)) +- Move settings reference to reference section ([#5689](https://github.com/astral-sh/uv/pull/5689)) +- Omit the nav bar title when it has no use ([#5316](https://github.com/astral-sh/uv/pull/5316)) +- Omit transitive development dependencies from workspace lockfile ([#5646](https://github.com/astral-sh/uv/pull/5646)) +- Prioritize forks based on Python narrowing ([#5642](https://github.com/astral-sh/uv/pull/5642)) +- Prioritize forks based on upper bounds ([#5643](https://github.com/astral-sh/uv/pull/5643)) +- Prompt an early jump to the feature overview during first steps ([#5655](https://github.com/astral-sh/uv/pull/5655)) +- Remove breadcrumbs for navigation ([#5676](https://github.com/astral-sh/uv/pull/5676)) +- Replace `--python-preference installed` with `managed` ([#5637](https://github.com/astral-sh/uv/pull/5637)) +- Set lower bounds in `uv add` ([#5688](https://github.com/astral-sh/uv/pull/5688)) +- Simplify GHA `UV_SYSTEM_PYTHON` examples ([#5659](https://github.com/astral-sh/uv/pull/5659)) +- Support legacy tool receipts with PEP 508 requirements ([#5679](https://github.com/astral-sh/uv/pull/5679)) +- Unhide the experimental top-level commands ([#5700](https://github.com/astral-sh/uv/pull/5700)) +- Use "uv" for title of index instead of "Introduction" ([#5677](https://github.com/astral-sh/uv/pull/5677)) +- Use fork markers and fork preferences in resolution with lockfile ([#5481](https://github.com/astral-sh/uv/pull/5481)) +- Use full requirement when serializing receipt ([#5494](https://github.com/astral-sh/uv/pull/5494)) +- Use intersection rather than union for `requires-python` ([#5644](https://github.com/astral-sh/uv/pull/5644)) +- `uvx` warn when no executables are available ([#5675](https://github.com/astral-sh/uv/pull/5675)) + ## 0.2.32 ### Preview features diff --git a/README.md b/README.md index beff288b1c78..4be50cd4cbb6 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.32/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.32/install.ps1 | iex" +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" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 6a5ce98984db..1850c25466a3 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.32" +version = "0.2.33" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index ef531f7ad957..aa3296bb04ac 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.32" +version = "0.2.33" 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 a88535994311..b24b0b9d6f05 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.32 + rev: 0.2.33 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.32 + rev: 0.2.33 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.32 + rev: 0.2.33 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 29e01f9e8fba..83642fc6dc62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.32" +version = "0.2.33" 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"