Zio Versions Save

ZIO — A type-safe, composable library for async and concurrent programming in Scala

v2.1.0-RC3

2 weeks ago

We found a regression in 2.1.0-RC2 causing compile errors with ZLayer.make or ZIO#provide. The change causing these errors has been reverted and we're making a RC3 right away so that more people can test the recent runtime improvements.

What's Changed

Full Changelog: https://github.com/zio/zio/compare/v2.1.0-RC2...v2.1.0-RC3

v2.1.0-RC2

3 weeks ago

This release candidate builds on the previous ZIO runtime system improvements delivered in the 2.1-RC1 to add major improvements in forking and joining fibers. Our ForkJoin benchmark is about 6x faster than in 2.0.x, and close to 20x faster when you disable FiberRoots (which is recommended for high performance).

We've also changed the default behavior to disable auto-blocking detection by default because it could cause some performance degradation in some cases. Better heuristics might be introduced in the future, but in the meantime you can enable it by using the Runtime.enableAutoBlockingExecutor aspect. We also added an optional executor based on Loom that you can use if your Java version is 21 or higher. It looks like our default ZScheduler is faster when forking a lot of fibers, but depending on your use case, you might want to try this new executor using the Runtime.enableLoomBasedExecutor aspect.

Because of the amount of changes, we decided to release a new release candidate first, and hope to get people to test it and report any issue. We will probably do a minor RC3 with a few fixes but are hoping to release 2.1.0 soon. Note that this version is binary compatible with 2.0.x with the exception of a few internal classes that should not be used anywhere else, but if you find any incompatibility issue, please let us know.

Known issues:

What's Changed

Documentation Updates

CI

New Contributors

Full Changelog: https://github.com/zio/zio/compare/v2.1-RC1...v2.1.0-RC2

v2.0.22

4 weeks ago

This release contains a few performance improvements that were backported to the 2.0.x branch so you can benefit from them sooner (the "current" branch is for 2.1.x, for which a RC2 will probably be released in the coming weeks). These changes, in particular the FiberRuntime one, have shown a ~10-15% improvement in some benchmarks.

What's Changed

Full Changelog: https://github.com/zio/zio/compare/v2.0.21...v2.0.22

v2.0.21

4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/zio/zio/compare/v2.0.20...v2.0.21

v2.1-RC1

4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/zio/zio/compare/v2.0.20...v2.1-RC1

v2.0.20

4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/zio/zio/compare/v2.0.19...v2.0.20

v2.0.19

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/zio/zio/compare/v2.0.18...v2.0.19

v2.0.18

7 months ago

What's Changed

Full Changelog: https://github.com/zio/zio/compare/v2.0.17...v2.0.18

v2.0.17

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/zio/zio/compare/v2.0.16...v2.0.17

v2.0.16

8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/zio/zio/compare/v2.0.15...v2.0.16