-
Added
FiberRef
, a version ofFiberLocal
that's inherited by child fibers on forks and joins (#665) (#618)- Added
inheritFiberRefs
- Added
-
ZStream
now 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
,zipWith
andmerge
. (#906)ZStream
usesZManaged
as the return type for stream folds- Several concurrency combinators were added:
ZStream#flatMapPar
,ZStream.flattenPar
andZStream.mergeAll
.
-
Added ZIO Tracing for the JVM -
Cause
now includes aZTrace
with 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
,tracingStatus
andcheckTraced
- Added
haltWith
Platform
now has atracing
field for tracing configuration
- added a new branch to
-
ZManaged
API has been significantly extended, most of theZIO
methods are supported now (#839) (#903) -
RefM
updates now permit errors (#774) -
Supervision, interruptibility & other regional effects are now inherited by child fibers on fork (#811) (#897)
-
Supervision API:
- renamed
supervise
tointerruptChildren
- renamed
superviseWith
tohandleChildrenWith
- Added
unsupervised
- renamed
-
Other API changes:
effectTotalWith
has been superseded bysuspendWith
(#863)- Added
tapError
(#864) - Added
ZIO.foreach_
,ZIO.foreachPar_
,ZIO.foreachParN_
(#781) ensuringR
is replaced byensuring
(#769)Blocking
,Scheduler
&Clock
Live
traits no longer allocate new thread pools on inheritance (#845) (#876)
-
Added cats-effect interop layer for
ZManaged
, conversions to/from catsResource
and 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)
@Kaishh