Releases: kobylynskyi/graphql-java-codegen
Releases · kobylynskyi/graphql-java-codegen
5.10.0
What's Changed
- Support custom type default values for enums - by @rwo-trackunit in #1458 #1429
 - Support ArgumentValue wrapper for input parameters via 
useWrapperForNullableInputTypes- by @rwo-trackunit in #1450 - Support DataFetchResult generation via 
fieldsWithDataFetcherResult- by @kirill071992 in #1431 #1416 - SBT: fix publish - by @jxnu-liguobin in #1410
 
New Contributors
- @rwo-trackunit made their first contribution in #1458
 - @kirill071992 made their first contribution in #1431
 
Full Changelog: v5.9.0...v5.10.0
5.9.0
What's Changed
- New option to allow excluding fields from generated GraphQL objects: 
fieldsToExcludeFromGeneration- by @sabirove in #1299 - New option to disable GraphQL schema token limit validation: 
skipSchemaSizeLimitby @yholkamp in #1384 - New option to render Kotlin functions with 
suspendmodifier:generateApisWithSuspendFunctions- by @thevietto in #1377 - Support 
all$method for union and interface projections - by @sdaurea in #1376 - Fix enum generation when 
customTypesMappinganddirectiveAnnotationsMappingare used together - by @jxnu-liguobin in #1298 - Fix mapping config for 
generateModelsWithPublicFields- by @ssternal in #1310 - Fix value sanitization for immutable collections - by @kobylynskyi in #1408
 
