diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ea7ee04..a0cdcf6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - El Salvador (SLV) address summary to reflect the new address structure. +## [3.38.1] - 2024-12-11 + +### Added + +- New postal code for Doradal to Colombia (COL) country file. + +### Fixed +- Add optionsPairs for DEU to complain with checkout autocomplete. + ## [3.38.0] - 2024-10-30 ### Fixed @@ -1630,7 +1639,7 @@ 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/v3.38.0...HEAD +[Unreleased]: https://github.com/vtex/address-form/compare/v3.38.1...HEAD [3.34.6]: https://github.com/vtex/address-form/compare/v3.34.5...v3.34.6 [3.34.5]: https://github.com/vtex/address-form/compare/v3.34.4...v3.34.5 [3.35.5]: https://github.com/vtex/address-form/compare/v3.35.4...v3.35.5 @@ -1645,6 +1654,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. [3.36.1]: https://github.com/vtex/address-form/compare/v3.36.0...v3.36.1 [3.36.0]: https://github.com/vtex/address-form/compare/v3.35.6...v3.36.0 +[3.38.1]: https://github.com/vtex/address-form/compare/v3.38.0...v3.38.1 [3.38.0]: https://github.com/vtex/address-form/compare/v3.37.3...v3.38.0 [3.37.3]: https://github.com/vtex/address-form/compare/v3.37.2...v3.37.3 [3.37.2]: https://github.com/vtex/address-form/compare/v3.37.1...v3.37.2 diff --git a/manifest.json b/manifest.json index 1b2dea97..3deb2e7c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,13 +1,15 @@ { "name": "address-form", "vendor": "vtex", - "version": "3.38.0", + "version": "3.38.1", "title": "address-form React component", "description": "address-form React component", "defaultLocale": "en", "mustUpdateAt": "2019-01-08", "categories": [], - "registries": ["smartcheckout"], + "registries": [ + "smartcheckout" + ], "settingsSchema": {}, "dependencies": { "vtex.checkout": "0.x", diff --git a/react/country/COL.ts b/react/country/COL.ts index 8adc677c..9a83f8d9 100644 --- a/react/country/COL.ts +++ b/react/country/COL.ts @@ -59,6 +59,7 @@ const countryData = { Copacabana: '05212', Dabeiba: '05234', Donmatías: '05237', + Doradal: '53448', Ebéjico: '05240', 'El Bagre': '05250', 'El Carmen De Viboral': '05148', diff --git a/react/country/DEU.ts b/react/country/DEU.ts index 86b082ad..9ddf3cba 100644 --- a/react/country/DEU.ts +++ b/react/country/DEU.ts @@ -72,23 +72,23 @@ const rules: PostalCodeRules = { label: 'province', required: true, optionsCaption: '', - options: [ - 'Baden-Württemberg', - 'Bayern', - 'Berlin', - 'Brandenburg', - 'Bremen', - 'Hamburg', - 'Hessen', - 'Mecklenburg-Vorpommern', - 'Niedersachsen', - 'Nordrhein-Westfalen', - 'Rheinland-Pfalz', - 'Saarland', - 'Sachsen', - 'Sachsen-Anhalt', - 'Schleswig-Holstein', - 'Thüringen', + optionsPairs: [ + { label: 'Baden-Württemberg', value: 'BW' }, + { label: 'Bayern', value: 'BY' }, + { label: 'Berlin', value: 'BE' }, + { label: 'Brandenburg', value: 'BB' }, + { label: 'Bremen', value: 'HB' }, + { label: 'Hamburg', value: 'HH' }, + { label: 'Hessen', value: 'HE' }, + { label: 'Mecklenburg-Vorpommern', value: 'MV' }, + { label: 'Niedersachsen', value: 'NI' }, + { label: 'Nordrhein-Westfalen', value: 'NW' }, + { label: 'Rheinland-Pfalz', value: 'RP' }, + { label: 'Saarland', value: 'SL' }, + { label: 'Sachsen', value: 'SN' }, + { label: 'Sachsen-Anhalt', value: 'ST' }, + { label: 'Schleswig-Holstein', value: 'SH' }, + { label: 'Thüringen', value: 'TH' }, ], size: 'large', },