Releases: conda/rattler
rattler_conda_types-v0.19.0
rattler-v0.19.0
bump: v0.19.0
v0.18.0
π Details
Added
Changed
- improved logging in package validation to include package path by @orhun (#521)
- use resolvo 0.4.0 with better error messages by @baszalmstra (#523)
Fixed
- allow multiple clobbers per package by @wolfv (#526)
- remove drop-bomb, move empty folder removal to
post_process
by @wolfv (#519) - keep in mind python: noarch packages in clobber calculations by @wolfv (#511)
Full Changelog: v0.17.0...v0.18.0
v0.17.0
β¨ Highlights
This release contains some big changes to rattler:
Consistent clobbering
Rattler installs packages in parallel but this was at the cost of not being able to resolve files properly that existed in multiple packages. With this release we fixed this issue by creating a consistent clobbering experience.
When a file is clobbered (installed by multiple packages) the last package in the topological ordering wins. This information is also recorded in the prefix itself which means that even if packages are added or removed from the environment the order remains consistent.
reqwest-middleware-client
The AuthenticatedClient
has been rewritten by @vlad-ivanov-name. Instead of having a custom client for network requests we now use the reqwest-middleware
crate. The rattler implementation adds a middleware that handles authentication. This changes makes it easier to integrate with other crates that use reqwest
for network requests, and it allows users to add their own middleware.
Lock-file v4
The lock-file format has been updated to version 4. Originally our implementation was semi-compatible with conda-lock. We wanted to stay as close as possible to this format because it was already an established standard. However, with version 2 and 3 of our implementation, we started to diverge more and more.
We felt like the goals between both formats also started to diverge more and more so with version 4 we decided to completely abandon the conda-lock format and create our own. This allows us to support for instance multiple environments in a single file.
For more information about the lock-file format and the differences between conda-lock you can read the documentation.
Note that all old formats (including the original conda-lock format) can still be parsed by rattler.
π Details
Added
- Add
get_windows_launcher
function by @wolfv (#477) - Expose
get_windows_launcher
function by @wolfv (#477) - Consistent clobbering & removal of
__pycache__
by @wolfv (#437) - Add
name()
toChannel
by @ruben-arts (#495) - Add timeout parameter to the solver by @wolfv (#499)
- Add a very simple basic test to validate that we can at least parse netrc properly by @mariusvniekerk (#503)
Changed
- Allow the full range of compression levels for zstd by @wolfv (#479)
- Make compression conversion functions
pub
by @wolfv (#480) - Lock-file v4 by @baszalmstra (#484)
- Convert authenticated client to reqwest middleware by @vlad-ivanov-name (#488)
- Upgrade to latest resolvo main by @tdejager (#497)
- Bump: resolvo 0.3.0 by @baszalmstra (#500)
Fixed
- Copy over file permissions after reflink by @orhun (#485)
- Fix clippy and deprecation warnings by @wolfv (#490)
- Do not unwrap as much in clobberregistry by @wolfv (#489)
- Fix warning for deref on a double reference by @wolfv (#493)
- Fix self-clobbering when updating a package by @wolfv (#494)
- Fix netrc parsing into BasicAuth by @wolfv (#506)
New Contributors
- @vlad-ivanov-name made their first contribution in #482
v0.16.2
v0.16.1
π Details
Added
- Add
read_package_file
function by @wolfv in (#472) - implement
Clone
forAboutJson
by @0xbe7a in (#467) - Allow using
str
inHashMap
s with aPackageName
key by @baszalmstra in (#468)
Changed
- Reflink files to destination if supported (instead of hardlinking) by @baszalmstra in (#463)
Fixed
v0.15.0
π Details
Added
- Add ParseMatchSpecError and ParseMatchSpecError tests by @Johnwillliam (#434)
- Add option to force usage of fallback_auth_store by @0xbe7a (#435)
- New crate (rattler-index) with index functionality including python bindings by @BenjaminLowry (#436)
- Add support for netrc files by @mariusvniekerk (#395)
Changed
- Renamed
behaviour
tobehavior
(#428) - Enabled more clippy lints by @baszalmstra (#462)
- Refactor
Version.bump()
to accept bumpingmajor/minor/patch/last
by @hadim (#452)
Fixed
- Default value for
conda_packages
in repodata.json by @BenjaminLowry (#441) - Wildcard expansion for stored credentials of domains by @0xbe7a (#442)
- Use serde default for proper serialization by @ruben-arts (#443)
- Better detection of hardlinks and fallback to copy by @baszalmstra (#461)
- Re-download the repodata cache if is out of sync/corrupt by @orhun (#466)
New Contributors
- @Johnwillliam made their first contribution in #434
- @BenjaminLowry made their first contribution in #436
- @hadim made their first contribution in #452
- @mariusvniekerk made their first contribution in #395
- @orhun made their first contribution in #464
Full Changelog: v0.14.0...v0.15.0