Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: zio/zio

2.1.22

16 Oct 05:43
a9c8353

Choose a tag to compare

This release contains 2 important bug fixes. For more info check #10116 and #10199.

What's Changed

Other changes (CI, dependencies and documentation)

  • Update fs2-core to 3.12.2 by @zio-scala-steward[bot] in #10148
  • fix(deps): update tailwindcss monorepo to v4.1.13 by @renovate[bot] in #10147
  • fix(deps): update dependency @zio.dev/zio-dynamodb to v1.0.0-rc22 by @renovate[bot] in #10150
  • Update scalacheck to 1.19.0 by @zio-scala-steward[bot] in #10153
  • Update sbt, sbt-dependency-tree, ... to 1.11.6 by @zio-scala-steward[bot] in #10152
  • Update sbt-scalajs, scalajs-compiler, ... to 1.20.1 by @zio-scala-steward[bot] in #10151
  • Bump actions/setup-node from 4 to 5 by @dependabot[bot] in #10155
  • Update reactor-core to 3.7.11 by @zio-scala-steward[bot] in #10157
  • fix(deps): update dependency @zio.dev/zio-streams-compress to v1.1.2 by @renovate[bot] in #10156
  • fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.9 by @renovate[bot] in #10158
  • fix(deps): update dependency @zio.dev/zio-schema to v1.7.5 by @renovate[bot] in #10159
  • Fix Scala Steward OOMs by @guizmaii in #10161
  • Fix test tagging example by @mijicd in #10160
  • Update spring-core to 6.2.11 by @zio-scala-steward[bot] in #10164
  • Update sbt-header to 5.11.0 by @zio-scala-steward[bot] in #10162
  • fix(deps): update dependency @zio.dev/zio-config to v4.0.5 by @renovate[bot] in #10168
  • fix(deps): update dependency @zio.dev/zio-cache to v0.2.5 by @renovate[bot] in #10167
  • chore(deps): update dependency @types/react to v19.1.13 by @renovate[bot] in #10166
  • Fix ZIO HTTP wildcard redirect by @debrandt in #10171
  • Bump actions/create-github-app-token from 2.1.1 to 2.1.4 by @dependabot[bot] in #10170
  • fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.10 by @renovate[bot] in #10173
  • Remove sbt-bloop plugin by @guizmaii in #10176
  • Update zlayer.md by @enimiste in #10180
  • Update sbt-jmh to 0.4.8 by @zio-scala-steward[bot] in #10182
  • Update junit-platform-engine to 1.14.0 by @zio-scala-steward[bot] in #10183
  • Update sbt, sbt-dependency-tree, ... to 1.11.7 by @zio-scala-steward[bot] in #10186
  • Update scala3-library, ... to 3.3.7 by @zio-scala-steward[bot] in #10197
  • Update reactor-core to 3.7.12 by @zio-scala-steward[bot] in #10196
  • Update auxlib, clib, javalib, nativelib, ... to 0.5.9 by @zio-scala-steward[bot] in #10193
  • Deprecate adding Fatal to the Runtime by @hearnadam in #10200

New Contributors

Full Changelog: v2.1.21...v2.1.22

2.1.21

04 Sep 05:05
07efbcb

Choose a tag to compare

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

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.fromIterator about 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

2.1.20

21 Jul 05:31
3ff96ed

Choose a tag to compare

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

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#gracefulShutdownTimeout by @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 sonatypeCentralSnapshots by @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 fork and forkDaemon inherit parent’s interruptibility by @Saturn225 in #9924
  • Speedup CI by @kyri-petrou in #9970
  • Enable Scala 2 optimizations in the testJvms CI 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

Full Changelog: v2.1.19...v2.1.20

2.1.19

30 May 05:33
29b3055

Choose a tag to compare

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 RuntimeFlags 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

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

Full Changelog: v2.1.18...v2.1.19

2.1.18

16 May 03:01
012b21a

Choose a tag to compare

This release of ZIO brings several new features, performance optimizations and bug fixes!

