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