Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Releases: commercetools/commercetools-php-sdk

2.13.0

11 Jan 12:29

Choose a tag to compare

Store: support distribution and supply channel for update actions (6cfdcb7)

v2.12.1

30 Oct 18:32
v2.12.1
94e9fa6

Choose a tag to compare

2.12.1 (2020-10-30)

Bug Fixes

  • Client: fix adapter factory to correctly identify the GuzzleAdapter (221b690)

v2.12.0

12 Oct 13:43
v2.12.0
5380d1f

Choose a tag to compare

Features

  • Error: add response body to exception message for BadRequest (a0511ab)
  • Order: migrate the first tests and create the fixture (39b16f2)
  • Project: support country taxRate fallback (35001b8)
  • Project: support language used in stores error (d170ea6), closes #578
  • Guzzle support Guzzle 7

v2.11.1

15 Sep 06:37
v2.11.1
089dee2

Choose a tag to compare

Fix deprecation warning for CartByCustomerIdGetRequest

v2.11.0

05 May 07:54
v2.11.0
b302b41

Choose a tag to compare

Features

  • Error: add helper methods to retrieve errors from exceptions (fd09c89)
  • Error: improve message for unknown ApiException (24a91ad)
  • Message: support InventoryEntryQuantitySet message (043aebe)
  • Search: add helper method to retrieve facets from search response (2a24040)

v2.10.0

02 Apr 10:47
v2.10.0
c7321fb

Choose a tag to compare

Bug Fixes

  • Query: fix query predicate variables to be forward compatible (bb50caa)

Features

  • ApiClient: oauth handler maps authentication errors to ApiException (7a2e887)
  • Config: remove legacy hostnames (27f3769), closes #537
  • CustomerAddress: add addressKey to actions and add one test (04b453a)
  • CustomerStore: add set add remove action for store in customer and add tests (cedb0b0)
  • InventoryEntry: add message for InventoryEntryCreated (5c7319f)
  • OrderStore: add setStore action and message (b375bfe)
  • ProductFixture: update all methods relative to Cart with Published Product (7c3fb2a)
  • ShippingMethods: add localized description to shippingMethods (747179d)
  • Store: add Languages field to store (b74172f)

v2.9.0

02 Dec 09:46
v2.9.0
ac7e2f3

Choose a tag to compare

Bug Fixes

  • Cart: fix serialization of cart draft (024b8fd)
  • OAuth: fix oauth refresh token URL (0bf801d)

Features

  • ApiClient: add deleteAt to feldDefinition method (d2b6b35)
  • ApiClientDraft: add deleteDaysAfterCreation in fieldDefinitions (4ee7f07)
  • ClientFactory: add option to inject middleware to HttpClients (734fe63)
  • ClientFactory: create HttpClient with CTP client compatible request signature (3a55d24)
  • Customer: support stores for customer (5eee954)
  • Draft: add factory methods in draft classes for ApiClient and Asset and Cart (bc0f616)
  • ImportOrder: support store for order import (175953c), closes #499
  • InStoreRequest: add request to InStoreRequests to add new shipping method endpoint (ee7620f)
  • Me: support me/shopping-lists endpoint (fc52e82)
  • Message: add messages ProductAddedToCategory and ProductRemovedFromCategory (673b4cf)
  • Order: add refusedGift field (7532e38)
  • Product: add discounted field to PriceDraft (b3c44fe)
  • Query: add support for parametrized queries (b3bc4ad), closes #505

v2.8.0

06 Jun 09:28
v2.8.0
78880bb

Choose a tag to compare

Features

  • CartDiscount: support key attribute (641a8e0)
  • Client: add client factory for direct usage of guzzle http client (40a0bd0)
  • ClientLogging: add CreatedBy and LastModifieldBy fields (b64d199)
  • ClientLogging: support setting X-External-User-ID header (bc863c7)
  • Extension: support timeoutInMs (92fcc1b)
  • InStore: allow only valid in-store endpoints (b263181)
  • Me: add MeCartDeleteRequest (b42424a)
  • ProductDiscount: support key attribute (a06a00d)
  • Project: support external OAuth (0522fe0), closes #474
  • Response: add method to extract guzzle promise (bb75909)
  • Store: support in-store requests (526d0ba)
  • Store: support Store model (a166426)
  • Type: add new type update actions (0e5774c), closes #489

v2.7.0

20 Mar 13:31
v2.7.0
da0795f

Choose a tag to compare

Bug Fixes

  • GraphQL: fix GraphQL requests without variables (fa9d376)
  • LineItemImportDraft: add missing field distributionChannel (52d2ff0)

Features

  • Discounts: add setValidFromAndUntil action (c226e1f)
  • Error: add error codes for BadRequest (9012d5d)
  • ExternalTaxRateDraft: add field includedInPrice (2771f2d), closes #451
  • Message: add new messages for ProductPriceDiscounts (fc876f7), closes #445
  • Message: add OrderDeleted Message (22ab652)
  • Messages: set MessagesConfiguration at Project (5389c23), closes #443
  • Order: support setCustomerId (756811d)
  • PasswordResetToken: support ttlMinutes for token (ebe6d77)
  • ProductAddVariantAction: support field assets (ce591e8)
  • ProductType: support changeAttributeOrderByName action (dd52af8), closes #453
  • ShippingInfoImportDraft: add ShippingInfoImportDraft representation (bde4473), closes #449
  • ShippingMethod: support Reference expansion (bd745f7)
  • Subscription: add changeDestination update action (b0fbb04), closes #437
  • Subscription: add subscription status (a2ff2e1), closes #436
  • UserProvidedIdentifiers: support UserProvidedIdentifiers at Messages & Subscriptions (aeece56)
  • Zone: support Key on shipping Zones (d331cff), closes #448

v2.6.0

14 Jan 09:43
v2.6.0
6e2a060

Choose a tag to compare

Bug Fixes

  • RequestBuilder: fix OrderEditApplyRequest (252f319)
  • SetCustomShippingMethodAction: fix type of shippingRate property (ce1afa4)
  • Subscription: fix typo in SQS destination (cbf1dae)
  • TLS Check: update urls for TLS 1.2 check (f006006)

Features

  • OrderEdit: support order edits (d25e3ed)
  • ApiClients: add support for managing api clients (93b62de)
  • Order: add support for CustomLineItemReturnItem (82ebfdf)
  • Payment: support anonymousId (4dd0e3e)