Changelog History
Page 1
-
v2.0.7 Changes
November 16, 2020Optimization
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
commandThe
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, 2020Optimizations
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). -
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 setsjna.library.path
prior to starting the app, so that it can load libpython.so via JNA. This release also setsjna.nosys
tofalse
, so that libpython.so can be loaded from the standard locations, most notablyPATH
on Windows.โ Add
--python
option tocs bootstrap
When generating bootstraps, passing
--python
ensuresjna.library.path
andjna.nosys
are set prior to starting the app, so that libpython.so can be loaded from JNA.โ Add
jna
field in app descriptorsApp descriptors now accept an optional
jna
field, whose value must be a list of strings. If this list contains"python"
,jna.library.path
andjna.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 fromgithub.com
from the native Windows launcher
- ๐ Fix
-
v2.0.2 Changes
October 09, 2020๐ Changes
- โ Add
sbtn
to the default application list, installed duringcs setup
๐ Fixes
- ๐ Interpret some SSL handshake errors as not found errors, when looking for prebuilt binaries during
cs install
andcs setup
(this has been a problem when installingcs
on Windows since2.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)
- โ Add
-
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 inlocal
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)
- โฌ๏ธ Drop scala
-
v2.0.0-RC5 Changes
November 12, 2019.