Releases: coursier/coursier
v1.0.0-M14-1
Mainly a convenience release for the current state of the coursier spark-submit
command.
Changes
- Add an experimental and subject to change
coursier spark-submit
command, allowing to submit applications via spark rather than launching them locally (#335).
Non-backward compatible changes
- N/A
v1.0.0-M14
Changes
- Ignore UTF-8 BOM in metadata files (#321)
- Take into account
sbt.global.base
andsbt.ivy.home
properties (#326) - Fix regression in 1.0.0-M13 related to non-JAR packaging (#326)
- Take into account scala JARs put in the classpath by SBT for the scala version it uses (#326)
- Switch to scalaz 7.2 (#328)
- Propagate user-supplied URLs with
from
to other sub-projets (#328) - Propagate resolvers to other sub-projects (#328)
- Have
coursierDependencyTree
not trigger a full update (#330) - More reliable handling of user-supplied URLs via
from
(resolution should not fail if the URL is wrong, #330) - Use sub-project names rather than their coordinates in the SBT plugin output (#330)
- Add okhttp plugin (to use as a replacement for the sometimes flaky
java.net.HttpUrlConnection
, #331) - Important fix in the handling of plugins for extra protocols (#332)
Non-backward compatible changes
- Switch to scalaz 7.2, as 1.0 final is coming later than initially thought.
v1.0.0-M13
Changes
- Lots of fixes (#262, #290, #293, #294, #304, #305, #311, #312)
- Add support for version intervals for Ivy repositories (#265)
- Better --intransitive option from the command-line tools (#264)
- Take into account scalaOrganization setting (#267)
- Add support for TTL (#269, #306)
- Better error messages from the SBT plugin (#270)
- Allow to specify Maven profiles to use (#293, #306)
Non-backward compatible changes
- Possible minor incompatible binary changes because of changes in the internals of coursier, it is recommended to recompile your code against the
1.0.0-M13
version.
v1.0.0-M12-1
Changes
- Read credentials from the
credentials
key from the SBT plugin (#257)
This is enabled by default, but isn't fully satisfying as is. credentials
is handled by SBT, and seems to acquire a global lock when queried. If a
SBT is starting up elsewhere (initial resolution necessarily not handled by coursier)
or a publish
command is running in another SBT, these acquire the lock and make the
credentials
setting, so the update, wait for it. The coursierUseSbtCredentials
setting
controls whether coursier checks the credentials
key. It is set to true by
default for now, but may not be so in the future because of this lock issue.
- Disable progress bars by default if the
CI
orINSIDE_EMACS
environement
variables are set (#257)
These were already disabled if the current process has no input (that is if
launched with < /dev/null
- the sbt-extras launcher with the -batch
option
does that).
By default, Travis CI seems not to provide the -batch
option to the sbt-extras
launcher, but it does set the CI
environment variable.
Non-backward compatible changes
N/A
v1.0.0-M12
Changes
- Add support for cross version in
excludeDependencies
in SBT plugin (thanks to @jalaziz, #238) - Add
simple-web-server
module, providing an equivalent of python'sSimpleHTTPServer
or node'shttp-server
(run like./coursier launch io.get-coursier:simple-web-server_2.11:1.0.0-M12 -r http://dl.bintray.com/scalaz/releases
, add-- --help
to list available options - #241) - Fix a resolution bug occurring randomly in some tricky resolutions (#241)
- Fix Ivy attributes missing in artifacts published from SBT with sbt-coursier enabled (mainly affects SBT plugins published this way, #241)
- Add support for printing dependency trees (
-t
and-T
options from the command line,coursierDependencyTree
andcoursierDependencyInverseTree
from the SBT plugin, #243) - Experimental: add early support for using an SBT project as a repository for its projects (really experimental / probably unstable, #243)
- Handle Maven properties names with a wider range of characters (#247)
v1.0.0-M11-1
v1.0.0-M11
Changes
- Hacks to lower the odds of redundancy in returned resolution artifacts (in case of redundant artifact URLs not already in cache, the first download locks the corresponding file for the others - #223, #230)
- Add support for
bintray:user
andtypesafe:ivy-...
repository aliases (#229) - Have the launch command accept arguments for the launched application right after
--
(#229) - Fix regression in classloader isolation setup of the launch command (
-i
and-I
options - #228) - Fix regression in the bootstrap command (#225)
- Take into account the
isMavenCompatible
flag of repositories from SBT (#221) - Remove unnecessary check making some resolutions fail (#222)
- First scripted tests of the SBT plugin (#212, #218)
- Add
-P
option to force displaying progress bars (in non interactive mode in particular, #217) - Add
update-local
andupdate-local-changing
modes, that only try to update already existing locally artifacts (#217) - Try to download snapshot versioning metadata only for changing artifacts (#217)
- Add benchmark option
-B
to display resolution and resolution iterations durations (specify a negative value-n
to run the resolutionn
times, a positive one to display the durations of individual iterations too - #217) - Use SBT logging to print things from the SBT plugin (#217)
- Don't flood the terminal with ignored errors from the SBT plugin (those of missing sources / javadoc in
updateClassifiers
andupdateSbtClassifiers
- #217) - Enlarge the scope of property substitution in POMs (fixes some resolution issues - #213)
- Add support for fallback artifacts (
from
syntax) in SBT plugin (#212) - Add support for
excludeDependencies
in the SBT plugin (#212) - Better lookup of the main class by the launch command (#205)
- Rename SBT plugin artifact to
sbt-coursier
(thanks to @soc, #202) - Change coursier artifacts organization to
io.get-coursier
- Really suppress
/dev/tty not configured
message (#201)
Non-backward compatible changes
- Possible minor incompatible binary changes, it is recommended to recompile your code using coursier against the
1.0.0-M11
version.
v1.0.0-M10
Changes
- Standalone launcher no more along the sources. It now has to be manually generated. (#179)
- Fix in the generation of fully standalone bootstrap apps (those not needing downloading anything on first launch - #179)
- Add support for packaging parameter in POM (#181)
- Important fix in handling of Maven scopes (#181)
- Allow to ask for specific scopes / configurations of dependencies from the CLI tools (#181)
- Remove ammonite-terminal dependency (#186)
- Deal with more exotic checksum formats (#171, #188, #191)
- Add support for custom URL protocols (via
java.net.URLStreamHandler
, #189) - Cache now designated via a single directory, from the API (#189)
- Fix
update-changing
cache mode (#190) - Report update checks in the terminal (like downloads, #190)
- Important fix in SBT plugin - it should not mess with publish anymore (that is still handled by SBT / Ivy - #192)
- Don't wrongly consider previous partial download as instantaneously downloaded when starting a download, for bitrate calculations (#193)
- Add back support for partial downloads (#193)
- Switch to scala 2.11.8, scala JS 0.6.7 (#197)
- Change conf mapping separator in output (use semi-colon like Ivy - #197)
- Fix verbose option of CLI tools (#197)
- CLI tools and SBT plugin less verbose by default (#197)
- Disable progress bars in non-interactive mode (#197)
- Acquire cache-wide lock when creating new directories / file locks in cache (#197)
- Add support for
dependencyOverrides
in SBT plugin (#197)
Non-backward compatible changes
- Important From the API, the cache is now specified with a single directory, instead of a sequence of (prefix, directory). E.g. if you were providing as cache
Seq(
"http://" -> new File(cacheDir, "http"),
"https://" -> new File(cacheDir, "https")
)
with this exact format, all you have to provide now is cacheDir
. The cache
module methods now create themselves sub-directories for the various protocols. This allows to support other protocols too.
- Various minor things changed at the binary level, it is recommended to recompile your code using coursier against the
1.0.0-M10
version.