Releases: Netflix/dgs-codegen
Releases · Netflix/dgs-codegen
v8.5.0
What's Changed
⭐ Improvements
- Default
addGeneratedAnnotationanddisableDatesInGeneratedAnnotationto true (#942) @jiholee17
v8.4.3
What's Changed
- Revert "Add Jackson 3 support for
@JsonDeserializeand@JsonPOJOBuilder" (#936) @jiholee17 - Revert "Fix Gradle configuration cache regression from #918" (#937) @jiholee17
v8.4.2
What's Changed
- Fix Gradle configuration cache regression from #918 (#934) @mrmegapolys
v8.4.1
What's Changed
- Revert "Add __typename to projection interface fields" (#932) @jiholee17
- Update release drafter template and config (#925) @jiholee17
- Remove usage of deleted var (#915) @jiholee17
- chore: Mark editorconfig as root (#912) @rahulsom
- Update Github Actions to use latest NetflixOSS recommendations (#908) @rpalcolea
⭐ Improvements
- Add __typename to projection interface fields (#926) @jiholee17
- Add Jackson 3 support for
@JsonDeserializeand@JsonPOJOBuilder(#918) @jiholee17 - Generate required fields constructor when JSpecify is enabled (#910) @sar9ho
🐞 Bug Fixes
- fix: Sanitize Java keywords in generated client (#911) @rahulsom
- Remove @JsonCreator annotation from Kotlin types (#917) @jiholee17
- Add generic params to scalar fields with inputs in sub projections (#914) @jiholee17
- Fix generating Kotlin closure projections for generateClientv2 (#913) @jiholee17
🔨 Dependency Upgrades
- Bump com.gradle.plugin-publish from 1.3.1 to 2.0.0 (#906) @dependabot[bot]
- Bump release-drafter/release-drafter from 6 to 7 (#921) @dependabot[bot]
- Bump actions/setup-python from 6.1.0 to 6.2.0 (#916) @dependabot[bot]
- Bump actions/setup-python from 6.0.0 to 6.1.0 (#907) @dependabot[bot]
v8.3.0
What's Changed
🔨 Dependency Upgrades
- Migrate to com.palantir.javapoet by @illegal in #902
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #895
- Bump com.squareup:kotlinpoet from 1.17.+ to 2.2.0 by @dependabot[bot] in #841
- Bump com.github.ajalt.clikt:clikt from 4.4.+ to 5.0.3 by @dependabot[bot] in #823
- Bump actions/setup-java from 4 to 5 by @dependabot[bot] in #872
New Contributors
Full Changelog: v8.2.3...v8.3.0
Testing javapoet migration
Migrate to com.palantir.javapoet - Replace `com.squareup:javapoet` dependency with the latest version (0.9.x) of `com.palantir.javapoet:javapoet`. - Update imports to use the new package names. - Use the accessor methods to get the field values from JavaPoet objects, rather than accessing those fields directly, as the fields are now marked as private in the respective Palantir's JavaPoet classes. - Use the builder wrapper object to access the current state of `TypeSpec.Builder`, as the builder classes no longer expose their internal state via public methods. - Use Object class name constant from `ClassName` class, as the similar constant in `TypeName` class no longer exists. - Make minor refactoring changes suggested by IntelliJ IDEA's code inspector tool.
v8.2.3
Merge pull request #880 from cnaples79/fix-kotlin-underscore
v8.2.2
v8.2.1
What's Changed
🐞 Bug Fixes
- Fix regression bug in interface setter generation by @jiholee17 in #894
Full Changelog: v8.2.0...v8.2.1
v8.2.0
What's Changed
⭐ Improvements
- Generate getters for interface-typed fields when generating interfaces by @jiholee17 in #882
- Add support for generating JSpecify annotations by @sjohnr in #868
- Add support for generating default URI values by @jiholee17 in #887
🐞 Bug Fixes
- Remove failing omitNullInputFields test by @sjohnr in #870
- Remove
omitNullInputFieldsoption by @sjohnr in #871 - Skip duplicate input and interface types when generating constants by @paulbakker in #876
- skip duplicate input and interface types when generating projections by @iuliiasobolevska in #877
- Do not generate string literal defaults for non-string Java fields in input types by @jiholee17 in #885
- Deduplicate projection methods and superinterfaces, fix Representation type gen by @jiholee17 in #891
🔨 Dependency Upgrades
- Update Gradle Wrapper from 8.8 to 8.14.3 by @github-actions[bot] in #858
- Bump actions/cache from 4.2.3 to 4.3.0 by @dependabot[bot] in #879
- Bump actions/setup-python from 5.6.0 to 6.0.0 by @dependabot[bot] in #873
New Contributors
- @sjohnr made their first contribution in #870
- @jiholee17 made their first contribution in #882
Full Changelog: v8.1.1...v8.2.0