This release brings a few bug fixes and under-the-hood improvements.
The main user-facing change is the deprecation of user-configurable IsFatal. We decided to deprecate this feature as we believe it's not a feature used by many users (if any) and supporting it brings a lot of unnecessary complexity to ZIO's codebase. If your codebase / library is affected by this change, please open an issue with your use-case.
What's Changed
- Enable build tools to relocate "target/test-reports-zio/output.json". by @dubinsky in #10054
- Deprecate
ZIO::catchNonFatalOrDieby @guizmaii in #10052 - Optimise
FiberRef::modifyby @guizmaii in #10041 - Make
Chunk::Singletonmore lightweight by @guizmaii in #10066 - Optimize
ZChannelcode: RemoveZIO::unlessusages by @guizmaii in #10058 - Optimise
Chunk: Remove someSomeallocations by @guizmaii in #10067 - Optimise
Trace.toJavaby @guizmaii in #10091 - Make some
Chunkimplementations more lightweight by @guizmaii in #10078 - zio-test: Improve rendering of Tuples by @guizmaii in #10098
- Optimise
Hubcode by @guizmaii in #10094 - Fix laziness of
ZStream::paginateChunkby @guizmaii in #10113 - enable ZIO Signaling with GraalVM Native Image - related to #9240 by @jamesward in #10115
- Optimize
ZPipeline::mapEitherChunkedby @guizmaii in #9816 Hub: PreferZIOoverExitin.onInterruptcalls by @guizmaii in #10126- Optimise
ZStream.fromIteratorSucceedby @guizmaii in #10083 - Do not log an interruption error on app shutdown by @kyri-petrou in #10141
- Deprecate
IsFatalin preparation for removal by @hearnadam in #10140 - Make
TestArrow.runstack safe by @hearnadam in #10138 - [test-sbt] More uniformity. by @dubinsky in #10120
Other changes (CI, dependencies and documentation)
- fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.7 by @renovate[bot] in #10033
- Update junit-platform-engine to 1.13.4 by @zio-scala-steward[bot] in #10040
- Update spring-core to 6.2.9 by @zio-scala-steward[bot] in #10032
- fix(deps): update dependency @zio.dev/zio-quill to v4.8.6 by @renovate[bot] in #10031
- Update maven-compat, maven-embedder to 3.9.11 by @zio-scala-steward[bot] in #10029
- Update reactor-core to 3.7.8 by @zio-scala-steward[bot] in #10028
- Update snakeyaml-engine to 2.10 by @zio-scala-steward[bot] in #10026
- Update sbt-ide-settings to 1.1.3 by @zio-scala-steward[bot] in #10025
- fix(deps): update dependency @zio.dev/zio-redis to v1.1.5 by @renovate[bot] in #10046
- Improve Scalac configuration: Disable auto-tupling for Scala 3 by @guizmaii in #10043
- Update cats-effect to 3.6.3 by @zio-scala-steward[bot] in #10049
- Update scalajs-dom to 2.8.1 by @zio-scala-steward[bot] in #10048
- fix(deps): update dependency @zio.dev/zio-dynamodb to v1.0.0-rc20 by @renovate[bot] in #10047
- fix(deps): update react monorepo to v19.1.1 by @renovate[bot] in #10056
- chore(deps): update dependency cytoscape to v3.33.0 by @renovate[bot] in #10057
- chore(deps): update dependency @types/react to v19.1.9 by @renovate[bot] in #10059
- Add test for
ZStream.fromIteratorabout exceptional case by @guizmaii in #10062 - Update sbt-bloop to 2.0.12 by @zio-scala-steward[bot] in #10064
- fmt by @guizmaii in #10065
- chore(deps): update dependency typescript to v5.9.2 by @renovate[bot] in #10072
- Mention Gradle plugin for Scala.js and Scala Native. by @dubinsky in #10053
- fix(deps): update dependency @zio.dev/zio-schema to v1.7.4 by @renovate[bot] in #10076
- Update sbt, sbt-dependency-tree, ... to 1.11.4 by @zio-scala-steward[bot] in #10077
- Update sbt-bloop to 2.0.13 by @zio-scala-steward[bot] in #10086
- fix(deps): update dependency @zio.dev/zio-ftp to v0.5.1 by @renovate[bot] in #10089
- fix: add scoped hook to shutdown hub on broadcastedQueues by @cipriansofronia in #10084
- fix(deps): update dependency @zio.dev/zio-ftp to v0.5.2 by @renovate[bot] in #10096
- Bump actions/create-github-app-token from 2.0.6 to 2.1.1 by @dependabot[bot] in #10101
- chore(deps): update dependency @types/react to v19.1.10 by @renovate[bot] in #10100
- Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #10103
- Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #10102
- chore(deps): update dependency cytoscape to v3.33.1 by @renovate[bot] in #10104
- Update reactor-core to 3.7.9 by @zio-scala-steward[bot] in #10105
- Update zio-http to 3.4.0 by @zio-scala-steward[bot] in #10106
- Update hedgehog-core to 0.13.0 by @zio-scala-steward[bot] in #10107
- fix(deps): update dependency @zio.dev/zio-metrics-connectors to v2.4.1 by @renovate[bot] in #10109
- fix(deps): update tailwindcss monorepo to v4.1.12 by @renovate[bot] in #10110
- Update spring-core to 6.2.10 by @zio-scala-steward[bot] in #10112
- Update zio-metrics-connectors, ... to 2.4.1 by @zio-scala-steward[bot] in #10111
- Update sbt-ci-release to 1.11.2 by @zio-scala-steward[bot] in #10117
- fix(deps): update dependency @zio.dev/zio-metrics-connectors to v2.4.2 by @renovate[bot] in #10118
- Update zio-metrics-connectors, ... to 2.4.2 by @zio-scala-steward[bot] in #10119
- Update izumi-reflect to 3.0.6 by @zio-scala-steward[bot] in #10121
- fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.8 by @renovate[bot] in #10125
- fix(deps): update dependency @zio.dev/zio-sbt to v0.4.0-alpha.33 - autoclosed by @renovate[bot] in #10124
- fix(deps): update dependency @zio.dev/zio-metrics-connectors to v2.5.0 by @renovate[bot] in #10127
- chore(deps): update dependency @types/react to v19.1.11 by @renovate[bot] in #10129
- Update sbt-unidoc to 0.6.0 by @zio-scala-steward[bot] in #10132
- Update sbt, sbt-dependency-tree, ... to 1.11.5 by @zio-scala-steward[bot] in #10133
- Update zio-metrics-connectors, ... to 2.4.3 by @zio-scala-steward[bot] in #10131
- Bump actions/setup-java from 4.7.1 to 5.0.0 by @dependabot[bot] in #10135
- Update zio-metrics-connectors, ... to 2.5.0 by @zio-scala-steward[bot] in #10134
- fix(deps): update dependency @zio.dev/zio-sbt to v0.4.0-alpha.34 by @renovate[bot] in #10137
- Remove ZIO HTTP Documentation by @khajavi in #9887
- chore(deps): update dependency @types/react to v19.1.12 by @renovate[bot] in #10139
- fix(deps): update dependency @zio.dev/zio-cli to v0.7.3 by @renovate[bot] in #10142
Full Changelog: v2.1.20...v2.1.21