Skip to content

Releases: commercetools/commercetools-sdk-php-v2

5.0.1

02 Jun 20:24
5fec04c
Compare
Choose a tag to compare
  • fix instantiating the default cache

Full Changelog: 5.0.0...5.0.1

5.0.0

20 May 09:53
905916a
Compare
Choose a tag to compare

What's Changed

  • change filesystem adapter by @jenschude in #75
  • Update generated SDKs by @github-actions in #71
  • Update generated SDKs by @github-actions in #76
  • Update generated SDKs by @github-actions in #77

Dependency changes

The cache dependency has been replace by symfony/cache to support versions PHP 8.1+

Breaking changes

The following classes have been renamed for aligning the documentation and SDK type naming:

Namespace Commercetools\Api\Models\Extension

ExtensionAWSLambdaDestination
ExtensionAWSLambdaDestinationBuilder
ExtensionAuthorizationHeaderAuthentication
ExtensionAuthorizationHeaderAuthenticationBuilder
ExtensionAzureFunctionsAuthentication
ExtensionAzureFunctionsAuthenticationBuilder
ExtensionHttpDestination
ExtensionHttpDestinationAuthentication
ExtensionHttpDestinationBuilder

Namespace Commercetools\Api\Models\Message

MessageConfiguration
MessageConfigurationBuilder
MessageConfigurationDraft
MessageConfigurationDraftBuilder

Namespace Commercetools\Api\Models\Product

FacetResultRange.java
FacetResultRangeBuilder.java
FacetResultTerm.java
FacetResultTermBuilder.java

Namespace Commercetools\Api\Models\Subscription

DeliveryCloudEventsFormat
DeliveryCloudEventsFormatBuilder
DeliveryPlatformFormat
DeliveryPlatformFormatBuilder
MessageDelivery
MessageDeliveryBuilder
ResourceCreatedDelivery
ResourceCreatedDeliveryBuilder
ResourceDeletedDelivery
ResourceDeletedDeliveryBuilder
ResourceUpdatedDelivery
ResourceUpdatedDeliveryBuilder
SubscriptionDelivery

Full Changelog: 4.4.0...5.0.0

4.4.0

10 Feb 12:19
a2c39d1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.3.0...4.4.0

4.3.0

07 Feb 08:33
705849b
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #70

Fixes:

  • Query Product Selection by product response models

Full Changelog: 4.2.0...4.3.0

4.2.0

25 Jan 20:54
b05baed
Compare
Choose a tag to compare

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

Full Changelog: 4.1.0...4.2.0

4.1.0

22 Nov 08:56
de8c25f
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #58

Fix

  • fix type for value of CartDiscount. Changed from CartDiscountDraft to CartDiscount

Full Changelog: 4.0.0...4.1.0

4.0.0

28 Oct 11:39
c77d1f3
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #54
  • Update generated SDKs by @github-actions in #55

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

04 Oct 09:38
58bd40c
Compare
Choose a tag to compare
Merge pull request #53 from commercetools/gen-sdk-updates

Update generated SDKs

3.4.0

02 Sep 12:05
3.4.0
1d18f52
Compare
Choose a tag to compare

3.3.0

30 Aug 07:30
3.3.0
1c16115
Compare
Choose a tag to compare

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