Skip to content

Releases: deweyjose/graphqlcodegen

Version 1.61.1

09 Jul 22:33
2777d43

Choose a tag to compare

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

Full Changelog: graphqlcodegen-maven-plugin-1.61.0...graphqlcodegen-maven-plugin-1.61.1

Version 1.61.0

27 May 14:24
cf8c79a

Choose a tag to compare

Integrate DGS codegen 6.2.1.

Version 1.60.1

26 Mar 23:08
8db5826

Choose a tag to compare

  • 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

10 Feb 15:26
206b703

Choose a tag to compare

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

18 Jan 02:50
9c2b301

Choose a tag to compare

Integrate DGS 6.1.3

Version 1.51.2

10 Jan 02:41
acec328

Choose a tag to compare

Bug fix for kotlin code generation. The kotlinpoet-jvm platform dependency is now required as kotlinpoet went multiplatform.
Fixes #116

Version 1.51.1

04 Jan 03:59
5d9e627

Choose a tag to compare

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

02 Jan 02:16
3eca4fc

Choose a tag to compare

  • Integrate DGS Codegen 6.1.1
  • Add support for the generateIsGetterForPrimitiveBooleanFields option

Various code formatting issues in the repo fixed.

Version 1.50

18 Sep 16:15

Choose a tag to compare

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

17 Sep 02:30
6e01412

Choose a tag to compare

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>