Skip to content

Releases: zio/zio-query

0.3.0-RC4

04 Apr 05:32
f62a810
Compare
Choose a tag to compare

This release supports ZIO 2.0.0-RC4.

0.3.0-RC3

20 Mar 14:49
f953556
Compare
Choose a tag to compare

This release contains support for ZIO 2.0.0-RC3.

0.3.0-RC2

30 Jan 16:28
a9fbb68
Compare
Choose a tag to compare

This release contains support for ZIO 2.0.0-RC2. There are no API changes other than the removal of the need for IsNotIntersection evidence for certain environment operators which should not impact users other than allowing downstream libraries to also remove the need for this evidence.

0.3.0-RC1

15 Dec 16:24
Compare
Choose a tag to compare

This release contains support for ZIO 2.0.0-RC1. This includes support for new features in ZIO 2.0 such as a simpler environment type, compositional zips, and next generation execution tracing. However, from an API perspective there are no significant changes other than updating operator names to reflect ZIO 2.0 naming conventions. Previous operators are marked as deprecated with warnings indicating the corresponding new operator name.

We will be doing release candidates to track ZIO 2.0 release candidates until a final version of ZIO 2.0 is published, at which point we will publish 0.3.0. All future development with the exception of maintenance and bug fixes will target ZIO 2.0.

v0.2.10

10 Aug 03:38
2cfa0f9
Compare
Choose a tag to compare

This release contains contains new functionality to make caching a regional setting. Just use cached or uncached on any part of a query to indicate whether it should be cached or not. It also adds operators to time out a query. Finally, it includes new overloaded versions of the foreach variants to support collection types such as Option, Set, Map, and NonEmptyChunk thanks to @paulpdaniels.

0.2.9

18 May 16:21
2893935
Compare
Choose a tag to compare

This release contains support for Scala 3.

0.2.8

01 May 14:37
b59d161
Compare
Choose a tag to compare

This release contains support for Scala 3.0.0-RC3.

0.2.7

14 Apr 14:30
e241bd4
Compare
Choose a tag to compare

This release contains support for Scala 3.0.0-RC2.

v0.2.6

16 Dec 06:18
5746d54
Compare
Choose a tag to compare

This release contains several new features, including a new set of parallelism operators to help users optimize the performance of their queries. See below for additional details. Thank you for your continued support!

More Fine Grained Control Of Parallelism Operators

ZIO Query now provides users more ability than ever to control the parallelism of their queries:

  • zipWith - effects will be performed sequentially and requests to data sources will be pipelined but not batched
  • zipWithPar - effects will be performed in parallel and requests to data sources will be batched
  • zipWithBatched (NEW) - effects will be performed sequentially but requests to data sources will be batched

The zipWithBatched operator allows users who know they do not need to perform arbitrary effects in parallel to avoid the overhead of forking fibers and maximize the performance of their queries. Batched variants of all the usual zip, foreach, and collectAll operators are available to help users take advantage of this functionality.

Thanks to @ghostdogpr and the Caliban team for their feedback that led to the implementation of this feature!

Support For Data Sources Returning Additional Results

Sometimes in the process of executing a request a data source will incidentally produce other results. Data sources can now return these additional results simply by including requests and corresponding results in the CompletedRequestMap and they will be cached and made available to subsequent steps in the query.

Thanks to @vigoo for his feedback that led to this feature.

Miscellaneous Improvements

This release also includes several other improvements. In particular @paulpdaniels added a host of operators from ZIO to ZQuery to make it easier to work with and transform ZQuery values. Cache has a more extensible interface and CompletedRequestMap now has a more readable rendering to facilitate debugging.

v0.2.5

06 Sep 12:17
77a694d
Compare
Choose a tag to compare

This release contains optimizations to the performance of parallel queries.