Releases: deweyjose/graphqlcodegen
Version 1.61.1
What's Changed
- Remove volatility from schema manifest file by @erichaagdev in #160
- Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.13.0 to 3.13.1 by @dependabot in #153
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 by @dependabot in #154
- Bump org.apache.maven.plugins:maven-plugin-plugin from 3.13.0 to 3.13.1 by @dependabot in #156
- Bump org.apache.maven:maven-plugin-api from 3.9.6 to 3.9.8 by @dependabot in #158
- Bump com.squareup:kotlinpoet-jvm from 1.16.0 to 1.18.0 by @dependabot in #159
New Contributors
- @erichaagdev made their first contribution in #160
Full Changelog: graphqlcodegen-maven-plugin-1.61.0...graphqlcodegen-maven-plugin-1.61.1
Version 1.61.0
Integrate DGS codegen 6.2.1.
Version 1.60.1
- update documentation per Netflix DGS that schemaJarFilesFromDependencies requires the external .graphql(s) files to be packaged under META-INF
- fixed a small bug where if no local schemas were specified the plugin may not compile external schema files.
Version 1.60.0
Maintenance:
- upgrade to DGS codegen 6.1.3
Feature:
Support for issue: #130
typeMapping can now be configured via properties file bundled in other dependencies. This is useful for cases where common types are shared across multiple projects and the typeMapping is the same.
This feature will scan all dependencies in the project for the files listed in typeMappingPropertiesFiles and merge them with any typeMappings included directly in the plugin <configuration> block.
example plugin config:
<configuration>
<typeMappingPropertiesFiles>
<typeMappingPropertiesFile>graphql/common-type-mappings.properties</typeMappingPropertiesFile>
</typeMappingPropertiesFiles>
</configuration>
example properties file:
Foo=io.github.deweyjose.Foo
For a fully working example check out the graphqlcodegen-example project.
Version 1.51.3
Integrate DGS 6.1.3
Version 1.51.2
Bug fix for kotlin code generation. The kotlinpoet-jvm platform dependency is now required as kotlinpoet went multiplatform.
Fixes #116
Version 1.51.1
Maintenance release:
- chore: fix formating
- chore: use provide scope
- chore: update maven compiler plugin
- chore: refactor source and javadoc plugin versions to properties
- chore: set default encoding to squelch warnings
Version 1.51.0
- Integrate DGS Codegen 6.1.1
- Add support for the generateIsGetterForPrimitiveBooleanFields option
Various code formatting issues in the repo fixed.
Version 1.50
Added the ability to only generate code for schema files that have changed. Today this only works with schemaPaths. A subsequent release for schema compilation via dependencies will be release soon.
TLDR; All configured schemaPaths directories are expanded to the full set of .graphql(s) files in addition to any explicitly configured .graphqls files. A manifest file is maintained containing all the .graphqls files and their checksums. If a checksum matches - that file is removed from the set passed to codegen. If there are no files to process the codegen core code is not invoked.
This behavior is enabled by default. To disable: <onlyGenerateChanged>false</onlyGenerateChanged>
Version 1.41
Improve duplicate file detection by preventing overlapping file and directory configuration for the schemaPaths option.
The following will generate an error now as the DGS codegen framework will compile main.graphqls twice.
<schemaPaths> <path>src/main/resources/schema</path> <path>src/main/resources/schema/main.graphqls</path> </schemaPaths>