Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.

Releases: victools/jsonschema-module-javax-validation

4.7.0 – Compatibility Declaration

20 Mar 20:59
Compare
Choose a tag to compare

No feature changes, just bumping of minor version to indicate compatibility with jsonschema-generator version 4.7+

4.4.0 – Compatibility Declaration

03 Mar 16:15
Compare
Choose a tag to compare

No changes, just bumping of minor version to indicate compatibility with jsonschema-generator version 4.4+

4.0.0 – Compatibility declaration

03 Jan 12:54
Compare
Choose a tag to compare

No changes, just bumping of major version to indicate compatibility with jsonschema-generator version 4.*

3.2.0 – Additional Property and Validation Groups Support

01 Sep 19:48
Compare
Choose a tag to compare

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 @Email is present
  • Option for returning "idn-email" instead of "email" as "format" if @Email is present
  • Indicate a string's "pattern" according to regular expressions on @Pattern or @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 groups via JavaxValidationModule.forValidationGroups()

3.0.0 – Compliance with Generator API Changes

10 Jun 20:41
Compare
Choose a tag to compare

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-generator release v3.x

1.0.0 – Base Release

21 May 21:35
Compare
Choose a tag to compare
  • Indicate a field/method to be nullable if @Null is present
  • Indicate a field/method to be not nullable if @NotNull, @NotEmpty or @NotBlank is present
  • Indicate an array's "minItems" according to @Size or @NotEmpty
  • Indicate an array's "maxItems" according to @Size
  • Indicate a string's "minLength" according to @Size, @NotEmpty or @NotBlank
  • Indicate a string's "maxLength" according to @Size
  • Indicate a number's "minimum" (inclusive) according to @Min, @DecimalMin or @PositiveOrZero
  • Indicate a number's "exclusiveMinimum" according to @DecimalMin or @Positive
  • Indicate a number's "maximum" (inclusive) according to @Max, @DecimalMax or @NegativeOrZero
  • Indicate a number's "exclusiveMaximum" according to @DecimalMax or @Negative