Releases: Kreyu/nip-validator-bundle
Releases · Kreyu/nip-validator-bundle
v2.1.0
Added ability to use constraint as an attribute
v2.0.0
Added support for Symfony Validator >=6.1, now requiring PHP >=8.1 (thanks to @Lustmored)
v1.2.0
Changed following dependencies:
- PHP >=7.0 - so 8.0 is now supported (not included in the tests yet, since PHPUnit has problems with it)
- Symfony validator >=3.4 - so 4.x and 5.x are also supported
v1.1.0
Changes made in this version
- validator now ignores empty values
- removed the Tin & TinValidator class aliases
- added support for the callable "normalizer" constraint option
- added additional checks on the given value
- added requirement of PHP ^7.0
v1.0.2
Changes made in this version
- NIP/TIN constraint will now ignore null values, so it can be handled by another constraint (e.g. NotNull)
v1.0.1
Changes made in pull request #1
- added Tin and TinValidator as Nip and NipValidator aliases,
- fixed invalid prefix requirement,
- added violation messages parameters and invalid values
v1.0.0
[ci skip] added missing "use" keyword in the readme usage section