Skip to content

Releases: making/yavi

0.0.11

26 Aug 15:31
Compare
Choose a tag to compare
  • Add violated size in the error message by default
  • Support empty string for the name of nested elements

0.0.10

26 Aug 10:09
Compare
Choose a tag to compare
  • Add constraints for the whitelist/blacklist of code points (CharSequenceConstraint.codePoints) and AsciiCodePoints as a standard code points
  • Add Either.leftMap and Either.rightMap
  • Introduce ViolatedValue class
  • Add ConstraintPredicate.of and ConstraintPredicate.withViolatedValue and make the constructor private (Breaking Change)

0.0.9

25 Aug 05:38
Compare
Choose a tag to compare
  • Change CustomConstraint interface to implement java.util.function.Predicate directory
  • Remove deprecated methods
  • Fix a wrong message key

0.0.8

25 Aug 04:36
Compare
Choose a tag to compare
  • Deprecate MessageFormatter#format(java.lang.String, java.lang.String, java.lang.String, java.lang.Object[], java.util.Locale) in favor of MessageFormatter#format(java.lang.String, java.lang.String, java.lang.Object[], java.util.Locale). (Breaking Change)
  • Add ViolationMessage interface

0.0.7

24 Aug 10:48
Compare
Choose a tag to compare
  • Add ConstraintViolations.apply
  • Allow empty strings for email and url (Breaking Change)

0.0.6

24 Aug 03:52
Compare
Choose a tag to compare
  • Rename to constraintForNested for the constraint of a nested object (Breaking Change)
  • Rename from xxxxIfNotNull to xxxxIfPresent (Breaking Change)
  • Accept Locale in MessageFormatter (Breaking Change)

0.0.5

24 Aug 01:25
Compare
Choose a tag to compare
  • Support constraints for each element in Collection/Map/Object[]

0.0.4

23 Aug 10:58
Compare
Choose a tag to compare
  • Add constraints for the byte size of CharSequences
  • Change messageKey of NumericConstraintBase for the consistency

0.0.3

23 Aug 07:39
Compare
Choose a tag to compare
  • Reversed left and right of the result of validateToEither
  • Add ViolationDetail for Jackson serialization
  • Add throwIfInvalid method

0.0.2

23 Aug 05:58
Compare
Choose a tag to compare
  • Support Either API
  • Support inline-nested constrains
  • Add a constraint for Character
  • Add Validator.builder(Class<T>) method
  • Fix wrong error messages