Releases: zio/zio-query
0.3.0-RC4
This release supports ZIO 2.0.0-RC4.
0.3.0-RC3
This release contains support for ZIO 2.0.0-RC3.
0.3.0-RC2
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
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
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
This release contains support for Scala 3.
0.2.8
This release contains support for Scala 3.0.0-RC3.
0.2.7
This release contains support for Scala 3.0.0-RC2.
v0.2.6
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 batchedzipWithPar
- effects will be performed in parallel and requests to data sources will be batchedzipWithBatched
(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
This release contains optimizations to the performance of parallel queries.