Releases: making/yavi
Releases · making/yavi
0.12.2
What's Changed
- Remove locale from isLocalDate by @making in #298
- Bump junit.version from 5.9.1 to 5.9.2 by @dependabot in #305
- Bump assertj-core from 3.23.1 to 3.24.2 by @dependabot in #306
- Bump kotlin.version from 1.7.22 to 1.8.0 by @dependabot in #303
- Bump kotlin.version from 1.8.0 to 1.8.10 by @dependabot in #307
- Bump kotlin.version from 1.8.10 to 1.8.20 by @dependabot in #314
- Bump jacoco-maven-plugin from 0.8.8 to 0.8.9 by @dependabot in #315
- Bump maven-compiler-plugin from 3.10.1 to 3.11.0 by @dependabot in #311
- Bump license-maven-plugin from 4.1 to 4.2 by @dependabot in #313
- Revert "Deprecate Annotation Processor support" by @making in #316
- Bump maven-surefire-plugin.version from 2.22.2 to 3.1.0 by @dependabot in #321
- Bump junit.version from 5.9.2 to 5.9.3 by @dependabot in #319
- Bump jacoco-maven-plugin from 0.8.9 to 0.8.10 by @dependabot in #318
- Bump kotlin.version from 1.8.20 to 1.8.21 by @dependabot in #317
Full Changelog: 0.12.1...0.12.2
0.12.1
0.12.0
What's Changed
- Add unwrap method to access ValidatorBuilder from Kotlin DSL by @be-hase in #263
- Add shortcut methods to
Validation.successandValidation.failureinValidatedclass by @making in #264 - Bump kotlinx-coroutines-core from 1.6.2 to 1.6.3 by @dependabot in #268
- Bump kotlinx-coroutines-core from 1.6.3 to 1.6.4 by @dependabot in #271
- Bump junit.version from 5.8.2 to 5.9.0 by @dependabot in #275
- Bump junit.version from 5.9.0 to 5.9.1 by @dependabot in #280
- Bump maven-jar-plugin from 3.2.2 to 3.3.0 by @dependabot in #279
- Bump kotlin.version from 1.6.21 to 1.7.21 by @dependabot in #287
- Deprecate Annotation Processor support by @making in #292
- Add isLocalDate to CharSequenceConstraint by @ffroliva in #283
New Contributors
Full Changelog: 0.11.3...0.12.0
0.11.3
What's Changed
- Support Emoji 13.0-14.0 by @making in #244
- Add
wrapmethod for more flexibility to single value validator builders by @making in #247 - Bump kotlinx-coroutines-core from 1.6.1 to 1.6.2 by @dependabot in #255
- Bump assertj-core from 3.22.0 to 3.23.1 by @dependabot in #257
- Bump formatter-maven-plugin from 2.18.0 to 2.19.0 by @dependabot in #258
- Fix typo: negaitve -> negative by @JozsefKutas in #259
- Revert "Bump formatter-maven-plugin from 2.18.0 to 2.19.0" by @making in #260
New Contributors
- @JozsefKutas made their first contribution in #259
Full Changelog: 0.11.2...0.11.3
0.11.2
0.11.1
What's Changed
- Bump kotlin.version from 1.6.10 to 1.6.20 by @dependabot in #228
- Bump kotlinx-coroutines-core from 1.6.0 to 1.6.1 by @dependabot in #230
- Bump jacoco-maven-plugin from 0.8.7 to 0.8.8 by @dependabot in #231
- Bump kotlin.version from 1.6.20 to 1.6.21 by @dependabot in #234
- Remove JUnit4 by @making in #235
- Validate null elements in a collection properly by @making in #236
- Add
PatternandSupplier<Pattern>variants by @making in #237 - Update Maven Wrapper and use --no-transfer-progress by @making in #239
- Make memoization configurable in TemporalConstraintBase by @making in #238
Full Changelog: 0.11.0...0.11.1
0.11.0
What's Changed
- Added overloaded andThen method to chain ValueValidators by @duponter in #210
- Drop
Eithersupport by @making in #214 - Delete ValidatorBuilderExtensions.kt by @making in #215
- Introduce ConstraintContext and replace ConstraintGroup in validate method by @making in #216
- Temporal constraints for Year and YearMonth by @duponter in #220
- Value validator to validatable by @duponter in #219
- Fixed failing CI #597: Bump formatter-maven-plugin from 2.17.1 to 2.18.0 by @duponter in #224
- Bump maven-compiler-plugin from 3.10.0 to 3.10.1 by @dependabot in #223
Full Changelog: 0.10.1...0.11.0
0.10.1
✨ Enhancements
🐛 Bug Fixes
🗒 Miscs
- Bump assertj-core from 3.21.0 to 3.22.0 by @dependabot in #202
- Bump maven-jar-plugin from 3.2.0 to 3.2.1 by @dependabot in #203
- Bump maven-compiler-plugin from 3.8.1 to 3.9.0 by @dependabot in #205
- Bump maven-jar-plugin from 3.2.1 to 3.2.2 by @dependabot in #204
- Bump maven-compiler-plugin from 3.9.0 to 3.10.0 by @dependabot in #212
Full Changelog: 0.10.0...0.10.1
0.10.0
✨ Enhancements
- 🆕
positive(),negative(),positiveOrZero()&negativeOrZero()introduced toNumericConstraintBase(#189) Thanks to @DiegoKrupitza - 🆕 Additional constraints (#179) Thanks to @duponter
am.ik.yavi.core.Constraint#equalToam.ik.yavi.core.Constraint#oneOfam.ik.yavi.constraint.CharSequenceConstraint#uuid
- Deprecate
clonein favor of copy constructor inValidatorBuilder. (#187) Thanks to @DiegoKrupitza - 🆕 Introduce
lazy()method to Arguments Validators and addthrowIfInvalid()inValidation - Fully migrated test from JUnit4 to JUnit5. (#194) Thanks to @DiegoKrupitza
- 🆕
startsWith(String)&endsWith(String)introduced toCharSequenceConstraint(#193) Thanks to @DiegoKrupitza - 🆕 Added constraints for Temporal types (
LocalDate,LocalTime,LocalDateTime,OffsetDateTime,ZonedDateTimeandInstant). (#195) Thanks to @DiegoKrupitzapast()past(Clock)pastOrPresent()pastOrPresent(Clock)future()future(Clock)futureOrPresent()futureOrPresent(Clock)after(Supplier<V>)afterOrEqual(Supplier<V>)before(Supplier<V>)beforeOrEqual(Supplier<V>)between(Supplier<V>, Supplier<V>)fieldPredicate(TemporalField, LongPredicate)
💣 Breaking Changes
- Rename
ValidatorSubset->ValidatableandNestedValidatorSubset->NestedValidator(#190) - Drop deprecated methods
am.ik.yavi.arguments.ArgumentNValidator#validateArgsam.ik.yavi.arguments.ArgumentNValidator#validateAndThrowIfInvalidam.ik.yavi.core.Validator#validateToEitheram.ik.yavi.fn.Either#doOnRightam.ik.yavi.fn.Either#doOnLeftam.ik.yavi.fn.Validation#mapErrorsF