Highlights

  1. New ZIO.fromFunction and ZIO.fromFunctionZIO methods that allow extracting multiple values from the environment in a single effect (#9819 & #9782)
  2. (Scala 3 only) New provideSomeAuto method for ZIO and Spec, which works similarly to provideSome but without having to provide the environment remainder explicitly.
  3. New mapChunksEither and mapEitherChunked methods on ZPipeline give users more options in short-cutting errors when processing streams

For a full list of all things that have been added / fixed / improved make sure to check the PRs below.

What's Changed

Other changes (CI, dependencies and documentation)

  • chore(deps): update dependency typescript to v5.8.3 by @renovate in #9753
  • Update hedgehog-core to 0.12.0 by @zio-scala-steward in #9755
  • Update cats-effect to 3.6.1 by @zio-scala-steward in #9761
  • Use ubuntu-latest in CI runners by @kyri-petrou in #9765
  • Update CI runner for release-drafter by @kyri-petrou in #9766
  • Bump actions/create-github-app-token from 1.12.0 to 2.0.2 by @dependabot in #9760
  • Remove Deprecated Section About ZIO Macros by @khajavi in #9767
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.40 by @renovate in #9771
  • Update sbt-mdoc to 2.7.0 by @zio-scala-steward in #9772
  • Add tests to ensure suspension of Queue#take* methods by @kyri-petrou in #9774
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.41 by @renovate in #9776
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.42 by @renovate in #9777
  • chore(deps): update dependency @types/react to v19.1.1 by @renovate in #9778
  • Update junit-platform-engine to 1.12.2 by @zio-scala-steward in #9780
  • chore(deps): update dependency @types/react to v19.1.2 by @renovate in #9787
  • Bump actions/setup-java from 4.7.0 to 4.7.1 by @dependabot in #9785
  • fix(deps): update tailwindcss monorepo to v4.1.4 by @renovate in #9788
  • Fix typo scala doc classes by @enimiste in #9794
  • Update reactor-core to 3.7.5 by @zio-scala-steward in #9799
  • Update sbt-mdoc to 2.7.1 by @zio-scala-steward in #9800
  • Fix typos in Chunk documentation by @hearnadam in #9803
  • Update spring-core to 6.2.6 by @zio-scala-steward in #9806
  • fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.4 by @renovate in #9805
  • fix(deps): update dependency @zio.dev/zio-dynamodb to v1.0.0-rc19 by @renovate in #9808
  • Add provideSomeAuto to docs by @andrzejressel in #9779
  • Update sbt-scalajs, scalajs-compiler, ... to 1.19.0 by @zio-scala-steward in #9814
  • fix(deps): update dependency @zio.dev/zio-prelude to v1.0.0-rc40 by @renovate in #9818
  • Provide a more sensible default .jvmopts by @guizmaii in #9790
  • Remove provideSomeSharedAuto by @andrzejressel in #9821
  • docs(passing-failed-tests.md): unswap examples by @nafg in #9828
  • chore(deps): update dependency cytoscape to v3.31.3 by @renovate in #9831
  • fix(deps): update tailwindcss monorepo to v4.1.5 by @renovate in #9834
  • chore(deps): update dependency cytoscape to v3.31.4 - autoclosed by @renovate in #9833
  • fix(deps): update dependency @zio.dev/zio-schema to v1.7.0 by @renovate in #9837
  • chore(deps): update dependency cytoscape to v3.32.0 by @renovate in #9836
  • fix assertTrue on new instance creation by @goshacodes in #9832
  • Document Scala 3 Spec provide methods by @andrzejressel in #9817
  • Replace <:<[R0 & Any, R] with <:<[R0 & out, R] by @andrzejressel in #9838
  • Bump actions/create-github-app-token from 2.0.2 to 2.0.6 by @dependabot in #9839
  • chore(deps): update dependency @types/react to v19.1.3 by @renovate in #9841
  • Replace <:<[R0 & out, R] with proper proof by @andrzejressel in #9840
  • Update sbt-bloop to 2.0.10 by @zio-scala-steward in #9845
  • Update sbt-scalafix, scalafix-testkit to 0.14.3 by @zio-scala-steward in #9846
  • fix(deps): update tailwindcss monorepo to v4.1.6 by @renovate in #9849
  • Update maven-resolver-connector-basic, ... to 1.9.23 by @zio-scala-steward in #9851
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.43 by @renovate in #9852
  • chore(deps): update dependency @types/react to v19.1.4 by @renovate in #9856
  • Update reactor-core to 3.7.6 by @zio-scala-steward in #9857
  • fix(deps): update tailwindcss monorepo to v4.1.7 by @renovate in #9861

New Contributors

Full Changelog: v2.1.17...v2.1.18

2.1.17

05 Apr 03:56
77206ce

Choose a tag to compare

Highlights

This release brings a few bug fixes and improvements. One notable fix is that the initial value of Ref can now be garbage-collected once the value of the Ref changes (it was not the case previously).

What's Changed

Other changes (CI, dependencies and documentation)

  • fix(deps): update dependency @zio.dev/zio-json to v0.7.35 by @renovate in #9647
  • chore(deps): update dependency cytoscape to v3.31.1 by @renovate in #9648
  • Update magnolia to 1.3.16 by @zio-scala-steward in #9649
  • fix(deps): update dependency @zio.dev/zio-redis to v1.1.1 by @renovate in #9651
  • Update auxlib, clib, javalib, nativelib, ... to 0.5.7 by @zio-scala-steward in #9650
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.36 by @renovate in #9655
  • fix(deps): update dependency @zio.dev/zio-cache to v0.2.4 by @renovate in #9654
  • Revert Scala Native version to 0.5.6 by @kyri-petrou in #9656
  • chore(deps): update dependency prettier to v3.5.3 by @renovate in #9661
  • chore(deps): update dependency typescript to v5.8.2 by @renovate in #9658
  • docs: add a hint about interruption in ScopedRef by @mberndt123 in #9660
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.37 by @renovate in #9663
  • fix(deps): update dependency @zio.dev/zio-redis to v1.1.2 by @renovate in #9664
  • Bump actions/create-github-app-token from 1.11.5 to 1.11.6 by @dependabot in #9666
  • fix(deps): update dependency react-markdown to v10.0.1 by @renovate in #9665
  • Update sbt, sbt-dependency-tree, ... to 1.10.9 by @zio-scala-steward in #9667
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.38 by @renovate in #9669
  • fix(deps): update dependency @zio.dev/zio-schema to v1.6.4 by @renovate in #9670
  • Update sbt, sbt-dependency-tree, ... to 1.10.10 by @zio-scala-steward in #9671
  • fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.2 by @renovate in #9673
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.39 by @renovate in #9672
  • fix(deps): update dependency react-markdown to v10.1.0 by @renovate in #9674
  • fix(deps): update dependency @zio.dev/zio-streams-compress to v1.1.0 by @renovate in #9675
  • fix(deps): update dependency autoprefixer to v10.4.21 by @renovate in #9679
  • Bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 by @dependabot in #9682
  • fix(deps): update dependency @zio.dev/zio-http to v3.1.0 by @renovate in #9685
  • Update sbt-ci-release to 1.9.3 by @zio-scala-steward in #9691
  • Update reactor-core to 3.7.4 by @zio-scala-steward in #9687
  • fix(deps): update dependency @zio.dev/zio-schema to v1.6.5 by @renovate in #9689
  • Update spring-core to 6.2.4 by @zio-scala-steward in #9694
  • Add ZSteam un-chunking notes by @erikvanoosten in #9695
  • Update zio-http to 3.1.0 by @zio-scala-steward in #9686
  • fix(deps): update dependency @zio.dev/zio-config to v4.0.4 by @renovate in #9699
  • Update junit-platform-engine to 1.12.1 by @zio-scala-steward in #9698
  • fix(deps): update dependency @zio.dev/zio-schema to v1.6.6 by @renovate in #9702
  • chore(deps): update dependency @types/react to v19.0.11 by @renovate in #9706
  • Update sbt, sbt-dependency-tree, ... to 1.10.11 by @zio-scala-steward in #9707
  • Update sbt-mdoc to 2.6.5 by @zio-scala-steward in #9708
  • chore(deps): update dependency @types/react to v19.0.12 by @renovate in #9712
  • fix(deps): update dependency @zio.dev/zio-redis to v1.1.3 by @renovate in #9713
  • Update sbt-bloop to 2.0.9 by @zio-scala-steward in #9714
  • Update spring-core to 6.2.5 by @zio-scala-steward in #9715
  • fix(deps): update dependency @zio.dev/zio-query to v0.7.7 by @renovate in #9718
  • fix(deps): update dependency @zio.dev/zio-kafka to v2.12.0 by @renovate in #9721
  • Update cats-effect to 3.6.0 by @zio-scala-steward in #9722
  • Bump actions/create-github-app-token from 1.11.6 to 1.11.7 by @dependabot in #9725
  • Update fs2-core to 3.12.0 by @zio-scala-steward in #9727
  • fix(deps): update dependency @zio.dev/zio-http to v3.2.0 by @renovate in #9730
  • Upgrade to Tailwind 4 by @johnspade in #9728
  • fix(deps): update tailwindcss monorepo to v4.0.17 by @renovate in #9731
  • Update zio-http to 3.2.0 by @zio-scala-steward in #9732
  • Use simple CSS minifier by @johnspade in #9734
  • fix(deps): update react monorepo to v19.1.0 by @renovate in #9735
  • fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.3 by @renovate in #9736
  • Bump actions/create-github-app-token from 1.11.7 to 1.12.0 by @dependabot in #9737
  • chore(deps): update dependency cytoscape to v3.31.2 by @renovate in #9739
  • fix(deps): update tailwindcss monorepo to v4.1.0 by @renovate in #9741
  • fix(deps): update tailwindcss monorepo to v4.1.1 by @renovate in #9746
  • chore(deps): update dependency @types/react to v19.1.0 by @renovate in #9745
  • Disable Renovate Dependency Dashboard by @hearnadam in #9747
  • fix(deps): update tailwindcss monorepo to v4.1.2 by @renovate in #9749
  • fix(deps): update tailwindcss monorepo to v4.1.3 by @renovate in #9752

New Contributors

Full Changelog: v2.1.16...v2.1.17

2.1.16

26 Feb 06:36
883fe88

Choose a tag to compare

Highlights

This seemingly small release brings 2 new features to ZIO which library authors can utilize in order to provide a better DX for users. As usually, it also contains a number of optimizations, bug fixes, and it's fully binary and source-compatible with the rest of the v2.x series.

HasNoScope evidence (#9604)

In ZIO, having a Scope as an environment requirement indicates that the effect contains finalizers (e.g., closing an HTTP connection) which need to be handled at some point in the evaluation of the effect or the application's lifetime. In certain cases, we might want to ensure that an effect provided to a method does not contain any finalizers. Starting with this version of ZIO, users / library authors can use the HasNoScope evidence for methods where the environment is generic, e.g.,:

def foo[R, A](f: ZIO[R, Nothing, A)(using HasNoScope[R]) = ???

val f1 = foo(ZIO.succeed("foo")) // compiles
val f2 = foo(ZIO.acquireRelease(ZIO.succeed("foo"))(_ => ZIO.unit)) // fails to compile

Note that this feature is primarily intended for use in libraries such as zio-http where we need to ensure that a user-provided effect does not contain any finalizers.

Generic interfaces for non-empty collections (#9560)

This release introduces the NonEmptySeq type class (which NonEmptyChunk now extends) so that users / library authors can write generic code which requires non-empty collections as arguments.

What's Changed

Other changes (CI, dependencies and documentation)

  • fix(deps): update dependency @zio.dev/zio-json to v0.7.15 by @renovate in #9551
  • Update magnolia to 1.3.11 by @zio-scala-steward in #9553
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.16 by @renovate in #9561
  • Remove community project zio-aws-s3 from doc as it's not maintained by @guizmaii in #9564
  • Update zio-aws doc by @guizmaii in #9563
  • Update magnolia to 1.3.12 by @zio-scala-steward in #9567
  • chore(deps): update dependency prettier to v3.5.0 by @renovate in #9566
  • Deprecate accessor methods in zio-kafka tutorial by @erikvanoosten in #9565
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.17 by @renovate in #9572
  • fix(deps): update dependency @zio.dev/zio-prelude to v1.0.0-rc39 - autoclosed by @renovate in #9573
  • fix: Flaky broadcastDynamic tests (#9555) by @gkfabs in #9557
  • Bump actions/create-github-app-token from 1.11.2 to 1.11.3 by @dependabot in #9577
  • fix(deps): update dependency postcss to v8.5.2 by @renovate in #9578
  • fix(deps): update dependency @zio.dev/zio-bson to v1.0.8 by @renovate in #9579
  • Update reactor-core to 3.7.3 by @zio-scala-steward in #9581
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.18 by @renovate in #9582
  • fix(deps): update dependency @zio.dev/zio-redis to v1.0.1 by @renovate in #9583
  • fix(deps): update dependency @zio.dev/zio-sbt to v0.4.0-alpha.31 by @renovate in #9584
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.19 by @renovate in #9588
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.20 by @renovate in #9591
  • chore(deps): update dependency prettier to v3.5.1 by @renovate in #9590
  • Update magnolia to 1.3.13 by @zio-scala-steward in #9594
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.21 by @renovate in #9599
  • Update sbt-mdoc to 2.6.4 by @zio-scala-steward in #9595
  • Update spring-core to 6.2.3 by @zio-scala-steward in #9596
  • chore(deps): update dependency @types/react to v19.0.9 by @renovate in #9605
  • Bump actions/create-github-app-token from 1.11.3 to 1.11.5 by @dependabot in #9607
  • chore(deps): update dependency @types/react to v19.0.10 by @renovate in #9606
  • Update magnolia to 1.3.14 by @zio-scala-steward in #9609
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.22 by @renovate in #9612
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.23 by @renovate in #9613
  • fix(deps): update dependency react-icons to v5.5.0 by @renovate in #9615
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.24 by @renovate in #9614
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.25 by @renovate in #9618
  • Tweaking the zio-kafka tutorial by @erikvanoosten in #9617
  • fix(deps): update dependency postcss to v8.5.3 by @renovate in #9620
  • fix(deps): update dependency @zio.dev/zio-schema to v1.6.2 by @renovate in #9619
  • fix(deps): update dependency @zio.dev/zio-kafka to v2.11.0 by @renovate in #9621
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.26 by @renovate in #9627
  • fix(deps): update dependency @zio.dev/zio-schema to v1.6.3 by @renovate in #9623
  • fix(deps): update dependency react-markdown to v10 by @renovate in #9626
  • chore(deps): update dependency prettier to v3.5.2 by @renovate in #9631
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.28 by @renovate in #9632
  • Update sbt-scalafix, scalafix-testkit to 0.14.2 by @zio-scala-steward in #9628
  • Update junit-platform-engine to 1.12.0 by @zio-scala-steward in #9630
  • fix(deps): update dependency @zio.dev/zio-redis to v1.1.0 by @renovate in #9634
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.29 by @renovate in #9635
  • fix(deps): update dependency @zio.dev/zio-logging to v2.5.0 by @renovate in #9636
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.30 by @renovate in #9637
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.31 by @renovate in #9641
  • Bump JamesIves/github-pages-deploy-action from 4.7.2 to 4.7.3 by @dependabot in #9639
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.32 by @renovate in #9643
  • Bump peter-evans/create-pull-request from 7.0.6 to 7.0.7 by @dependabot in #9640
  • fix(deps): update dependency @zio.dev/zio-json to v0.7.33 by @renovate in #9644
  • Update slf4j-simple to 2.0.17 by @zio-scala-steward in #9646
  • Update magnolia to 1.3.15 by @zio-scala-steward in #9645

Full Changelog: v2.1.15...v2.1.16

2.1.15

05 Feb 10:47
299f180

Choose a tag to compare

Highlights

This release contains various under-the-hood optimizations and minor bug fixes.

Important

One noteable change is the update of izumi-reflect to v3.x from v2.x. This version of izumi-reflect generates tags that are not binary/backwards compatible for Scala 3 opaque types with those generated by v2.x.

Since zio itself does not use opaque types, we considered this as a safe change. However, library authors that have ZIO as a dependency might want to check whether this change affects them in any way and release a new version using the updated zio / izumi-reflect versions

What's Changed

Other changes (CI, dependencies and documentation)

New Contributors

Full Changelog: v2.1.14...v2.1.15

2.1.14

19 Dec 12:51
bc18e4a

Choose a tag to compare

Highlights

This release comes packed with bug fixes and under-the-hood optimizations. Big thank you to all the old and new contributors for their work in this release!

Important

Runtime behaviour change of ZIO#onDone and ZIO#onDoneCause

In this release, the behavior of onDone and onDoneCause has changed to address concerns raised in #9191. Unlike other onX methods, onDone and onDoneCause executed the callback effects in "fire and forget" mode.

We believe that this behaviour could lead to unexpected bugs in applications. As such we changed the implementation of these methods so that the callbacks are executed synchronously. While we believe it's highly unlikely that users using these methods were aware of this implementation detail, we still advice them to review their usages as a precaution.

What's Changed

Other changes (CI, dependencies and documentation)

New Contributors

Full Changelog: v2.1.13...v2.1.14

2.1.13

20 Nov 05:32
6fe8720

Choose a tag to compare

Highlights

This seemingly small release brings a number of new features and important bugfixes:

  1. Adds support for the Junit 5 engine via the new zio-test-junit-engine module #9214.
  2. [ScalaJS] Adds support for accessing environment variables via zio.System in JS engines that support it (e.g., NodeJS) #9282.
  3. Fixes a bug to an issue some users faced with ZStream.mapZIOPar* methods since v2.1.12 #9312.

As always, this version is fully source and binary compatible with the rest of the v2.x series.

What's Changed

Other changes (CI, dependencies and documentation)

New Contributors

Full Changelog: v2.1.12...v2.1.13