Skip to content

Releases: commercetools/commercetools-sdk-java-v2

16.1.0

04 Sep 08:00
Compare
Choose a tag to compare

What's Changed

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

Api changes

Required Property(s)
  • changed property textLineItemId of type MyShoppingListChangeTextLineItemNameAction to be optional
  • changed property textLineItemId of type MyShoppingListChangeTextLineItemQuantityAction to be optional
  • changed property lineItemId of type MyShoppingListRemoveLineItemAction to be optional
  • changed property textLineItemId of type MyShoppingListRemoveTextLineItemAction to be optional
  • changed property lineItemId of type MyShoppingListSetLineItemCustomFieldAction to be optional
  • changed property textLineItemId of type MyShoppingListSetTextLineItemCustomFieldAction to be optional
  • changed property textLineItemId of type MyShoppingListSetTextLineItemCustomTypeAction to be optional
  • changed property textLineItemId of type MyShoppingListSetTextLineItemDescriptionAction to be optional
  • changed property lineItemId of type ShoppingListChangeLineItemQuantityAction to be optional
  • changed property textLineItemId of type ShoppingListChangeTextLineItemNameAction to be optional
  • changed property textLineItemId of type ShoppingListChangeTextLineItemQuantityAction to be optional
  • changed property lineItemId of type ShoppingListRemoveLineItemAction to be optional
  • changed property textLineItemId of type ShoppingListRemoveTextLineItemAction to be optional
  • changed property lineItemId of type ShoppingListSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type ShoppingListSetLineItemCustomTypeAction to be optional
  • changed property textLineItemId of type ShoppingListSetTextLineItemCustomFieldAction to be optional
  • changed property textLineItemId of type ShoppingListSetTextLineItemCustomTypeAction to be optional
  • changed property textLineItemId of type ShoppingListSetTextLineItemDescriptionAction to be optional
Added Property(s)
  • added property perMethodExternalTaxRate to type LineItemDraft
  • added property key to type MyShoppingListAddLineItemAction
  • added property key to type MyShoppingListAddTextLineItemAction
  • added property textLineItemKey to type MyShoppingListChangeTextLineItemNameAction
  • added property textLineItemKey to type MyShoppingListChangeTextLineItemQuantityAction
  • added property lineItemKey to type MyShoppingListRemoveLineItemAction
  • added property textLineItemKey to type MyShoppingListRemoveTextLineItemAction
  • added property lineItemKey to type MyShoppingListSetLineItemCustomFieldAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemCustomFieldAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemCustomTypeAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemDescriptionAction
  • added property cart to type QuoteRequest
  • added property key to type ShoppingListLineItem
  • added property key to type ShoppingListLineItemDraft
  • added property key to type TextLineItem
  • added property key to type TextLineItemDraft
  • added property key to type ShoppingListAddLineItemAction
  • added property key to type ShoppingListAddTextLineItemAction
  • added property lineItemKey to type ShoppingListChangeLineItemQuantityAction
  • added property textLineItemKey to type ShoppingListChangeTextLineItemNameAction
  • added property textLineItemKey to type ShoppingListChangeTextLineItemQuantityAction
  • added property lineItemKey to type ShoppingListRemoveLineItemAction
  • added property textLineItemKey to type ShoppingListRemoveTextLineItemAction
  • added property lineItemKey to type ShoppingListSetLineItemCustomFieldAction
  • added property lineItemKey to type ShoppingListSetLineItemCustomTypeAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemCustomFieldAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemCustomTypeAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemDescriptionAction
  • added property staged to type StandalonePriceDraft
Added Type(s)
  • added type MethodExternalTaxRateDraft
  • added type CustomerAddressCustomFieldAddedMessage
  • added type CustomerAddressCustomFieldChangedMessage
  • added type CustomerAddressCustomFieldRemovedMessage
  • added type CustomerAddressCustomTypeRemovedMessage
  • added type CustomerAddressCustomTypeSetMessage
  • added type CustomerCustomFieldAddedMessage
  • added type CustomerCustomFieldChangedMessage
  • added type CustomerCustomFieldRemovedMessage
  • added type CustomerCustomTypeRemovedMessage
  • added type CustomerCustomTypeSetMessage
  • added type QuoteRenegotiationRequestedMessage
  • added type StandalonePriceStagedChangesRemovedMessage
  • added type CustomerAddressCustomFieldAddedMessagePayload
  • added type CustomerAddressCustomFieldChangedMessagePayload
  • added type CustomerAddressCustomFieldRemovedMessagePayload
  • added type CustomerAddressCustomTypeRemovedMessagePayload
  • added type CustomerAddressCustomTypeSetMessagePayload
  • added type CustomerCustomFieldAddedMessagePayload
  • added type CustomerCustomFieldChangedMessagePayload
  • added type CustomerCustomFieldRemovedMessagePayload
  • added type CustomerCustomTypeRemovedMessagePayload
  • added type CustomerCustomTypeSetMessagePayload
  • added type CustomerMessagePayload
  • added type QuoteRenegotiationRequestedMessagePayload
  • added type StandalonePriceStagedChangesRemovedMessagePayload
  • added type StagedPriceDraft
  • added type StandalonePriceRemoveStagedChangesAction
