Skip to content

Releases: brick/validation

0.3.0

06 Dec 00:18
Compare
Choose a tag to compare
  • Explicit support for PHP 8
  • Minimum PHP version is now 7.2

No breaking changes.

0.2.2

11 Oct 14:29
Compare
Choose a tag to compare

Updated email validator with new regular expression from whatwg.org.

0.2.1

17 Jun 14:03
Compare
Choose a tag to compare

New validator: GtinValidator.

It can valid all GTIN numbers:

  • GTIN-8
  • GTIN-12 (UPC)
  • GTIN-13 (EAN, ISBN)
  • GTIN-14

0.2.0

09 Oct 22:09
Compare
Choose a tag to compare

No more dependencies on brick/math and ext-mbstring.

Breaking changes:

  • NumberValidator:
    • now based on an int-based decimal implementation, which limits the number of digits of checked numbers
    • setMin(), setMax() and setStep() now accept string|null only

0.1.1

07 Oct 20:49
Compare
Choose a tag to compare

Bug fix in NumberValidator when using both step and min.

0.1.0

06 Oct 23:35
Compare
Choose a tag to compare

First beta release.