github-actions
released this
11 May 08:55
·
47 commits
to series/2.x
since this release
We found a couple bugs in 2.1.0 so this we decided to release a patch version quickly:
- An application using ZIO metrics would hang forever when receiving the termination signal after interrupting all other fibers. This is because
ScopedRef
now runs acquisition in an uninterruptibe region. You might want to be careful if you useZLayer.reloadable
and its variants: fibers forked in those layers are need to be marked asinterruptible
explicitly. - ZIO test assertions were broken on Scala.js with Scala 2.12 because of unsupported reflection usage.
What's Changed
- Add a TestAspect to run tests in the blocking threadpool by @kyri-petrou in #8835
- Fix metrics causing the application to hang on termination by @ghostdogpr in #8837
- Don't use Java reflection for ScalaJS / Native by @kyri-petrou in #8841
Other changes (CI, dependencies and documentation)
- Fix Versioning On Documentation by @khajavi in #8839
- Added Scala3 + Prometheus + OpenTelemetry tracing example by @lewapek in #8831
Full Changelog: v2.1.0...v2.1.1