Skip to content

Releases: Kreyu/nip-validator-bundle

v2.1.0

23 Mar 12:15
87e3a65
Compare
Choose a tag to compare

Added ability to use constraint as an attribute

v2.0.0

20 Sep 14:05
Compare
Choose a tag to compare

Added support for Symfony Validator >=6.1, now requiring PHP >=8.1 (thanks to @Lustmored)

v1.2.0

23 Jan 19:13
Compare
Choose a tag to compare

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

26 Feb 10:07
Compare
Choose a tag to compare

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

09 Nov 13:21
Compare
Choose a tag to compare

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

25 Jul 11:03
94b4e53
Compare
Choose a tag to compare

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

24 Jul 19:42
42be232
Compare
Choose a tag to compare
[ci skip] added missing "use" keyword in the readme usage section