Releases: astral-sh/rye
0.30.0
What's Changed
-
Fix incorrect flag passing of
rye test
-q
and-v
. #880 -
Rye now loads
.env
files. This applies both for Rye's own
use of environment variables but also to scripts launched via
run
. #894 -
Fix
rye add m --path ./m
causing a panic on windows. #897
New Contributors
- @rachtsingh made their first contribution in #883
- @hyyking made their first contribution in #876
- @odinjaign made their first contribution in #880
Full Changelog: 0.29.0...0.30.0
0.29.0
What's Changed
-
Trap panics and silence bad pipe errors. #862
-
Updating
rye
will now also ensure that the self-venv is updated. Previously
this was deferred until the nextsync
. #863 -
The
self update
command now accepts--branch
. #864 -
Fixed an issue that caused pip-tools to not update. #865
-
Updates
build
andcertifi
. #866
Full Changelog: 0.28.0...0.29.0
0.28.0
What's Changed
-
--skip-existing
is now available with Rye'spublish
command. #831 -
Bumped
ruff
to 0.3.0. #821 -
The
init
command now generates a script with the name of the
project rather thanhello
. #801 -
Retain markers when adding dependencies with features when uv is used. #807
-
Fixed a bug that caused repeated syncs not to recall all previous options. #830
-
Report
self-python
version in--version
. #843 -
Fixes a bug where
rye config
would not create theRYE_HOME
folder if needed. #844 -
rye add
now retains version and URL for the requirements whenuv
is used. #846 -
Added a
rye test
command which invokespytest
. #847
New Contributors
- @Marukome0743 made their first contribution in #796
- @joshuabambrick made their first contribution in #814
- @335g made their first contribution in #815
- @eifinger made their first contribution in #829
Full Changelog: 0.27.0...0.28.0
0.27.0
What's Changed
-
rye now uses
uv
to bootstrap its internal packages and tools. #754 -
rye no longer fails if an incorrect
VIRTUAL_ENV
environment
variable is exported. #766 -
Added latest Python builds. #771
-
When
uv
is used the prompt is now set to the project name. #773 -
Allow
rye fetch --force
to force re-fetch a downloaded toolchain. #778 -
Fixed a panic when adding a package to a virtual project. #783
-
Bumped
uv
to 0.1.11. #790
New Contributors
- @dhruvinsh made their first contribution in #761
- @yezz123 made their first contribution in #775
Full Changelog: 0.26.0...0.27.0
0.26.0
What's Changed
-
init
now supports--script
and--lib
to generate a script or library project. #738 -
Fixed
rye config --show-path
abort with an error. #706 -
Bumped
ruff
to 0.2.2. #700 -
Prevent
rye toolchain remove
from removing the currently active toolchain. #693 -
Sync latest PyPy releases. #683
-
Fixes an issue where when
uv
is enabled,add
did not honor custom sources. #720 -
When
uv
is enabled, rye will now automatically sync onadd
andremove
. #677 -
Rename
rye tools list
flags:-i, --include-scripts
to-s, --include-scripts
and-v, --version-show
to-v, --include-version
. #722
New Contributors
- @homeworkprod made their first contribution in #724
- @gunungpw made their first contribution in #732
- @hynek made their first contribution in #739
Full Changelog: 0.25.0...0.26.0
0.25.0
What's Changed
-
Improved the error message if
config
is invoked without arguments. #660 -
When
uv
is enabled,rye add
now usesuv
instead ofunearth
internally. #667 -
The installer now has slightly better wording for what the shims are doing. #669
-
uv
can now also be enabled on windows. #675 -
Removed the unsupported and un-used
arch
parameter fromfetch
. #681 -
Fixed the
-q
parameter not working for theinit
command. #686 -
rye tools list
shows broken tools if the toolchain was removed. #692 -
Configure the ruff cache directory to be located within the workspace root. #689
-
Use default toolchain to install tools. #666
-
rye --version
now shows ifuv
is enabled. #699
New Contributors
- @matthiask made their first contribution in #661
- @dnlbauer made their first contribution in #679
- @loicleyendecker made their first contribution in #666
Full Changelog: 0.24.0...0.25.0
0.24.0
What's Changed
-
Added new
rye list
command and deprecatedrye show --installed-deps
which it replaces. #656 -
Added experimental support for
uv
. #657
Full Changelog: 0.23.0...0.24.0
0.23.0
What's Changed
-
When
behavior.venv-mark-sync-ignore
is set tofalse
and the file system
does not support extended attributes, no longer will a warning be printed. #633 -
Fixed a bug that caused warnings about unsupported operations to be shown on Linux. #634
-
The venv sync marker is now only updated when a new virtualenv is created. #638
-
Lockfiles now contain annotations. #643
New Contributors
- @DannyGoodall made their first contribution in #645
Full Changelog: 0.22.0...0.23.0
0.22.0
What's Changed
-
Virtual envs managed by Rye will now by default be marked to not sync to
known cloud storage systems (Dropbox and iCloud). #589 -
Fixed a bug where pip-tools sometimes did not get initialized. #596
-
Rye now prefers installed toolchains over newer latest toolchains unless
a precise pin is used. #598 -
Removed the non functional
shell
command. #602 -
Upgraded internal unearth dependency which resolved an issue where
rye add tensorflow
would not work. #614 -
The installer now supports
RYE_TOOLCHAIN_VERSION
. #606 -
rye init
will no longer create packages with leading digits. #616 -
Rye now statically links
vcruntime
on Windows which no longer requires
the vs redist to be installed. #622 -
rye show
now prints out which sources are configured for a project. #631
New Contributors
- @groodt made their first contribution in #582
- @mostthingsweb made their first contribution in #588
- @deltheil made their first contribution in #591
- @gabelluardo made their first contribution in #602
Full Changelog: 0.21.0...0.22.0
0.21.0
What's Changed
-
rye fetch
now is able to fetch impliciit version in all cases. Previously
global shims were not properly defaulted which required the user to be explicit
with the fetch request. #574 -
The rye installer now prompts for the default toolchain version if global shims
are enabled. #576 -
The internal Python version was bumped to 3.12. #576
-
The installer now can automatically add Rye to
PATH
on most UNIX environments. #580
Full Changelog: 0.20.0...0.21.0