Release Notes
The highlight of this release is that Websocket support has been added to the QuickAdapter
(the adapter that's the fastest to use and also provides the best performance). Since this adapter is using zio-http under the hood, we deprecated the existing tapir-based ZHttpAdapter
which you can simply replace by the QuickAdapter
. A small breaking change coming with this change is that we moved WebSocketHooks
to another package and changed the type to describe transformation from StreamTransformer
to ZPipeline
.
Apart from that, there are quite a few performance improvements, in particular some coming from zio-query that should make things a lot faster if you use queries with a DataSource
.
New features
- Added WebSocket support to
caliban-quick
#2150 by @kyri-petrou - Added
excludeDeprecated
option to client code generation #2163 by @jeejeeone - Allowed prepending input path to
HttpInterpreter
-generated Tapir endpoints #2188 by @olisikh - Allowed providing a custom
zio.query.Cache
when executing queries by @kyri-petrou - Added
interpreterUnsafe
method toGraphQL
#2160 by @kyri-petrou
Bug fixes
- Fixed incorrect wrapping of pure values by some FieldWrappers #2162 by @kyri-petrou
- Fixed enum annotation issue #2166 by @kyri-petrou
- Fixed
InputValue.ObjectValue#toString
#2173 by @ghostdogpr
Performance improvements
- Optimized performance of
Schema
,ArgBuilder
andExecutor
#2120 by @kyri-petrou - Updated
zio-query
to get better performance #2177 by @kyri-petrou - Improved jsoniter encoding performance #2181 by @kyri-petrou
- Avoided unnecessary .units in Validator #2182 by @kyri-petrou
- Improved performance of
ApolloFederatedTracing
wrapper #2167 by @kyri-petrou
Important dependency upgrades
- Updated
zio-http
to 3.0.0-RC6 #2159 by @kyri-petrou