github coursier/coursier v2.0.5

latest releases: v2.1.10, v2.1.9, v2.1.8...
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 the cs 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 by x86_64-apple-darwin on macOS, …) from the zip archive at URL https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.zip (where ${version} is replaced by 1.4.1 for example).

Don't miss a new coursier release

NewReleases is sending notifications on new releases.