Releases: coursier/coursier
v1.0.0-RC7
Changes
-
Fix regressions that increased the number of iterations during resolution (and were possibly slowing resolutions, #599)
-
Make Maven property handling more robust (#599)
-
Allow to generate native launchers, e.g.
$ coursier bootstrap -S -o native-test io.get-coursier.scala-native::sandbox_native0.3:0.3.0-coursier-1
generates a scala-native-based launcher (native-test
) for... a hello world (#598).
v1.0.0-RC6
v1.0.0-RC5
Changes
- Fix
updateSbtClassifiers
(regression in1.0.0-RC4
, #585) - Fix in Maven dependency management scope overriding (#587)
- Don't print duplicated dependencies in
coursier resolve
output (#587) - Move non-project specific settings to
buildSettings
in sbt-coursier (#588)
Non-backward compatible changes
- None
v1.0.0-RC4
Changes
- Better support for Maven snapshot versioning (thanks to @rfkm, #581)
- Add basic support for multiple version ranges (like
[1.0,2.0),[3.0,4.0)
, #581) - Fix support for version ranges for sbt plugins from Maven repositories (#581)
- Support sbt
1.0.0-M6
(replaces support for1.0.0-M5
, #560) - Have boostraps use the main coursier cache (#576)
- More slick tree printing (thanks to @sschuberth, #574)
- Better support for version ranges like
1.2.3-+
(thanks to @avdv, #556) - New
sbt-pgp-coursier
plugin, to downloadsbt-pgp
checksums via coursier (#571) - (Even) more careful handling of HTTP connections (#568)
- Don't fail if another coursier run downloads a file concurrently - watch the concurrent download instead, report its progress, and take over it if it gets interrupted (#568)
- Switch to scala-js
0.6.17
(#565) - Ensure Nexus proxies (Nexus 2 and 3) support is fine (some regressions in
1.0.0-RC1
, fixed in #554) - Don't mix resolutions of distinct Ivy configuration subgraphs in
sbt-coursier
(allowsneo-sbt-scalafmt
0.2
to be fine withsbt-coursier
, #554, and extra non regression test in #572 by @dotta) - Add support for binary checksum files (#554)
Non-backward compatible changes
- None
v1.0.0-RC3
v1.0.0-RC2
Changes
- Lower memory load from sbt-coursier (#462, thanks to @vil1)
- Better handling of Maven properties (#491)
- Clarify help message in CLI (#490, thanks to @olafurpg)
- Various fixes (#497, #498, #507, #509)
- Add support for relocated dependencies (#507, #529)
- Retry downloads if an
SSLException
is caught (#507) - Add support for build metadata in versions (#507)
- Better handling of snapshot versioning (#508, thanks to @smarter)
- Use sbt-release for releases (#512)
- Switch to scala-js
0.6.16
(#522) - Some clean-up (#523, thanks to @Jentsch, #528)
- Tweaking in sbt-shading plugin (#526, #527)
- Cross-compile sbt plugins for sbt
1.0.0-M5
(#525)
Non-backward compatible changes
- N/A
v1.0.0-RC1
Changes
New features
Scaladex-based launch command
Allows to launch applications from their Scaladex name via the coursier launch
command (#385, thanks to @MasseGuillaume too)
Example:
$ coursier launch lihaoyi/ammonite
$ coursier launch olafurpg/scalafmt
New sbt-shading plugin
Added in #426
Allows to shade dependencies like
lazy val myProj = project
.enablePlugins(coursier.ShadingPlugin)
.settings(
shadingNamespace := "myproj.shaded",
libraryDependencies += "com" %% "foo" % "0.2.3" % "shaded"
)
sbt myProj/shading:publish
then publishes myProj
with com.foo
shaded under the myproj.shaded
namespace.
Experimental 100% coursier-based sbt launcher
Added in #439, available at csbt
Try it from the coursier sources with
$ ./csbt
Allows to add plugins from project/build.properties
(optionally renamed to sbt.properties
at the root of the project), like
sbt.version=0.13.13
plugins = [
"org.xerial.sbt:sbt-pack:0.8.2"
...
]
Other new features
Example
$ coursier launch -r bintray-ivy:org/repo-name ...
Bug fixes
- Fix javadoc and sources of scala-library / scala-reflect not found when using the same Scala version as sbt (#406)
- Better handling of packaging / artifact types / optional dependencies from Maven repositories (#430) - fixes broken or buggy
sbt console
, missing JARs for dependencies having packaging POM in their POM file. - Fix minor glitch in progress bar display (#439, display not cleaned properly after progress bars)
- No more
Unrecognized repository inter-project
when runningsbt updateSbtClassifiers
(#439) - Don't trap parent POM or dependency management metadata errors (#437, thanks to @kzys)
- Trim Maven properties (#421, thanks to @kzys)
Version bumps
Other
- Fix typos in README (#413, thanks to @n4to4)
- Shade fastparse dependency (#443)
- Use sbt credentials by default (#445, thanks to @Jentsch, no more
coursierUseSbtCredentials
key to set totrue
) - Some code clean up (#472, thanks to @Jentsch, #474, #476)
- Have
MavenRepository
be fine with sbt plugins by default (#477, no more flag to manually set to true) - Tweaks in
coursier spark-submit
command (#478, #484, #486)
Non-backward compatible changes
- Some internal (but public) API changed, it is recommended to re-compile your code against
1.0.0-RC1
.
v1.0.0-M15-3
-> 🗑️
v1.0.0-M15
Changes
- Add experimental
coursier spark-submit
command (#335, #346, #350, #377, #396, with contributions from @darkjh) - Accept spaces in version intervals (#354, thanks to @eboto)
- Better profile activation handling (#360, thanks to @eboto)
- Switch to case-app 1.1.2 (#365)
- Use system classloader as base classloader when launching apps (#366)
- Add support for scala 2.12 (#368, #374, with contributions from @larsrh)
- Take into account
sbt.log.noformat
property (#373) - Ignore fallback dependencies in SBT plugin if the corresponding URL cannot be found ("
from "url"
", #373) - Handle cycles when printing trees (#376, thanks to @kzys)
- Handle OS / JDK conditions in profile activation (#381)
- Limit messages in SBT plugin (nothing should be printed if nothing is downloaded, #381, #393)
- Add option to swap Scala mainline JARs with Typelevel ones (#392)
- Java 6 compatibility (#401)
Non-backward compatible changes
- A few things related to profile activation changed, both internally and in the user API, it is recommended to re-compile your code against
1.0.0-M15
.
v1.0.0-M14-2
Mainly a convenience release for the new state of the coursier spark-submit
command.
Changes
- Changes in the experimental and subject to change
coursier spark-submit
command, now allowing to launch spark applications without requiring a spark distribution (#343, #346).
Non-backward compatible changes
- N/A