github ghostdogpr/caliban v1.1.0

latest releases: v2.6.0, v2.5.3, v2.5.2...
2 years ago

Release Notes

The main change in this release is the ability to run caliban client code generation automatically when you compile, instead of the previous (but still supported) manual sbt command. CodegenPlugin was also renamed to CalibanPlugin (the old name still exists but is deprecated).

See the updated documentation for more information. This work was done in #933 by @blast-hardcheese.

Server

  • Fixed backslash parsing in queries #943 by @mingyuchi
  • Added support for upload in the Http4s Adapter (batching not supported yet, like with Play) #945 by @pomadchin
  • Added support for GQLInterface and GQLUnion annotations on enum-like traits #941 by @rtimush
  • Added the ability to distinguish between a field value of null and a missing field in ArgBuilders #929 by @stephendavidmarsh
  • Added a new resolver type to support using Field metadata with federation #939 by @paulpdaniels

Client

  • Fixed string escaping problem when encoding arguments #942 by @mingyuchi
  • Added a value helper function for enumeration members in generated code #936 by @blast-hardcheese
  • Added a values helper function on enumerations in generated code, to get the list of possible members #934 by @blast-hardcheese

Tools

  • Fixed wrong behavior in server codegen when a type is used in multiple unions #948 by @AlixBa
  • Allowed scalarMappings to be used with enumerations in client codegen #930 by @blast-hardcheese
  • Allowed colons in header values in client codegen --headers option #938 by @ghostdogpr
  • Added a new parameter --abstractEffectType to server codegen to generate code with F[_] #951 by @LaurenceWarne

Don't miss a new caliban release

NewReleases is sending notifications on new releases.