github zio/zio v1.0.0-RC17
1.0.0-RC17

latest releases: v2.1.0-RC5, v2.1.0-RC4, v2.1.0-RC3...
4 years ago

Notable changes

This release contains major changes related to how fiber supervision is working.
The new behavior is that a fiber will automatically be interrupted when its parent fiber is interrupted. To make forked fibers independent of their parents, use .daemon.
Previously existing interruptChildren, supervised, unsupervised, checkSupervised, superviseStatus have been removed in favor of daemon, nonDaemon, checkDaemon and daemonStatus.

ZIO

  • Complete overhaul of supervision (#2169) by @jdegoes
  • Add fiber dumps with pretty printing for easier diagnostics (#2228) by @jdegoes
  • Add a new implicit instance CanFail[E] which provides implicit evidence that an effect with an error type E can fail, that is that E is not equal to Nothing. Requires such evidence to exist for ZIO combinators such as orElse that only make sense if an effect can fail (#2049) by @adamgfraser
  • Similarly, implements NeedsEnv so that useless combinators involving effects that don't require an environment don't compile (#2065) by @adamgfraser
  • Add ZIO.fromFunctionFuture (#1961) by @jczuchnowski
  • effectAsync should not resume fiber twice after interruption (#1939) by @darl
  • Add withFilter (#2114) by @wi101
  • Use URIO in type signatures where possible (#2092) by @joroKr21
  • Add ZIO#doUntil and ZIO#doWhile (#2147) by @adamgfraser
  • Ignore should not recover from unchecked exceptions (#2148) by @alexvanolst
  • Reimplement RaceWith in the ZIO runloop for better performance (#2091) by @YuvalItzchakov
  • Adapt ZIO.someOrFailException to improve interop with error types (#2087) by @mlangc
  • Fix Cause Definition of Equals and HashCode (#2220) by @adamgfraser
  • Improve implementation of InterruptStatus#isInterruptible (#2188) by @sirthias

ZIO Stream

ZIO Test

STM

Schedule

ZManaged

Chunk

Semaphore

  • Deprecate acquire, acquireN, release, releaseN in favor of withPermits (#1523) by @adamgfraser

Duration

Don't miss a new zio release

NewReleases is sending notifications on new releases.