v5.2.0
·
447 commits
to refs/heads/master
since this release
What’s Changed
New
- GraphQL field with the name 'class' is supported via a [get|set]ObjClass (#402) @springmonster
- We now generate specific types for fields that appear in both GraphQL Query, Subscription, or Mutation types. (#410) @springmonster
- We now generate Java constants for GraphQL Query Input Arguments. (#397) @TYzzt
Generated types can now implement Serializable. (#394) @hdani9307 (#405) @springmonster - Java Classes can be generated with an parameterless constructor (#398) @TYzzt
Fixes
- Fix #711, code generation uses java keyword "default". (#399) @springmonster
- Fix, input type field with reserved name causes error if initial value is set (#396) @springmonster
Other
- Rename client module to shared module (#411) @mbossenbroek
- Upgrade Kotlin, Kotlin Poet, and Kotlinter (#408) @berngp
- Bump assertj-core from 3.22.+ to 3.23.1 (#387) https://github.com/dependabot
- Bump clikt from 3.4.+ to 3.5.0 (#390) https://github.com/dependabot
- Bump actions/cache from 3.0.2 to 3.0.4 (#391) https://github.com/dependabot
- Bump actions/setup-python from 3.1.0 to 4.0.0 (#392) https://github.com/dependabot
- Support a @sensitive directive (#363) @willemmanuel
- Leverage graphql-java in GraphQLQueryRequest and ProjectionSerializer (#380) (#379) @kilink
- Leverage graphql-java in InputValueSerializer (#378) @kilink
- Use kotlin-reflect in InputValueSerializer, add Transient marker (#377) @kilink
- Make GenerateJavaTask cacheable (#358) @kilink
- Parse GraphQL schemas once and in single location (#357) @kilink
- Fix Kotlin Test for interfaces with keywords. (#401) @berngp
- Feature/kotlin codegen (#359) @mbossenbroek
- Bump nebula.netflixoss from 10.5.1 to 10.6.0 (#328) https://github.com/dependabot
- Bump actions/checkout from 2 to 3 (#350) https://github.com/dependabot
- Bump guava from 31.0.1-jre to 31.1-jre (#349) https://github.com/dependabot
- Bump actions/cache from 2.1.7 to 3.0.2 (#373) https://github.com/dependabot
- Bump actions/setup-java from 2 to 3 (#371) https://github.com/dependabot
- Bump actions/setup-python from 2 to 3.1.0 (#366) https://github.com/dependabot
- Bump com.gradle.plugin-publish from 0.20.0 to 0.21.0 (#364) https://github.com/dependabot
- Bump kotlinpoet from 1.10.+ to 1.11.0 (#361) https://github.com/dependabot
- Move to Gradle 7.4.2 (#374) @sullis
- Upgrade kotlin to 1.6 (#376) @mbossenbroek