Highlights
This release contains multiple under-the-hood optimizations particularly for async operations such as race and asyncInterrupt.
Warning
This release fixes a bug in the behaviour of ConfigProvider.kebabCase and ConfigProvider.snakeCase which did not parse config keys correctly. However, users that might have implemented workarounds to the bug might be affected by this fix, so we advice anyone that uses these ConfigProviders in their codebase to review their usage.
Note that for cases where a workaround was implemented and changing config keys is not straightforward, users can opt-in to use ConfigProvider.kebabCaseLegacy / ConfigProvider.snakeCaseLegacy instead.
For more info see #9921.
What's Changed
- zio-test: fix assertTrue comparison using implicit conversion on Scala 3 by @joroKr21 in #9920
- remove printing to stdout when
provide*is missing layer(s) by @hearnadam in #9916 - remove: custom
IsFatalfor jvm Runtime by @hearnadam in #9899 - Make Diff contravariant on Scala 3 and use a union type for equality by @joroKr21 in #9907
- Optimize
raceand synchronous interruption by @kyri-petrou in #9848 - Optimize and deprecate
TestAspect.fibersby @kyri-petrou in #9955 - Optimize provision of
ZLayers to effects by @kyri-petrou in #9895 - Fix
ZStream.asyncdropping elements on Scala Native by @Saturn225 in #9925 - Adding a ZStreamAspect.tagged method that takes in multiple tags. by @douglasthomsen in #9890
- Improve the precision of
ClockLive#currentTimeby @kyri-petrou in #9963 - Don't add supervisor more than once. by @quelgar in #9962
- test-sbt: [bug] match tests on both short and prefixed names. by @dubinsky in #9756
- [test-sbt]: emit
sbt.testing.Events onScala.jsandScala Native. by @dubinsky in #9979 - Optimize error path in
FiberRuntimeby @kyri-petrou in #9975 - Use Duration.Infinity in ZIO.infinity by @hearnadam in #9986
- Deprecate
ZIO.infinityby @hearnadam in #9987 - Deprecated
ZIO#exitCodeby @hearnadam in #9978 - ZLayer: Use Exit.succeed instead of ZIO where already suspended by @hearnadam in #9983
- zio-test: Remove the
"... + x more"feedback from zio-test outputs by @guizmaii in #9900 - Fix ConfigProvider's kebabCase and snakeCase to handle numeric boundaries by @kitlangton in #9921
- Optimize
ZIO.asyncInterruptby @kyri-petrou in #9945 - Fix OOM issue in
ZPipeline#encodeStringWithby @kyri-petrou in #10011
Other changes (CI, dependencies and documentation)
- fix(deps): update dependency @zio.dev/zio-http to v3.3.3 by @renovate[bot] in #9914
- chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.12 by @renovate[bot] in #9915
- Update zio-http to 3.3.3 by @zio-scala-steward[bot] in #9917
- Update junit-platform-engine to 1.13.0 by @zio-scala-steward[bot] in #9918
- Update sbt, sbt-dependency-tree, ... to 1.11.1 by @zio-scala-steward[bot] in #9927
- fix(deps): update dependency @zio.dev/zio-sbt to v0.4.0-alpha.32 by @renovate[bot] in #9929
- fix(deps): update dependency @zio.dev/zio-redis to v1.1.4 by @renovate[bot] in #9934
- fix(deps): update dependency @zio.dev/zio-prelude to v1.0.0-rc41 by @renovate[bot] in #9933
- Update maven-compat, maven-embedder to 3.9.10 by @zio-scala-steward[bot] in #9942
- Add documentation for
ZIOApp#gracefulShutdownTimeoutby @varshith257 in #9923 - Update junit-platform-engine to 1.13.1 by @zio-scala-steward[bot] in #9949
- Update sbt, sbt-dependency-tree, ... to 1.11.2 by @zio-scala-steward[bot] in #9950
- Update sbt-ci-release to 1.11.1 by @kyri-petrou in #9951
- Switch to
sonatypeCentralSnapshotsby @kyri-petrou in #9952 - fix(deps): update dependency @zio.dev/zio-kafka to v3 by @renovate[bot] in #9953
- Update Scala Native to 0.5.8 by @kyri-petrou in #9954
- chore(deps): update dependency @types/react to v19.1.7 by @renovate[bot] in #9956
- Update scala3-library, ... to 3.3.6 by @zio-scala-steward[bot] in #9847
- Update izumi-reflect to 3.0.3 by @zio-scala-steward[bot] in #9912
- Update reactor-core to 3.7.7 by @zio-scala-steward[bot] in #9961
- chore(deps): update dependency @types/react to v19.1.8 by @renovate[bot] in #9964
- fix(deps): update dependency postcss to v8.5.5 by @renovate[bot] in #9966
- fix(deps): update dependency @zio.dev/zio-ftp to v0.4.4 by @renovate[bot] in #9965
- fix(deps): update tailwindcss monorepo to v4.1.10 by @renovate[bot] in #9967
- Update spring-core to 6.2.8 by @zio-scala-steward[bot] in #9968
- docs: Clarify that
forkandforkDaemoninherit parent’s interruptibility by @Saturn225 in #9924 - Speedup CI by @kyri-petrou in #9970
- Enable Scala 2 optimizations in the
testJvmsCI step by @kyri-petrou in #9969 - fix(deps): update dependency postcss to v8.5.6 by @renovate[bot] in #9977
- fix(deps): update dependency @zio.dev/zio-schema to v1.7.3 by @renovate[bot] in #9980
- fix(deps): update dependency @zio.dev/zio-json to v0.7.44 by @renovate[bot] in #9981
- chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.13 by @renovate[bot] in #9982
- Update scala-native-crypto to 0.2.1 by @zio-scala-steward[bot] in #9984
- chore(deps): update dependency prettier to v3.6.0 by @renovate[bot] in #9989
- chore(deps): update dependency prettier to v3.6.1 by @renovate[bot] in #9992
- Update junit-platform-engine to 1.13.2 by @zio-scala-steward[bot] in #9991
- fix(deps): update dependency @zio.dev/zio-ftp to v0.5.0 by @renovate[bot] in #9990
- fix(deps): update tailwindcss monorepo to v4.1.11 by @renovate[bot] in #9994
- chore(deps): update dependency prettier to v3.6.2 by @renovate[bot] in #9995
- Update sbt-scalafmt to 2.5.5 by @zio-scala-steward[bot] in #9998
- Update izumi-reflect to 3.0.4 by @zio-scala-steward[bot] in #10001
- Update maven-resolver-connector-basic, ... to 1.9.24 by @zio-scala-steward[bot] in #10002
- Update junit-platform-engine to 1.13.3 by @zio-scala-steward[bot] in #10007
- fix(deps): update dependency @zio.dev/zio-streams-compress to v1.1.1 by @renovate[bot] in #10008
- Update sbt, sbt-dependency-tree, ... to 1.11.3 by @zio-scala-steward[bot] in #10009
- chore(deps): update dependency cytoscape to v3.32.1 by @renovate[bot] in #10012
- Update izumi-reflect to 3.0.5 by @zio-scala-steward[bot] in #10013
- Update cats-effect to 3.6.2 by @zio-scala-steward[bot] in #10014
- fix(deps): update dependency @zio.dev/zio-metrics-connectors to v2.4.0 by @renovate[bot] in #10015
- Update sbt-mdoc to 2.7.2 by @zio-scala-steward[bot] in #10018
- Update zio-metrics-connectors, ... to 2.4.0 by @zio-scala-steward[bot] in #10017
- chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.14 by @renovate[bot] in #10016
- fix(deps): update dependency @zio.dev/zio-logging to v2.5.1 by @renovate[bot] in #10021
New Contributors
- @douglasthomsen made their first contribution in #9890
Full Changelog: v2.1.19...v2.1.20