Removed Method(s)
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().get()
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().post()
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().delete()
Removed Resource(s)
  • ⚠️ removed resource /{projectKey}/me/payments/key={key}
Removed Enum(s)
  • ⚠️ removed enum Failed from type QuoteState

Import changes

Added Property(s)
  • added property canceled to type OperationStates
Added Enum(s)
  • added enum canceled to type ProcessingState

History changes

Added QueryParameter(s)
  • added query parameter associateId to method get /{projectKey}
  • added query parameter associateId to method get /{projectKey}/{resourceType}
  • added query parameter associateId to method get /{projectKey}/{resourceType}/{ID}
Added Property(s)
  • added property associate to type ModifiedBy

Full Changelog: 16.0.0...16.1.0

16.0.0

04 Sep 07:30
Compare
Choose a tag to compare

What's Changed

Api changes

Added Type(s)
  • added type MethodExternalTaxRateDraft
  • added type QuoteRenegotiationRequestedMessage
  • added type QuoteRenegotiationRequestedMessagePayload
Added Property(s)
  • added property perMethodExternalTaxRate to type LineItemDraft
  • added property key to type MyShoppingListAddLineItemAction
  • added property key to type MyShoppingListAddTextLineItemAction
  • added property textLineItemKey to type MyShoppingListChangeTextLineItemNameAction
  • added property textLineItemKey to type MyShoppingListChangeTextLineItemQuantityAction
  • added property lineItemKey to type MyShoppingListRemoveLineItemAction
  • added property textLineItemKey to type MyShoppingListRemoveTextLineItemAction
  • added property lineItemKey to type MyShoppingListSetLineItemCustomFieldAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemCustomFieldAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemCustomTypeAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemDescriptionAction
  • added property cart to type QuoteRequest
  • added property key to type ShoppingListLineItem
  • added property key to type ShoppingListLineItemDraft
  • added property key to type TextLineItem
  • added property key to type TextLineItemDraft
  • added property key to type ShoppingListAddLineItemAction
  • added property key to type ShoppingListAddTextLineItemAction
  • added property lineItemKey to type ShoppingListChangeLineItemQuantityAction
  • added property textLineItemKey to type ShoppingListChangeTextLineItemNameAction
  • added property textLineItemKey to type ShoppingListChangeTextLineItemQuantityAction
  • added property lineItemKey to type ShoppingListRemoveLineItemAction
  • added property textLineItemKey to type ShoppingListRemoveTextLineItemAction
  • added property lineItemKey to type ShoppingListSetLineItemCustomFieldAction
  • added property lineItemKey to type ShoppingListSetLineItemCustomTypeAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemCustomFieldAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemCustomTypeAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemDescriptionAction
Required Property(s)
  • changed property textLineItemId of type MyShoppingListChangeTextLineItemNameAction to be optional
  • changed property textLineItemId of type MyShoppingListChangeTextLineItemQuantityAction to be optional
  • changed property lineItemId of type MyShoppingListRemoveLineItemAction to be optional
  • changed property textLineItemId of type MyShoppingListRemoveTextLineItemAction to be optional
  • changed property lineItemId of type MyShoppingListSetLineItemCustomFieldAction to be optional
  • changed property textLineItemId of type MyShoppingListSetTextLineItemCustomFieldAction to be optional
  • changed property textLineItemId of type MyShoppingListSetTextLineItemCustomTypeAction to be optional
  • changed property textLineItemId of type MyShoppingListSetTextLineItemDescriptionAction to be optional
  • changed property lineItemId of type ShoppingListChangeLineItemQuantityAction to be optional
  • changed property textLineItemId of type ShoppingListChangeTextLineItemNameAction to be optional
  • changed property textLineItemId of type ShoppingListChangeTextLineItemQuantityAction to be optional
  • changed property lineItemId of type ShoppingListRemoveLineItemAction to be optional
  • changed property textLineItemId of type ShoppingListRemoveTextLineItemAction to be optional
  • changed property lineItemId of type ShoppingListSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type ShoppingListSetLineItemCustomTypeAction to be optional
  • changed property textLineItemId of type ShoppingListSetTextLineItemCustomFieldAction to be optional
  • changed property textLineItemId of type ShoppingListSetTextLineItemCustomTypeAction to be optional
  • changed property textLineItemId of type ShoppingListSetTextLineItemDescriptionAction to be optional
