Skip to content

Commit 764d87d

Browse files
Merge pull request #374 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 6832c39 + 4d54347 commit 764d87d

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

changes.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,23 @@
202202
- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withBusinessUnitIdValueAssociatesWithAssociateIdValue()->get()`
203203
</details>
204204

205+
**Import changes**
206+
207+
<details>
208+
<summary>Added Property(s)</summary>
209+
210+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords`
211+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString`
212+
</details>
213+
214+
215+
<details>
216+
<summary>Removed Property(s)</summary>
217+
218+
- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `SearchKeywords`
219+
- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `LocalizedString`
220+
</details>
221+
205222
**History changes**
206223

207224
<details>

lib/commercetools-import/src/Models/Products/SearchKeywords.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313

1414
interface SearchKeywords extends JsonObject
1515
{
16-
public const FIELD_PATTERN0 = '/^[a-z]{2}(-[A-Z]{2})?$/';
16+
public const FIELD_PATTERN0 = '/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|d{3}))?$/';
1717
}

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,3 +413,4 @@ ae16dc0e70853720e2c642e0cfea760fa55369ed
413413
4e87d65fe6c27f95b9fce4c30b5af64aedabc2be
414414
ba64943be238cc04b24cfafc30b4e1d47976fd4e
415415
f308ced4b427eea3642d2d183f6d15f0c1287aa8
416+
ab2859c84d9f146e5d8556e905538b92af4aa044

0 commit comments

Comments
 (0)