Skip to content

Releases: making/yavi

0.16.0

28 Apr 00:46
Compare
Choose a tag to compare

What's Changed

  • Add firstN, equals and hashCode in ArgumentsN by @making in #453
  • ArgumentsN no longer inherits ArgumentsM (M = N - 1) by @making in #454
  • Add last1~lastM methods in ArgumentsN (M = N - 1) by @making in #455
  • Add append, prepend and reverse method in ArgumentsN by @making in #456
  • remove deprecated BiValidator in favor of BiConsumer by @making in #457
  • Make ArgumentsN class final by @making in #458
  • Add wrap/unwrap method in ArgumentsNValidator by @making in #459
  • Implement lazy method in unwrapped, wrapped and combined validators by @making in #460
  • Add (missing) _localDate in ArgumentsValidatorBuilders by @making in #461
  • Implement more lazy by @making in #462
  • Enhance ConstraintViolation with JavaDoc and add MessageFormatter parameter by @making in #463
  • Remove deprecated NumericConstraintBase#negaitveOrZero by @making in #464
  • Remove deprecated ValidatorBuilder#clone by @making in #465
  • Remove deprecated CharSequenceConstraint#isLocalDate by @making in #466

Breaking Changes

  • ArgumentsN no longer inherits ArgumentsM (N = M+1). So, for example, a lambda expression like Arguments2::arg2 doesn't work for Arguments3. Use Arguments3::arg2 instead.

Full Changelog: 0.15.0...0.16.0

0.15.0

17 Apr 05:04
Compare
Choose a tag to compare

What's Changed

  • Bump maven-surefire-plugin.version from 3.5.2 to 3.5.3 by @dependabot in #444
  • Bump com.mycila:license-maven-plugin from 4.6 to 5.0.0 by @dependabot in #442
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 by @dependabot in #446
  • Change the DSL build method to internal by @be-hase in #445
  • Bump junit.version from 5.12.1 to 5.12.2 by @dependabot in #449
  • Implement singleton pattern for SimpleMessageFormatter by @making in #450
  • Add builder pattern to ConstraintViolation by @making in #451

Full Changelog: 0.14.4...0.15.0

0.14.4

21 Mar 02:33
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.14.3...0.14.4

0.14.3

21 Mar 02:22
Compare
Choose a tag to compare

What's Changed

  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 by @dependabot in #435
  • Bump junit.version from 5.11.4 to 5.12.0 by @dependabot in #434
  • adding allOf validation and test cases by @ShivKJ in #438

New Contributors

Full Changelog: 0.14.2...0.14.3

0.14.2

18 Feb 08:00
Compare
Choose a tag to compare

What's Changed

  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2 by @dependabot in #400
  • Bump junit.version from 5.10.2 to 5.10.3 by @dependabot in #402
  • Bump maven-surefire-plugin.version from 3.3.0 to 3.3.1 by @dependabot in #404
  • Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 by @dependabot in #403
  • Bump maven-surefire-plugin.version from 3.3.1 to 3.5.1 by @dependabot in #415
  • Bump com.mycila:license-maven-plugin from 4.5 to 4.6 by @dependabot in #413
  • Bump junit.version from 5.10.3 to 5.11.2 by @dependabot in #414
  • Bump junit.version from 5.11.2 to 5.11.3 by @dependabot in #419
  • Bump maven-surefire-plugin.version from 3.5.1 to 3.5.2 by @dependabot in #421
  • Bump org.assertj:assertj-core from 3.26.3 to 3.27.2 by @dependabot in #428
  • Bump junit.version from 5.11.3 to 5.11.4 by @dependabot in #423
  • Introduce spring-javaformat-maven-plugin by @making in #429
  • Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 by @dependabot in #430
  • unique constraint should provide duplicate elements in the error message by @making in #433

Full Changelog: 0.14.1...0.14.2

0.14.1

18 Jun 06:23
Compare
Choose a tag to compare

