Releases: sbt/io
Releases · sbt/io
1.1.0
1.0.1
1.0.0
Features, fixes, changes with compatibility implications
- IO uses the package name
sbt.io
, but it will be imported undersbt
in sbt/sbt. Path.relativizeFile(baseFile, file)
is renamed toIO.relativizeFile(baseFile, file)
.PathFinder.x_!(mapper)
moved todef pair
onPathFinder
.PathFinder
's***
method is moved toallPaths
method.
Improvements
Path.directory
andPath.contentOf
are donated from sbt-native-packager #38 by @muuki88.WatchService
that abstractsPollingWatchService
and Java NIO. #47 by @Duhemm on behalf of The Scala Center.- Adds variants of
IO.copyFile
andIO.copyDirectory
that acceptsbt.io.CopyOptions()
. See below for details.
CopyOptions
sbt IO 1.0 add variant of IO.copyFile
and IO.copyDirectory
that accept sbt.io.CopyOptions()
.
CopyOptions()
is an example of pseudo case class similar to the builder pattern.
import sbt.io.{ IO, CopyOptions }
IO.copyDirectory(source, target)
// The above is same as the following
IO.copyDirectory(source, target, CopyOptions()
.withOverwrite(false)
.withPreserveLastModified(true)
.withPreserveExecutable(true))
1.0.0-RC3
Features, fixes, changes with compatibility implications
- IO uses the package name
sbt.io
, but it will be imported undersbt
in sbt/sbt. Path.relativizeFile(baseFile, file)
is renamed toIO.relativizeFile(baseFile, file)
.PathFinder.x_!(mapper)
moved todef pair
onPathFinder
.PathFinder
's***
method is moved toallPaths
method.
Improvements
Path.directory
andPath.contentOf
are donated from sbt-native-packager #38 by @muuki88.WatchService
that abstractsPollingWatchService
and Java NIO. #47 by @Duhemm on behalf of The Scala Center.- Adds variants of
IO.copyFile
andIO.copyDirectory
that acceptsbt.io.CopyOptions()
. See below for details.
CopyOptions
sbt IO 1.0 add variant of IO.copyFile
and IO.copyDirectory
that accept sbt.io.CopyOptions()
.
CopyOptions()
is an example of pseudo case class similar to the builder pattern.
import sbt.io.{ IO, CopyOptions }
IO.copyDirectory(source, target)
// The above is same as the following
IO.copyDirectory(source, target, CopyOptions()
.withOverwrite(false)
.withPreserveLastModified(true)
.withPreserveExecutable(true))
1.0.0-M13
Features, fixes, changes with compatibility implications
- IO uses the package name
sbt.io
, but it will be imported undersbt
in sbt/sbt. Path.relativizeFile(baseFile, file)
is renamed toIO.relativizeFile(baseFile, file)
.PathFinder.x_!(mapper)
moved todef pair
onPathFinder
.PathFinder
's***
method is moved toallPaths
method.
Improvements
Path.directory
andPath.contentOf
are donated from sbt-native-packager #38 by @muuki88.WatchService
that abstractsPollingWatchService
and Java NIO. #47 by @Duhemm on behalf of The Scala Center.- Adds variants of
IO.copyFile
andIO.copyDirectory
that acceptsbt.io.CopyOptions()
. See below for details.
CopyOptions
sbt IO 1.0 adds variants of IO.copyFile
and IO.copyDirectory
that accept sbt.io.CopyOptions()
.
CopyOptions()
is an example of pseudo case class similar to the builder pattern.
import sbt.io.{ IO, CopyOptions }
IO.copyDirectory(source, target)
// The above is same as the following
IO.copyDirectory(source, target, CopyOptions()
.withOverwrite(false)
.withPreserveLastModified(true)
.withPreserveExecutable(true))
1.0.0-M12
Features, fixes, changes with compatibility implications
- IO uses the package name
sbt.io
, but it will be imported undersbt
in sbt/sbt. Path.relativizeFile(baseFile, file)
is renamed toIO.relativizeFile(baseFile, file)
.PathFinder.x_!(mapper)
moved todef pair
onPathFinder
.PathFinder
's***
method is moved toallPaths
method.
Improvements
Path.directory
andPath.contentOf
are donated from sbt-native-packager #38 by @muuki88.WatchService
that abstractsPollingWatchService
and Java NIO. #47 by @Duhemm on behalf of The Scala Center.- Adds variants of
IO.copyFile
andIO.copyDirectory
that acceptsbt.io.CopyOptions()
. See below for details.
CopyOptions
sbt IO 1.0 adds variants of IO.copyFile
and IO.copyDirectory
that accept sbt.io.CopyOptions()
.
CopyOptions()
is an example of pseudo case class similar to the builder pattern.
import sbt.io.{ IO, CopyOptions }
IO.copyDirectory(source, target)
// The above is same as the following
IO.copyDirectory(source, target, CopyOptions()
.withOverwrite(false)
.withPreserveLastModified(true)
.withPreserveExecutable(true))