(See docs/codegen-options.md for more details on all the available codegen options.
New Contributors
- @sabirove made their first contribution in #1299
 - @ssternal made their first contribution in #1310
 - @thevietto made their first contribution in #1377
 - @sdaurea made their first contribution in #1376
 - @yholkamp made their first contribution in #1384
 
Full Changelog: v5.8.0...v5.9.0
5.8.0
What's Changed
- Ability to supply a root directory with custom templates: 
customTemplatesRoot#1158 #1198 - Increase customizability of values that can be returned by 
apiReturnType/apiReturnListTypevia{{TYPE}}placeholder #1167 #1200 - Enhance Schema Finder to follow symbolic links #1199
 - Relay support for client classes #1202
 - Kotlin: fix annotations placement on type and input classes #1264
 
New Contributors
- @isaac-mercieca made their first contribution in #1198
 - @matsudamper made their first contribution in #1201
 
Full Changelog: v5.7.2...v5.8.0
5.7.2
What's Changed
- Update dependencies:
- org.freemarker:freemarker: 2.3.31 -> 2.3.32
 - com.graphql-java:graphql-java: 20.0 -> 20.2
 - com.fasterxml.jackson.core:jackson-databind: 2.14.2 -> 2.15.0
 - com.typesafe:config: 1.4.1 -> 1.4.2
 
 - Fix generation of non-compilable sources when setting 
generateNoArgsConstructorOnly=true- #1154 #1155 - Add 
@Generatedannotation to Builder classes - #1159 - Gradle plugin: Use 
JavaPluginExtensioninstead of deprecatedJavaPluginConvention- #1150 #1152 
New Contributors
- @yeikel made their first contribution in #1061
 - @andreloeffelmann made their first contribution in #1155
 
Full Changelog: v5.7.1...v5.7.2
5.7.1
What's Changed
Full Changelog: v5.7.0...v5.7.1
v5.7.0
What's Changed
- Mitigate CVE-2022-37734, CVE-2022-42003, CVE-2022-42004 by updating graphql and jackson dependencies #1045 #1046
 - Add resolver argument annotation on generated parameterized field resolver classes #1044
 - New config option to generate models with public fields: 
generateModelsWithPublicFields#864 #1049 - New config option to supply paths to custom FreeMarker 
.ftltemplates:customTemplates#860 #1048 - Support config option 
generateSealedInterfacesfor Scala generated classes #1042 
New Contributors
- @upendrao made their first contribution in #1046
 - @clement-buchart made their first contribution in #1044
 - @velo made their first contribution in #1048
 
Full Changelog: v5.6.0...v5.7.0
5.6.0
What's Changed
- Custom 
@Generatedannotation #1016 #1036- New config to specify custom 
@Generatedannotation:generatedAnnotation - Modified the logic of setting a default value for 
@Generatedannotation (if value forgeneratedAnnotationconfig is empty). Following classes will be looked (up in the same order):@jakarta.annotation.Generated->@javax.annotation.processing.Generated->@javax.annotation.Generated. If none are present in the classpath then@Generatedannotation will not be added on top of the classes. 
 - New config to specify custom 
 - New config to generate only no-args constructor: 
generateNoArgsConstructorOnly#1017 #1037 - Generate Jackson annotations in interfaces #1033 #1034
 - Ability to combine multiple response projections #985 #1031
- Generating a new constructor that accepts a list of response projections of the same type. Resulting response projection will contain a merge of all fields of the provided projections.
 
 - Fix generation of interfaces when return type of the method has a list of Unions #1018 #1030
 - Kotlin:
 - SBT:
- Update dependencies of SBT plugin #1001
 
 
New Contributors
- @romash1408 made their first contribution in #1020
 - @esfomeado made their first contribution in #1034
 
Full Changelog: v5.5.0...v5.6.0
5.5.0
What's Changed
- spring-graphql support: Ability to supply 
resolverArgumentAnnotationsandparametrizedResolverAnnotations(usage) #983 by @kobylynskyi in #990 - Properly close resources when generating files (fix a leak) #987 by @JamesPeters98 in #989
 - Add 
skipparameter to skip execution when true #961 by @kobylynskyi in #991 - Kotlin: Use 
objectMapperForSerializationfor kotlin type classes #995 by @jay3047 in #996 - Handle POJO generation when GraphQL type has field named "class" #994 by @kobylynskyi in #998
 
New Contributors
- @JamesPeters98 made their first contribution in #989
 - @jay3047 made their first contribution in #996
 
Full Changelog: v5.4.1...v5.5.0
5.4.1
What's Changed
- Do not put validation annotation if return type is a nullable list having non-null values #959 by @kobylynskyi in #960
 - Fix generated interfaces with disabled 
generateParameterizedFieldsResolvers#976 by @kobylynskyi in #977 - Fix invalid parameter names for 
extensionsandcustomTypeMappings#964 by @kobylynskyi in #979 - Upgrade jackson libs to 2.13.3 #970 by @kobylynskyi in #978
 
Full Changelog: v5.4.0...v5.4.1
5.4.0
What's Changed
- Support parameterized field getters in generated interfaces #859 #913 @kobylynskyi
 - Add 
serialVersionUIDto generated classes that implementSerializable#810 #811 @rolevinks - Don't fail with enums in directive parameters #673 #674 @meistermeier
 - Support unknown fields during serialization or deserialization of 
GraphQLRequest#866 @aldib - Support 
modelNameSuffixsuffix inGraphqlJacksonTypeIdResolver#914 #915 @YarLyashenko - [Kotlin] Ability to generate sealed interfaces #868 #869 @kbrooks
 - [Kotlin] Add option to add defaults to nullable fields #863 @zmack
 - [Kotlin] Add 
@JvmStaticannotation in generated builders #767 #771 @kbrooks - [Kotlin] Fix 
defaultvalue initialization #880 #882 @jxnu-liguobin - [Scala] Fix generateModelOpenClasses #741 @jxnu-liguobin
 
New Contributors
- @kbrooks made their first contribution in #771
 - @meistermeier made their first contribution in #674
 - @rolevinks made their first contribution in #811
 - @zmack made their first contribution in #863
 - @YarLyashenko made their first contribution in #915
 - @aldib made their first contribution in #866
 
Full Changelog: v5.3.0...v5.4.0