Constraint Class for international Zipcode Validation
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
[IMPROVEMENT] https://github.com/barbieswimcrew/zip-code-validator/pull/52 chore: add testrun for PHP 8.3, symfony 7.0 (@Chris53897 ) [IMPROVEMENT] https://github.com/barbieswimcrew/zip-code-validator/pull/53 chore: allow phpunit 11 (@Chris53897 )
Happy validating!
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
Happy validating!
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
Happy validating!
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
Happy validating!
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
NotNull
or NotBlank
constraint in addition to ZipCode
. (@rimas-kudelis)Happy validating!