4.0.0
New features and bugfixes
- Support Scala code generation #401 #402
- Via a new codegen config:
generatedLanguage
(for now accepts onlyJAVA
andSCALA
. More JVM languages might be supported in the future)
- Via a new codegen config:
- 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
)
- Via a new codegen config:
- Maven plugin: Support parallel builds #325 #376
- To support Parallel builds in Maven 3
- 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.