Releases: Chrimle/openapi-to-java-records-mustache-templates
v2.6.1
v2.6.0
What's Changed
New Features
- Include
LICENSE.txt
in themustache-templates
Artifact by @Chrimle in #335Adds a
LICENSE.txt
file to themustache-templates
artifact. This file will be included in the imported.jar
file, in the root directory.
Dependency Updates
- Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.2 to 3.1.3 by @dependabot in #325
- Bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.0 to 3.8.1 by @dependabot in #326
- Bump com.fasterxml.jackson.core:jackson-annotations from 2.18.1 to 2.18.2 by @dependabot in #238
- Bump org.hibernate.validator:hibernate-validator from 8.0.1.Final to 8.0.2.Final by @dependabot in #268
- Replace
com.google.code.findbugs:jsr305
withcom.github.spotbugs:spotbugs-annotations
by @Chrimle in #332 - Bump com.github.spotbugs:spotbugs-annotations from 3.1.12 to 4.8.6 by @dependabot in #333
Full Changelog: v2.5.3...v2.6.0
v2.5.3
What's Changed
Bug Fixes
- Remove Transitive Dependencies from
mustache-templates
Artifact by @Chrimle in #317Removes all transitive dependencies from the
mustache-templates
artifact. These dependencies, used only for testing, have been relocated to thetests
module. Importing the mustache templates should not require any dependencies; this has now been fixed. In the event of issues, please refer to thetests
module for the relevant dependencies and their versions.
Full Changelog: v2.5.2...v2.5.3
v2.5.2
What's Changed
Bug Fixes
- Public Release of the
parent
Maven Artifact by @Chrimle in #312Releases the
parent
Maven Artifact for the first time. This artifact is required for themustache-templates
artifact, as it is it´s parent project. This solves the issue introduced in v2.5.1, which led to not being able to import themustache-templates
artifact.
Full Changelog: v2.5.1...v2.5.2
v2.5.1
What's Changed
Bug Fixes
- Add Ending Dot to Placeholder values in JavaDocs by @Chrimle in #282
Adds a dot
.
to the end of placeholder values in JavaDocs. This is to improve readability and consistency. This only affects placeholder values, and will not append a dot to the end of any user-provided values.
Full Changelog: v2.5.0...v2.5.1
v2.5.0
What's Changed
New Features
- Reformat & Rephrase Generated JavaDocs by @Chrimle in #274
Enhances all JavaDocs in generated
record
andenum
classes by correcting grammatical issues and adhering more to the Google-Java-Format. This affects the placeholder JavaDocs in generated classes, but does not change any behavior or functionality.
Dependency Updates
- Bump org.apache.maven.plugins:maven-resources-plugin from 3.2.0 to 3.3.1 by @dependabot in #267
- Bump junit-jupiter.version from 5.11.3 to 5.11.4 by @dependabot in #272
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
New Features
- Support OpenAPI
x-field-extra-annotation
property by @Chrimle in #245Added support for the OpenAPI property
x-field-extra-annotation
. This property is optional, and will annotate the generated field with the provided annotations. NOTE: there is a formatting issue inherited fromopenapi-generator-maven-plugin
which does not correctly indent the annotations. This change is fully backwards-compatible.
Full Changelog: v2.3.0...v2.4.0
v2.3.0
What's Changed
New Features
- Support OpenAPI
x-class-extra-annotation
property by @Chrimle in #209Adds support for the OpenAPI property
x-class-extra-annotation
(vendor-extension). The property can be set either as a string (for one annotation), or as a literal block|-
(for multiple annotations). The property is only applicable forrecord
classes. The property could conflict withadditionalModelTypeAnnotations
when referring to the same annotation (if the annotation is not repeatable).
Full Changelog: v2.2.1...v2.3.0
v2.2.1
What's Changed
Bug Fixes
- Support non-
String
values infromValue()
methods of generatedenum
classes by @Chrimle in #235Fixed 2 bugs related to the
fromValue()
-method in generatedenum
classes. The first, affected all generatedenum
classes where thetype
-property was not set tostring
. ThefromValue()
-method would always generate the method parameter asString
, leading to issues caused by comparing incompatible types. The second issue is encountered under the same conditions, but when the configOptionuseEnumCaseInsensitive
is set totrue
. This would invokeequalsIgnoreCase
on non-String
objects - which caused compilation errors. Both of these bug fixes are contained to thefromValue()
-method and are fully backwards-compatible.
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
New Features
- Add Bean Validation
@Email
annotation to fields withformat: email
by @Chrimle in #224Added Bean Validation for
String
fields with theformat
property set toemail
. This property value will annotate the generated field with@Email
. Requires theuseBeanValidation
configOption to be set totrue
. Theformat
property remains optional.
Full Changelog: v2.1.1...v2.2.0