This release fixes a regressions introduced in v2.1.18 where in some cases the finalizers of an application might not run to completion upon receiving an external interruption signal. We highly recommend users on v2.1.18 to update their zio version to v2.1.19 as soon as possible.
In addition, after some lengthy discussions we made the decision to make 2 RuntimeFlag
s package-private: Interrupt
and WindDown
. These 2 flags are not meant to be configurable by users and have the potential to break application code when used. This change is binary compatible but not source-compatible, so any users that get a compilation error after upgrading to v2.1.19 due to usage of these flags should simply remove their usages.
What's Changed
- Consider all
VirtualMachineError
fatal by @hearnadam in #9867 - Fix yielding to external threadpools by @kyri-petrou in #9866
- [ZScheduler] Store pointers to mutable references in stack memory to avoid reading them from the heap by @kyri-petrou in #9868
- #9638 Make Cause.toString stack-safe by @dizinfector in #9853
- Mark dangerous
RuntimeFlags
as package private by @hearnadam in #9883 - Fix awaiting application finalizers to run on external interruption by @kyri-petrou in #9908
Other changes (CI, dependencies and documentation)
- Update spring-core to 6.2.7 by @zio-scala-steward in #9862
- fix(deps): update dependency @zio.dev/zio-schema to v1.7.1 by @renovate in #9865
- fix(deps): update dependency @zio.dev/zio-cli to v0.7.2 by @renovate in #9870
- fix(deps): update dependency @zio.dev/zio-schema to v1.7.2 by @renovate in #9873
- chore(deps): update dependency @types/react to v19.1.5 by @renovate in #9876
- fix(deps): update dependency @zio.dev/zio-http to v3.3.0 by @renovate in #9879
- Update magnolia to 1.3.18 by @zio-scala-steward in #9881
- Update zio-http to 3.3.0 by @zio-scala-steward in #9884
- Update sbt, sbt-dependency-tree, ... to 1.11.0 by @zio-scala-steward in #9886
- Update sbt-ci-release to 1.11.0 by @zio-scala-steward in #9885
- chore(deps): update dependency @types/react to v19.1.6 by @renovate in #9891
- fix(deps): update dependency @zio.dev/zio-http to v3.3.1 by @renovate in #9892
- Rollback update to
sbt-ci-release
by @kyri-petrou in #9894 - Ecosystem Cards (Highlighted Projects) by @khajavi in #9882
- Update scala-xml to 2.4.0 by @zio-scala-steward in #9898
- Update zio-http to 3.3.1 by @zio-scala-steward in #9897
- Remove printing / logging to console during tests and reduce testsuite execution time by @kyri-petrou in #9896
- Zionomicon Homepage Card by @khajavi in #9888
- fix(deps): update dependency @zio.dev/zio-http to v3.3.2 by @renovate in #9903
- fix(deps): update tailwindcss monorepo to v4.1.8 by @renovate in #9904
- Update zio-http to 3.3.2 by @zio-scala-steward in #9905
- fix(deps): update dependency postcss to v8.5.4 by @renovate in #9910
New Contributors
- @dizinfector made their first contribution in #9853
Full Changelog: v2.1.18...v2.1.19