Skip to content

4.0.0

Compare
Choose a tag to compare
@kobylynskyi kobylynskyi released this 27 Nov 02:47

New features and bugfixes

  • Support Scala code generation #401 #402
    • Via a new codegen config: generatedLanguage (for now accepts only JAVA and SCALA. More JVM languages might be supported in the future)
  • Support multiple queries in a single request #340 #350
    • Example can be found here
  • Generate primitive types for non-null GraphQL types #305 #386
    • Breaking change. Migration is described below.
  • Introduce config for specifying custom-serializable fields #260 #392
    • Now it is possible to specify a list of fields that should be serialized in the way you want. Example
  • Ability to skip "throws Exception" in api method signature #339 #375
    • Via a new codegen config: generateApisWithThrowsException (by default = true)
  • Maven plugin: Support parallel builds #325 #376
  • Maven plugin: fix parameters parsing: customAnnotationsMapping/directiveAnnotationsMapping #389 #391

Breaking changes

This release has the following breaking change:

  • Generate primitive types for non-null GraphQL types #305 #386
    • Follow migration guide to update your GraphQLResolver implementation classes.