Skip to content

v2.3.0 - Jakarta validation module

Compare
Choose a tag to compare
@pjazdzyk pjazdzyk released this 26 Feb 17:31
· 8 commits to master since this release

CHANGE LOG (26.02.2024):

  • backward compatibility - NOT COMPATBILE
  • added new module: Jakarta-validation. Which includes predefined constraint validator classes and associated annotations: PhysicalRange, PhysicalMin, PhysicalMax allowing for convenient PhysicalQuantity validation in web applications,
  • simplified parsing mechanism, incorporated GeoParsingFactory into DefaultParsingFactory, reworked PhysicalQuantityDeserializer,
  • added default unit specification. If during parsing no unit is provided, quantity will be resolved to its default unit,
  • new unit: CFM (cubic feet per minute) for VolumetricFlow,
  • fixed bug in divide() method (exception was thrown when numerator was 0, instead of denumerator),
  • other minor bug fix and refactoring,