github typelevel/cats-effect v2.0.0-M4

latest releases: v3.7.0-RC1, v3.6.3, v3.6.2...
pre-release6 years ago

Milestone v2.0.0-M4 release.

This release breaks binary compatibility with v2.0.0-M3 and the 1.x series due to #546. It is source compatible except where IO.fromFuture is called without a ContextShift[IO] in scope.

Changes

Breaking:

  • #546: Enforce shifting within IO.fromFuture, which now requires an implicit ContextShift[IO]

Features:

  • #553: Shift on errors in IO.fromFuture
  • #547: Replace global with a fixed thread pool as the default IOApp Timer and ContextShift (JVM only)
  • #554: Add Invariant instance for Ref
  • #556, #560 : Added Blocker, a new type for blocking execution contexts
  • #498: Add parTraverseN and parSequenceN

Chores:

  • #561: use advertised syntax from the docs for FunctionK
  • #562: Scala 2.13.0 support, with related dependencies

Documentation:

  • #551: Copy editing of docs
  • #557: Fix typo in basics.md
  • #558: Remove logical/native threads distinction from Concurrency Basics doc

Special Thanks

This release was made possible by:

Thanks to all those involved!

Don't miss a new cats-effect release

NewReleases is sending notifications on new releases.