Iteratee v0.18.0-M1 Release Notes

Release Date: 2018-07-05 // almost 4 years ago
  • ๐Ÿš€ This milestone release makes two major changes. The first is pretty superficial: the *Module traits are now in the io.iteratee.modules package, instead of directly inside io.iteratee. This change should not affect most users, and if you do refer to these traits explicitly, the fix is adding .modules to your usage or imports.

    The second change is more substantive. The io.iteratee.files package is now built on the Sync type class from cats-effect, instead of on SuspendableFileModule and NonSuspendableFileModule traits and their captureEffect methods. This means most of the modules that were formerly available now aren't: the standard library's Try and Future don't have Sync instances, for example, so you can no longer write e.g. io.iteratee.files.try_.readLines(myFile). Instead you can either use the io.iteratee.files.{ read*, write* } methods with your own Sync instances, or you can use one of the provided modules ( for cats.effect.IO, or the ones for Monix and Scalaz's Tasks that are available in the integration modules for those libraries).

    ๐Ÿš€ Note that this milestone depends on non-final releases, and that iteratee-monix currently works essentially by accident (since the latest stable Monix release, 3.0.0-RC1, depends on cats-effect 0.10.0, while everything here depends on the 1.0.0-RC2-93ac33d cats-effect release candidate). We won't be releasing 0.18.0 until all dependencies are available as stable final releases.