Releases: making/yavi
Releases · making/yavi
0.0.11
Add violated size in the error message by default
Support empty string for the name of nested elements
0.0.10
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
Change CustomConstraint
interface to implement java.util.function.Predicate
directory
Remove deprecated methods
Fix a wrong message key
0.0.8
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
Add ConstraintViolations.apply
Allow empty strings for email
and url
(Breaking Change)
0.0.6
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
Support constraints for each element in Collection
/Map
/Object[]
0.0.4
Add constraints for the byte size of CharSequence
s
Change messageKey of NumericConstraintBase
for the consistency
0.0.3
Reversed left and right of the result of validateToEither
Add ViolationDetail
for Jackson serialization
Add throwIfInvalid
method
0.0.2
Support Either API
Support inline-nested constrains
Add a constraint for Character
Add Validator.builder(Class<T>)
method
Fix wrong error messages
You can’t perform that action at this time.