Skip to content

v1.1.0-M1

Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 13 Jun 00:45

This is the first milestone release for FS2 1.1.0. The fs2-core project is almost fully backwards compatible with the previous releases in the 1.0.x series but it depends on cats-effect 2.0.0-M4, which has a few small API changes, and methods that took a blocking ExecutionContext have been updated to now take the new cats.effect.Blocker type. The fs2-io project is not backwards compatible but the changes are all mechanical.

This release is built for Scala 2.11, 2.12, and 2.13. The milestone cycle will be short, with a final release coming right after cats-core 2.0 and cats-effect 2.0.

The following changes are included:

  • Replaced all usages of blocking ExecutionContexts with cats.effect.Blocker (#1508)
  • Updated TCP and UDP packages to use safely constructed {tcp/udp}.SocketGroup objects instead of relying on implicit unsafe AsynchronousChannelGroup and AsynchronousSocketGroup values. Additionally, sockets are created via methods on SocketGroup now. (#1497)
  • Addressed a few places in fs2.io.file package that did blocking / OS calls via F.delay instead of via a Blocker (also #1497)
  • Added isOpen method to file.io.tcp.Socket (#1289)

For help with upgrading, see the changes to the tests and docs in #1508 and #1497.

For a full list of changes, see: https://github.com/functional-streams-for-scala/fs2/pulls?q=is%3Apr+milestone%3A1.1.0+is%3Aclosed

Thanks to the following contributors:

git shortlog -sn --no-merges "v1.0.5".."v1.1.0-M1"
    19  Michael Pilquist
     7  AdrianRaFo
     1  Bjørn Madsen
     1  Christopher Davenport
     1  Scala Steward