v1.1.0-M1
Pre-releaseThis 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 withcats.effect.Blocker(#1508) - Updated TCP and UDP packages to use safely constructed
{tcp/udp}.SocketGroupobjects instead of relying on implicit unsafeAsynchronousChannelGroupandAsynchronousSocketGroupvalues. Additionally, sockets are created via methods onSocketGroupnow. (#1497) - Addressed a few places in
fs2.io.filepackage that did blocking / OS calls viaF.delayinstead of via aBlocker(also #1497) - Added
isOpenmethod tofile.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