Releases: Netflix/dgs-codegen
Releases · Netflix/dgs-codegen
v8.1.1
What's Changed
- Use com.netflix.nebula.netflixoss 11.6.0 to move publishing to Sonaty… by @OdysseusLives in #851
- Desanitize keywords used in input types when calling serialize() by @jjacobs44 in #857
New Contributors
- @OdysseusLives made their first contribution in #851
Full Changelog: v8.1.0...v8.1.1
v8.1.0
What's Changed
- remove obsolete
maxProjectionDepth
#826 by @iuliiasobolevska in #847
Full Changelog: v8.0.5...v8.1.0
v8.0.5
What’s Changed
- add
.gqls
to valid schema files #845 (#846) @iuliiasobolevska
v8.0.4
What's Changed
- Revert "remove obsolete maxProjectionDepth #826" to resolve build breakages. To be released later as a minor/major version. by @iuliiasobolevska in #839
Full Changelog: v8.0.3...v8.0.4
v8.0.3
What's Changed
⭐ Improvements
- Remove obsolete
maxProjectionDepth
by @iuliiasobolevska in #834 - Adopt Jackson BOM to help manage the Jackson Version by @berngp in #838
🐞 Bug Fixes
- Align DGS platform dependencies version between modules #831 by @iuliiasobolevska in #833
- Downgrade to Kotlin 2.0 for backward compatibility with Kotlin 1.9 repos by @iuliiasobolevska in #835
- Align the dgs-codegen-core and dgs-codegen-shared-core by @berngp in #836
🔨 Dependency Upgrades
- Update
com.netflix.nebula:gradle-dependency-lock-plugin
from 14.1.4 to 15.2.0 by @dependabot in #827 - Update
actions/setup-python
from 5.5.0 to 5.6.0 by @dependabot in #830
Full Changelog: v8.0.2...v8.0.3
v8.0.2
What’s Changed
⭐ Improvements
- Automatically disable parameterized constructor for large types with >255 fields (#817) @jjacobs44
- Add tests to validate the generation of no args constructor (#816) @kmuthupa
- Add unit tests for lowercase type and type starting with an underscore #774 (#819) @iuliiasobolevska
🐞 Bug Fixes
- Sanitize name enum constant for Kotlin code generation as it clashes with the inherited name property from the Enum class #763 (#820) @iuliiasobolevska
- Fix bug with interface fields with
@skipcodegen
directive not being filtered out #790 (#818) @iuliiasobolevska
🔨 Dependency Upgrades
- Update
com.fasterxml.jackson.core:jackson-annotations
from 2.17.2 to 2.18.3 (#821) @dependabot[bot] - Update
com.fasterxml.jackson.core:jackson-databind
from 2.17.2 to 2.18.3 (#810) @dependabot[bot]
v8.0.1
What’s Changed
🐞 Bug Fixes
- Add back tags property to fix the plugin publish task (#814) @iuliiasobolevska
v8.0.0
What’s Changed
🙌 Highlights
- Add support for generating variable references in client api (#805, #809, #813) @paulbakker. See docs
- Track input fields been explicitly set vs default to null (#798) @kzwang. See docs and demo video.
⭐ New Features
- Add serializeCompact to GraphQLQueryRequest (#537) @carlphilipp
- Support
@deprecated
directives without a reason attribute (#711) @rveguilla - Add support for default Currency value (#742) @dwilkolek
- Sanitize key words as an argument for client functions (#750) @greg-p-cortex
- Add data modifier to input types for kotlin2 (#788) @jkuenemund
- Load external schemas from any JAR directory (#795) @iparadiso
- Track input fields been explicitly set vs default to null (#798) @kzwang
- Expose javaGenerateAllConstructor flag in generateJava task (#804) @jjacobs44
- Add support for generating variable references in client api (#805, #809, #813) @paulbakker
- Generate javadoc based on comments on individual enum values in the schema (#806) @jjacobs44
🐞 Bug Fixes
- Fix extra underscore when snake case is enabled (#765) @kzwang
- Fix isssue with
disableDatesInGeneratedAnnotation
not being respected when generating Kotlin code (#778) (#779) @jGleitz - Fix issue with the DGS constants not always being generated in the same order (#782) (#783) @jGleitz
- Remove the deprecated usage of Coercing#valueToLiteral (#796) @asibross
- Fix type mapping for unsignedint (#797, #801) @iuliiasobolevska
- Fix
asList()
deprecation warnings (#802) @iuliiasobolevska - Fix default value for float types in Kotlin generator (#800, #803) @iuliiasobolevska
- Fix Gradle deprecation warnings and clean up some code warnings. Upgrade Kotlin from 1.9 to 2.1. (#812) @paulbakker
📔 Documentation
- Document testing codeden with a local snapshot (#799) @asibross
- Add codeowners file for code review tagging (#808) @iuliiasobolevska
🔨 Dependency Upgrades
- Update
actions/cache
from 4.1.1 to 4.2.0 (#767) @dependabot[bot] - Update
org.jetbrains.kotlinx:kotlinx-serialization-json
from 1.7.+ to 1.8.0 (#775) @dependabot[bot] - Update Gradle Wrapper from 8.8 to 8.13 (#784) @github-actions[bot]
- Update
actions/cache
from 4.2.0 to 4.2.3 (#792) @dependabot[bot] - Update
actions/setup-python
from 5.2.0 to 5.5.0 (#794) @dependabot[bot] - Update
kotlinter
and disable the task for integTest to reduce churn (#807) @iuliiasobolevska - Update
org.assertj:assertj-core
from 3.26.+ to 3.27.3 (#811) @dependabot[bot]
v7.0.3
What’s Changed
- rollback jackson version to stay compatible with older Spring Boot 3 releases (#764) @iuliiasobolevska
- Handle duplicate types and fields in constants better (#762) @paulbakker
v7.0.2
What’s Changed
- Set the max character setting to Int.MAX. (#757) @paulbakker