Skip to content

Releases: barbieswimcrew/zip-code-validator

v1.1.3

06 Dec 21:40
Compare
Choose a tag to compare

Improvement

  • Allowing the LV- part of an Latvian postcode to be optional (timwebsterreiss)

v1.1.2

21 Sep 18:29
Compare
Choose a tag to compare

Improvement

  • Allowing the second part of an Irish postcode to be optional (timwebsterreiss)

v1.1.1

30 Jun 06:42
Compare
Choose a tag to compare

Improvement

  • added regex patterns for Hong Kong (HK) and Macau (MO)

v1.1.0

06 Jun 11:17
Compare
Choose a tag to compare

Improvement

  • added new option "ignoreEmpty" (bool, default: false) that, set TRUE, avoids that validation fails if there is an empty value

v1.0.9

06 Jun 08:57
Compare
Choose a tag to compare

Improvement

  • Allowing A or B word character in FR pattern

v1.0.8

05 Apr 14:51
Compare
Choose a tag to compare

Bugfixing

  • Fixed regex for NL to allow optional space before letter suffix

v1.0.7

18 Oct 15:35
Compare
Choose a tag to compare

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

05 Oct 11:28
Compare
Choose a tag to compare

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

12 Sep 10:18
Compare
Choose a tag to compare

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

16 Aug 05:59
Compare
Choose a tag to compare

Improvements

  • added support for new Korea postal code pattern