mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
23 KiB
23 KiB
Changelog
0.2.25
Preview features
- Add documentation for running scripts (#4968)
- Add guide for tools (#4982)
- Allow URL dependencies in tool run
--from
(#5002) - Add guide for authenticating to Azure Artifacts (#4857)
- Improve rc file detection based on rustup (#5026)
- Rename
python install --force
parameter to--reinstall
(#4999) - Use lockfile to prefill resolver index (#4495)
uv tool install
hint the correct when the executable is available (#5019)uv tool run
error messages referencesuvx
when appropriate (#5014)uvx
warns when requested executable is not provided by the package #5071)- Exit with zero when
uv tool install
request is already satisfied (#4986) - Respect the libc of the execution environment with
uv python list
(#5036) - Update standalone Pythons to include 3.12.4 (#5042)
uv tool run
suggest valid commands when command is not found (#4997)- Add Windows path updates for
uv tool
(#5029) - Add a command to append uv's binary directory to PATH (#4975)
0.2.24
Preview features
- Add Python installation guide (#4942)
- Add
uv python pin
(#4950) - Add command-separation for Python discovery display (#4916)
- Avoid debug error for
uv run
with unknown Python version (#4913) - Enable
--all
to uninstall all managed Pythons (#4932) - Enable
--all
to uninstall all managed tools (#4937) - Filter out markers based on Python requirement (#4912)
- Implement
uv tree
(#4708) - Improve 'any' search message during
uv python install
(#4940) - Lock for the duration of tool commands (#4720)
- Perform lock in
uv sync
by default (#4839) - Reinstall and recreate environments when interpreter is removed (#4935)
- Respect
--isolated
inuv python install
(#4938) - Respect resolver settings in
uv remove
(#4930) - Update "Python versions" documentation (#4943)
- Warn if tool binary directory is not on path (#4951)
- Avoid reparsing wheel URLs (#4947)
- Avoid serializing if lockfile does not change (#4945)
0.2.23
Preview features
- Avoid creating cache directories in tool directory (#4868)
- Add progress bar when downloading python (#4840)
- Add some decoration to tool CLI (#4865)
- Add some text decoration to toolchain CLI (#4882)
- Add user-facing output to indicate PEP 723 script (#4881)
- Ensure Pythons are aligned in
uv python list
(#4884) - Fix always-plural message in uv python install (#4866)
- Skip installing
--with
requirements if present in base environment (#4879) - Sort dependencies before wheels and source distributions (#4897)
- Improve logging during resolver forking (#4894)
0.2.22
Preview features
- Always use base interpreter for cached environments (#4805)
- Cache tool environments in
uv tool run
(#4784) - Check hash of downloaded python toolchain (#4806)
- Remove incompatible wheels from
uv.lock
(#4799) uv cache prune
removes all cached environments (#4845)- Add dedicated help menu for
uvx
(#4770) - Change "toolchain" to "python" (#4735)
- Create empty environment for
uv run --isolated
(#4849) - Deduplicate when install or uninstall python (#4841)
- Require at least one target for toolchain uninstalls (#4820)
- Resolve requirements prior to nuking tool environments (#4788)
- Tweak installation language in toolchain install (#4811)
- Use already-installed tools in
uv tool run
(#4750) - Use cached environments in PEP 723 execution (#4789)
- Use optimized versions of managed Python on Linux (#4775)
- Fill Python requests with platform information during automatic fetches (#4810)
- Remove installed python for force installation (#4807)
- Add tool version to list command (#4674)
- Add entrypoints to tool list (#4661)
0.2.21
Preview features
- Replace tool environments on updated Python request (#4746)
0.2.20
0.2.19
Preview features
- Remove dangling environments in
uv tool uninstall
(#4740) - Respect upgrades in
uv tool install
(#4736) - Add PEP 723 support to
uv run
(#4656) - Add
tool dir
andtoolchain dir
commands (#4695) - Omit
pythonX.Y
segment in stdlib path for managed toolchains on Windows (#4727) - Add
uv toolchain uninstall
(#4646) - Add
uvx
alias foruv tool run
(#4632) - Allow configuring the toolchain fetch strategy (#4601)
- Drop
prefer
prefix fromtoolchain-preference
values (#4602) - Enable projects to opt-out of workspace management (#4565)
- Fetch managed toolchains if necessary in
uv tool install
anduv tool run
(#4717) - Fix tool dist-info directory normalization (#4686)
- Lock the toolchains directory during toolchain operations (#4733)
- Log when we start solving a fork (#4684)
- Reinstall entrypoints with
--force
(#4697) - Respect data scripts in
uv tool install
(#4693) - Set fork solution as preference when resolving (#4662)
- Show dedicated message for tools with no entrypoints (#4694)
- Support unnamed requirements in
uv tool install
(#4716)
0.2.18
Preview features
- Add
uv tool list
(#4630) - Add
uv tool uninstall
(#4641) - Add support for specifying
name@version
inuv tool run
(#4572) - Allow
uv add
to specify optional dependency groups (#4607) - Allow the package spec to be passed positionally in
uv tool install
(#4564) - Avoid infinite loop for cyclic installs (#4633)
- Indent wheels like dependencies in the lockfile (#4582)
- Sync all packages in a virtual workspace (#4636)
- Use inline table for dependencies in lockfile (#4581)
- Make
source
field in lock file more structured (#4627)
0.2.17
Preview features
- Add
--extra
touv add
and enable fine-grained updates (#4566)
0.2.16
Preview features
- Add
--package
argument touv add
anduv remove
(#4556) - Add
uv tool install
(#4492) - Fallback to interpreter discovery in
uv run
(#4549) - Make
uv.sources
without--preview
non-fatal (#4558) - Remove non-existent extras from lockfile (#4479)
- Support conflicting URL in separate forks (#4435)
- Automatically detect workspace packages in
uv add
(#4557) - Omit
distribution.sdist
from lockfile when it is redundant (#4528) - Remove
source
andversion
from lock file when unambiguous (#4513) - Allow
uv lock
to read overrides fromtool.uv
(#4108) (#4369)
0.2.15
0.2.14
Preview features
- Expose
toolchain-preference
as a CLI and configuration file option (#4424) - Improve handling of command arguments in
uv run
anduv tool run
(#4404) - Add
tool.uv.sources
support foruv add
(#4406) - Use correct lock path for workspace dependencies (#4421)
- Filter out sibling dependencies in resolver forks (#4415)
0.2.13
Preview features
- Add
--workspace
option touv add
(#4362) - Ignore query errors during
uv toolchain list
(#4382) - Respect
.python-version
files and fetch manged toolchains in uv project commands (#4361) - Respect
.python-version
inuv venv --preview
(#4360)
0.2.12
Preview features
- Add
--force
option touv toolchain install
(#4313) - Add
--no-build
,--no-build-package
, and binary variants (#4322) - Add
EXTERNALLY-MANAGED
markers to managed toolchains (#4312) - Add
uv toolchain find
(#4206) - Add persistent configuration for non-
pip
APIs (#4294) - Add support for adding/removing development dependencies (#4327)
- Add support for listing system toolchains (#4172)
- Add support for toolchain requests by key (#4332)
- Allow multiple toolchains to be requested in
uv toolchain install
(#4334) - Fix relative and absolute path handling in lockfiles (#4266)
- Load configuration options from workspace root (#4295)
- Omit project name from workspace errors (#4299)
- Read Python version files during toolchain installs (#4335)
- Remove extraneous installations in
uv sync
by default (#4366) - Respect
requires-python
inuv lock
(#4282) - Respect workspace-wide
requires-python
in interpreter selection (#4298) - Support unnamed requirements in
uv add
(#4326) - Use portable slash paths in lockfile (#4324)
- Use registry URL for fetching source distributions from lockfile (#4280)
uv sync --no-clean
(#4367)- Filter dependencies by tracking markers on resolver forks (#4339)
- Use
Requires-Python
to filter dependencies during universal resolution (#4273)
0.2.11
Preview features
- Add changelog for preview changes (#4251)
- Allow direct URLs for dev dependencies (#4233)
- Create temporary environments in dedicated cache bucket (#4223)
- Improve output when an older toolchain version is already installed (#4248)
- Initial implementation of
uv add
anduv remove
(#4193) - Refactor project interpreter request for
requires-python
specifiers (#4216) - Replace
toolchain fetch
withtoolchain install
(#4228) - Support locking relative paths (#4205)
- Warn when 'requires-python' does not include a lower bound (#4234)
0.2.10
Preview features
- Add
uv toolchain install
(#4164) - Add
uv toolchain list
(#4163) - Add extra and dev dependency validation to lockfile (#4112)
- Add markers to edges rather than distributions (#4166)
- Cap
Requires-Python
comparisons at the patch version (#4150) - Do not create a virtual environment when locking (#4147)
- Don't panic with invalid wheel source (#4191)
- Fetch managed toolchains in
uv run
(#4143) - Fix PEP 508 link in preview doc
specifying_dependencies
(#4158) - Ignore tags in universal resolution (#4174)
- Implement
Toolchain::find_or_fetch
and use inuv venv --preview
(#4138) - Lock all packages in workspace (#4016)
- Recreate project environment if
--python
orrequires-python
doesn't match (#3945) - Respect
--find-links
inlock
andsync
(#4183) - Set
--dev
to default foruv run
anduv sync
(#4118) - Track
Markers
via a PubGrub package variant (#4123) - Use union of
requires-python
in workspace (#4041) - make universal resolver fork only when markers are disjoint (#4135)
0.2.9
Preview features
- Add support for development dependencies (#4036)
- Avoid enforcing distribution ID uniqueness for extras (#4104)
- Ignore upper-bounds on
Requires-Python
(#4086)
0.2.8
Preview features
- Default to current Python minor if
Requires-Python
is absent (#4070) - Enforce
Requires-Python
when syncing (#4068) - Track supported Python range in lockfile (#4065)
0.2.7
Preview features
- Fix a bug where no warning is output when parsing of workspace settings fails. (#4014)
- Normalize extras in lockfile (#3958)
- Respect
Requires-Python
in universal resolution (#3998)
0.2.6
Preview features
- Add
uv run --package
(#3864) - Add index URL parameters to Project CLI (#3984)
- Avoid re-adding solutions to forked state (#3967)
- Draft for user docs for workspaces (#3866)
- Include all extras when generating lockfile (#3912)
- Remove unstable uv lock from pip interface (#3970)
- Respect resolved Git SHAs in
uv lock
(#3956) - Use lockfile in
uv run
(#3894) - Use lockfile versions as resolution preferences (#3921)
- Use universal resolution in
uv lock
(#3969)
0.2.5
Preview features
- Add context to failed
uv tool run
(#3882) - Add persistent storage of installed toolchains (#3797)
- Gate discovery of managed toolchains with preview (#3835)
- Initial workspace support (#3705)
- Move editable discovery behind
--preview
for now (#3884)
0.2.4
0.2.3
Preview features
- Allow specification of additional requirements in
uv tool run
(#3678)
0.2.2
0.2.1
Preview features
- Allow users to specify a custom source package to
uv tool run
(#3677)
0.2.0
Preview features
- Add initial implementation of
uv tool run
(#3657) - Add offline support to
uv tool run
anduv run
(#3676) - Better error message for
uv run
failures (#3691) - Discover workspaces without using them in resolution (#3585)
- Support editables in
uv sync
(#3692) - Track editable requirements in lockfile (#3725)
0.1.45
Preview features
- Add direct URL conversion to lockfile (#3633)
- Add hashes and versions to all distributions (#3589)
- Add local path conversions from lockfile (#3609)
- Add missing
"directory"
branch in source match (#3608) - Add registry file size to lockfile (#3652)
- Add registry source distribution support to lockfile (#3649)
- Refactor editables for supporting them in bluejay commands (#3639)
- Rename
sourcedist
tosdist
in lockfile (#3590) - Respect installed packages in
uv run
(#3603) - Support lossless serialization for Git dependencies in lockfile (#3630)
0.1.44
0.1.43
Preview features
- Create virtualenv if it doesn't exist in project API (#3499)
- Discover
uv run
projects hierarchically (#3494) - Read and write
uv.lock
based on project root (#3497) - Read package name from
pyproject.toml
inuv run
(#3496) - Rebrand workspace API as project API (#3489)
0.1.42
Preview features
- Use environment layering for
uv run --with
(#3447) - Warn when missing minimal bounds when using
tool.uv.sources
(#3452)
0.1.41
0.1.40
Preview features
- Add basic
tool.uv.sources
support (#3263) - Improve non-git error message (#3403)
- Preserve given for
tool.uv.sources
paths (#3412) - Restore verbatim in error message (#3402)
- Use preview mode for tool.uv.sources (#3277)
- Use top-level
--isolated
foruv run
(#3431) - add basic "install from lock file" operation (#3340)
- uv-resolver: add initial version of universal lock file format (#3314)