3.7 KiB
This is a hotfix release for sbt 1.0.x series.
Bug fixes
- Fixes
~recompiling in loop (when a source generator or sbt-buildinfo is present). #3501/#3634 by @dwijnand - Fixes undercompilation on inheritance on same source. zinc#424 by @eed3si9n
- Fixes the compilation of package-protected objects. zinc#431 by @jvican
- Workaround for Java returning
nullforgetGenericParameterTypes. zinc#446 by @jvican - Fixes test detection regression. sbt 1.0.3 filters out nested objects/classes from the list, restoring compatibility with 0.13. #3669 by @cunei
- Uses Scala 2.12.4 for the build definition. This includes fix for runtime reflection of empty package members under Java 9. #3587 by @eed3si9n
- Fixes extra
/in Ivy style patterns. lm#170 by @laughedelic - Fixes "destination file exist" error message by including the file name. lm171 by @leonardehrenfried
- Fixes JDK 9 warning "Illegal reflective access" in library management module and Ivy. lm173 by @dwijnand
Improvements
- Adds
sbt.watch.modesystem property to allow switching back to old polling behaviour for watch. See below for more details.
Alternative watch mode
sbt 1.0.0 introduced a new mechanism for watching for source changes based on the NIO WatchService in Java 1.7. On
some platforms (namely macOS) this has led to long delays before changes are picked up. An alternative WatchService
for these platforms is planned for sbt 1.1.0 (#3527), in the meantime an option to select which watch service
has been added.
The new sbt.watch.mode JVM flag has been added with the following supported values:
polling: (default for macOS) poll the filesystem for changes (mechanism used in sbt 0.13).nio(default for other platforms): use the NIO basedWatchService.
If you are experiencing long delays on a non-macOS machine then try adding -Dsbt.watch.mode=polling to your sbt
options.
#3597 by @stringbean
Contributors
A huge thank you to everyone who's helped improve sbt and Zinc 1 by using them, reporting bugs, improving our documentation, porting builds, porting plugins, and submitting and reviewing pull requests.
This release was brought to you by 15 contributors, according to git shortlog -sn --no-merges v1.0.2..v1.0.3 on sbt, zinc, librarymanagement, util, io, and website: Eugene Yokota, Dale Wijnand, Michael Stringer, Jorge Vicente Cantero (jvican), Alexey Alekhin, Antonio Cunei, Andrey Artemov, Jeffrey Olchovy, Kenji Yoshida (xuwei-k), Dominik Winter, Long Jinwei, Arnout Engelen, Justin Kaeser, Leonard Ehrenfried, Sakib Hadžiavdić. Thank you!