coursier v2.0.5 Release Notes
Release Date: 2020-10-23 // over 3 years ago-
Optimizations
Cache computed checksums
Computed checksums of downloaded files are now written in the cache, and read from there later on. This short-circuits checksum computation for anything already in cache, which can significantly speed up resolutions with large dependency graphs.
โ Added in #1801, thanks to @oyvindberg.
๐ Changes
๐ New
cs channel
command๐ This release adds a new
cs channel
command. This command allows to add channels, like$ cs channel --add my.company:cs-channel
or list them with
$ cs channel --list
๐ This deprecates the
--add
option of thecs install
command (which is still available, and prints a deprecation message).โ Added in #1899, thanks to @shubhamJay.
๐ Allow to pick particular files in archives as prebuilt binaries in application descriptors
It is now possible to specify that prebuilt binaries for applications correspond to particular files in archives, like
"prebuilt": "zip+https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.zip!sbt/bin/sbtn-${platform}"
๐ This example picks the file
sbt/bin/sbtn-${platform}
(where${platform}
is replaced byx86_64-apple-darwin
on macOS, โฆ) from the zip archive at URLhttps://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.zip
(where${version}
is replaced by1.4.1
for example).