Skip to content

Releases: barbieswimcrew/zip-code-validator

v2.0.2

24 Jul 05:58
4334000
Compare
Choose a tag to compare

Hello Zipcode validators ;-)

Thanks to @Kuller86 the Zipcode Validator now accepts MD- prefix for Moldova's postal codes. Awesome!!!

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v2.0.1...v2.0.2

Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v2.0.2/README.md

Highlights:

[IMPROVEMENT] #57 Allow MD- prefix for Moldova postal codes (#55) (@Kuller86)

Happy validating!

v3.1.2

23 Jul 06:40
c060097
Compare
Choose a tag to compare

Hello Zipcode validators ;-)

Thanks to @Kuller86 the Zipcode Validator now accepts MD- prefix for Moldova's postal codes. Awesome!!!

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v3.1.1...v3.1.2

Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v3.1.2/README.md

Highlights:

[IMPROVEMENT] #55 Allow MD- prefix for Moldova postal codes (@Kuller86)

Happy validating!

v3.1.1

19 Feb 10:42
6109e47
Compare
Choose a tag to compare

Hello Zipcode validators ;-)

Thanks to @Chris53897 effort, Zipcode Validator now relies on PHPUnit 11 as well as got testrun for PHP 8.3 and Symfony 7. Awesome!!!

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v3.1.0...v3.1.1

Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v3.1.1/README.md

Highlights:

[IMPROVEMENT] #52 chore: add testrun for PHP 8.3, symfony 7.0 (@Chris53897 )
[IMPROVEMENT] #53 chore: allow phpunit 11 (@Chris53897 )

Happy validating!

v3.1.0

02 May 11:47
d553202
Compare
Choose a tag to compare

Hello Zipcode validators ;-)

Thanks to @Chris53897 and @Pixelshaped for their contribution to this project. Thanks to their effort, Zipcode Validator can be used via Attributes from now on and relies on PHPUnit 10! Isn't that great?

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v3.0.0...v3.1.0

Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v3.1.0/README.md

Highlights:

Happy validating!

v3.0.0

07 Feb 08:54
0405c2b
Compare
Choose a tag to compare

Hi Zipcode-Validators! ;-)

Time marches on... With this release we dropped support for old PHP versions and adapt the code to the PHP 8+ realities and language features. Thanks to @Chris53897 for your help!

But please be aware that this might be some BREAKING CHANGE to your project.

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v2.0.1...v3.0.0

Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v3.0.0/README.md

Highlights:

  • [BC BREAK] #47 feat: drop support of php < 7, modernise code and tests, replace travis with github actions (@Chris53897 )

Happy validating!

v2.0.1

10 Apr 10:57
758b829
Compare
Choose a tag to compare

Hi Zipcode-Validators! ;-)

This release fixes deprecation issues occurring in PHP 8.1. Many thanks to @GenieTim to get that solved!

But please be aware that this might be some BREAKING CHANGE to your project.

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v2.0.0...v2.0.1

Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v2.0.1/README.md

Highlights:

  • [Bug] #46 Fix issue with deprecation error in PHP 8.1 (@GenieTim)

Happy validating!

v2.0.0

22 Sep 12:34
e7fb22a
Compare
Choose a tag to compare

Hi Zipcode-Validators! ;-)

This release resolves a somewhat illogical implementation into thin air. Due to a design flaw, the Zipcode Validator did cause some violation even for empty values. To handle that we implemented the "ignoreEmpty" option some time ago. But thanks to @rimas-kudelis this is now history!

But please be aware that this might be some BREAKING CHANGE to your project.

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v1.3.6...v2.0.0

Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v2.0.0/README.md

Highlights:

  • [BC BREAK] #42 The validator will not validate empty strings and null values anymore. To disallow them use the Symfony stock NotNull or NotBlank constraint in addition to ZipCode. (@rimas-kudelis)

Happy validating!

v1.3.6

13 Sep 06:28
1371df5
Compare
Choose a tag to compare

Improvement

v1.3.5

28 Jun 12:29
Compare
Choose a tag to compare

Bugfix

  • Fix Jamaican (JA) zipcode regex issues (aschempp)
  • Add invalid test cases to JA unit test (aschempp)

v1.3.4

27 Jun 13:36
Compare
Choose a tag to compare

Improvement

  • Thanks to Yanick the zip code regex pattern for Switzerland (CH) has been improved (Toflar)
  • Unit tests have been added to ensure the CH regex is working properly (Toflar)