Releases: barbieswimcrew/zip-code-validator
Releases · barbieswimcrew/zip-code-validator
v1.1.3
Improvement
- Allowing the LV- part of an Latvian postcode to be optional (timwebsterreiss)
v1.1.2
Improvement
- Allowing the second part of an Irish postcode to be optional (timwebsterreiss)
v1.1.1
Improvement
- added regex patterns for Hong Kong (HK) and Macau (MO)
v1.1.0
Improvement
- added new option "ignoreEmpty" (bool, default: false) that, set TRUE, avoids that validation fails if there is an empty value
v1.0.9
Improvement
- Allowing A or B word character in FR pattern
v1.0.8
Bugfixing
- Fixed regex for NL to allow optional space before letter suffix
v1.0.7
Improvements
- Updated regex patterns for AI, AM, BB, BH, BM, BN, BR, CA, CZ, EC, FR, GB, GG, IM, JE, LB, LI, MT, MU, NG, NL, OM, PE, SE, SH, SK, SO, TW, TZ
Bugfixing
- Fixed regex for NL to allow optionally appended letters
v1.0.6
Bugfixing
- Fixed a bug that occurred when using a getter in an entity's property annotation. By removing empty $constraint->iso check the validation now works properly
v1.0.5
Bugfixing
- Fixed a bug that occurred when setting the iso code in lowercase (e.g. "de" instead of "DE"). Now lowercase iso codes will be converted to uppercase automatically
- Fixed throwing a ConstraintDefinitionException if iso code is empty
v1.0.4
Improvements
- added support for new Korea postal code pattern