|
1 |
| -14.0.0 (unreleased) |
| 1 | +14.0.0 (2022-03-05) |
2 | 2 | -------------------
|
3 |
| -- Regenerated Code: |
4 |
| - - Import API: |
5 |
| - - Removed `retry_count` |
6 |
| - - removed delete and deleted from importsummary |
7 |
| - - Project: |
8 |
| - - Add `delete_days_after_last_modification` field |
9 |
| - - Change `SearchIndexingConfigurationValuesSchema` field status to type Enum |
10 |
| - - Add `last_modified_at` and `last_modified_by` fields to SearchIndexingConfigurationValuesSchema |
11 |
| - - Add `ProjectChangeCartsConfigurationSchema` |
12 |
| - - Shipping Method: |
13 |
| - - Change `localized_description` field to `LocalizedStringField` type |
14 | 3 | - Update the request builder pattern to match the commercetools SDK's for other languages.
|
15 | 4 | This means that the old pattern:
|
16 | 5 | ```python
|
| 6 | + from commercetools.client import Client |
| 7 | + |
| 8 | + client = Client() |
17 | 9 | product = client.products.get_by_id("00633d11-c5bb-434e-b132-73f7e130b4e3")
|
18 | 10 | ```
|
| 11 | + |
19 | 12 | is replaced with the new pattern:
|
20 | 13 | ```python
|
| 14 | + from commercetools.platform.client import Client |
| 15 | + |
| 16 | + client = Client() |
21 | 17 | product = (
|
22 | 18 | client
|
23 | 19 | .with_project_key("<your-project-key>")
|
|
26 | 22 | .get())
|
27 | 23 | ```
|
28 | 24 | The old pattern is deprecated but will remain backwards compatible for now
|
| 25 | +- Regenerated code with latest commercetools api specs as of march 2022. This |
| 26 | + means that new features like the product selections api's are now available. |
29 | 27 | - Allow passing custom HTTP adapter to BaseClient (@lime-green)
|
30 | 28 | - Add support for custom address fields and update actions
|
31 | 29 | - Testing: Add support for `Order` imports
|
|
37 | 35 | - Testing: Add `setLineItemCustomField` action for cart and order
|
38 | 36 | - Testing: Fix helper function to set enum fields giving an error on fields that have no value
|
39 | 37 |
|
40 |
| - |
| 38 | + |
41 | 39 | ## Notes on code generation
|
42 | 40 | We moved our code generation to the code generation tool from Commercetools,
|
43 | 41 | see https://github.com/commercetools/rmf-codegen
|
|
0 commit comments