Skip to content

2.0.0-M4

Compare
Choose a tag to compare
@adamgfraser adamgfraser released this 14 Oct 01:10
· 2259 commits to series/2.x since this release
8241038

This fourth milestone release of ZIO 2.0 brings us rapidly closer to realizing our vision of next generation concurrent programming in Scala.

Specifically, this milestone contains a new implementation of execution tracing that dramatically reduces the overhead of collecting traces. Since most production applications use execution tracing this should have a material impact on the performance of some ZIO applications.

In addition, this release contains a new ZPool concurrent data structure that represents a pool of managed resources, for example a connection pool. Users can get a value from the pool, semantically blocking until a resource is available, and all resources will be automatically released when the scope of the pool is closed.

Please let us know your feedback. Assuming there are no major issues with this release we expect to publish the first release candidate of ZIO 2.0 in the next two to three weeks. At that point we will work with all ZIO ecosystem libraries to publish versions for ZIO 2.0 so that users can test their applications on ZIO 2.0. At that time we will also have a Scalafix migration rule which will automate the process of upgrading from ZIO 1.0 to ZIO 2.0.

As always thank you for your support!