Skip to content

Releases: commercetools/commercetools-sdk-php-v2

8.0.0

05 Dec 14:18
e9a416d
Compare
Choose a tag to compare

What's Changed

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

Api changes

Added Property(s)
  • added property discountCodeId to type DiscountCodeNonApplicableError
  • added property extensionErrors to type ExtensionBadResponseError
  • added property extensionBody to type ExtensionBadResponseError
  • added property extensionStatusCode to type ExtensionBadResponseError
  • added property extensionId to type ExtensionBadResponseError
  • added property extensionKey to type ExtensionBadResponseError
  • added property extensionErrors to type ExtensionUpdateActionsFailedError
  • added property detailedErrorMessage to type InvalidJsonInputError
  • added property priceMode to type ProductProjection
Removed Property(s)
  • ⚠️ removed property dicountCodeId from type DiscountCodeNonApplicableError
  • ⚠️ removed property conflictingResource from type DuplicateFieldError
  • ⚠️ removed property error from type ErrorResponse
  • ⚠️ removed property error_description from type ErrorResponse
  • ⚠️ removed property errorByExtension from type ExtensionBadResponseError
  • ⚠️ removed property errorByExtension from type ExtensionUpdateActionsFailedError
Changed Property(s)
  • ⚠️ changed property amountPlanned of type MyPayment from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property amountPlanned of type Payment from type TypedMoney to CentPrecisionMoney
Added Type(s)
  • added type AuthErrorResponse
  • added type CountryNotConfiguredInStore
  • added type ExtensionError
  • added type ExtensionPredicateEvaluationFailedError
  • added type ProductAssignmentMissingError
  • added type ProductPresentWithDifferentVariantSelectionError
Removed Type(s)
  • ⚠️ removed type AccessDeniedError
  • ⚠️ removed type WeakPasswordError
Added QueryParameter(s)
  • added query parameter localeProjection to method get /{projectKey}/products
  • added query parameter localeProjection to method post /{projectKey}/products
  • added query parameter localeProjection to method get /{projectKey}/products/key={key}
  • added query parameter localeProjection to method post /{projectKey}/products/key={key}
  • added query parameter localeProjection to method delete /{projectKey}/products/key={key}
  • added query parameter localeProjection to method get /{projectKey}/products/{ID}
  • added query parameter localeProjection to method post /{projectKey}/products/{ID}
  • added query parameter localeProjection to method delete /{projectKey}/products/{ID}
  • added query parameter staged to method get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
  • added query parameter staged to method get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}

Full Changelog: 7.1.1...7.2.0

7.1.1

10 Nov 12:36
004d0e4
Compare
Choose a tag to compare

What's Changed

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

Fixes

  • remove cache/filesystem-adapter from dependencies

Full Changelog: 7.1.0...7.1.1

7.1.0

08 Nov 13:22
ea1720a
Compare
Choose a tag to compare

What's Changed

  • support PSR Log 2 & 3 by @jenschude in #96
  • Update generated SDKs by @github-actions in #94

Api changes

Added Property(s)
  • added property shippingKey to type CartSetLineItemTaxAmountAction
  • added property shippingKey to type CartSetLineItemTaxRateAction
  • added property shippingKey to type StagedOrderSetLineItemTaxAmountAction
  • added property shippingKey to type StagedOrderSetLineItemTaxRateAction
Added Type(s)
  • added type AttributeGroup
  • added type AttributeGroupDraft
  • added type AttributeGroupPagedQueryResponse
  • added type AttributeGroupReference
  • added type AttributeGroupResourceIdentifier
  • added type AttributeGroupUpdate
  • added type AttributeGroupUpdateAction
  • added type AttributeReference
  • added type AttributeGroupAddAttributeAction
  • added type AttributeGroupChangeNameAction
  • added type AttributeGroupRemoveAttributeAction
  • added type AttributeGroupSetAttributesAction
  • added type AttributeGroupSetDescriptionAction
  • added type AttributeGroupSetKeyAction
Changed Type(s)
  • marked type ShippingMethodSetDescriptionAction as deprecated
Added Method(s)
  • added method get /{projectKey}/attribute-groups
  • added method post /{projectKey}/attribute-groups
  • added method get /{projectKey}/attribute-groups/key={key}
  • added method post /{projectKey}/attribute-groups/key={key}
  • added method delete /{projectKey}/attribute-groups/key={key}
  • added method get /{projectKey}/attribute-groups/{ID}
  • added method post /{projectKey}/attribute-groups/{ID}
  • added method delete /{projectKey}/attribute-groups/{ID}