Removed Enum(s)
  • ⚠️ removed enum Failed from type QuoteState

Import changes

Added Property(s)
  • added property canceled to type OperationStates
Added Enum(s)
  • added enum canceled to type ProcessingState

History changes

Added QueryParameter(s)
  • added query parameter associateId to method get /{projectKey}
  • added query parameter associateId to method get /{projectKey}/{resourceType}
  • added query parameter associateId to method get /{projectKey}/{resourceType}/{ID}
Added Property(s)
  • added property associate to type ModifiedBy

Full Changelog: 15.0.1...16.0.0

15.0.1

11 Aug 08:40
6bc9ed4
Compare
Choose a tag to compare

Fixes

  • fix deserialization error for datetime attributes and custom fields with invalid offsets

Full Changelog: 15.0.0...15.0.1

15.0.0

10 Aug 11:03
ca4352e
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #467
  • Update all dependencies by @renovate in #437
  • Lock file maintenance by @renovate in #375
  • Update generated SDKs by @github-actions in #468

Breaking changes

  • deprecated properties & types removed
  • CartDiscountValueFixed now supports HighPrecisionMoney and changed from CentPrecisionMoney to TypedMoney
  • Business Unit & Associate beta changes
  • Order Edit clarifications and corrections
  • deprecated com.commercetools.api.models.PagedQueryResourceRequest removed

Changelog for generated parts

Api changes

Changed Property(s)
  • ⚠️ changed property money of type CartDiscountValueFixed from type CentPrecisionMoney[] to TypedMoney[]
