diff --git a/notes/0.13.14.markdown b/notes/0.13.14.markdown new file mode 100644 index 000000000..62223cc79 --- /dev/null +++ b/notes/0.13.14.markdown @@ -0,0 +1,89 @@ +### Fixes with compatibility implications + +- sbt 0.13.14 removes the Maven version range when possible. See below. + +### Improvements + +- Adds "local-preloaded" repository for offline installation. See below. +- Notifies and enables users to stay in sbt's shell on the warm JVM by hitting \[ENTER\] while sbt is running. [#2987][2987]/[#2996][2996] by [@dwijnand][@dwijnand] +- Adds preliminary compatibility with JDK 9. [#2951][2951]/[143][143] by [@retronym][@retronym] +- XML generated by JUnitXmlTestsListener now correctly flags ignored, skipped and pending tests. [#2198][2198]/[#2854][2854] by [@ashleymercer][@ashleymercer] +- When sbt detects that the project is compiled with dotty, it now automatically + sets `scalaCompilerBridgeSource` correctly, this reduces the boilerplate needed + to make a dotty project. Note that dotty support in sbt is still considered + experimental and not officially supported, see [dotty.epfl.ch][dotty] for + more information. [#2902][2902] by [@smarter][@smarter] + +### Bug fixes + +- Fix .triggeredBy/.storeAs/etc not working when using `:=` and `.value` macros. [#1444][1444]/[#2908][2908] by [@dwijnand][dwijnand] +- Fixes Ctrl-C not working on Windows by bumping up JLine. [#1855][1855] by [@eed3si9n][@eed3si9n] +- Fixes regressions in sbt 0.13.11 - 0.13.13 that processed build-level keys incorrectly. [#2851][2851]/[#2460][2460] by [@eed3si9n][@eed3si9n] +- Fixes a regression in sbt 0.13.12 that was misfiring Scala version enforcement when configuration does not extend `Compile`. [#2827][2827]/[#2786][2786] by [@eed3si9n][@eed3si9n] +- Fixes Scala binary version checking misfiring on configurations that do not extend `Compile`. [#2828][2828]/[#1466][1466] by [@eed3si9n][@eed3si9n] +- Fixes script mode ignoring quotation. [#2551][2551] by [@ekrich][@ekrich] +- Fixes IllegalStateException that Ivy gets into sometimes. [#2827][2827]/[#2015][2015] by [@eed3si9n][@eed3si9n] + +### Maven version range improvement + +Previously, when the dependency resolver (Ivy) encountered a Maven version range such as `[1.3.0,)` +it would go out to the Internet to find the latest version. +This would result to a surprising behavior where the eventual version keeps changing over time +*even when there's a version of the library that satisfies the range condition*. + +Starting sbt 0.13.14, some Maven version ranges would be replaced with its lower bound +so that when a satisfactory version is found in the dependency graph it will be used. +You can disable this behavior using the JVM flag `-Dsbt.modversionrange=false`. + +[#2954][2954] by [@eed3si9n][@eed3si9n] + +### Offline installation + +sbt 0.13.14 adds two new repositories called "local-preloaded-ivy" +and "local-preloaded" that point to `~/.sbt/preloaded/`. +The purpose for the repositories is to preload them with +sbt artifacts so the installation of sbt will not require access to the Internet. + +This also improves the startup time of sbt when you first run it +since the resolution happens off of a local-preloaded repository. + +[#2993][2993]/[#145][145] by [@eed3si9n][@eed3si9n] + +### Notes + +No changes should be necessary to your project definition and all plugins published for sbt 0.13.{x|x<14} should still work. + +See [Migrating from sbt 0.12.x](http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html) for details on the old operator deprecation. + +Special thanks to the contributors for making this release a success. According to `git shortlog -sn --no-merges v0.13.13..0.13`, compared to 0.13.13, there were 42 (non-merge) commits, by ten contributors: Dale Wijnand, Eugene Yokota, Guillaume Martres, Jason Zaugg, Petro Verkhogliad, Eric Richardson, Claudio Bley, Haochi Chen, Paul Draper, Ashley Mercer. Thank you! + + [143]: https://github.com/sbt/sbt-launcher-package/pull/143 + [145]: https://github.com/sbt/sbt-launcher-package/pull/145 + [1855]: https://github.com/sbt/sbt/issues/1855 + [1466]: https://github.com/sbt/sbt/issues/1466 + [2786]: https://github.com/sbt/sbt/issues/2786 + [2827]: https://github.com/sbt/sbt/pull/2827 + [2828]: https://github.com/sbt/sbt/pull/2828 + [2551]: https://github.com/sbt/sbt/issues/2551 + [2987]: https://github.com/sbt/sbt/issues/2987 + [2996]: https://github.com/sbt/sbt/pull/2996 + [2851]: https://github.com/sbt/sbt/issues/2851 + [2460]: https://github.com/sbt/sbt/issues/2460 + [2951]: https://github.com/sbt/sbt/pull/2951 + [2954]: https://github.com/sbt/sbt/issues/2954 + [2015]: https://github.com/sbt/sbt/issues/2015 + [2827]: https://github.com/sbt/sbt/pull/2827 + [2198]: https://github.com/sbt/sbt/issues/2198 + [2854]: https://github.com/sbt/sbt/pull/2854 + [1444]: https://github.com/sbt/sbt/issues/1444 + [2908]: https://github.com/sbt/sbt/pull/2908 + [2902]: https://github.com/sbt/sbt/pull/2902 + [2993]: https://github.com/sbt/sbt/pull/2993 + [@eed3si9n]: https://github.com/eed3si9n + [@dwijnand]: https://github.com/dwijnand + [@Duhemm]: https://github.com/Duhemm + [@ekrich]: https://github.com/ekrich + [@retronym]: https://github.com/retronym + [@ashleymercer]: https://github.com/ashleymercer + [dotty]: http://dotty.epfl.ch/ + [@smarter]: https://github.com/smarter diff --git a/notes/0.13.14/ascii-graph-width.markdown b/notes/0.13.14/ascii-graph-width.markdown deleted file mode 100644 index 341577b3e..000000000 --- a/notes/0.13.14/ascii-graph-width.markdown +++ /dev/null @@ -1,9 +0,0 @@ -[@RomanIakovlev]: https://github.com/RomanIakovlev - -### Fixes with compatibility implications - -### Improvements - -Add new global setting `asciiGraphWidth` that controls the maximum width of the ASCII graphs printed by commands like `inspect tree`. Default value corresponds to the previously hardcoded value of 40 characters. By [@RomanIakovlev][@RomanIakovlev]. - -### Bug fixes diff --git a/notes/0.13.14/buildlevelkey.md b/notes/0.13.14/buildlevelkey.md deleted file mode 100644 index 4bcb1cff6..000000000 --- a/notes/0.13.14/buildlevelkey.md +++ /dev/null @@ -1,9 +0,0 @@ -### Bug fixes - -- Fixes regressions in sbt 0.13.11 - 0.13.13 that processed build-level keys incorrectly. [#2851][2851]/[#2460][2460] by [@eed3si9n][] - - [#2851]: https://github.com/sbt/sbt/issues/2851 - [#2460]: https://github.com/sbt/sbt/issues/2460 - [@eed3si9n]: https://github.com/eed3si9n - [@dwijnand]: https://github.com/dwijnand - [@Duhemm]: https://github.com/Duhemm diff --git a/notes/0.13.14/dotty_bridge.md b/notes/0.13.14/dotty_bridge.md deleted file mode 100644 index 3902ae3c5..000000000 --- a/notes/0.13.14/dotty_bridge.md +++ /dev/null @@ -1,11 +0,0 @@ -### Improvements - -- When sbt detects that the project is compiled with dotty, it now automatically - set `scalaCompilerBridgeSource` correctly, this reduces the boilerplate needed - to make a dotty project. Note that dotty support in sbt is still considered - experimental and not officially supported, see [dotty.epfl.ch][dotty] for - more information. [#2902][2902] by [@smarter][@smarter] - - [dotty]: http://dotty.epfl.ch/ - [2902]: https://github.com/sbt/sbt/pull/2902 - [@smarter]: https://github.com/smarter diff --git a/notes/0.13.14/fix-triggeredBy-storeAs-etc-using-colon-equals.md b/notes/0.13.14/fix-triggeredBy-storeAs-etc-using-colon-equals.md deleted file mode 100644 index 9e25af3df..000000000 --- a/notes/0.13.14/fix-triggeredBy-storeAs-etc-using-colon-equals.md +++ /dev/null @@ -1,8 +0,0 @@ - -### Bug fixes - -- Fix .triggeredBy/.storeAs/etc not working when using `:=` and `.value` macros. [#1444][1444]/[#2908][2908] by [@dwijnand][] - - [1444]: https://github.com/sbt/sbt/issues/1444 - [2908]: https://github.com/sbt/sbt/pull/2908 - [@dwijnand]: https://github.com/dwijnand diff --git a/notes/0.13.14/ivyfix.md b/notes/0.13.14/ivyfix.md deleted file mode 100644 index b510a91cb..000000000 --- a/notes/0.13.14/ivyfix.md +++ /dev/null @@ -1,9 +0,0 @@ -### Bug fixes - -- Fixes IllegalStateException that Ivy gets into sometimes. [#2827][2827]/[#2015][2015] by [@eed3si9n][@eed3si9n] - - [2015]: https://github.com/sbt/sbt/issues/2015 - [2827]: https://github.com/sbt/sbt/pull/2827 - [@eed3si9n]: https://github.com/eed3si9n - [@dwijnand]: https://github.com/dwijnand - [@Duhemm]: https://github.com/Duhemm diff --git a/notes/0.13.14/jline.md b/notes/0.13.14/jline.md deleted file mode 100644 index 10a5da867..000000000 --- a/notes/0.13.14/jline.md +++ /dev/null @@ -1,8 +0,0 @@ -### Bug fixes - -- Fixes Ctrl-C not working on Windows by bumping up JLine. [#1855][1855] by [@eed3si9n][@eed3si9n] - - [1855]: https://github.com/sbt/sbt/issues/1855 - [@eed3si9n]: https://github.com/eed3si9n - [@dwijnand]: https://github.com/dwijnand - [@Duhemm]: https://github.com/Duhemm diff --git a/notes/0.13.14/junit_xml_imp.md b/notes/0.13.14/junit_xml_imp.md deleted file mode 100644 index 0c9d8bf76..000000000 --- a/notes/0.13.14/junit_xml_imp.md +++ /dev/null @@ -1,7 +0,0 @@ -### Improvements - -- XML generated by JUnitXmlTestsListener now correctly flags ignored, skipped and pending tests. [#2198][2198]/[#2854][2854] by [@ashleymercer][@ashleymercer] - - [2198]: https://github.com/sbt/sbt/issues/2198 - [2854]: https://github.com/sbt/sbt/pull/2854 - [@ashleymercer]: https://github.com/ashleymercer diff --git a/notes/0.13.14/mavenversionrange.md b/notes/0.13.14/mavenversionrange.md deleted file mode 100644 index ec61123d4..000000000 --- a/notes/0.13.14/mavenversionrange.md +++ /dev/null @@ -1,22 +0,0 @@ - -### Fixes with compatibility implications - -- sbt 0.13.14 removes the Maven version range when possible. See below. - -### Maven version range improvement - -Previously, when the dependency resolver (Ivy) encountered a Maven version range such as `[1.3.0,)` -it would go out to the Internet to find the latest version. -This would result to a surprising behavior where the eventual version keeps changing over time -*even when there's a version of the library that satisfies the range condition*. - -Starting sbt 0.13.14, some Maven version ranges would be replaced with its lower bound -so that when a satisfactory version is found in the dependency graph it will be used. -You can disable this behavior using the JVM flag `-Dsbt.modversionrange=false`. - -[#2954][2954] by [@eed3si9n][@eed3si9n] - - [@eed3si9n]: https://github.com/eed3si9n - [@dwijnand]: https://github.com/dwijnand - [@Duhemm]: https://github.com/Duhemm - [2954]: https://github.com/sbt/sbt/issues/2954 diff --git a/notes/0.13.14/mediator_fix.md b/notes/0.13.14/mediator_fix.md deleted file mode 100644 index 1e162c311..000000000 --- a/notes/0.13.14/mediator_fix.md +++ /dev/null @@ -1,12 +0,0 @@ -### Bug fixes - -- Fixes a regression in sbt 0.13.12 that was misfiring Scala version enforcement when configuration does not extend `Compile`. [#2827][2827]/[#2786][2786] by [@eed3si9n][@eed3si9n] -- Fixes Scala binary version checking misfiring on configurations that do not extend `Compile`. [#2828][2828]/[#1466][1466] by [@eed3si9n][@eed3si9n] - - [1466]: https://github.com/sbt/sbt/issues/1466 - [2786]: https://github.com/sbt/sbt/issues/2786 - [2827]: https://github.com/sbt/sbt/pull/2827 - [2828]: https://github.com/sbt/sbt/pull/2828 - [@eed3si9n]: https://github.com/eed3si9n - [@dwijnand]: https://github.com/dwijnand - [@Duhemm]: https://github.com/Duhemm diff --git a/notes/0.13.14/preliminary-compatibility-with-jdk9.md b/notes/0.13.14/preliminary-compatibility-with-jdk9.md deleted file mode 100644 index 9eddb4ea7..000000000 --- a/notes/0.13.14/preliminary-compatibility-with-jdk9.md +++ /dev/null @@ -1,6 +0,0 @@ -### Improvements - -- Added preliminary compatibility with JDK 9. [#2951][2951]/ by [@retronym][] - - [2951]: https://github.com/sbt/sbt/pull/2951 - [@retronym]: https://github.com/retronym diff --git a/notes/0.13.14/script_args_fix.md b/notes/0.13.14/script_args_fix.md deleted file mode 100644 index ea27259f3..000000000 --- a/notes/0.13.14/script_args_fix.md +++ /dev/null @@ -1,6 +0,0 @@ -### Bug fixes - -- Fixes scripted mode ignores quotation. [#2551][2551] by [@ekrich][@ekrich] - - [2551]: https://github.com/sbt/sbt/issues/2551 - [@ekrich]: https://github.com/ekrich diff --git a/notes/0.13.14/stay-in-shell.md b/notes/0.13.14/stay-in-shell.md deleted file mode 100644 index be4c7f956..000000000 --- a/notes/0.13.14/stay-in-shell.md +++ /dev/null @@ -1,7 +0,0 @@ -### Improvements - -- Notifies & enables users to stay in sbt's shell on the warm JVM by hitting \[ENTER\] while sbt is running. [#2987][]/[#2996][] by [@dwijnand][] - -[#2987]: https://github.com/sbt/sbt/issues/2987 -[#2996]: https://github.com/sbt/sbt/pull/2996 -[@dwijnand]: https://github.com/dwijnand