What's Changed

  • Fix type parameter order in ArgumentsValidatorBuilder delegation by @making in #375
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 by @dependabot in #376
  • Revert "Fix type parameter order in ArgumentsValidatorBuilder delegation" by @making in #377
  • Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.8.0 to 1.8.1 by @dependabot in #386
  • Bump com.mycila:license-maven-plugin from 4.3 to 4.5 by @dependabot in #387
  • Bump kotlin.version from 1.9.23 to 1.9.24 by @dependabot in #384
  • Bump net.revelc.code.formatter:formatter-maven-plugin from 2.23.0 to 2.24.0 by @dependabot in #393
  • Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 by @dependabot in #392
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.1 by @dependabot in #382
  • Bump net.revelc.code.formatter:formatter-maven-plugin from 2.24.0 to 2.24.1 by @dependabot in #395
  • Bump maven-surefire-plugin.version from 3.2.5 to 3.3.0 by @dependabot in #396
  • Make Arguments1ValidatorBuilder return Arguments1Validator instead of ValueValidator for the consistency by @making in #397
  • Fix wrong nullAs in equalTo and oneOf by @making in #398
  • Add notOneOf by @making in #399

Full Changelog: 0.14.0...0.14.1

0.14.0

01 Apr 12:59
Compare
Choose a tag to compare

What's Changed

  • Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.7.2 to 1.7.3 by @dependabot in #341
  • Bump junit.version from 5.9.3 to 5.10.0 by @dependabot in #340
  • Bump com.mycila:license-maven-plugin from 4.2 to 4.3 by @dependabot in #344
  • Bump org.assertj:assertj-core from 3.24.2 to 3.25.0 by @dependabot in #355
  • Bump org.assertj:assertj-core from 3.25.0 to 3.25.2 by @dependabot in #358
  • Bump maven-surefire-plugin.version from 3.1.2 to 3.2.5 by @dependabot in #357
  • Bump junit.version from 5.10.0 to 5.10.1 by @dependabot in #348
  • Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 by @dependabot in #360
  • Bump junit.version from 5.10.1 to 5.10.2 by @dependabot in #359
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.1 by @dependabot in #354
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 by @dependabot in #345
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 by @dependabot in #363
  • Add LocalTimeValidatorBuilder by @making in #366
  • Bump kotlin.version from 1.8.22 to 1.9.23 by @dependabot in #362
  • Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.7.3 to 1.8.0 by @dependabot in #361
  • Introduce new type of builder to create an ArgumentValidator easily by @making in #367
  • Remove shorthand ArgumentsValidator and use ArgumentsValidator by @making in #370
  • Add @Nullable to methods in ValueValidator by @making in #371
  • Rename Yavi.builder to Yavi.arguments by @making in #372
  • Bump compile-testing from 0.19 to 0.21.0 by @dependabot in #302
  • Revert "Bump compile-testing from 0.19 to 0.21.0" by @making in #373

Full Changelog: 0.13.1...0.14.0

0.13.1

20 Jul 00:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.13.0...0.13.1

0.13.0

15 May 03:11
Compare
Choose a tag to compare

What's Changed

  • Adopt ValueValidator to create a BiValidator by @making in #325
  • BiValidator accepts generic ValueValidator by @making in #327
  • Deprecate BiValidator in favor of Validatable#toBiConsumer and ValueValidator#toBiConsumer by @making in #328
  • Bump kotlinx-coroutines-core from 1.7.0 to 1.7.1 by @dependabot in #326
  • Respect failFast mode of Nested Validators by @making in #329
  • Throw UnsupportedOperationException when default lazy method is called by @making in #330
  • Introduce Conflict Strategy that defines the behavior when a constraint name conflicts by @making in #331

Full Changelog: 0.12.3...0.13.0

0.12.3

12 May 08:45
Compare
Choose a tag to compare

What's Changed

  • Bump kotlinx-coroutines-core from 1.6.4 to 1.7.0 by @dependabot in #320
  • Update copyright by @making in #323
  • Fix stackoverflow when lazy() is called in a constructor with ArgumentsValidators.split by @making in #324

Full Changelog: 0.12.2...0.12.3