Releases: brick/validation
Releases · brick/validation
0.3.0
- Explicit support for PHP 8
- Minimum PHP version is now 7.2
No breaking changes.
0.2.2
Updated email validator with new regular expression from whatwg.org.
0.2.1
New validator: GtinValidator
.
It can valid all GTIN numbers:
- GTIN-8
- GTIN-12 (UPC)
- GTIN-13 (EAN, ISBN)
- GTIN-14
0.2.0
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
Bug fix in NumberValidator
when using both step and min.