Skip to content

Releases: atnos-org/eff

eff 3.0.2

26 Feb 07:51
Compare
Choose a tag to compare

Super important maintenance version!!!

This version contains some important fixes to Member implicits. You should definitely not use 3.0.0 or 3.0.1 because
those versions contain the possibility to throw ClassCastExceptions depending on the effect stack you use.

Improvements

  • added objects to import creation / interpretation methods for task and future effects
    • org.atnos.eff.addon.scalaz.task._
    • org.atnos.eff.addon.monix.task._
    • org.atnos.eff.addon.fs2.task._
    • org.atnos.eff.addon.twitter.future._
  • added objects to import syntax methods for task and future effects
    • org.atnos.eff.syntax.addon.scalaz.task._
    • org.atnos.eff.syntax.addon.monix.task._
    • org.atnos.eff.syntax.addon.fs2.task._
    • org.atnos.eff.syntax.addon.twitter.future._

Fixes:

eff 3.0.2

26 Feb 07:51
Compare
Choose a tag to compare

Super important maintenance version!!!

This version contains some important fixes to Member implicits. You should definitely not use 3.0.0 or 3.0.1 because
those versions contain the possibility to throw ClassCastExceptions depending on the effect stack you use.

Improvements

  • added objects to import creation / interpretation methods for task and future effects
    • org.atnos.eff.addon.scalaz.task._
    • org.atnos.eff.addon.monix.task._
    • org.atnos.eff.addon.fs2.task._
    • org.atnos.eff.addon.twitter.future._
  • added objects to import syntax methods for task and future effects
    • org.atnos.eff.syntax.addon.scalaz.task._
    • org.atnos.eff.syntax.addon.monix.task._
    • org.atnos.eff.syntax.addon.fs2.task._
    • org.atnos.eff.syntax.addon.twitter.future._

Fixes:

EFF-3.0.1

26 Feb 07:44
Compare
Choose a tag to compare

Maintenance version.

This version contains some important fixes to the Safe and State effects.

Improvements

  • allow finalizers for the SafeEffect to be triggered even in presence of "short-circuiting" effects like Either,
    Option or TimedFuture #68
  • added a Eff.bracketLast method to allow the clean up of resources on an Eff computation. The scope of the clean-up
    extends to future flatMaps done on the bracketed computation, whereas SafeEffect.bracket only brackets the current
    computation

Fixes:

  • fix State.modify for applicative case #69
  • fix errors caused by more exhaustive matching in TLS #66

scalaz EFF-3.0.0

26 Feb 07:44
Compare
Choose a tag to compare
scalaz EFF-3.0.0 Pre-release
Pre-release

New and improved!

This version contains some breaking changes, most notably around the Async effect which is removed (details in #46).
Most improvements have been contributed by @edmundnoble and @benhutchison.

Improvements

Breaking changes:

  • removed the Async effect and repackaged the syntax implicits for the various task/future effects. Now you
    need to specify which TaskEffect (with implementations for scalaz, monix, fs2) or FutureEffect you want to use
  • added a method to update the read value of a Reader effect #60. Three methods
    are now available:
    • translateReader to interpret a Reader[A, ?] effect into another Reader[B, ?] effect in the stack
    • zoomReader to replace a Reader[A, ?] effect with Reader[B, ?] in the same stack
    • localReader to modify the read value A in the Reader[A, ?] effect

  • similarly we have translateEither, zoomEither and localEither for the EitherEffect

  • the implementation of effect coproducts (Union of effects) has been simplified with the introduction of
    a UnionTagged class for better performance #59
  • it is possible to specify the target stack type with the .runEither[U] method #50

Non-breaking changes:

  • implement detach in terms of detachA #62
  • promote Rand Alternative instance to MonadPlus #63
  • added a cookbook section on how to prepend effects "locally" #64
  • added interceptNatM to modify a given effect T[_] to T[F[_]] where F is a traversable monad #57
  • make Unions use Vector instead of List for asymptotic reasons #58
  • added the possibility to memoize Safe effects #54
  • updated the try-eff script #51

fs2 EFF-3.0.0

26 Feb 07:44
Compare
Choose a tag to compare
fs2 EFF-3.0.0 Pre-release
Pre-release

New and improved!

This version contains some breaking changes, most notably around the Async effect which is removed (details in #46).
Most improvements have been contributed by @edmundnoble and @benhutchison.

Improvements

Breaking changes:

  • removed the Async effect and repackaged the syntax implicits for the various task/future effects. Now you
    need to specify which TaskEffect (with implementations for scalaz, monix, fs2) or FutureEffect you want to use
  • added a method to update the read value of a Reader effect #60. Three methods
    are now available:
    • translateReader to interpret a Reader[A, ?] effect into another Reader[B, ?] effect in the stack
    • zoomReader to replace a Reader[A, ?] effect with Reader[B, ?] in the same stack
    • localReader to modify the read value A in the Reader[A, ?] effect

  • similarly we have translateEither, zoomEither and localEither for the EitherEffect

  • the implementation of effect coproducts (Union of effects) has been simplified with the introduction of
    a UnionTagged class for better performance #59
  • it is possible to specify the target stack type with the .runEither[U] method #50

Non-breaking changes:

  • implement detach in terms of detachA #62
  • promote Rand Alternative instance to MonadPlus #63
  • added a cookbook section on how to prepend effects "locally" #64
  • added interceptNatM to modify a given effect T[_] to T[F[_]] where F is a traversable monad #57
  • make Unions use Vector instead of List for asymptotic reasons #58
  • added the possibility to memoize Safe effects #54
  • updated the try-eff script #51