From 5b808ee38ed31470f86196c52ce641da8b879ff7 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Thu, 27 Apr 2017 16:31:27 +0100 Subject: [PATCH] Notes for changes to startup messages --- .../tweak-new-startup-messages.markdown | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 notes/0.13.16/tweak-new-startup-messages.markdown diff --git a/notes/0.13.16/tweak-new-startup-messages.markdown b/notes/0.13.16/tweak-new-startup-messages.markdown new file mode 100644 index 000000000..756826049 --- /dev/null +++ b/notes/0.13.16/tweak-new-startup-messages.markdown @@ -0,0 +1,36 @@ +### Improvements + +- Improves the new startup messages. See below. + +### Bug fixes + +- Fixes the new startup messages. See below. + +### Improvements and bug fixes to the new startup messages + +The two new startup messages introduced in sbt 0.13.15 are: + ++ when writing out `sbt.version` for build reproducability, and ++ when informing the user sbt shell for the performance improvement + +When writing out `sbt.version` the messaging now: + ++ correctly uses a logger rather than println ++ honours the log level set, for instance, by `--error` ++ never runs when sbt "new" is being run + +When informing the user about sbt shell the messaging now: + ++ is a 1 line message, rather than 3 ++ is at info level, rather than warn level ++ can be suppressed with `suppressSbtShellNotification := false` ++ only triggers when "compile" is being run ++ never shows when sbt "new" is being run + +[#3091][]/[#3097][]/[#3147][] by [@dwijnand][] + +[#3091]: https://github.com/sbt/sbt/issues/3091 +[#3097]: https://github.com/sbt/sbt/issues/3097 +[#3147]: https://github.com/sbt/sbt/pull/3147 + +[@dwijnand]: https://github.com/dwijnand