Releases: commercetools/commercetools-sdk-php-v2
Releases · commercetools/commercetools-sdk-php-v2
4.3.0
4.2.0
What's Changed
- Update generated SDKs by @github-actions in #61
- add test to check handling response for custom object by @barbara79 in #63
- check php 8.1 by @jenschude in #66
- Upgraded filesystem adapter version by @rohitrajpimcore in #67
- Update generated SDKs by @github-actions in #68
- Update generated SDKs by @github-actions in #69
Features
- Add support for product selection (beta)
- Add support for Order search endpoint
Fixes
- Fix returnItemDraft type of field custom to CustomFieldsDraft
- Fix SetLineItemSupplyChannelAction for me cart endpoint
- Fix TransactionDraft type of field custom to CustomFieldDraft
- In-Store cart query returns correct type instead Object
- query parameter customerId has been removed from Cart queries due to mapping issues use projectApiRoot.carts().withCustomerId() instead
- fix type for field custom in CartDiscountDraft from CustomField to CustomFieldDraft
- fix type for value of CartDiscount. Changed from CartDiscountDraft to CartDiscount
Breaking Changes
- removed the inventories endpoint from the Import API modules
New Contributors
- @rohitrajpimcore made their first contribution in #67
Full Changelog: 4.1.0...4.2.0
4.1.0
4.0.0
What's Changed
Fixes:
- fix for product projection search with post method 48013f1
- fix response status code check for login endpoints. Closes #57 302c773
Features:
- Supports checking existence of products using head request 3437ce9
Breaking changes:
- to reflect differences between the read & write model the DiscountedPrice class has been split in DiscountedPrice and DiscountPriceDraft. See 52598b1
Full Changelog: 3.5.0...4.0.0
3.5.0
3.4.0
3.3.0
Features
-
Interfaces like Sortable, Paging, Query, Expandable, Versioned added to Requests classes
-
Collections implement an
end
method to retrieve the last element -
Updated Models & Requests to the latest API changes
3.2.0
3.1.0
3.0.0
- The Read & Write models for the Address have been split
For backwards compability they inherit BaseAddress. All write locations have been changed to BaseAddress. - Collections now inherit their parent Model Collection class
- withBuilder methods in Builder classes have been deprecated