Added Property(s)
  • added property taxedPricePortions to type CustomLineItem
  • added property customLineItemKey to type CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
  • added property customLineItemKey to type CartChangeCustomLineItemMoneyAction
  • added property customLineItemKey to type CartChangeCustomLineItemPriceModeAction
  • added property customLineItemKey to type CartChangeCustomLineItemQuantityAction
  • added property customLineItemKey to type CartRemoveCustomLineItemAction
  • added property customLineItemKey to type CartSetCustomLineItemCustomFieldAction
  • added property customLineItemKey to type CartSetCustomLineItemCustomTypeAction
  • added property customLineItemKey to type CartSetCustomLineItemShippingDetailsAction
  • added property customLineItemKey to type CartSetCustomLineItemTaxAmountAction
  • added property shippingKey to type CartSetCustomLineItemTaxAmountAction
  • added property customLineItemKey to type CartSetCustomLineItemTaxRateAction
  • added property shippingKey to type CartSetCustomLineItemTaxRateAction
  • added property associate to type ClientLogging
  • added property associate to type CreatedBy
  • added property associate to type LastModifiedBy
  • added property customLineItemKey to type CustomLineItemStateTransitionMessage
  • added property lineItemKey to type LineItemStateTransitionMessage
  • added property customLineItemKey to type OrderCustomLineItemDiscountSetMessage
  • added property customLineItemKey to type OrderCustomLineItemQuantityChangedMessage
  • added property customLineItemKey to type OrderCustomLineItemRemovedMessage
  • added property lineItemKey to type OrderLineItemDiscountSetMessage
  • added property lineItemKey to type OrderLineItemDistributionChannelSetMessage
  • added property lineItemKey to type OrderLineItemRemovedMessage
  • added property customLineItemKey to type CustomLineItemStateTransitionMessagePayload
  • added property lineItemKey to type LineItemStateTransitionMessagePayload
  • added property customLineItemKey to type OrderCustomLineItemDiscountSetMessagePayload
  • added property customLineItemKey to type OrderCustomLineItemQuantityChangedMessagePayload
  • added property customLineItemKey to type OrderCustomLineItemRemovedMessagePayload
  • added property lineItemKey to type OrderLineItemDiscountSetMessagePayload
  • added property lineItemKey to type OrderLineItemDistributionChannelSetMessagePayload
  • added property lineItemKey to type OrderLineItemRemovedMessagePayload
  • added property directDiscounts to type StagedOrder
  • added property shippingDetails to type StagedOrderAddCustomLineItemAction
  • added property inventoryMode to type StagedOrderAddLineItemAction
  • added property customLineItemKey to type StagedOrderChangeCustomLineItemMoneyAction
  • added property customLineItemKey to type StagedOrderChangeCustomLineItemQuantityAction
  • added property customLineItemKey to type StagedOrderImportCustomLineItemStateAction
  • added property lineItemKey to type StagedOrderImportLineItemStateAction
  • added property customLineItemKey to type StagedOrderRemoveCustomLineItemAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemCustomFieldAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemCustomTypeAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemShippingDetailsAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemTaxAmountAction
  • added property shippingKey to type StagedOrderSetCustomLineItemTaxAmountAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemTaxRateAction
  • added property shippingKey to type StagedOrderSetCustomLineItemTaxRateAction
  • added property returnItemKey to type StagedOrderSetReturnItemCustomFieldAction
  • added property returnItemKey to type StagedOrderSetReturnItemCustomTypeAction
  • added property returnItemKey to type StagedOrderSetReturnPaymentStateAction
  • added property returnItemKey to type StagedOrderSetReturnShipmentStateAction
  • added property customLineItemKey to type StagedOrderTransitionCustomLineItemStateAction
  • added property lineItemKey to type StagedOrderTransitionLineItemStateAction
  • added property key to type CustomLineItemImportDraft
  • added property key to type CustomLineItemReturnItem
  • added property key to type LineItemImportDraft
  • added property key to type LineItemReturnItem
  • added property directDiscounts to type Order
  • added property purchaseOrderNumber to type OrderImportDraft
  • added property taxCalculationMode to type OrderImportDraft
  • added property key to type ReturnItem
  • added property key to type ReturnItemDraft
  • added property customLineItemKey to type OrderImportCustomLineItemStateAction
  • added property lineItemKey to type OrderImportLineItemStateAction
  • added property customLineItemKey to type OrderSetCustomLineItemCustomFieldAction
  • added property customLineItemKey to type OrderSetCustomLineItemCustomTypeAction
  • added property customLineItemKey to type OrderSetCustomLineItemShippingDetailsAction
  • added property returnItemKey to type OrderSetReturnItemCustomFieldAction
  • added property returnItemKey to type OrderSetReturnItemCustomTypeAction
  • added property returnItemKey to type OrderSetReturnPaymentStateAction
  • added property returnItemKey to type OrderSetReturnShipmentStateAction
  • added property customLineItemKey to type OrderTransitionCustomLineItemStateAction
  • added property lineItemKey to type OrderTransitionLineItemStateAction
Required Property(s)
  • ⚠️ changed property associateRoleAssignments of type AssociateDraft to be required
  • ⚠️ changed property paymentState of type StagedOrderChangePaymentStateAction to be required
  • ⚠️ changed property shipmentState of type StagedOrderChangeShipmentStateAction to be required
  • ⚠️ changed property paymentState of type OrderChangePaymentStateAction to be required
  • ⚠️ changed property shipmentState of type OrderChangeShipmentStateAction to be required
  • changed property roles of type Associate to be optional
  • changed property customLineItemId of type CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction to be optional
  • changed property customLineItemId of type CartChangeCustomLineItemMoneyAction to be optional
  • changed property customLineItemId of type CartChangeCustomLineItemPriceModeAction to be optional
  • changed property customLineItemId of type CartChangeCustomLineItemQuantityAction to be optional
  • changed property customLineItemId of type CartRemoveCustomLineItemAction to be optional
  • changed property customLineItemId of type CartSetCustomLineItemCustomFieldAction to be optional
  • changed property customLineItemId of type CartSetCustomLineItemCustomTypeAction to be optional
  • changed property customLineItemId of type CartSetCustomLineItemShippingDetailsAction to be optional
  • changed property customLineItemId of type CartSetCustomLineItemTaxAmountAction to be optional
  • changed property customLineItemId of type CartSetCustomLineItemTaxRateAction to be optional
  • changed property centAmount of type CentPrecisionMoneyDraft to be optional
  • changed property centAmount of type TypedMoneyDraft to be optional
  • changed property comment of type MyQuoteRequestDraft to be optional
  • changed property customLineItemId of type StagedOrderChangeCustomLineItemMoneyAction to be optional
  • changed property customLineItemId of type StagedOrderChangeCustomLineItemQuantityAction to be optional
  • changed property customLineItemId of type StagedOrderImportCustomLineItemStateAction to be optional
  • changed property lineItemId of type StagedOrderImportLineItemStateAction to be optional
  • changed property customLineItemId of type StagedOrderRemoveCustomLineItemAction to be optional
  • changed property customLineItemId of type StagedOrderSetCustomLineItemCustomFieldAction to be optional
  • changed property customLineItemId of type StagedOrderSetCustomLineItemCustomTypeAction to be optional
  • changed property customLineItemId of type StagedOrderSetCustomLineItemShippingDetailsAction to be optional
  • changed property customLineItemId of type StagedOrderSetCustomLineItemTaxAmountAction to be optional
  • changed property customLineItemId of type StagedOrderSetCustomLineItemTaxRateAction to be optional
  • changed property returnItemId of type StagedOrderSetReturnItemCustomFieldAction ...
