coursier v2.0.7 Release Notes
Release Date: 2020-11-16 // over 4 years ago-
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.
Previous changes from v2.0.6
-
๐ 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.