Skip to content

Releases: kobylynskyi/graphql-java-codegen

5.3.0

05 Sep 19:11
Compare
Choose a tag to compare

5.2.0

16 Jun 13:21
Compare
Choose a tag to compare

5.1.0

27 Apr 07:01
Compare
Choose a tag to compare
  • Ability to disable generation of the all$ method in projections #645
    • Using a new config option: generateAllMethodInProjection
  • Generate jackson type id resolver annotation #637
    • Using a new config option: generateJacksonTypeIdResolver
  • Add directive support for types #660 #665
  • GraphQL serialization of java.util.Map #668 #669

Thanks to @robbertnoordzij, @gdhordain and @jxnu-liguobin for participating in this release!

5.0.0

06 Apr 20:46
Compare
Choose a tag to compare

New features

  • Support multiple external configuration files #585 #608
    • Breaking change: applied only if you were using jsonConfogurationFile config. Migration is described below.
  • Do not include external dependencies into codegen library #564 #611
    • graphql-java and other libraries are now excluded from graphql-java-codegen library. So that now it is a lightweight library containing only the classes related to code-generation (including model classes for request serialization). So if you have no explicit declaration of graphql-java dependency and having compilation issues, then please add it.
  • Add ability to generate particular types as Java interfaces #606 #610
    • Add a new config option typesAsInterfaces which can describe which types will be generated as interfaces (in contrast to POJOs).
  • Bump graphql-java to 16.2 #589 #611
    • Update version of graphql-java library from 15.0 to 16.2.

Breaking changes

This release has the following breaking change:

  • Renamed jsonConfigurationFile to configurationFiles #585 #608

4.1.6

26 Mar 20:40
Compare
Choose a tag to compare

4.1.5

13 Mar 04:08
Compare
Choose a tag to compare

4.1.4

05 Mar 06:15
Compare
Choose a tag to compare
  • Fix compilation error when the field is non-null in type and nullable in interface #556 #557
  • Fix parameterized input serialization #563 by @streibeb
  • Kotlin - option to generate open class instead of data class #524 by @ntf
  • Support generation of normal public class for Kotlin and Scala #547 by @jxnu-liguobin
  • Optimizations and fixes in SBT plugin #554 #558 by @jxnu-liguobin

4.1.3

14 Feb 01:43
Compare
Choose a tag to compare
  • Introduce flag to specifying whether @Generated annotation should be added to generated classes: addGeneratedAnnotation (default: true) #534 by @streibeb
  • Fix Kotlin interfaces generation: extends interface was missing override modifier #508 by @jxnu-liguobin
  • Fix client code generation from introspection result #535

4.1.2

28 Jan 18:09
Compare
Choose a tag to compare
  • Scala: Consider generating additional classes required for serialization of scala enumerations #479 by @jxnu-liguobin
  • Support generic over generic response type #482

4.1.1

13 Jan 01:59
Compare
Choose a tag to compare