This is the first and hopefully only release candidate for 1.0.0.
This upgrade breaks binary compatibility with the previous 0.10
, so use with care — libraries that depend on Cats Effect must be upgraded first. This version also drops Scala 2.10 support.
The highlight of this release is the Bracket
type class, along with its IO
implementation, IO#bracket
and IO#bracketCase
.
Details of usage with IO
have been added in the documentation, see the new section:
Safe Resource Acquisition and Release
Features:
- #113, #186: Adds
Bracket
type class, along withIO
changes, for exposingbracket
andbracketCase
, operations meant for safe release of resources - #182:
IO.runAsync
should report errors in its handler (back-ported in0.10.1
) - #168: adds
Async#never
- #183: adds new config parameter meant for
AsyncTests
to disable laws that are testing for non-termination
Breaking changes:
Chores: