Releases: making/yavi
Releases · making/yavi
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
- Remame
am.ik.yavi.builder.Yavi
=>am.ik.yavi.builder.ValidatorBuilderExtensions
- Add
constraintOnGroup
inValidatorBuilderExtensions
- Add followings coroutines variants of
Either
methods (#14)EitherExtensions.awaitFold
EitherExtensions.awaitBimap
EitherExtensions.awaitLeftMap
EitherExtensions.awaitRightMap
- Add
EitherExtensions.leftOrNull()
andEitherExtensions.rightOrNull
(#15) - Make
doOnLeft
anddoOnRight
return itself
0.2.0
0.1.0
- Deprecate
Validator.builder()
in favor ofValidatorBuilder.of()
to fix circular dependencies (#7) - Add
constraintOnGroup
method
Breaking Changes
Following classes are repackaged to fix circular dependencies (#7)
am.ik.yavi.core.ValidatorBuilder
=>am.ik.yavi.builder.ValidatorBuilder
am.ik.yavi.core.Yavi
=>am.ik.yavi.builder.Yavi
am.ik.yavi.constraint.Constraint
=>am.ik.yavi.core.Constraint
am.ik.yavi.constraint.ViolationMessage
=>am.ik.yavi.core.ViolationMessage
Removed Methods
Following deprecated methods has been removed
ValidatorBuilder.constraintForEach
ValidatorBuilder.constraintForNested
ValidatorBuilder.constraintForObject
ValidatorBuilder.constraintIfPresentForEach
ValidatorBuilder.constraintIfPresentForNested
CodePointsConstraint.allIncluded
CodePointsConstraint.notIncluded
Yavi.constraintForEach
Yavi.constraintForNested
Yavi.constraintIfPresentForEach
Yavi.constraintIfPresentForNested