diff --git a/changes.md b/changes.md index 63d6dc51b87..69422d5e3c7 100644 --- a/changes.md +++ b/changes.md @@ -202,6 +202,23 @@ - added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withBusinessUnitIdValueAssociatesWithAssociateIdValue()->get()` +**Import changes** + +
+Added Property(s) + +- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords` +- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString` +
+ + +
+Removed Property(s) + +- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `SearchKeywords` +- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `LocalizedString` +
+ **History changes**
diff --git a/lib/commercetools-import/src/Models/Products/SearchKeywords.php b/lib/commercetools-import/src/Models/Products/SearchKeywords.php index c3c73d94aca..8cbdd5f2c08 100644 --- a/lib/commercetools-import/src/Models/Products/SearchKeywords.php +++ b/lib/commercetools-import/src/Models/Products/SearchKeywords.php @@ -13,5 +13,5 @@ interface SearchKeywords extends JsonObject { - public const FIELD_PATTERN0 = '/^[a-z]{2}(-[A-Z]{2})?$/'; + public const FIELD_PATTERN0 = '/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|d{3}))?$/'; } diff --git a/references.txt b/references.txt index 1a42bd1fdd3..e077aa9cdff 100644 --- a/references.txt +++ b/references.txt @@ -413,3 +413,4 @@ ae16dc0e70853720e2c642e0cfea760fa55369ed 4e87d65fe6c27f95b9fce4c30b5af64aedabc2be ba64943be238cc04b24cfafc30b4e1d47976fd4e f308ced4b427eea3642d2d183f6d15f0c1287aa8 +ab2859c84d9f146e5d8556e905538b92af4aa044