Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
2.1.18 source code.tar.gz | 2025-05-16 | 57.2 MB | |
2.1.18 source code.zip | 2025-05-16 | 58.1 MB | |
README.md | 2025-05-16 | 9.9 kB | |
Totals: 3 Items | 115.3 MB | 0 |
This release of ZIO brings several new features, performance optimizations and bug fixes!
Highlights
- New
ZIO.fromFunction
andZIO.fromFunctionZIO
methods that allow extracting multiple values from the environment in a single effect (#9819 & [#9782]) - (Scala 3 only) New
provideSomeAuto
method forZIO
andSpec
, which works similarly toprovideSome
but without having to provide the environment remainder explicitly. - New
mapChunksEither
andmapEitherChunked
methods onZPipeline
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
- add support for Junit5 tags with zio tests by @dylanowen in https://github.com/zio/zio/pull/9743
- Optimizations for Java Future interop methods by @kyri-petrou in https://github.com/zio/zio/pull/9754
- Bring back the
addMetrics
optimization ofLinkedQueue
to improve performances ofQueue.unbounded
by @guizmaii in https://github.com/zio/zio/pull/9762 - Use a final class for
Queue
instances instead of anonymous trait instances by @guizmaii in https://github.com/zio/zio/pull/9763 ZIO#cached
should not cache interruption by @kyri-petrou in https://github.com/zio/zio/pull/9759- Optimize
Queue#shutdown
by @kyri-petrou in https://github.com/zio/zio/pull/9770 - Optimize
forEachPar*
methods with bounded parallelism by @kyri-petrou in https://github.com/zio/zio/pull/9769 - Clean
Dequeue#takeBetween
code by @guizmaii in https://github.com/zio/zio/pull/9768 - Add
ZPipeline::mapEitherChunked
by @guizmaii in https://github.com/zio/zio/pull/9757 - Add dependency to
scala-collection-compat
and remove deprecated usages ofscala.collection.JavaConverters
by @kyri-petrou in https://github.com/zio/zio/pull/9773 - Implement provideSome that does not require providing R0 by @andrzejressel in https://github.com/zio/zio/pull/9726
- Optimise
ZChannel#toPullIn
&ZChannel#toPullInAlt
code by @guizmaii in https://github.com/zio/zio/pull/9401 - Optimize some ZIO.from* methods by @hearnadam in https://github.com/zio/zio/pull/9789
- Make
ChannelExecutor
classfinal
by @guizmaii in https://github.com/zio/zio/pull/9793 - Fix [#9642] Compare operations of ops classes in assertTrue by @artembakhanov in https://github.com/zio/zio/pull/9798
- Avoid excessive filesystem read/writes during test execution by @kyri-petrou in https://github.com/zio/zio/pull/9795
- Optimize
Chunk::findZIO
by @guizmaii in https://github.com/zio/zio/pull/9784 - Optimize
ZPipeline::mapStream
by @guizmaii in https://github.com/zio/zio/pull/9758 - Add
ZPipeline::mapChunksEither
by @guizmaii in https://github.com/zio/zio/pull/9775 - Fix [#9505] Constructors in assertTrue (Scala 3) by @artembakhanov in https://github.com/zio/zio/pull/9786
- Add ZIO.fromFunctionZIO by @adrian-2414745 in https://github.com/zio/zio/pull/9782
- Optimize
foreachExec
and underlying privateforeach*
methods by @kyri-petrou in https://github.com/zio/zio/pull/9804 - Fix double-counting of failures when joining Fibers by @kyri-petrou in https://github.com/zio/zio/pull/9812
- Add ZIO.fromFunction by @adrian-2414745 in https://github.com/zio/zio/pull/9819
- Clean
ChannelExecutor::restorePipe
and its usages by @guizmaii in https://github.com/zio/zio/pull/9797 - Fix missing suite labels when a single suite is marked as sequential by @kyri-petrou in https://github.com/zio/zio/pull/9823
- Fix race condition when interrupting applications by @kyri-petrou in https://github.com/zio/zio/pull/9827
- [9390] - add tryAcquire to Semaphore by @IgorDorokhov in https://github.com/zio/zio/pull/9825
- Provide environment to stream finalizers by @joroKr21 in https://github.com/zio/zio/pull/9830
- Fix provideSome(Shared) in Scala 3 by @andrzejressel in https://github.com/zio/zio/pull/9826
- Extend causes in the Exit.getOrThrow* methods with stack traces by @joroKr21 in https://github.com/zio/zio/pull/9386
- Mark traits+abstract classes as sealed by @hearnadam in https://github.com/zio/zio/pull/9802
- Optimize Promise by @hearnadam in https://github.com/zio/zio/pull/9569
Other changes (CI, dependencies and documentation)
- chore(deps): update dependency typescript to v5.8.3 by @renovate in https://github.com/zio/zio/pull/9753
- Update hedgehog-core to 0.12.0 by @zio-scala-steward in https://github.com/zio/zio/pull/9755
- Update cats-effect to 3.6.1 by @zio-scala-steward in https://github.com/zio/zio/pull/9761
- Use
ubuntu-latest
in CI runners by @kyri-petrou in https://github.com/zio/zio/pull/9765 - Update CI runner for
release-drafter
by @kyri-petrou in https://github.com/zio/zio/pull/9766 - Bump actions/create-github-app-token from 1.12.0 to 2.0.2 by @dependabot in https://github.com/zio/zio/pull/9760
- Remove Deprecated Section About ZIO Macros by @khajavi in https://github.com/zio/zio/pull/9767
- fix(deps): update dependency @zio.dev/zio-json to v0.7.40 by @renovate in https://github.com/zio/zio/pull/9771
- Update sbt-mdoc to 2.7.0 by @zio-scala-steward in https://github.com/zio/zio/pull/9772
- Add tests to ensure suspension of
Queue#take*
methods by @kyri-petrou in https://github.com/zio/zio/pull/9774 - fix(deps): update dependency @zio.dev/zio-json to v0.7.41 by @renovate in https://github.com/zio/zio/pull/9776
- fix(deps): update dependency @zio.dev/zio-json to v0.7.42 by @renovate in https://github.com/zio/zio/pull/9777
- chore(deps): update dependency @types/react to v19.1.1 by @renovate in https://github.com/zio/zio/pull/9778
- Update junit-platform-engine to 1.12.2 by @zio-scala-steward in https://github.com/zio/zio/pull/9780
- chore(deps): update dependency @types/react to v19.1.2 by @renovate in https://github.com/zio/zio/pull/9787
- Bump actions/setup-java from 4.7.0 to 4.7.1 by @dependabot in https://github.com/zio/zio/pull/9785
- fix(deps): update tailwindcss monorepo to v4.1.4 by @renovate in https://github.com/zio/zio/pull/9788
- Fix typo scala doc classes by @enimiste in https://github.com/zio/zio/pull/9794
- Update reactor-core to 3.7.5 by @zio-scala-steward in https://github.com/zio/zio/pull/9799
- Update sbt-mdoc to 2.7.1 by @zio-scala-steward in https://github.com/zio/zio/pull/9800
- Fix typos in Chunk documentation by @hearnadam in https://github.com/zio/zio/pull/9803
- Update spring-core to 6.2.6 by @zio-scala-steward in https://github.com/zio/zio/pull/9806
- fix(deps): update dependency @zio.dev/zio-telemetry to v3.1.4 by @renovate in https://github.com/zio/zio/pull/9805
- fix(deps): update dependency @zio.dev/zio-dynamodb to v1.0.0-rc19 by @renovate in https://github.com/zio/zio/pull/9808
- Add provideSomeAuto to docs by @andrzejressel in https://github.com/zio/zio/pull/9779
- Update sbt-scalajs, scalajs-compiler, ... to 1.19.0 by @zio-scala-steward in https://github.com/zio/zio/pull/9814
- fix(deps): update dependency @zio.dev/zio-prelude to v1.0.0-rc40 by @renovate in https://github.com/zio/zio/pull/9818
- Provide a more sensible default
.jvmopts
by @guizmaii in https://github.com/zio/zio/pull/9790 - Remove provideSomeSharedAuto by @andrzejressel in https://github.com/zio/zio/pull/9821
- docs(passing-failed-tests.md): unswap examples by @nafg in https://github.com/zio/zio/pull/9828
- chore(deps): update dependency cytoscape to v3.31.3 by @renovate in https://github.com/zio/zio/pull/9831
- fix(deps): update tailwindcss monorepo to v4.1.5 by @renovate in https://github.com/zio/zio/pull/9834
- chore(deps): update dependency cytoscape to v3.31.4 - autoclosed by @renovate in https://github.com/zio/zio/pull/9833
- fix(deps): update dependency @zio.dev/zio-schema to v1.7.0 by @renovate in https://github.com/zio/zio/pull/9837
- chore(deps): update dependency cytoscape to v3.32.0 by @renovate in https://github.com/zio/zio/pull/9836
- fix assertTrue on new instance creation by @goshacodes in https://github.com/zio/zio/pull/9832
- Document Scala 3 Spec provide methods by @andrzejressel in https://github.com/zio/zio/pull/9817
- Replace <:<[R0 & Any, R] with <:<[R0 & out, R] by @andrzejressel in https://github.com/zio/zio/pull/9838
- Bump actions/create-github-app-token from 2.0.2 to 2.0.6 by @dependabot in https://github.com/zio/zio/pull/9839
- chore(deps): update dependency @types/react to v19.1.3 by @renovate in https://github.com/zio/zio/pull/9841
- Replace <:<[R0 & out, R] with proper proof by @andrzejressel in https://github.com/zio/zio/pull/9840
- Update sbt-bloop to 2.0.10 by @zio-scala-steward in https://github.com/zio/zio/pull/9845
- Update sbt-scalafix, scalafix-testkit to 0.14.3 by @zio-scala-steward in https://github.com/zio/zio/pull/9846
- fix(deps): update tailwindcss monorepo to v4.1.6 by @renovate in https://github.com/zio/zio/pull/9849
- Update maven-resolver-connector-basic, ... to 1.9.23 by @zio-scala-steward in https://github.com/zio/zio/pull/9851
- fix(deps): update dependency @zio.dev/zio-json to v0.7.43 by @renovate in https://github.com/zio/zio/pull/9852
- chore(deps): update dependency @types/react to v19.1.4 by @renovate in https://github.com/zio/zio/pull/9856
- Update reactor-core to 3.7.6 by @zio-scala-steward in https://github.com/zio/zio/pull/9857
- fix(deps): update tailwindcss monorepo to v4.1.7 by @renovate in https://github.com/zio/zio/pull/9861
New Contributors
- @dylanowen made their first contribution in https://github.com/zio/zio/pull/9743
- @enimiste made their first contribution in https://github.com/zio/zio/pull/9794
- @artembakhanov made their first contribution in https://github.com/zio/zio/pull/9786
- @adrian-2414745 made their first contribution in https://github.com/zio/zio/pull/9782
- @goshacodes made their first contribution in https://github.com/zio/zio/pull/9832
Full Changelog: https://github.com/zio/zio/compare/v2.1.17...v2.1.18