Skip to content

Releases: barbieswimcrew/zip-code-validator

v3.2.0

14 Feb 12:01
c85be5c

Choose a tag to compare

Hello Zipcode validators ;-)

Thanks to @Pixelshaped the Zipcode Validator is now ready for the future! 🚀
We added support for Symfony 8 and modernized the codebase to support PHP 8 Attributes with Named Arguments. This makes your code even cleaner and more readable.

Example of the new syntax:

#[ZipCode(iso: 'DE')]

Don't worry, the old array syntax is still fully supported for backward compatibility!

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v3.1.5...v3.2.0
Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v3.2.0/README.md

Highlights:

[FEATURE] #66 Add Symfony 8 compatibility & Named Arguments support by @Pixelshaped

Happy validating!

v3.1.5

31 Jul 20:44
b75556d

Choose a tag to compare

Hello Zipcode validators ;-)

Thanks to @damiansakwinski the Zipcode Validator now accepts NA- prefix for Namibia's postal codes as well as CU- prefix for Cuban postal codes. Awesome!!!

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator

See changes: v3.1.4...v3.1.5

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

Highlights:

[IMPROVEMENT] #62 Add Cuba (CU) support #62 by @damiansakwinski
[IMPROVEMENT] #63 Add support for Namibia (NA) #64 by @damiansakwinski

Happy validating!

v3.1.4

09 Dec 09:36
f507ef2

Choose a tag to compare

Hello Zipcode validators ;-)

Sorry for another minor fix... and thanks for that catch @dsbe-ak
#59 (comment)

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator
See changes: v3.1.3...v3.1.4

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

Highlights:
[FIX] #60 (@barbieswimcrew)

Happy validating!

v3.1.3

07 Dec 15:31
7389728

Choose a tag to compare

Hello Zipcode validators ;-)

This minor fixes the deprecation warning

Deprecated: ZipCodeValidator\Constraints\ZipCode::__construct(): Implicitly marking parameter $groups as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/barbieswimcrew/zip-code-validator/src/ZipCodeValidator/Constraints/ZipCode.php on line 23

To upgrade run:

$ composer update barbieswimcrew/zip-code-validator
See changes: v3.1.2...v3.1.3

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

Highlights:
[FIX] #59 Fix "Implicitly marking parameter $groups as nullable is deprecated" (#59) (@barbieswimcrew)

Happy validating!

v2.0.2

24 Jul 05:58
4334000

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

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

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

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

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

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!