Releases: atnos-org/eff
eff 3.0.2
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:
- possible
ClassCastException
when running stacks of 4 effects
eff 3.0.2
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:
- possible
ClassCastException
when running stacks of 4 effects
EFF-3.0.1
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 likeEither
,
Option
orTimedFuture
#68 - added a
Eff.bracketLast
method to allow the clean up of resources on anEff
computation. The scope of the clean-up
extends to futureflatMaps
done on the bracketed computation, whereasSafeEffect.bracket
only brackets the current
computation
Fixes:
scalaz EFF-3.0.0
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 whichTaskEffect
(with implementations forscalaz
,monix
,fs2
) orFutureEffect
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 aReader[A, ?]
effect into anotherReader[B, ?]
effect in the stackzoomReader
to replace aReader[A, ?]
effect withReader[B, ?]
in the same stacklocalReader
to modify the read valueA
in theReader[A, ?]
effect
- similarly we have
translateEither
,zoomEither
andlocalEither
for theEitherEffect
- the implementation of effect coproducts (
Union
of effects) has been simplified with the introduction of
aUnionTagged
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 ofdetachA
#62 - promote
Rand
Alternative
instance toMonadPlus
#63 - added a cookbook section on how to prepend effects "locally" #64
- added
interceptNatM
to modify a given effectT[_]
toT[F[_]]
whereF
is a traversable monad #57 - make
Unions
useVector
instead ofList
for asymptotic reasons #58 - added the possibility to memoize
Safe
effects #54 - updated the try-eff script #51
fs2 EFF-3.0.0
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 whichTaskEffect
(with implementations forscalaz
,monix
,fs2
) orFutureEffect
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 aReader[A, ?]
effect into anotherReader[B, ?]
effect in the stackzoomReader
to replace aReader[A, ?]
effect withReader[B, ?]
in the same stacklocalReader
to modify the read valueA
in theReader[A, ?]
effect
- similarly we have
translateEither
,zoomEither
andlocalEither
for theEitherEffect
- the implementation of effect coproducts (
Union
of effects) has been simplified with the introduction of
aUnionTagged
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 ofdetachA
#62 - promote
Rand
Alternative
instance toMonadPlus
#63 - added a cookbook section on how to prepend effects "locally" #64
- added
interceptNatM
to modify a given effectT[_]
toT[F[_]]
whereF
is a traversable monad #57 - make
Unions
useVector
instead ofList
for asymptotic reasons #58 - added the possibility to memoize
Safe
effects #54 - updated the try-eff script #51