-
Notifications
You must be signed in to change notification settings - Fork 3
chore(deps): update dependency com.github.ghostdogpr:caliban to v2.11.1 #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/com.github.ghostdogpr-caliban-2.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e3c84a4 to
5c97647
Compare
5c97647 to
d852c31
Compare
d852c31 to
4177c50
Compare
4177c50 to
139adad
Compare
139adad to
615f05e
Compare
615f05e to
1ec51d9
Compare
1ec51d9 to
32b435e
Compare
32b435e to
6775d20
Compare
6775d20 to
e623858
Compare
e623858 to
5143e92
Compare
5143e92 to
884a090
Compare
884a090 to
8de426f
Compare
8de426f to
3198da8
Compare
3198da8 to
38748bb
Compare
38748bb to
4da3130
Compare
4da3130 to
923bfe7
Compare
923bfe7 to
593899e
Compare
593899e to
1a38e5c
Compare
1a38e5c to
5a27ea1
Compare
5a27ea1 to
ac2a755
Compare
ac2a755 to
1bb48ea
Compare
1bb48ea to
33cd893
Compare
33cd893 to
6149109
Compare
6149109 to
0532e69
Compare
0532e69 to
e7f80f0
Compare
e7f80f0 to
19ef4e9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.1->2.11.1Release Notes
ghostdogpr/caliban (com.github.ghostdogpr:caliban)
v2.11.1Compare Source
Release Notes
This is a bug fix release with a single fix for a regression introduced in 2.11.0 that could cause the client code generation to produce code which doesn't compile when using a particular combination of scalars.
Bug Fixes
v2.11.0Compare Source
Release Notes
This is a small release with minor fixes and additions. The most notable fix is that the code generated by the Caliban Client sbt plugin was triggering warnings under Scala 3.7 (because implicits were provided explicitly without the
usingkeyword). This pattern is now removed, which changed the generated code slightly.New Features
Bug Fixes
oneOfroot not allowingnullby @guymers in #2691hashCodewhen caching hash code by @kyri-petrou in #2700Code Generation
v2.10.1Compare Source
Release Notes
This release brings a few minor improvements and bug fixes. One notable thing is that there was a new release of GraphiQL which requires loading it in a different way, so you will need to upgrade if you rely on our embedded GraphiQL.
New features
ArgBuilderinstance forMapby @WesselVS in #2649QuickAdapterby @develeon in #2644Bug fixes
oneOfinputs by @guymers in #2604oneOfby @kroeberk in #2610splitFilesand a source directory by @dontgitit in #2662Important upgrades
v2.10.0Compare Source
Release Notes
This release brings a few bug fixes and dependency upgrades. The zio-http upgrade changes a few type signatures in
QuickAdapterbut shouldn't affect usage of it.Note that the zio-query upgrade includes an important bug fix related to
FiberRefpropagation.If you are using the
splitFilesoption in code generation, make sure that the output path is a folder and not a file. That folder doesn't need to exist anymore, it will be created if needed.Bug fixes
ArgBuilderby @WesselVS in #2581splitFilesoption in codegen by @ghostdogpr in #2582 #2588Important dependency upgrades
v2.9.2Compare Source
Release Notes
This is a small release with a few bug fixes and improvements.
Bug fixes
Performance improvements
Validatorby @kyri-petrou in #2499v2.9.1Compare Source
Release Notes
This release brings a few bug fixes and improvements. Caliban Client is now available for Scala Native 0.5.
Happy new year to all Caliban users! 🎉
New features
SchemaComparatorby @joheriks in #2426Schemainstance forNonEmptyChunkby @yoohaemin in #2476Bug fixes
Important dependency upgrades
v2.9.0Compare Source
Release Notes
This release brings a few interesting features, such as support for the
@streamdirective, alongside a new batch of performance improvements. Note that the@streamaddition caused some changes that impact the@deferdirective usage as well.The
QuickAdapternow depends on the long-awaited stable 3.0.x version of zio-http, which means no more binary compatibility issues between releases.Finally, one noticeable change is that we are now using jsoniter internally to encode and decode GraphQL requests and responses, which means you don't need to depend and import one of the
tapir-jsonlibraries anymore.New features
@streamdirective by @paulpdaniels in #2309jsonitera required dependency and use it for enc/dec in tapir adapters by @kyri-petrou in #2341Bug fixes
ArgBuilderderivation for case classes containing only optional fields by @kyri-petrou in #2408Performance improvements
GraphQLRequestto identify GET requests by @kyri-petrou in #2329Function0allocations by @kyri-petrou in #2366Field#allFieldsUniqueNameAndConditionby @kyri-petrou in #2368Important dependency upgrades
v2.8.1Compare Source
Release Notes
This small release fixes a couple issues related to the
@oneOfintroduction in 2.8.0.Bug fixes
ArgBuilderderivation when input is a value type by @kyri-petrou in #2323oneOfinputs and added fallback to parent type annotations for@GQLOneOfInputby @kyri-petrou in #2322Performance improvements
v2.8.0Compare Source
Release Notes
This release brings a long-awaited feature:
@oneOfinputs, based on this RFC which is almost finalized and already implemented in several libraries in other languages. This allows you to use ADTs as input parameters:This will generate the following schema, and the validation will verify that only one of those fields is provided in incoming queries.
This release also includes a few breaking changes that should impact a very low amount of users, but here they are just in case:
Validator.prepareconvertHttpStreamingEndpoint/convertHttpEndpointToFutureHttpInterpreter/WebSocketInterpreter). If you hadRequestInterceptorbefore, you can use zio-httpMiddlewareinstead.GraphQL#interpreter) that returned aZIOnow return anExit, which is a subtype ofZIOthat you can convert to anEitherorOptionwithout needing to run theZIONew features
@oneOfinputs for both server and client by @kyri-petrou in #1846 #2294Bug fixes
@GQLFieldmethods by @kyri-petrou in #2305Performance improvements
caliban-zio-httpto depend oncaliban-quickby @kyri-petrou in #2287Eitherinstead ofZPureinValidator/VariableCoercerby @kyri-petrou in #2310Exitfor methods in Pagination by @kyri-petrou in #2298Eitherinstead ofZIOfor methods that don't require it by @kyri-petrou in #2292Code cleanup
Validator.prepareby @kyri-petrou in #2291zio-preludeby @kyri-petrou in #2314v2.7.2Compare Source
Release Notes
This release contains a few bug fixes and performance improvements.
Bug fixes
Nothingas routes error type by @kyri-petrou in #2264Performance improvements
QuickAdapter#runServerby @kyri-petrou in #2288Fieldcreation when the SelectionSet doesn't contain fragments by @kyri-petrou in #2280AtomicReferenceinstead ofRefin theExecutorby @kyri-petrou in #2277allFieldsMapprivate on __Type and use an accessor method by @kyri-petrou in #2279Important dependency upgrades
v2.7.1Compare Source
Release Notes
This release contains a couple bug fixes and a small addition.
New features
SchemaandArgBuilderfor zio-json'sJson#2260 by @paulpdanielsBug fixes
ExcludeArgumenttransformer so that it doesn't exclude non-nullable arguments #2257 by @kyri-petrouv2.7.0Compare Source
Release Notes
This release contains several new features as well as a few performance improvements.
Schema transformations
You can now transform types, fields or arguments of an existing
GraphQLobject. This gives you an easy alternative to modifying schemas. You can also implement your own custom transformers.Scala 3 union type derivation
You can now derive schemas from Scala 3 union types, and they will be translated to GraphQL unions:
New features
Schemafor Scala 3 union types #2215 by @oyvindberg@semanticNonNulldirective support #2180 by @XiNiHaPerformance improvements
ZIO.scopedfrom APQ wrapper #2214 by @kyri-petrouresolveperformance in Scala 2 derivation #2239 by @ghostdogprParser#2246 by @kyri-petrouConfigurator#2250 by @kyri-petrouImportant dependency upgrades
v2.6.0Compare Source
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-basedZHttpAdapterwhich you can simply replace by theQuickAdapter. A small breaking change coming with this change is that we movedWebSocketHooksto another package and changed the type to describe transformation fromStreamTransformertoZPipeline.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
caliban-quick#2150 by @kyri-petrouexcludeDeprecatedoption to client code generation #2163 by @jeejeeoneHttpInterpreter-generated Tapir endpoints #2188 by @olisikhzio.query.Cachewhen executing queries by @kyri-petrouinterpreterUnsafemethod toGraphQL#2160 by @kyri-petrouBug fixes
InputValue.ObjectValue#toString#2173 by @ghostdogprPerformance improvements
Schema,ArgBuilderandExecutor#2120 by @kyri-petrouzio-queryto get better performance #2177 by @kyri-petrouApolloFederatedTracingwrapper #2167 by @kyri-petrouImportant dependency upgrades
zio-httpto 3.0.0-RC6 #2159 by @kyri-petrouv2.5.3Compare Source
Release Notes
This release includes support for subscriptions over Server-Sent Events, as well as a few bug fixes and improvements.
Server
application/graphql-response+json#2144 by @ghostdogprMixedquery execution mode, where top-level fields are guaranteed to be executed in parallel and nested fields are executed in batched mode #2129 by @kyri-petrouTools
@lazydirective and the ZIO environment is notAny#2125 by @develeonv2.5.2Compare Source
Release Notes
This release includes a new set of performance improvements as well as some usability improvements, in particular for schema code generation. It is fully backward compatible with 2.5.0.
Server
innerThrowabletype for errors raised in ArgBuilders #2118 by @kyri-petrouClient
rendermethod inCalibanClientErrorthat can render extensions #2110 by @harrylaouTools
@newtypefor the schema codegen to mapIDto your own types #2091 by @develeon@GQLDeprecatedannotation for deprecated fields #2107 by @johnspadeAny#2104 by @develeonimplements#2116 by @ghostdogprv2.5.1Compare Source
Release Notes
This release brings a bug fix for an issue that was introduced in 2.5.0 and possibly caused duplicated fields in responses when using fragments. It is fully backward compatible with 2.5.0.
Server
Documentserialization friendly-ier #2061 by @kyri-petrouFunctionStep#2059 by @kyri-petrouInterop
InjectEnvimplicit for cats.effect.IO #2062 by @kyri-petrouTools
@lazyfields with abstract effect #2064 by @johnspadev2.5.0Compare Source
Release Notes
This release brings an incredible amount of performance improvements, some major library upgrades (zio-http, Play) as well as some powerful new derivation abilities such as deriving fields from case class methods.
Server
applymethod toSchemaandArgBuilderfor convenience #2023 by @kyri-petrouPathValuetype instead ofEither[String, Int]#2048 by @kyri-petrouAdapters
api.unsafe.runServerto run a server immediately in theQuickAdapter#2050 by @kyri-petrouFederation
v2.4.3Compare Source
Release Notes
This version brings a few bug fixes and improvements related to schema derivation on Scala 3.
In addition to that, it contains a new adapter named
QuickAdapterand based on zio-http, that serves 2 purposes:Offer the best performance among all adapters. This adapter is not using Tapir under the hood to prevent any overhead. We picked zio-http and jsoniter-scala because they gave the best benchmarks results among all our supported adapters and json libraries. The only drawback is that it doesn't include WebSocket support at the moment. If you care about performance above all, use this adapter!
Be super quick and easy to get started. With this adapter you can simply do that to go from your api to a running server:
Server
QuickAdapter(see above) #1998 by @kyri-petrouTools
v2.4.2Compare Source
Release Notes
This version brings a few bug fixes as well as some performance improvements.
Big thanks to @kyri-petrou for his many contributions!
Server
@deferfields not working as expected when backed by DataSources #1981 by @kyri-petrouTools
v2.4.1Compare Source
Release Notes
This version fixes a regression introduced in 2.4.0 that prevents the usage of
java.timetypes in schemas when using Scala 3 and JDK 17+ (#1950).v2.4.0Compare Source
Release Notes
This version contains:
Server
dieerrors happening inside theDataSource#1916 by @ghostdogprmocking up superclass for module class macroswarning on Scala 3 #1880 by @kyri-petrourenderon a schema #1888 by @nox213CalibanError(not thatgetCausewill returnnullinValidationError) #1924 by @kyri-petrouAdapters
Tools
@lazydirective to generate side-effecting fields in server code generation #1927 by @oyvindbergFederation
v2.3.1Compare Source
Release Notes
This version contains important performance improvements as well as support for Pekko.
Server
VariableCoercer#1856 by @kyri-petrourenderSchemato render a schema without a resolver #1877 by @ghostdogprAdapters
v2.3.0Compare Source
Release Notes
This version contains a lot of small fixes as well as performance and usability improvements.
Server
statuslabel to thegraphql_fields_totalmetric #1724 by @SvenWvalidateSchema#1731 by @ghostdogprSemiAuto#1785 by @kyri-petroufieldWithArgsschema generation #1812 by @paulpdanielsAdapters
ServerRequestinconfigure#1816 by @ghostdogprTools
isRepeatableduring introspection (disable it if the remote server does not support it) #1732 by @ghostdogprderives Schema.SemiAutoin schema code generation #1758 by @nox213v2.2.1Compare Source
Release Notes
This is a tiny release with a single change on
ZHttpAdapter(#1723). We noticed that the type signatures ofmakeHttpServiceandmakeWebSocketServicewere inconsistent (the former returnedHttpApp[R, Throwable]while the latter returnedHttpApp[R, Response]akaApp[R]). We've made them both returnApp[R], which should be easier to use!v2.2.0Compare Source
Release Notes
This release brings a few important changes, including a refactor of request interceptors, support for the
@deferdirective and support for Scala Native in caliban-client 🚀Love this project? I am now on Github Sponsors. A good way to give back and encourage future developments! ❤️
New Adapter API
Request interceptors and configuration options such as
skipValidationorenableIntrospectionhave b