Skip to content

11.9.0

Compare
Choose a tag to compare
@jenschude jenschude released this 26 Jul 08:34
· 95 commits to master since this release
0f164fc

What's Changed

  • Update changelog by @ct-sdks in #328
  • Update generated SDKs by @ct-sdks in #329
  • Update generated SDKs by @ct-sdks in #332
  • Update generated SDKs by @ct-sdks in #333
  • Update generated SDKs by @ct-sdks in #334
  • Update generated SDKs by @ct-sdks in #335
  • fix resolving of custom fields in GraphQL module by @jenschude in #336

Api changes

Added Enum(s)
  • added enum cart-discount to type CustomFieldReferenceValue
Removed QueryParameter(s)
  • ⚠️ removed query parameter sort from method get /{projectKey}/product-projections/suggest
  • ⚠️ removed query parameter offset from method get /{projectKey}/product-projections/suggest
  • ⚠️ removed query parameter withTotal from method get /{projectKey}/product-projections/suggest
Changed Property(s)
  • ⚠️ changed property customType of type OrderSearchAnyValue from type string to OrderSearchCustomType
  • ⚠️ changed property customType of type OrderSearchDateRangeValue from type string to OrderSearchCustomType
  • ⚠️ changed property customType of type OrderSearchFullTextValue from type string to OrderSearchCustomType
  • ⚠️ changed property customType of type OrderSearchLongRangeValue from type string to OrderSearchCustomType
  • ⚠️ changed property customType of type OrderSearchNumberRangeValue from type string to OrderSearchCustomType
  • ⚠️ changed property customType of type OrderSearchQueryExpressionValue from type string to OrderSearchCustomType
  • ⚠️ changed property customType of type OrderSearchStringValue from type string to OrderSearchCustomType
Added Property(s)
  • added property addressId to type BusinessUnitAddressCustomFieldAddedMessage
  • added property addressId to type BusinessUnitAddressCustomFieldChangedMessage
  • added property addressId to type BusinessUnitAddressCustomFieldRemovedMessage
  • added property addressId to type BusinessUnitAddressCustomTypeRemovedMessage
  • added property addressId to type BusinessUnitAddressCustomTypeSetMessage
  • added property addressId to type CustomerAddressCustomFieldAddedMessage
  • added property addressId to type CustomerAddressCustomFieldChangedMessage
  • added property addressId to type CustomerAddressCustomFieldRemovedMessage
  • added property addressId to type CustomerAddressCustomTypeRemovedMessage
  • added property addressId to type CustomerAddressCustomTypeSetMessage
  • added property addressId to type BusinessUnitAddressCustomFieldAddedMessagePayload
  • added property addressId to type BusinessUnitAddressCustomFieldChangedMessagePayload
  • added property addressId to type BusinessUnitAddressCustomFieldRemovedMessagePayload
  • added property addressId to type BusinessUnitAddressCustomTypeRemovedMessagePayload
  • added property addressId to type BusinessUnitAddressCustomTypeSetMessagePayload
  • added property addressId to type CustomerAddressCustomFieldAddedMessagePayload
  • added property addressId to type CustomerAddressCustomFieldChangedMessagePayload
  • added property addressId to type CustomerAddressCustomFieldRemovedMessagePayload
  • added property addressId to type CustomerAddressCustomTypeRemovedMessagePayload
  • added property addressId to type CustomerAddressCustomTypeSetMessagePayload
  • added property active to type ShippingMethod
  • added property active to type ShippingMethodDraft
Added Type(s)
  • added type CartChangeLineItemsOrderAction
  • added type MyCartChangeLineItemsOrderAction
  • added type OrderSearchCustomType
  • added type ShippingMethodChangeActiveAction

Breaking changes

Order Search

The customtype parameter in an OrderSearch request has been changed from a String to an Enum.

GraphQL module

We released a fix for the GraphQL module. Previously Json-Values in GraphQL were tried to be deserialized to a String. This caused Runtime exceptions for example when trying to deserialize CustomFields which where not Strings. The GraphQL module now deserializes Json into a System.Text.Json.Nodes.JsonValue. So they have to be deserialized to a specific type when trying to access it. An example can be found here:

https://github.com/commercetools/commercetools-dotnet-core-sdk-v2/blob/0f164fc8bdf173b7203ff2c3d1afb2913c9b95ac/commercetools.Sdk/IntegrationTests/commercetools.Api.IntegrationTests/Type/TypeIntegrationTests.cs#L148-L151

Full Changelog: 11.8.0...11.9.0