Added Resource(s)
  • added resource /{projectKey}/attribute-groups (file:///home/runner/work/commercetools-api-reference/commercetools-api-reference/commercetools-api-reference/api-specs/api/api.raml:216:2)
  • added resource /{projectKey}/attribute-groups/key={key}
  • added resource /{projectKey}/attribute-groups/{ID}

Full Changelog: 7.0.0...7.1.0

7.0.0

28 Oct 08:59
74e1814
Compare
Choose a tag to compare

What's Changed

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

API

Added Property(s)
  • added property businessUnit to type Cart
  • added property taxedShippingPrice to type Cart
  • added property shippingMode to type Cart
  • added property shipping to type Cart
  • added property businessUnit to type CartDraft
  • added property shippingMode to type CartDraft
  • added property customShipping to type CartDraft
  • added property shipping to type CartDraft
  • added property priceMode to type CustomLineItem
  • added property priceMode to type CustomLineItemDraft
  • added property shippingMethodKey to type ItemShippingTarget
  • added property taxedPricePortions to type LineItem
  • added property perMethodTaxRate to type LineItem
  • added property inventoryMode to type LineItem
  • added property inventoryMode to type LineItemDraft
  • added property priceMode to type CartAddCustomLineItemAction
  • added property key to type Price
  • added property key to type PriceDraft
  • added property businessUnit to type MyCartDraft
  • added property salutation to type MyCustomerDraft
  • added property shippingKey to type DeliveryAddedMessage
  • added property shippingKey to type DeliveryAddressSetMessage
  • added property shippingKey to type DeliveryItemsUpdatedMessage
  • added property shippingKey to type DeliveryRemovedMessage
  • added property taxedPricePortions to type OrderLineItemDiscountSetMessage
  • added property shippingKey to type ParcelAddedToDeliveryMessage
  • added property shippingKey to type ParcelItemsUpdatedMessage
  • added property shippingKey to type ParcelMeasurementsUpdatedMessage
  • added property shippingKey to type ParcelRemovedFromDeliveryMessage
  • added property shippingKey to type ParcelTrackingDataUpdatedMessage
  • added property quote to type QuoteCreatedMessage
  • added property quoteRequest to type QuoteRequestCreatedMessage
  • added property stagedQuote to type StagedQuoteCreatedMessage
  • added property staged to type StandalonePriceValueChangedMessage
  • added property shippingKey to type DeliveryAddedMessagePayload
  • added property shippingKey to type DeliveryAddressSetMessagePayload
  • added property shippingKey to type DeliveryItemsUpdatedMessagePayload
  • added property shippingKey to type DeliveryRemovedMessagePayload
  • added property taxedPricePortions to type OrderLineItemDiscountSetMessagePayload
  • added property shippingKey to type ParcelAddedToDeliveryMessagePayload
  • added property shippingKey to type ParcelItemsUpdatedMessagePayload
  • added property shippingKey to type ParcelMeasurementsUpdatedMessagePayload
  • added property shippingKey to type ParcelRemovedFromDeliveryMessagePayload
  • added property shippingKey to type ParcelTrackingDataUpdatedMessagePayload
  • added property quote to type QuoteCreatedMessagePayload
  • added property quoteRequest to type QuoteRequestCreatedMessagePayload
  • added property stagedQuote to type StagedQuoteCreatedMessagePayload
  • added property staged to type StandalonePriceValueChangedMessagePayload
  • added property businessUnit to type StagedOrder
  • added property taxedShippingPrice to type StagedOrder
  • added property shippingMode to type StagedOrder
  • added property shipping to type StagedOrder
  • added property priceMode to type StagedOrderAddCustomLineItemAction
  • added property priceMode to type CustomLineItemImportDraft
  • added property inventoryMode to type LineItemImportDraft
  • added property businessUnit to type Order
  • added property taxedShippingPrice to type Order
  • added property shippingMode to type Order
  • added property shipping to type Order
  • added property quoteStateToAccepted to type OrderFromQuoteDraft
  • added property businessUnit to type OrderImportDraft
  • added property shippingKey to type OrderAddDeliveryAction
  • added property /[0-9].[0-9]*[1-9]/ to type CategoryOrderHints
  • added property id to type ProductVariantChannelAvailability
  • added property version to type ProductVariantChannelAvailability
  • added property businessUnits to type Project
  • added property state to type QuoteRequest
  • added property businessUnit to type QuoteRequest
  • added property state to type QuoteRequestDraft
  • added property buyerComment to type Quote
  • added property state to type Quote
  • added property businessUnit to type Quote
  • added property stagedQuoteStateToSent to type QuoteDraft
  • added property state to type QuoteDraft
  • added property state to type StagedQuote
  • added property businessUnit to type StagedQuote
  • added property quoteRequestStateToAccepted to type StagedQuoteDraft
  • added property state to type StagedQuoteDraft
  • added property staged to type StandalonePrice
  • added property active to type StandalonePrice
  • added property active to type StandalonePriceDraft
  • added property staged to type StandalonePriceChangeValueAction
  • added property authenticationMode to type SnsDestination
  • added property authenticationMode to type SqsDestination
Removed Property(s)
  • ⚠️ removed property name from type ProductSelectionDeletedMessage (file:/home/runner/work/commercetools-api-reference/commercetools-api-reference/commercetools-api-reference-previous/api-specs/api/types/message/ProductSelectionDeletedMessage.raml:6:2)
  • ⚠️ removed property name from type ProductSelectionDeletedMessagePayload (file:/home/runner/work/commercetools-api-reference/commercetools-api-reference/commercetools-api-reference-previous/api-specs/api/types/message/payload/ProductSelectionDeletedMessagePayload.raml:6:2)
Changed Property(s)
  • changed property edit of type OrderEditAppliedMessage from type OrderEditReference to OrderEdit
  • changed property newTotalPrice of type OrderLineItemRemovedMessage from type TypedMoney to CentPrecisionMoney
  • changed property productSelection of type ProductSelectionCreatedMessage from type ProductSelectionType to IndividualProductSelectionType
  • changed property edit of type OrderEditAppliedMessagePayload from type OrderEditReference to OrderEdit
  • changed property newTotalPrice of type OrderLineItemRemovedMessagePayload from type TypedMoney to CentPrecisionMoney
  • changed property productSelection of type ProductSelectionCreatedMessagePayload from type ProductSelectionType to IndividualProductSelectionType
  • changed property sort of type OrderSearchRequest from type OrderSearchSorting to OrderSearchSorting[]
Added Type(s)
  • added type Associate
  • added type AssociateDraft
  • added type AssociateRole
  • added type BusinessUnit
  • added type BusinessUnitDraft
  • added type BusinessUnitKeyReference
  • added type BusinessUnitPagedQueryResponse
  • added type BusinessUnitReference
  • added type BusinessUnitResourceIdentifier
  • added type BusinessUnitStatus
  • added type BusinessUnitStoreMode
  • added type BusinessUnitType
  • added type BusinessUnitUpdate
  • added type BusinessUnitUpdateAction
  • added type Company
  • added type CompanyDraft
  • added type Division
  • added type DivisionDraft
  • added type BusinessUnitAddAddressAction
  • added type BusinessUnitAddAssociateAction
  • added type BusinessUnitAddBillingAddressIdAction
  • added type BusinessUnitAddShippingAddressIdAction
  • added type BusinessUnitAddStoreAction
  • added type BusinessUnitChangeAddressAction
  • added type BusinessUnitChangeAssociateAction
  • added type BusinessUnitChangeNameAction
  • added type BusinessUnitChangeParentUnitAction
  • added type BusinessUnitChangeStatusAction
  • added type BusinessUnitRemoveAddressAction
  • added type BusinessUnitRemoveAssociateAction
  • added type BusinessUnitRemoveBillingAddressIdAction
  • added type BusinessUnitRemoveShippingAddressIdAction
  • added type BusinessUnitRemoveStoreAction
  • added type BusinessUnitSetAddressCustomFieldAction
  • added type BusinessUnitSetAddressCustomTypeAction
  • added type BusinessUnitSetAssociatesAction
  • added type BusinessUnitSetContactEmailAction
  • added type BusinessUnitSetCustomFieldAction
  • added type BusinessUnitSetCustomTypeAction
  • added type BusinessUnitSetDefaultBillingAddressAction
  • added type BusinessUnitSetDefaultShippingAddressAction
  • added type BusinessUnitSetStoreModeAction
  • added type BusinessUnitSetStoresAction
  • added type CustomLineItemPriceMode
  • added type CustomShippingDraft
  • added type MethodTaxRate
  • added type MethodTaxedPrice
  • added type Shipping
  • added type ShippingDraft
  • added type ShippingMode
  • added type CartAddCustomShippingMethodAction
  • added type CartAddShippingMethodAction
  • added type CartChangeCustomLineItemPriceModeAction
  • added type CartRemoveShippingMethodAction
  • added type CartSetShippingCustomFieldAction
  • added type CartSetShippingCustomTypeAction
  • added type MyCustomerEmailVerify
  • added type MyBusinessUnitAssociateDraft
  • added type MyBusinessUnitDraft
  • added type MyBusinessUnitUpdate
  • added type MyBusinessUnitUpdateAction
  • added type MyCompanyDraft
  • added type MyDivisionDraft
  • added type MyQuoteState
  • added type MyQuoteUpdate
  • added type MyQuoteUpdateAction
  • added type MyBusinessUnitAddAddressAction
  • added type MyBusinessUnitAddBillingAddressIdAction
  • added type MyBusinessUnitAddShippingAddressIdAction
  • added type `MyBusinessUnitChangeAddre...
Read more

6.0.2

31 Aug 07:59
b13230f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.0.1...6.0.2

6.0.1

04 Jul 11:32
2bd45e9
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #86
  • add missing features mentioned in 6.0.0

Full Changelog: 6.0.0...6.0.1

6.0.0

04 Jul 09:16
0f563d3
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #78
  • fix default cache by @jenschude in #80
  • Update generated SDKs by @github-actions in #81
  • Update generated SDKs by @github-actions in #82
  • Update generated SDKs by @github-actions in #84

Features

  • support in store product selections
  • support quotes
  • support DirectDiscounts for carts
  • support condition field for extension triggers
  • support standalone pricing

Fixes

  • fixed type of property score in CartScoreTier to int (was float)
  • fix type request/response type for my customer email confirm endpoints

Breaking changes

  • removed deprecated import sink endpoints and models from Import API SDK
  • removed non existing endpoint in store product projections query

Full Changelog: 5.0.0...6.0.0

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