All Versions
14
Latest Version
Avg Release Cycle
25 days
Latest Release
1251 days ago

Changelog History
Page 1

  • v2.0.7 Changes

    November 16, 2020

    Optimization

    Memo-ize classes that can be created at a high rate

    coursier.core.{Dependency, Module, Publication} are now memo-ized (using weak references). This can lower the amount of duplicate instances of these objects, and lower GC pressure.

    โž• Added in #1900, thanks to @jtjeferreira.

    ๐Ÿ›  Fixes

    Un-escape characters in file URLs

    When using local repositories with special characters in their paths, such as spaces, escaped characters were not properly handled, which created spurious not-found errors.

  • v2.0.6 Changes

    November 02, 2020

    ๐Ÿ›  Fixes

    Persisted checksums written outside of the coursier cache

    ๐Ÿš€ Persisted checksums were added in 2.0.5. These could mistakenly be written outside of the coursier cache, under ~/.ivy2/local for example. This release fixes that.

    ๐Ÿ›  Fixed in #1909, thanks to @oyvindberg.

    Changing artifacts in cs get command

    The cs get command allows to download things via the coursier cache:

    $ cs get https://repo1.maven.org/maven2/io/get-coursier/coursier-cli_2.12/maven-metadata.xml
    ~/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/get-coursier/coursier-cli_2.12/maven-metadata.xml
    

    ๐Ÿš€ If a URL it is passed ends with ?changing=true, cs get should assume the artifact is changing (and may check for updates if the last check is older than the TTL). This release includes a fix for that. Prior to it, these were not assumed to be changing, so were not checked for updates.

    ๐Ÿ›  Fixed in #1907, thanks to @martijnhoekstra.

  • v2.0.5 Changes

    October 23, 2020

    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).

  • v2.0.4 Changes

    October 21, 2020

    ๐Ÿ”„ Changes

    โšก๏ธ Update zsh completions

    ๐Ÿ†• New commands (java, java-home, โ€ฆ) are now proposed as completions, and removed ones (spark-submit) were dropped. Some removed options were removed from completions too. (Changed in #1897, thanks to @note.)

    cs launch --python changes

    ๐Ÿš€ cs launch has a --python option, that sets jna.library.path prior to starting the app, so that it can load libpython.so via JNA. This release also sets jna.nosys to false, so that libpython.so can be loaded from the standard locations, most notably PATH on Windows.

    โž• Add --python option to cs bootstrap

    When generating bootstraps, passing --python ensures jna.library.path and jna.nosys are set prior to starting the app, so that libpython.so can be loaded from JNA.

    โž• Add jna field in app descriptors

    App descriptors now accept an optional jna field, whose value must be a list of strings. If this list contains "python", jna.library.path and jna.nosys are set prior to starting the app, so that libpython.so can be loaded from JNA.

  • v2.0.3 Changes

    October 12, 2020

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix javax.net.ssl.SSLHandshakeException thrown when downloading things from github.com from the native Windows launcher
  • v2.0.2 Changes

    October 09, 2020

    ๐Ÿ”„ Changes

    • โž• Add sbtn to the default application list, installed during cs setup

    ๐Ÿ›  Fixes

    • ๐Ÿ Interpret some SSL handshake errors as not found errors, when looking for prebuilt binaries during cs install and cs setup (this has been a problem when installing cs on Windows since 2.0.1 was tagged, when using the native launcher)

    Miscellaneous

    • ๐Ÿ Adapt some tests to make them pass on Windows (with or without CRLF to LF conversion in particular, #1890, thanks to @martijnhoekstra)
    • ๐Ÿ“š Mention in the documentation how to pass custom Java options to apps installed by cs install (#1892, thanks to @Poorva17)
  • v2.0.1 Changes

    October 08, 2020

    ๐Ÿ”„ Changes

    • โž• Add support for compressed prebuilt binaries when installing apps (see the sbtn app descriptor for an example)
  • v2.0.0 Changes

    August 02, 2019

    .

  • v2.0.0-RC6 Changes

    February 02, 2020
    • โฌ‡๏ธ Drop scala 2.11 support
    • ๐Ÿ– Handle JDK version intervals in Maven profile activation (#1504)
    • ๐Ÿ›  Fix regression in the handling of properties when both parent POMs and Maven import scope are involved (regression since 2.0.0-RC5-4, #1505)
    • โž• Add support for mirrors when using the coursier.Versions API (#1515, thanks to @fthomas)
    • Switch to Scala.JS 0.6.32
    • Don't issue HEAD requests in local mode (--mode local from the CLI, #1522, thanks to @fthomas)
    • ๐Ÿ›  Fix progress bars in the Windows command terminal (regression since around 2.0.0-RC3-3)
    • ๐Ÿ Build native CLI launchers with GraalVM 19.3.1, build Windows launchers too (#1525, see instructions on the website)
  • v2.0.0-RC5 Changes

    November 12, 2019

    .