Read more

14.6.1

07 Aug 07:52
a6e9a5f
Compare
Choose a tag to compare

Minor Changes

Full Changelog: 14.6.0...14.6.1

14.6.0

13 Jul 20:05
6667aa3
Compare
Choose a tag to compare

What's Changed

  • add Java 11 HTTP client module by @jenschude in #463
  • Update generated SDKs by @github-actions in #461
  • add support for decorated ApiHttpClient by @jenschude in #464

Api changes

Added Resource(s)
  • added resource /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added resource /{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}
  • added resource /{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}
Added Property(s)
  • added property stores to type CartDiscount
  • added property stores to type CartDiscountDraft
  • added property key to type CustomLineItem
  • added property key to type CustomLineItemDraft
  • added property key to type CartAddCustomLineItemAction
  • added property key to type StagedOrderAddCustomLineItemAction
  • added property shippingKey to type StagedOrderAddDeliveryAction
Added Type(s)
  • added type CartDiscountAddStoreAction
  • added type CartDiscountRemoveStoreAction
  • added type CartDiscountSetStoresAction
  • added type MaxCartDiscountsReachedError
  • added type MaxStoreReferencesReachedError
  • added type StoreCartDiscountsLimitReachedError
  • added type GraphQLMaxCartDiscountsReachedError
  • added type GraphQLMaxStoreReferencesReachedError
  • added type GraphQLStoreCartDiscountsLimitReachedError
Added Method(s)
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().get()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().post()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().get()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().post()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().delete()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().get()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().post()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().delete()

Full Changelog: 14.5.0...14.6.0

14.5.0

03 Jul 09:50
2c34d22
Compare
Choose a tag to compare

What's Changed

  • add toDraft helper methods for CartDiscountValue and subtypes by @jenschude in #457
  • Update generated SDKs by @github-actions in #453
  • avoid rebuild for example test by @jenschude in #458
  • Update generated SDKs by @github-actions in #459
  • Update generated SDKs by @github-actions in #460

Api changes

