Skip to content

Releases: Dhii/validation-interface

0.3.0-alpha3

14 Jan 16:20
0e73c7b
Compare
Choose a tag to compare
0.3.0-alpha3 Pre-release
Pre-release

Removed

  • ValidationExceptionInterface was redundant, and burdened implementations.
  • ValidatorInterface#validate() must now throw RuntimeException instead of ValidationExceptionInterface.

0.3.0-alpha2

14 Jan 14:12
24c1ca7
Compare
Choose a tag to compare
0.3.0-alpha2 Pre-release
Pre-release

Added

  • ValidatorInterface#validate() now has explicit void return type.

Changed

  • Updated and added missing configs.
  • Allowing PHP 8.
  • Now updating composer deps in CI, proving that this package is in fact installable on all target versions.
  • Using newer Psalm.

Removed

  • No longer depends on Dhii Stringable interface. Instead, using Symfony Polyfill for testing.
    This is recommended for use by consuming projects in cases when working PHP lower than 8.

0.3.0-alpha1

14 May 00:24
Compare
Choose a tag to compare
0.3.0-alpha1 Pre-release
Pre-release

Removed

  • SpecAwareInterface.
  • ValidatorFactoryInterface.
  • SubjectAwareInterface.
  • ValidatorAwareInterface.
  • @since tags everywhere.
  • Support for PHP < 7.1.

Changed

  • ValidationFailedExceptionInterface::getSubject() is now `getValidationSubject().

0.2

29 Aug 11:40
a26026a
Compare
Choose a tag to compare

Stable release.

0.2-alpha2

07 Mar 13:04
Compare
Choose a tag to compare
0.2-alpha2 Pre-release
Pre-release

Added

  • ValidatorFactoryInterface

Changed

  • Using newer version of dhii/exception-interface

Removed

  • SpecValidatorInterface

Fixed

  • Added missing import for Traversable in SpecAwareInterface

0.2-alpha1

06 Mar 16:24
f247035
Compare
Choose a tag to compare
0.2-alpha1 Pre-release
Pre-release

Added

  • SpecValidatorInterface.
  • SpecAwareInterface.
  • SubjectAwareInterface.
  • ValidatorAwareInterface.

0.1

10 Mar 13:39
Compare
Choose a tag to compare
0.1

Most basic interfaces and tests.