Hi everyone. It’s time for a sbt 1.0.x hotfix.
I would also like to announce sbt 1.0.3, which is a hotfix to sbt 1.0.x series. This is a binary compatible release for sbt 1 focusing on bug fixes. sbt 1 is released under Semantic Versioning, and the plugins are expected to work for sbt 1.x series.
~
recompiling in loop (when a source generator or sbt-buildinfo is present). #3501/#3634 by @dwijnandnull
for getGenericParameterTypes
. zinc#446 by @jvican/
in Ivy style patterns. lm#170 by @laughedelicScalaInstance
not using allJars
, which affects IntelliJ. #3561 by @jasticesbt.watch.mode
system property to allow switching back to old polling behaviour for watch. See below for more details.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 based WatchService
.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
A shoutout to Munich Scala User Group for organizing Build Workshop - keep our ecosystem in shape.
Organized by Lars Hupel (@larsr_h), Justin Kaeser (@ebenwert) IntelliJ Scala plugin dev, and Muki Seiler (@muuki88) sbt-native-packager dev, a bunch of people got together at codecentric AG (@codecentric) in München and hacked on builds to upgrade to sbt 1. This is awesome:
Thanks @ebenwert & @muuki88 for co-organizing, @dsarndt & @codecentric for hosting! https://t.co/psgBVKMXQJ
— Lars Hupel (@larsr_h) October 25, 2017
sbt @scala_sbt upgrade fest is in full swing pic.twitter.com/UGvdwD6WwD
— Lars Hupel (@larsr_h) October 25, 2017
completed with at least 6 PRs for sbt 1.0 upgrades! https://t.co/7eGDyRsyFp
— Justin Kaeser (@ebenwert) October 25, 2017
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.
sbt 1.0.3 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!
For anyone interested in helping sbt, there are many avenues you could help, depending on your interest.
If you’re interested in other ideas, come talk to us on sbt-contrib.