Skip to content
  • v2.0.5
  • adf62e2
  • Compare
    Choose a tag to compare
    Search for a tag
  • v2.0.5
  • adf62e2
  • Compare
    Choose a tag to compare
    Search for a tag

@alexarchambault alexarchambault released this Oct 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).

Assets 14
  • v2.0.4
  • ae2d06a
  • Compare
    Choose a tag to compare
    Search for a tag
  • v2.0.4
  • ae2d06a
  • Compare
    Choose a tag to compare
    Search for a tag

@alexarchambault alexarchambault released this Oct 21, 2020 · 5 commits to master since this release

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.

Assets 14

@alexarchambault alexarchambault released this Oct 12, 2020 · 22 commits to master since this release

Fixes

  • Fix javax.net.ssl.SSLHandshakeException thrown when downloading things from github.com from the native Windows launcher
Assets 14

@alexarchambault alexarchambault released this Oct 9, 2020 · 32 commits to master since this release

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)
Assets 14
  • v2.0.1
  • 70c187f
  • Compare
    Choose a tag to compare
    Search for a tag
  • v2.0.1
  • 70c187f
  • Compare
    Choose a tag to compare
    Search for a tag

@alexarchambault alexarchambault released this Oct 8, 2020 · 48 commits to master since this release

Changes

  • Add support for compressed prebuilt binaries when installing apps (see the sbtn app descriptor for an example)
Assets 2

@alexarchambault alexarchambault released this Oct 2, 2020 · 78 commits to master since this release

No changes since 2.0.0-RC6-27.

Assets 14
Pre-release
Pre-release

@alexarchambault alexarchambault released this Oct 1, 2020 · 97 commits to master since this release

Changes

  • Add support for the arm and aarch64 JVM architectures in the java and java-home commands (#1849, thanks to @matsluni)
  • Build native launchers with GraalVM 20.1.0 Java 11 (former coursier versions used GraalVM 19.3.1 Java 8)
  • Add --jvm-index option to the java / java-home / setup commands, allowing to pass a custom JVM index URL, also accepting aliases such as jabba (current default) and cs (supporting less JVM flavors, but more up-to-date)

Other

  • coursier now uses GitHub actions for its CI, rather than Travis CI and Appveyor
  • The switch to GraalVM 20.1.0 and GitHub actions fixes the generation of native launchers on the CI, which should be shipped as GitHub release assets again (which was broken in 2.0.0-RC6-25 and 2.0.0-RC6-26)
Assets 8
Pre-release
Pre-release

@alexarchambault alexarchambault released this Sep 11, 2020 · 146 commits to master since this release

Changes

  • Allow to set Java properties for coursier itself via -J-D in the native launcher (this can be useful for http proxies in particular)
  • Read the {http,https}.proxyUser and {http,https}.proxyPassword Java properties, set up proxy authentication accordingly

Updates

  • Bump directories-jvm (better powershell.exe detection, use pwsh.exe from Powershell >= 6.0 if needed)
Assets 8
Pre-release
Pre-release

@alexarchambault alexarchambault released this Aug 21, 2020 · 167 commits to master since this release

Changes

  • Keep info.* attributes as properties when parsing ivy.xml files (these attributes can include scaladoc links in particular, fixed in #1820, thanks to @eed3si9n)
  • Keep licenses distribution and comments when parsing POM files (#1827, thanks to @ckipp01)
  • API: use simulacrum to generate helpers for our stub type classes

Fixes

  • Update to the latest main branch of directories-jvm, which fixes possible issues around UTF-8 BOM handling and powershell profiles, on Windows, when computing the location of the coursier cache and config directories.
Assets 8
Pre-release
Pre-release

@alexarchambault alexarchambault released this Jul 31, 2020 · 181 commits to master since this release

Fixes

  • Fix handling of version intervals in JSON report (dependencies with a version interval as version had empty dependencies).
  • Ensure latest.stable doesn't match milestones or alpha / beta versions.
  • Accept space characters as separator in COURSIER_REPOSITORIES, so that Ivy repositories with different metadata and artifact patterns can be used.
  • Fix update and list command on Windows.

Enhancements

  • Don't print empty line when the result of the fetch command is empty.
  • In the java and java-home commands, don't re-download JVM index when not necessary. (If the cached index has a matching JVM, it's used straightaway, and the index is not updated. Pass --update to force updating the index.)
  • Add aliases for GCS repositories (gcs, gcs-eu, gcs-asia)
Assets 14
You can’t perform that action at this time.