v3.0.0
What's Changed
New Features
- Remove
javax/jakartaAnnotations for@Nonnull/@Nullableby @Chrimle in #487Removes
@Nonnulland@Nullableannotations from generatedrecord-classes. These annotations are no longer added torecord-fields, nor to the canonicalconstructor-parameters. This allows these annotations, and subsequently their dependencies, to be completely optional. To keep these annotations, thex-field-extra-annotation-property must be set for each field.
Bug Fixes
- Remove
serialVersionUID-field from GeneratedrecordClasses by @Chrimle in #488Removes the
serialVersionUID-field from generatedrecordclasses, when the ConfigOptionserializableModelis set totrue. The field was removed due to overriding the default value,1Linstead of0L, which could cause serialization issues, or was just redundant. Asopenapi-generator-maven-pluginprovides no way to set theserialVersionUID, the Java-default value (0L) is a more appropriate value than the previous1L. NOTE: this removes theserializableModel.mustachetemplate! - [webclient] Annotate
recordConstructor with@JsonCreatorby @Chrimle in #491Annotates the canonical
recordConstructor with@JsonCreator, when theserializationLibraryisjackson(default for thewebclient-library). This is an expected breaking bug-fix, as the canonical constructor will now be used when deserializing, instead of the compact constructor. This should allow fields to be assigned default values, done by the canonical constructor.
Dependency Updates
- Bump com.google.code.gson:gson from 2.13.0 to 2.13.1 by @dependabot[bot] in #443
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.2.0 to 3.4.2 by @dependabot[bot] in #444
- Bump com.fasterxml.jackson.core:jackson-annotations from 2.18.3 to 2.19.0 by @dependabot[bot] in #440
- Bump org.openapitools:openapi-generator-maven-plugin from 7.12.0 to 7.13.0 by @dependabot[bot] in #442
- Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.18.3 to 2.19.0 by @dependabot[bot] in #446
- Bump spring-web.version from 6.2.6 to 6.2.7 by @dependabot[bot] in #447
- Bump junit-jupiter.version from 5.12.2 to 5.13.0 by @dependabot[bot] in #449
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.4 to 2.44.5 by @dependabot[bot] in #450
- Bump com.squareup.okio:okio from 3.11.0 to 3.12.0 by @dependabot[bot] in #451
- Bump junit-jupiter.version from 5.13.0 to 5.13.1 by @dependabot[bot] in #452
- Bump org.springframework:spring-web from 6.2.7 to 6.2.8 by @dependabot[bot] in #453
- Bump org.sonatype.central:central-publishing-maven-plugin from 0.7.0 to 0.8.0 by @dependabot[bot] in #457
- Bump junit-jupiter.version from 5.13.1 to 5.13.2 by @dependabot[bot] in #459
- Bump org.openapitools:openapi-generator-maven-plugin from 7.13.0 to 7.14.0 by @dependabot[bot] in #461
- Bump junit-jupiter.version from 5.13.2 to 5.13.3 by @dependabot[bot] in #465
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.5 to 2.45.0 by @dependabot[bot] in #466
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8 by @dependabot[bot] in #471
- Bump junit-jupiter.version from 5.13.3 to 5.13.4 by @dependabot[bot] in #478
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.45.0 to 3.0.0 by @dependabot[bot] in #481
- Inherit
google-java-formatVersion fromspotless-maven-pluginby @Chrimle in #483 - Bump junit-jupiter.version from 5.13.4 to 6.0.0 by @dependabot[bot] in #485
Full Changelog: v2.9.5...v3.0.0