Skip to content

v3.0.0

Choose a tag to compare

@Chrimle Chrimle released this 06 Oct 22:18
· 268 commits to main since this release
849ce30

What's Changed

New Features

  • Remove javax/jakarta Annotations for @Nonnull/@Nullable by @Chrimle in #487

    Removes @Nonnull and @Nullable annotations from generated record-classes. These annotations are no longer added to record-fields, nor to the canonical constructor-parameters. This allows these annotations, and subsequently their dependencies, to be completely optional. To keep these annotations, the x-field-extra-annotation-property must be set for each field.

Bug Fixes

  • Remove serialVersionUID-field from Generated record Classes by @Chrimle in #488

    Removes the serialVersionUID-field from generated record classes, when the ConfigOption serializableModel is set to true. The field was removed due to overriding the default value, 1L instead of 0L, which could cause serialization issues, or was just redundant. As openapi-generator-maven-plugin provides no way to set the serialVersionUID, the Java-default value (0L) is a more appropriate value than the previous 1L. NOTE: this removes the serializableModel.mustache template!

  • [webclient] Annotate record Constructor with @JsonCreator by @Chrimle in #491

    Annotates the canonical record Constructor with @JsonCreator, when the serializationLibrary is jackson (default for the webclient-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-format Version from spotless-maven-plugin by @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