-
Added
FiberRef, a version ofFiberLocalthat's inherited by child fibers on forks and joins (#665) (#618)- Added
inheritFiberRefs
- Added
-
ZStreamnow tracks finalization scopes as part of the stream computations. This means that resources are acquired and released more precisely as part of the stream, including across concurrency combinators such asbuffer,zipWithandmerge. (#906)ZStreamusesZManagedas the return type for stream folds- Several concurrency combinators were added:
ZStream#flatMapPar,ZStream.flattenParandZStream.mergeAll.
-
Added ZIO Tracing for the JVM -
Causenow includes aZTracewith the fiber's monadic stack trace, execution trace and traces of parent fibers at time of failure. (#849)- added a new branch to
Exit.Cause-Cause.Traced - Added
trace,traced,untraced,refailWithTrace,tracingStatusandcheckTraced - Added
haltWith Platformnow has atracingfield for tracing configuration
- added a new branch to
-
ZManagedAPI has been significantly extended, most of theZIOmethods are supported now (#839) (#903) -
RefMupdates now permit errors (#774) -
Supervision, interruptibility & other regional effects are now inherited by child fibers on fork (#811) (#897)
-
Supervision API:
- renamed
supervisetointerruptChildren - renamed
superviseWithtohandleChildrenWith - Added
unsupervised
- renamed
-
Other API changes:
effectTotalWithhas been superseded bysuspendWith(#863)- Added
tapError(#864) - Added
ZIO.foreach_,ZIO.foreachPar_,ZIO.foreachParN_(#781) ensuringRis replaced byensuring(#769)Blocking,Scheduler&ClockLivetraits no longer allocate new thread pools on inheritance (#845) (#876)
-
Added cats-effect interop layer for
ZManaged, conversions to/from catsResourceand instances forMonad,MonadError,Monoid&SemigroupK` (#827) -
Added cats-effect compatible STM wrappers:
STM,TRef,TSemaphore,TPromise,TQueue(#814) (#796) -
Added interop module for Twitter futures (#833)
-
Added
unsafeRunToTwitterFuture(#882)
For #906, also note that we've added the following concurrency combinators for ZStream: ZStream#flatMapPar, ZStream.mergeAll, ZStream.flattenPar