Skip to content

Releases: franzose/kontrolio

v1.5

23 Apr 06:07
9a8dc57
Compare
Choose a tag to compare

What's Changed

  • Implemented support for all of php versions between 7.4 and 8.3 by @POPSuL in #11

New Contributors

Full Changelog: v.1.4.8...v1.5

v2.0.0

12 Jun 17:02
Compare
Choose a tag to compare

What's new

  1. Support for PHP < 8.1 has been dropped
  2. Travis CI and Scrutinizer integrations have been dropped in favor of GitHub Actions
  3. PHPUnit has been updated to version 9.5
  4. Type hints everywhere
  5. Kontrolio\Rules\CallableRuleWrapper and all rules have been made final
  6. Kontrolio\Rules\Core\Ip has been renamed to Kontrolio\Rules\Core\IpAddress, the rule's constructor now takes the new \Kontrolio\Rules\Core\IpAddressVersion enum instead of string

Fixed regression regarding the UntilFirstFailure rule

15 Jul 13:09
Compare
Choose a tag to compare

The regression when the UntilFirstFailure rule didn't stop further attribute validation has been fixed. Thanks to @POPSuL and his report in #9.

Refactoring

05 May 13:29
Compare
Choose a tag to compare

This is a minor release which does not bring anything significant but some refactoring of the internals. Also some files contained the "declare" directive, it was removed since the current library version claims to support PHP 5.6. Support of the old PHP versions is going to be dropped in the next major release.

Fixed url validation in PHP 7.3

06 Aug 13:12
Compare
Choose a tag to compare

In PHP 7.3, PCRE has been upgraded as well: literal hyphens should now be escaped. This release fixes the regular expression in the Url rule where those hyphens were not escaped.

StopsFurtherValidationInterface

10 Jul 02:40
Compare
Choose a tag to compare

With this interface applied to a rule you can halt the validation in case the constraints defined by that rule will fail to pass.

Bugfix in bugfix...

27 Jun 04:51
Compare
Choose a tag to compare
v1.4.4.1

small bugfix

Bug fixes in Length and Range

26 Jun 23:08
Compare
Choose a tag to compare
v1.4.4

Added min/max check; fixed behavior if max is null and min is not

Two new rules: Between and BetweenInclusive

06 Apr 00:56
Compare
Choose a tag to compare
v1.4.3

Added two more rules: Between and BetweenInclusive

Regex validation rule

17 Jul 03:23
Compare
Choose a tag to compare
v1.4.2

Added phpunit config to gitignore file