v2.0.0-RC6-4
Pre-release
Pre-release
Deprecate cache directory ~/.coursier/cache
This only impacts users of pre Nov. 2017 versions of coursier, even occasional users of such versions. If you don't have a ~/.coursier/cache
directory on your system, you can safely ignore this.
Upon initialization, a warning is printed if the legacy cache location, ~/.coursier/cache
, is being used. This warning redirects to the README of cache-migration, which describes how to migrate one's cache.
See the release notes of coursier 2.0.0-RC6-14
for more details.
Fixes
missingOk
Take into account the missingOk
field of updateConfiguration
. That fixes possible issues:
- in
updateClassifiers
orupdateSbtClassifiers
, loudly failing where they should silently ignore missing artifacts, - in sbt-dependency-graph, not showing a tree or graph when resolution failed.
Fixed in #212, thanks to @eed3si9n.
New features
HTTP header-based authentication
Allow to pass HTTP header authentication to coursier. Use like
csrConfiguration := csrConfiguration
.value
.addRepositoryAuthentication(
repositoryId,
lmcoursier.definitions.Authentication(Seq(
"header1" -> "value1",
"header2" -> "value2",
…
))
)
once sbt relies on that sbt-coursier version.
Added in #220, thanks to @gilandose.
Updates
- Update coursier from
2.0.0-RC6-10
to2.0.0-RC6-14