From 38da8b7459d629a8b89045e2cb84865ddac09351 Mon Sep 17 00:00:00 2001 From: beatrizmaselli Date: Fri, 22 Nov 2024 14:06:06 +0100 Subject: [PATCH 1/3] update DEU rules --- CHANGELOG.md | 3 +++ react/country/DEU.ts | 34 +++++++++++++++++----------------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5c569a6..314f4496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed +- Add optionsPairs for DEU to complain with checkout autocomplete. + ## [3.38.0] - 2024-10-30 ### Fixed 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', }, From eaa61831297666ff1f5bb0f67f2e55816479dc9e Mon Sep 17 00:00:00 2001 From: sheilagomes Date: Mon, 18 Nov 2024 13:45:43 -0300 Subject: [PATCH 2/3] Add Colombia city --- CHANGELOG.md | 4 ++++ react/country/COL.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 314f4496..ba45f8d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- New postal code for Doradal to Colombia (COL) country file. + ### Fixed - Add optionsPairs for DEU to complain with checkout autocomplete. 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', From 8b701ed26e7b0731001ea7cfef73e7505df57686 Mon Sep 17 00:00:00 2001 From: Jefferson Benedito Date: Wed, 11 Dec 2024 18:25:39 -0300 Subject: [PATCH 3/3] Release v3.38.1 --- CHANGELOG.md | 5 ++++- manifest.json | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba45f8d5..6cb629f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [3.38.1] - 2024-12-11 + ### Added - New postal code for Doradal to Colombia (COL) country file. @@ -1633,7 +1635,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 @@ -1648,6 +1650,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",