github zio/zio v2.1.0-RC2
2.1.0-RC2

latest releases: v2.1.1, v2.1.0, v2.1.0-RC5...
pre-release24 days 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:

  • Regression in ZLayer.make #8767

What's Changed

Documentation Updates

  • Update @zio.dev/zio-telemetry docs to 3.0.0-RC20 by @github-actions in #8587
  • Update @zio.dev/zio-jdbc docs to 0.1.2 by @github-actions in #8589
  • Fix Broken Newsletter's Link by @khajavi in #8593
  • Update Copyright by @adamgfraser in #8596
  • Update scalajs documentation to be in line with latest zio2, scalajs by @jypma in #8613
  • Fixed some minor typos by @nedmules-sked in #8616
  • Update @zio.dev/zio-prelude docs to 1.0.0-RC22 by @github-actions in #8627
  • Revert "Update @zio.dev/zio-prelude docs to 1.0.0-RC22" by @khajavi in #8637
  • ZIO Ecosystem Docusaurus: Automate Project Discovery by @khajavi in #8641
  • ZIO Ecosystem Contribution Guide by @khajavi in #8640
  • Add Fhir Indexer to The sidebars.js File by @khajavi in #8639
  • Add zio nebula graph to sidebar by @jxnu-liguobin in #8622
  • zio-logging 2.2.0 website by @justcoon in #8645
  • Update @zio.dev/zio-bson docs to 1.0.6 by @github-actions in #8646
  • Update installation.md by @DoNotWorr in #8648
  • Enable Redirection Plugin for ZIO Website #8647 by @sroopsai in #8651
  • fix doc typo by @evis in #8650
  • Update creating-sinks.md by @sangwoo-sean in #8658
  • Gitter channel -> Discord Server by @hearnadam in #8628
  • Update @zio.dev/zio-prelude docs to 1.0.0-RC23 by @github-actions in #8663
  • Refine ZIO Ecosystem Contribution Guide by @khajavi in #8643
  • Update @zio.dev/zio-sbt docs to 0.4.0-alpha.23 by @github-actions in #8665
  • zio-logging 2.2.1 website by @justcoon in #8669
  • Update operations.md by @gcsolaroli in #8694
  • Update @zio.dev/zio-sbt docs to 0.4.0-alpha.24 by @github-actions in #8685
  • Update @zio.dev/zio-query docs to 0.6.1 by @github-actions in #8698
  • fix(deps): update dependency @zio.dev/zio-metrics-connectors to v2.3.1 by @renovate in #8727
  • fix(deps): update dependency @zio.dev/zio-profiling to v0.3.0 by @renovate in #8728
  • fix(deps): update dependency @zio.dev/zio-schema to v1 by @renovate in #8730
  • chore(deps): update dependency typescript to v5.4.4 by @renovate in #8725
  • fix(deps): update dependency @zio.dev/zio-http to v3.0.0-rc6 by @renovate in #8707
  • fix(deps): update dependency @zio.dev/zio-logging to v2.2.2 by @renovate in #8709
  • fix(deps): update dependency @zio.dev/zio-telemetry to v3.0.0-rc21 by @renovate in #8722
  • fix(deps): update dependency @zio.dev/zio-kafka to v2.7.4 by @renovate in #8708
  • fix(deps): update dependency @zio.dev/zio-quill to v4.8.3 by @renovate in #8710
  • Update @zio.dev/zio-kafka docs to 2.7.4 by @github-actions in #8691
  • fix(deps): update dependency @zio.dev/zio-config to v4.0.1 by @renovate in #8705
  • fix(deps): update dependency @zio.dev/zio-ftp to v0.4.2 by @renovate in #8706
  • chore(deps): update dependency typescript to v5.4.5 by @renovate in #8733
  • Documentation: Clean up Metrics Page by @khajavi in #8736
  • chore(deps): update dependency @types/react to v18.2.77 by @renovate in #8737
  • fix(deps): update dependency @zio.dev/zio-query to v0.7.0 by @renovate in #8739
  • Make Redirect Plugin Compatible with Docusaurus Core by @khajavi in #8738
  • chore(deps): update dependency @types/react to v18.2.79 by @renovate in #8750

CI

New Contributors

Full Changelog: v2.1-RC1...v2.1.0-RC2

Don't miss a new zio release

NewReleases is sending notifications on new releases.