Skip to content

v2.0.0

Compare
Choose a tag to compare
@barbieswimcrew barbieswimcrew released this 22 Sep 12:34
· 8 commits to master since this release
e7fb22a

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!