coursier v2.0.5 Release Notes

Release Date: 2020-10-23 // over 1 year 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).