Skip to content

v8.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Nov 17:45
· 21 commits to master since this release
980a24c

DGS Codegen 8.8.0 focuses on faster code generation and Gradle build caching.
This release reduces repeated work in schema lookups and client projection generation, writes generated sources in parallel and lets Gradle reuse generated outputs across workspaces with equivalent inputs.
The largest gains are expected in projects with large schemas or extensive client projections.

🚀 Performance improvements

  • Client projections: avoid repeatedly rendering source files during projection merges (#959), with operation-qualified roots for field-name collisions while preserving existing legacy roots (#972) by @iuliiasobolevska.
  • Schema lookups: index the schema model and type-name lookups to reduce repeated traversal (#962, #965) by @iuliiasobolevska.
  • Generator state: reuse the client API generator across operations, avoid unnecessary required-type collection and remove unused projection recursion state (#969, #966, #964) by @iuliiasobolevska.
  • Schema loading: avoid duplicate schema readers (#968), preserve generate-time dependency type-mapping merges (#977) and stream dependency schemas from jars to reduce allocation (#988) by @iuliiasobolevska.
  • Parallel source writing: write generated files concurrently (#963), preserve compatible exception and interrupt behavior (#978) and allow case-only paths on case-sensitive filesystems (#975) by @iuliiasobolevska.

♻️ Gradle build caching

  • Make generateJava cacheable and relocatable so equivalent inputs can reuse generated outputs across workspaces (#967) by @iuliiasobolevska.
  • Cache enabled generated documentation at its new default Gradle output location, build/generated/docs/dgs-codegen (#976) by @iuliiasobolevska.
  • Make cache keys sensitive to schema ordering (#979), preserve dependency-jar ZIP entry order (#980) and account for schema directory ordering (#981) by @iuliiasobolevska.

🧹 Cleanup and test coverage

📦 Dependency updates

🔧 Build tooling

Full changelog: v8.7.0...v8.8.0