diff --git a/CHANGELOG.md b/CHANGELOG.md index 75091640..9ece2a72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [4.23.1] - 2024-05-06 + +### Fixed + +- Malta postal code validation. + ## [4.23.0] - 2024-04-26 ### Added @@ -900,5 +906,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - **`AddressSubmitter`** component and tests -[Unreleased]: https://github.com/vtex/address-form/compare/v4.23.0...HEAD +[Unreleased]: https://github.com/vtex/address-form/compare/v4.23.1...HEAD +[4.23.1]: https://github.com/vtex/address-form/compare/v4.23.0...v4.23.1 [4.23.0]: https://github.com/vtex/address-form/compare/v4.22.8...v4.23.0 \ No newline at end of file diff --git a/manifest.json b/manifest.json index 21341a4f..96891b88 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "address-form", "vendor": "vtex", - "version": "4.23.0", + "version": "4.23.1", "title": "address-form React component", "description": "address-form React component", "defaultLocale": "en", diff --git a/react/country/MLT.js b/react/country/MLT.js index 405af3a0..007590df 100644 --- a/react/country/MLT.js +++ b/react/country/MLT.js @@ -18,7 +18,7 @@ export default { fixedLabel: 'Post code', required: true, mask: 'AAA 999', - regex: '^[a-zA-Z]{2,3}\d{4}$', + regex: '^[a-zA-Z]{2,3}\s?\d{4}$', postalCodeAPI: false, size: 'small', autoComplete: 'nope',