diff --git a/notes/0.13.6.md b/notes/0.13.6.md index 46e505fa5..b0899e82b 100644 --- a/notes/0.13.6.md +++ b/notes/0.13.6.md @@ -1,6 +1,99 @@ [413]: https://github.com/sbt/sbt/issues/413 + [1036]: https://github.com/sbt/sbt/pull/1036 + [1059]: https://github.com/sbt/sbt/issues/1059 + [1194]: https://github.com/sbt/sbt/issues/1194 [1200]: https://github.com/sbt/sbt/issues/1200 + [1213]: https://github.com/sbt/sbt/issues/1213 + [1312]: https://github.com/sbt/sbt/pull/1312 + [1313]: https://github.com/sbt/sbt/pull/1313 + [1315]: https://github.com/sbt/sbt/issues/1315 + [1330]: https://github.com/sbt/sbt/pull/1330 + [1346]: https://github.com/sbt/sbt/pull/1346 + [1347]: https://github.com/sbt/sbt/issues/1347 + [1352]: https://github.com/sbt/sbt/pull/1352 + [1358]: https://github.com/sbt/sbt/pull/1358 + [1366]: https://github.com/sbt/sbt/issues/1366 + [1367]: https://github.com/sbt/sbt/pull/1367 + [1378]: https://github.com/sbt/sbt/pull/1378 + [1383]: https://github.com/sbt/sbt/pull/1383 + [1400]: https://github.com/sbt/sbt/pull/1400 + [1401]: https://github.com/sbt/sbt/pull/1401 + [1409]: https://github.com/sbt/sbt/pull/1409 + [1416]: https://github.com/sbt/sbt/issues/1416 + [1419]: https://github.com/sbt/sbt/pull/1419 + [1422]: https://github.com/sbt/sbt/issues/1422 + [1423]: https://github.com/sbt/sbt/pull/1423 + [1426]: https://github.com/sbt/sbt/pull/1426 + [1433]: https://github.com/sbt/sbt/pull/1433 + [1447]: https://github.com/sbt/sbt/pull/1447 + [1450]: https://github.com/sbt/sbt/pull/1450 + [1451]: https://github.com/sbt/sbt/pull/1451 [1454]: https://github.com/sbt/sbt/pull/1454 + [1456]: https://github.com/sbt/sbt/pull/1456 + [1467]: https://github.com/sbt/sbt/pull/1467 + [@dansanduleac]: https://github.com/dansanduleac + [@2m]: https://github.com/2m + [@pvlugter]: https://github.com/pvlugter + [@eed3si9n]: https://github.com/eed3si9n + [@jsuereth]: https://github.com/jsuereth + [@benjyw]: https://github.com/benjyw + [@xuwei-k]: https://github.com/xuwei-k + [@jroper]: https://github.com/jroper + [@lpiepiora]: https://github.com/lpiepiora + [@vn971]: https://github.com/vn971 + [@dpratt]: https://github.com/dpratt + [@henrikengstrom]: https://github.com/henrikengstrom + +### Fixes with compatibility implications + +- `ThisProject` used to resolve to the root project in a build even when it's place in `subproj/build.sbt`. sbt 0.13.6 fixes it to resolve to the sub project. [#1194][1194]/[#1358][1358] by [@dansanduleac][@dansanduleac] +- Global plugins classpath used to be injected into every build. This will no longer be the case. [#1347][1347]/[#1352][1352] by [@dansanduleac][@dansanduleac] +- Fixes `newer` command in scripted. [#1419][1419] by [@jroper][@jroper] + +### Improvements + +- Derived settings can replace previously-defined but non-default settings. [#1036][1036] by [@dansanduleac][@dansanduleac] +- Sorts setting key names in the inspect tree view. [#1313][1313] by [@2m][@2m] +- Uses separate update caches when cross compiling scala. [#1330][1330] by [@pvlugter][@pvlugter] +- Ensures sequences in analysis files are read in order. [#1346][1346] by [@benjyw][@benjyw] +- Allows auto-generated projects to have overridden organization. [#1315][1315]/[#1378][1378] by [@jsuereth][@jsuereth] +- Enables tab completion for scripted task. [#1383][1383] by [@xuwei-k][@xuwei-k] +- Allows project reference to to a branch of a local git repository. [#1409][1409] by [@vn971][@vn971] +- Triggered Execution is now aware of rename or move of files. [#1401][1401] by [@xuwei-k][@xuwei-k] +- No longer updates classifiers of `projectDependencies`. [#1366][1366]/[#1367][1367] by [@dansanduleac][@dansanduleac] +- Selects the first test fingerprint for a test name for forked tests. [#1450][1450] by [@pvlugter][@pvlugter] +- Allows default auto plugins to be disabled. [#1451][1451] by [@jsuereth][@jsuereth] +- Allows keys defined inside `build.sbt` to be used from sbt shell. [#1059][1059]/[#1456][1456] + +### Bug fixes + +- Fixes auto plugins declared without package object. [#1423][1423] by [@lpiepiora][@lpiepiora] +- Fixes `plugin` command. [#1416][1416]/[#1426][1426] by [@lpiepiora][@lpiepiora] +- Adds `scala-jar` to the list of jar artifacts recognized by CustomPomParser. [#1400][1400] by [@dpratt][@dpratt] +- Fixes cross versioning to recognize version number with mutiple -tags. [#1433][1433] by [@henrikengstrom][@henrikengstrom] + +### enablePlugins/disablePlugins + +sbt 0.13.6 now allows `enablePlugins` and `disablePlugins` to be written directly in `build.sbt`. [#1213][1213]/[#1312][1312] by [@jsuereth][@jsuereth] + +### Unresolved dependencies error + +sbt 0.13.6 will try to reconstruct dependencies tree when it fails to resolve a managed dependency. +This is an approximation, but it should help you figure out where the problematic dependency is coming from: + + [warn] :::::::::::::::::::::::::::::::::::::::::::::: + [warn] :: UNRESOLVED DEPENDENCIES :: + [warn] :::::::::::::::::::::::::::::::::::::::::::::: + [warn] :: foundrylogic.vpp#vpp;2.2.1: not found + [warn] :::::::::::::::::::::::::::::::::::::::::::::: + [warn] + [warn] Note: Unresolved dependencies path: + [warn] foundrylogic.vpp:vpp:2.2.1 + [warn] +- org.apache.cayenne:cayenne-tools:3.0.2 + [warn] +- org.apache.cayenne.plugins:maven-cayenne-plugin:3.0.2 + [warn] +- d:d_2.10:0.1-SNAPSHOT + +[#1422][1422]/[#1447][1447] by [@eed3si9n][@eed3si9n] ### Eviction warnings @@ -18,7 +111,7 @@ To display all eviction warnings with caller information, run `evicted` task. [warn] * com.typesafe.akka:akka-actor_2.10:2.1.4 -> 2.3.4 (caller: com.typesafe.akka:akka-remote_2.10:2.3.4, org.w3:banana-sesame_2.10:0.4, org.w3:banana-rdf_2.10:0.4) -[#1200][1200]. +[#1200][1200]/[#1467][1467] by [@eed3si9n][@eed3si9n] ### Consolidated resolution @@ -26,4 +119,4 @@ sbt 0.13.6 adds a new setting key called `updateOptions`, which can be used to e updateOptions := updateOptions.value.withConsolidatedResolution(true) -This feature is specifically targeted to address [Ivy resolution is beging slow for multi-module projects #413][413]. Consolidated resolution aims to fix this issue by artificially constructing an Ivy dependency graph for the unique managed dependencies. If two subprojects introduce identical external dependencies, both subprojects should consolidate to the same graph, and therefore resolve immediately for the second `update`. [#1454][1454] +This feature is specifically targeted to address [Ivy resolution is beging slow for multi-module projects #413][413]. Consolidated resolution aims to fix this issue by artificially constructing an Ivy dependency graph for the unique managed dependencies. If two subprojects introduce identical external dependencies, both subprojects should consolidate to the same graph, and therefore resolve immediately for the second `update`. [#1454][1454] by [@eed3si9n][@eed3si9n]