Skip to content

Releases: franzose/kontrolio

v2.0.2

19 Apr 06:58
49ed8b3

Choose a tag to compare

What's Changed

  • feat: simplify regex of the Alphadash rule by @franzose in #15

Full Changelog: v2.0.1...v2.0.2

v2.0.1

19 Apr 06:52
b31562d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v1.5.1

19 Apr 06:28
e78d656

Choose a tag to compare

What's Changed

  • Simplify Alphadash validation regexp by @POPSuL in #12

Full Changelog: v1.5...v1.5.1

v1.5

23 Apr 06:07
9a8dc57

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

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

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

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

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

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

Choose a tag to compare

v1.4.4.1

small bugfix