All notable changes to this project will be documented in this file.
- Dropped support for Rails 4.0 and 4.1 and for older minor Ruby 2 versions. This means those versions or combinations will not be tested, they may still work but will not receive support. This change could potentially break some apps in the future. Also, gem is stable enough to merit a minor version. Hence, 0.1.0 is here.
- Added support for Rails 5.1 and 5.2 ~ @Onumis
- Merge UK and GB regex, using official regex provided by gob.uk ~ @Onumis @dgilperez
- Fixes JP and IE formats, thanks to ~ @timokleemann
- Adds support for
excluded_country_codesin the validation setup. - Remove support for UAE, not reliable sources found, assume not used.
- Updates support for Luxembourg postal codes ~ @rivsc
- Support for old / new Israel postal codes ~ @EricLarch
- Support for old / new Lithuania postal codes ~ @EricLarch
- Support for Rails5 ~ @dgilperez
- Support for new Korea postal codes ~ @adlersantos
- Sweden whitespace made optional ~ @radubatori
- Fix Brazil zipcode ~ @pedrosfdcarneiro
- Support zip+6 for the USA ~ @dimroc
- Added Code of Conduct from Contributor Covenant ~ @dgilperez
- Fixed Regex for Greece thanks to @Masa331
- Added ValidatesZipcode.valid?(zipcode, country_alpha2) for usage outside models ~ @dgilperez