Skip to content

Releases: franzose/kontrolio

v2.0.2

Choose a tag to compare

@franzose franzose released this 19 Apr 06:58
49ed8b3

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

Choose a tag to compare

@franzose franzose released this 19 Apr 06:52
b31562d

What's Changed

New Contributors

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

v1.5.1

Choose a tag to compare

@franzose franzose released this 19 Apr 06:28
e78d656

What's Changed

  • Simplify Alphadash validation regexp by @POPSuL in #12

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

v1.5

Choose a tag to compare

@franzose franzose released this 23 Apr 06:07
9a8dc57

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

Choose a tag to compare

@franzose franzose released this 12 Jun 17:02

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

Choose a tag to compare

@franzose franzose released this 15 Jul 13:09

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

Refactoring

Choose a tag to compare

@franzose franzose released this 05 May 13:29

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

Choose a tag to compare

@franzose franzose released this 06 Aug 13:12

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

Choose a tag to compare

@franzose franzose released this 10 Jul 02:40

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...

Choose a tag to compare

@franzose franzose released this 27 Jun 04:51
v1.4.4.1

small bugfix