Releases: franzose/kontrolio
Releases · franzose/kontrolio
v2.0.2
v2.0.1
v1.5.1
v1.5
v2.0.0
What's new
- Support for PHP < 8.1 has been dropped
- Travis CI and Scrutinizer integrations have been dropped in favor of GitHub Actions
- PHPUnit has been updated to version 9.5
- Type hints everywhere
Kontrolio\Rules\CallableRuleWrapperand all rules have been made finalKontrolio\Rules\Core\Iphas been renamed toKontrolio\Rules\Core\IpAddress, the rule's constructor now takes the new\Kontrolio\Rules\Core\IpAddressVersionenum instead ofstring
Fixed regression regarding the UntilFirstFailure rule
Refactoring
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
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
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...
v1.4.4.1 small bugfix