This repository was archived by the owner on Mar 30, 2020. It is now read-only.
Releases: victools/jsonschema-module-javax-validation
Releases · victools/jsonschema-module-javax-validation
4.7.0 – Compatibility Declaration
No feature changes, just bumping of minor version to indicate compatibility with jsonschema-generator version 4.7+
4.4.0 – Compatibility Declaration
No changes, just bumping of minor version to indicate compatibility with jsonschema-generator version 4.4+
4.0.0 – Compatibility declaration
No changes, just bumping of major version to indicate compatibility with jsonschema-generator version 4.*
3.2.0 – Additional Property and Validation Groups Support
Added
- Option for treating not-nullable fields as "required" in their parent type
- Option for treating not-nullable methods as "required" in their parent type
- Indicate a string's "format" to be "email" if
@Emailis present - Option for returning "idn-email" instead of "email" as "format" if
@Emailis present - Indicate a string's "pattern" according to regular expressions on
@Patternor@Email(ignoring specified flags) - Option for enabling the inclusion of "pattern" expressions (they are excluded by default)
- Allow filtering applicable annotations by their declared validation
groupsviaJavaxValidationModule.forValidationGroups()
3.0.0 – Compliance with Generator API Changes
Added
- Consider the same validation annotations on a getter method also for its field
- Consider the same validation annotations on a field also for its getter method
Changed
- Internal changes to comply with latest
jsonschema-generatorreleasev3.x
1.0.0 – Base Release
- Indicate a field/method to be nullable if
@Nullis present - Indicate a field/method to be not nullable if
@NotNull,@NotEmptyor@NotBlankis present - Indicate an array's "minItems" according to
@Sizeor@NotEmpty - Indicate an array's "maxItems" according to
@Size - Indicate a string's "minLength" according to
@Size,@NotEmptyor@NotBlank - Indicate a string's "maxLength" according to
@Size - Indicate a number's "minimum" (inclusive) according to
@Min,@DecimalMinor@PositiveOrZero - Indicate a number's "exclusiveMinimum" according to
@DecimalMinor@Positive - Indicate a number's "maximum" (inclusive) according to
@Max,@DecimalMaxor@NegativeOrZero - Indicate a number's "exclusiveMaximum" according to
@DecimalMaxor@Negative