Better toError migration notes [ci skip]

This commit is contained in:
Dale Wijnand 2017-05-16 10:21:14 +01:00
parent d3ff3fb63a
commit 859b334a51
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ We are working with Scala Center to provide [an automatic migration tool][sbt-mi
- Drops deprecated `seq(..)` DSL method. Use `Seq` or pass in the settings without wrapping.
- Drops deprecated `File`/`Seq[File]` setting enrichments. Use `.value` and `Def.setting`.
- Drops deprecated `SubProcess` `apply` overload. Use `SubProcess(ForkOptions(runJVMOptions = ..))`.
- Drops `toError(o: Option[String]): Unit` in favour of `o foreach sys.error`.
- Drops `toError(opt: Option[String]): Unit` (equivalent to `opt foreach sys.error`); if used to wrap
`ScalaRun#run` then the replacement is `scalaRun.run(...).failed foreach (sys error _.getMessage)`
- A number of the methods on `sbt.Path` (such as `relativeTo` and `rebase` and `flat`) are now no longer in the
default namespace by virtue of being mixed into the sbt package object. Use `sbt.io.Path` to access them
again.