Added Property(s)
  • added property perMethodTaxRate to type CustomLineItem
  • added property lineItemKey to type CartApplyDeltaToLineItemShippingDetailsTargetsAction
  • added property lineItemKey to type CartChangeLineItemQuantityAction
  • added property lineItemKey to type CartRemoveLineItemAction
  • added property lineItemKey to type CartSetLineItemCustomFieldAction
  • added property lineItemKey to type CartSetLineItemCustomTypeAction
  • added property lineItemKey to type CartSetLineItemDistributionChannelAction
  • added property lineItemKey to type CartSetLineItemInventoryModeAction
  • added property lineItemKey to type CartSetLineItemPriceAction
  • added property lineItemKey to type CartSetLineItemShippingDetailsAction
  • added property lineItemKey to type CartSetLineItemSupplyChannelAction
  • added property lineItemKey to type CartSetLineItemTaxAmountAction
  • added property lineItemKey to type CartSetLineItemTaxRateAction
  • added property lineItemKey to type CartSetLineItemTotalPriceAction
  • added property lineItemKey to type MyCartApplyDeltaToLineItemShippingDetailsTargetsAction
  • added property lineItemKey to type MyCartChangeLineItemQuantityAction
  • added property lineItemKey to type MyCartRemoveLineItemAction
  • added property lineItemKey to type MyCartSetLineItemCustomFieldAction
  • added property lineItemKey to type MyCartSetLineItemCustomTypeAction
  • added property lineItemKey to type MyCartSetLineItemDistributionChannelAction
  • added property lineItemKey to type MyCartSetLineItemShippingDetailsAction
  • added property lineItemKey to type MyCartSetLineItemSupplyChannelAction
  • added property lineItemKey to type MyShoppingListChangeLineItemQuantityAction
  • added property lineItemKey to type StagedOrderChangeLineItemQuantityAction
  • added property lineItemKey to type StagedOrderRemoveLineItemAction
  • added property lineItemKey to type StagedOrderSetLineItemCustomFieldAction
  • added property lineItemKey to type StagedOrderSetLineItemCustomTypeAction
  • added property lineItemKey to type StagedOrderSetLineItemDistributionChannelAction
  • added property lineItemKey to type StagedOrderSetLineItemPriceAction
  • added property lineItemKey to type StagedOrderSetLineItemShippingDetailsAction
  • added property lineItemKey to type StagedOrderSetLineItemTaxAmountAction
  • added property lineItemKey to type StagedOrderSetLineItemTaxRateAction
  • added property lineItemKey to type StagedOrderSetLineItemTotalPriceAction
  • added property lineItemKey to type OrderSetLineItemCustomFieldAction
  • added property lineItemKey to type OrderSetLineItemCustomTypeAction
  • added property lineItemKey to type OrderSetLineItemShippingDetailsAction
Required Property(s)
  • changed property lineItemId of type CartApplyDeltaToLineItemShippingDetailsTargetsAction to be optional
  • changed property lineItemId of type CartChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type CartRemoveLineItemAction to be optional
  • changed property lineItemId of type CartSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type CartSetLineItemCustomTypeAction to be optional
  • changed property lineItemId of type CartSetLineItemDistributionChannelAction to be optional
  • changed property lineItemId of type CartSetLineItemInventoryModeAction to be optional
  • changed property lineItemId of type CartSetLineItemPriceAction to be optional
  • changed property lineItemId of type CartSetLineItemShippingDetailsAction to be optional
  • changed property lineItemId of type CartSetLineItemSupplyChannelAction to be optional
  • changed property lineItemId of type CartSetLineItemTaxAmountAction to be optional
  • changed property lineItemId of type CartSetLineItemTaxRateAction to be optional
  • changed property lineItemId of type CartSetLineItemTotalPriceAction to be optional
  • changed property lineItemId of type MyCartApplyDeltaToLineItemShippingDetailsTargetsAction to be optional
  • changed property lineItemId of type MyCartChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type MyCartRemoveLineItemAction to be optional
  • changed property lineItemId of type MyCartSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type MyCartSetLineItemCustomTypeAction to be optional
  • changed property lineItemId of type MyCartSetLineItemDistributionChannelAction to be optional
  • changed property lineItemId of type MyCartSetLineItemShippingDetailsAction to be optional
  • changed property lineItemId of type MyCartSetLineItemSupplyChannelAction to be optional
  • changed property lineItemId of type MyShoppingListChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type StagedOrderChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type StagedOrderRemoveLineItemAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemCustomTypeAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemDistributionChannelAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemPriceAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemShippingDetailsAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemTaxAmountAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemTaxRateAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemTotalPriceAction to be optional
  • changed property lineItemId of type OrderSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type OrderSetLineItemCustomTypeAction to be optional
  • changed property lineItemId of type OrderSetLineItemShippingDetailsAction to be optional
Deprecated Type(s)
  • type ProductVariantSelectionExclusion is removed
  • type ProductVariantSelectionInclusion is removed
Removed Type(s)
  • ⚠️ removed type MyCartSetDirectDiscountsAction

History changes

Added Property(s)
  • added property variantSelection to type AddProductChange
Changed Property(s)
  • ⚠️ changed property resource of type Record from type Reference to ResourceIdentifier
Added QueryParameter(s)
  • added query parameter resourceKey to method get /{projectKey}
  • added query parameter resourceKey to method get /{projectKey}/{resourceType}
Removed QueryParameter(s)
  • ⚠️ removed query parameter resourceId from method get /{projectKey}/{resourceType}
