Releases: Netflix/dgs-codegen
Releases · Netflix/dgs-codegen
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
v7.0.1
What’s Changed
- Add null check on sourcePreview from InvalidSyntaxException (#756) @paulbakker
- update infra to use JDK 17 (#755) @iuliiasobolevska
v7.0.0
What’s Changed
- Update to jdk17 and DGS to latest 9.x. (#753) @srinivasankavitha
- feat: [k2] add support for data types inherited from extended interface (#741) @Lavmee
- Bump actions/setup-python from 5.1.1 to 5.2.0 (#737) @dependabot
- Bump gradle-update/update-gradle-wrapper-action from 1 to 2 (#747) @dependabot
- Bump actions/cache from 4.0.2 to 4.1.1 (#751) @dependabot
v6.3.0
What’s Changed
- Read type mappings from a custom dgs.codegen.typemappings file for dependencies (#735) @srinivasankavitha
- Update Gradle Wrapper from 8.8 to 8.10 (#729) @github-actions
v6.2.4
v6.2.3
What’s Changed
- Fix import for type mapped union sub types (#731) @ChristopherGustafson
- Create singleton empty CodeGenResult instance (#725) @kilink
- Remove unnecessary javadoc helper methods (#722) @kilink
- Use jakarta package for @generated annotation (#704) @paulbakker
- Bump actions/setup-python from 5.1.0 to 5.1.1 (#719) @dependabot
- Update to Kotlin 1.9.25 (#723) @kilink
- fix: add support for extending type with interface (#715) @dwilkolek
- Clean up DataTypeGenerator (#721) @kilink
- feat: add BigDecimal default value handling (#720) @dwilkolek
- Update Gradle Wrapper from 8.8 to 8.9 (#714) @github-actions
- Update to clikt 4.4.x (#710) @kilink
- Update to Kotlinpoet 1.17.x (#708) @kilink
- Bump release-drafter/release-drafter from 5 to 6 (#655) @dependabot
- Bump actions/setup-python from 5.0.0 to 5.1.0 (#672) @dependabot
- Update to assertj 3.26.x (#707) @kilink
- Update to Kotlin 1.9.24 (#706) @kilink
- Update Gradle Wrapper from 8.5 to 8.8 (#695) @github-actions
- feature: add support for object input default values and add support for default inputs to kotlin2 (#680) @dwilkolek
v6.2.2
What’s Changed
- Escape projection argument names in kotlin2 (#700) @mbossenbroek