v2.0.0
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
orNotBlank
constraint in addition toZipCode
. (@rimas-kudelis)
Happy validating!