Added Type(s)
  • added type AddAssociateChange
  • added type AddProductSelectionChange
  • added type Associate
  • added type AssociateRoleAssignment
  • added type AssociateRoleInheritanceMode
  • added type BusinessUnitAssociateMode
  • added type BusinessUnitLabel
  • added type BusinessUnitStatus
  • added type BusinessUnitStoreMode
  • added type ChangeAssociateChange
  • added type ChangeAssociateModeChange
  • added type ChangeParentUnitChange
  • added type ChangeProductSelectionActiveChange
  • added type ChangeStatusChange
  • added type ProductVariantSelection
  • added type ProductVariantSelectionTypeEnum
  • added type RemoveAssociateChange
  • added type RemoveProductSelectionChange
  • added type RequestQuoteRenegotiationChange
  • added type ResourceIdentifier
  • added type SetAddressCustomFieldChange
  • added type SetAddressCustomTypeChange
  • added type SetContactEmailChange
  • added type SetStoreModeChange
  • added type SetVariantSelectionChange
Added Enum(s)
  • added enum business-unit to type ChangeHistoryResourceType
  • added enum addAssociate to type UpdateType
  • added enum addCustomLineItem to type UpdateType
  • added enum addDiscountCode to type UpdateType
  • added enum addProduct to type UpdateType
  • added enum addProductSelection to type UpdateType
  • added enum addProperty to type UpdateType
  • added enum changeAmountAuthorized to type UpdateType
  • added enum changeAssociate to type UpdateType
  • added enum changeAssociateMode to type UpdateType
  • added enum changeCustomLineItemQuantity to type UpdateType
  • added enum changeLineItemName to type UpdateType
  • added enum changeParentUnit to type UpdateType
  • added enum changeProductSelectionActive to type UpdateType
  • added enum changeQuoteRequestState to type UpdateType
  • added enum changeQuoteState to type UpdateType
  • added enum `changeStagedQuoteState...
Read more

14.4.1

26 Jun 11:22
0eec399
Compare
Choose a tag to compare

What's Changed

Fixes

  • fix unused instantiation of OAuthMiddleware

Full Changelog: 14.4.0...14.4.1

14.4.0

20 Jun 19:53
73b34dd
Compare
Choose a tag to compare

What's Changed

  • Add withkey interface to CustomFieldLocalizedEnumValue and CustomFieldEnumValue by @salander85 in #452
  • add feature to extract the GraphQL result data directly by @jenschude in #451
  • Update generated SDKs by @github-actions in #449

Api changes

Deprecated Property(s)
  • property MyCartChangeLineItemQuantityAction::externalPrice is removed
  • property MyCartChangeLineItemQuantityAction::externalTotalPrice is removed
Required Property(s)
  • changed property parcelId of type StagedOrderRemoveParcelFromDeliveryAction to be optional
  • changed property parcelId of type StagedOrderSetParcelCustomFieldAction to be optional
  • changed property parcelId of type StagedOrderSetParcelCustomTypeAction to be optional
  • changed property parcelId of type StagedOrderSetParcelItemsAction to be optional
  • changed property parcelId of type StagedOrderSetParcelMeasurementsAction to be optional
  • changed property parcelId of type StagedOrderSetParcelTrackingDataAction to be optional
  • changed property parcelId of type OrderRemoveParcelFromDeliveryAction to be optional
  • changed property parcelId of type OrderSetParcelCustomFieldAction to be optional
  • changed property parcelId of type OrderSetParcelCustomTypeAction to be optional
  • changed property parcelId of type OrderSetParcelItemsAction to be optional
  • changed property parcelId of type OrderSetParcelMeasurementsAction to be optional
  • changed property parcelId of type OrderSetParcelTrackingDataAction to be optional
Added Property(s)
  • added property key to type LineItem
  • added property key to type LineItemDraft
  • added property key to type CartAddLineItemAction
  • added property key to type MyLineItemDraft
  • added property key to type MyCartAddLineItemAction
  • added property sku to type StandalonePriceDeletedMessage
  • added property sku to type StandalonePriceDeletedMessagePayload
  • added property key to type StagedOrderAddLineItemAction
  • added property parcelKey to type StagedOrderAddParcelToDeliveryAction
  • added property parcelKey to type StagedOrderRemoveParcelFromDeliveryAction
  • added property parcelKey to type StagedOrderSetParcelCustomFieldAction
  • added property parcelKey to type StagedOrderSetParcelCustomTypeAction
  • added property parcelKey to type StagedOrderSetParcelItemsAction
  • added property parcelKey to type StagedOrderSetParcelMeasurementsAction
  • added property parcelKey to type StagedOrderSetParcelTrackingDataAction
  • added property key to type Parcel
  • added property key to type ParcelDraft
  • added property parcelKey to type OrderAddParcelToDeliveryAction
  • added property parcelKey to type OrderRemoveParcelFromDeliveryAction
  • added property parcelKey to type OrderSetParcelCustomFieldAction
  • added property parcelKey to type OrderSetParcelCustomTypeAction
  • added property parcelKey to type OrderSetParcelItemsAction
  • added property parcelKey to type OrderSetParcelMeasurementsAction
  • added property parcelKey to type OrderSetParcelTrackingDataAction
Added Type(s)
  • added type CartSetLineItemInventoryModeAction
  • added type MyCartSetDirectDiscountsAction
  • added type StandalonePriceTierAddedMessage
  • added type StandalonePriceTierRemovedMessage
  • added type StandalonePriceTiersSetMessage
  • added type StandalonePriceValidFromAndUntilSetMessage
  • added type StandalonePriceValidFromSetMessage
  • added type StandalonePriceValidUntilSetMessage
  • added type StandalonePriceTierAddedMessagePayload
  • added type StandalonePriceTierRemovedMessagePayload
  • added type StandalonePriceTiersSetMessagePayload
  • added type StandalonePriceValidFromAndUntilSetMessagePayload
  • added type StandalonePriceValidFromSetMessagePayload
  • added type StandalonePriceValidUntilSetMessagePayload
  • added type StandalonePriceAddPriceTierAction
  • added type StandalonePriceRemovePriceTierAction
  • added type StandalonePriceSetPriceTiersAction
  • added type StandalonePriceSetValidFromAction
  • added type StandalonePriceSetValidFromAndUntilAction
  • added type StandalonePriceSetValidUntilAction
  • added type ConfluentCloudDestination
Added Enum(s)
  • added enum RenegotiationAddressed to type QuoteState
  • added enum associate-role to type CustomFieldReferenceValue
  • added enum business-unit to type CustomFieldReferenceValue

Import changes

Added Enum(s)
  • added enum associate-role to type CustomFieldReferenceValue
  • added enum business-unit to type CustomFieldReferenceValue

New Contributors

Full Changelog: 14.3.0...14.4.0

14.3.0

02 Jun 07:01
bc7560f
Compare
Choose a tag to compare

New Features

GraphQL

This release introduces a new module for type safe GraphQL support.

import com.commercetools.graphql.api.*;

final GraphQLRequest<ProductQueryResult> productQuery = GraphQL
        .products(query -> query.localeProjection(Collections.singletonList("en")))
        .projection(root -> root.results().id().key().productType().key().getParent().createdAt().key());

The above code will create the following query string:

{
  products(localeProjection: ["en"]) {
    results {
      id
      key
      productType {
        key
      }
      createdAt
    }
  }
}

The module supports all operations defined by our GraphQL schema and the projections can be build type safe. More documentation can be found in the javadoc

Query predicates with input variables

This release introduces support for input variables when using the query predicate builders

            final CustomerPagedQueryResponse response = projectApiRoot
                    .customers()
                    .get()
                    .withQuery(c -> c.id().isVar("customerId"), "customerId", customer.getId())
                    .executeBlocking()
                    .getBody();

What's Changed

Api changes

Added Property(s)
  • added property shippingKey to type CartSetShippingMethodTaxAmountAction
  • added property shippingKey to type CartSetShippingMethodTaxRateAction
  • added property shippingKey to type StagedOrderSetShippingMethodTaxAmountAction
  • added property shippingKey to type StagedOrderSetShippingMethodTaxRateAction
Added Type(s)
  • added type MoneyOverflowError
  • added type GraphQLMoneyOverflowError
  • added type QuoteCustomerChangedMessage
  • added type QuoteRequestCustomerChangedMessage
  • added type QuoteCustomerChangedMessagePayload
  • added type QuoteRequestCustomerChangedMessagePayload
  • added type QuoteRequestChangeCustomerAction
  • added type QuoteChangeCustomerAction
Added Resource(s)
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/replicate
Added Enum(s)
  • added enum ReassignMyQuotes to type Permission
  • added enum ReassignOthersQuotes to type Permission
Added Method(s)
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().replicate().post()

Full Changelog: 14.2.1...14.3.0