Skip to content

Releases: commercetools/commercetools-sdk-java-v2

17.8.0

01 Apr 09:34
8d5e810

Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #592
  • Update generated SDKs by @ct-sdks in #593
  • Update generated SDKs by @ct-sdks in #594
  • Update generated SDKs by @ct-sdks in #597
  • Update generated SDKs by @ct-sdks in #598
  • Update generated SDKs by @ct-sdks in #600
  • Update generated SDKs by @ct-sdks in #602
  • Update generated SDKs by @ct-sdks in #603
  • Replace deprecated retry middleware with policy middleware in docs by @lojzatran in #601
  • Add integration test to get a valid oauth token by @lojzatran in #596
  • Update generated SDKs by @ct-sdks in #605
  • Update generated SDKs by @ct-sdks in #607
  • Update generated SDKs by @ct-sdks in #608
  • chore(deps): update gradle/actions digest to 417ae3c by @renovate in #582
  • chore(deps): update yarn to v4 by @renovate in #510
  • fix(deps): update dependency org.jdrupes.taglets:plantuml-taglet to v3 by @renovate in #497
  • chore(deps): update all dependencies by @renovate in #575
  • chore(deps): update actions/create-github-app-token digest to 78e5f2d by @renovate in #574
  • chore(deps): update github/codeql-action digest to 1b1aada by @renovate in #581
  • chore(deps): update ts-graphviz/setup-graphviz action to v2 by @renovate in #576
  • fix(deps): update dependency com.squareup.okio:okio to v3 by @renovate in #590

Full Changelog: 17.7.0...17.8.0

17.7.0

29 Feb 11:39
5e86293

Choose a tag to compare

What's Changed

  • Update CODEOWNERS by @evansinho in #577
  • Update generated SDKs by @ct-sdks in #579
  • chore(deps): pin dependencies by @renovate in #573
  • Add how to use datadog module example by @lojzatran in #578
  • Update generated SDKs by @ct-sdks in #580
  • Update generated SDKs by @ct-sdks in #584
  • Update generated SDKs by @ct-sdks in #585
  • Update generated SDKs by @ct-sdks in #586
  • Update generated SDKs by @ct-sdks in #587
  • Update generated SDKs by @ct-sdks in #588
  • Update generated SDKs by @ct-sdks in #591
  • Highlight tests in the docs by @lojzatran in #583

Api changes

Added Type(s)
  • added type DiscountedLineItemPortionDraft
Required Property(s)
  • ⚠️ changed property isOnStock of type ProductVariantAvailability to be required
  • changed property priceMode of type CustomLineItemDraft to be optional
  • changed property oldShipmentState of type OrderShipmentStateChangedMessage to be optional
  • changed property oldOrderState of type OrderStateChangedMessage to be optional
  • changed property oldShipmentState of type OrderShipmentStateChangedMessagePayload to be optional
  • changed property oldOrderState of type OrderStateChangedMessagePayload to be optional
Changed Property(s)
  • ⚠️ changed property includedDiscounts of type DiscountedLineItemPriceDraft from type DiscountedLineItemPortion[] to DiscountedLineItemPortionDraft[]
Added Property(s)
  • added property totalTax to type TaxedPriceDraft
  • added property id to type ProductVariantAvailability
  • added property version to type ProductVariantAvailability

New Contributors

Full Changelog: 17.6.0...17.7.0

17.6.0

12 Feb 08:38
fad94ff

Choose a tag to compare

What's Changed

  • Search builder by @jenschude in #542
  • Remove the incorrect lines by @johthor in #558
  • Update generated SDKs by @ct-sdks in #557
  • Update generated SDKs by @ct-sdks in #561
  • Update generated SDKs by @ct-sdks in #562
  • Update generated SDKs by @ct-sdks in #563
  • Update generated SDKs by @ct-sdks in #564
  • chore(deps): update all dependencies by @renovate in #549
  • chore(deps): update stefanzweifel/git-auto-commit-action digest to 12f6863 by @renovate in #532
  • update mockito by @jenschude in #565
  • chore(deps): pin dependencies by @renovate in #566
  • chore(deps): update all dependencies by @renovate in #567
  • Update generated SDKs by @ct-sdks in #570
  • Update generated SDKs by @ct-sdks in #571
  • update dependencies by @jenschude in #572
  • Add datadog monitoring module by @lojzatran in #568

New Contributors

Full Changelog: 17.5.0...17.6.0

17.5.0

22 Jan 09:40
edcc4e9

Choose a tag to compare

What's Changed

  • add option to customise log formats by @jenschude in #548
  • Update generated SDKs by @ct-sdks in #547
  • fix RetryHandler class cast exception by @jenschude in #556

Api changes

Added Type(s)
  • added type CartDiscountCreatedMessage
  • added type CartDiscountDeletedMessage
  • added type CartDiscountStoreAddedMessage
  • added type CartDiscountStoreRemovedMessage
  • added type CartDiscountStoresSetMessage
  • added type CartDiscountCreatedMessagePayload
  • added type CartDiscountDeletedMessagePayload
  • added type CartDiscountStoreAddedMessagePayload
  • added type CartDiscountStoreRemovedMessagePayload
  • added type CartDiscountStoresSetMessagePayload

Full Changelog: 17.4.0...17.5.0

17.5.0-alpha.1

12 Jan 21:53

Choose a tag to compare

What's Changed

Full Changelog: 17.4.0...17.5.0-alpha.1

17.4.0

11 Jan 11:50
1710d48

Choose a tag to compare

What's Changed

Api changes

Added Type(s)
  • added type ApprovalFlowSetCustomFieldAction
  • added type ApprovalFlowSetCustomTypeAction
Removed Type(s)
  • ⚠️ removed type NotEnabledError
  • ⚠️ removed type GraphQLNotEnabledError
Added Property(s)
  • added property custom to type ApprovalFlow
Added Enum(s)
  • added enum associate-role to type AttributeReferenceTypeId
  • added enum business-unit to type AttributeReferenceTypeId
  • added enum cart-discount to type AttributeReferenceTypeId
  • added enum approval-flow to type CustomFieldReferenceValue
  • added enum approval-flow to type ResourceTypeId

History changes

Added Type(s)
  • added type AttributeLocalizedEnumValue
  • added type AttributePlainEnumValue
  • added type ChannelRoleEnum
  • added type StateRoleEnum
  • added type StateTypeEnum
Removed Type(s)
  • ⚠️ removed type ChannelRole
  • ⚠️ removed type StateRole
  • ⚠️ removed type StateType
Removed Property(s)
  • ⚠️ removed property previousValue from type AddAddressChange
  • ⚠️ removed property previousValue from type AddLocationChange
  • ⚠️ removed property nextValue from type RemoveLocationChange
  • ⚠️ removed property nextValue from type RemoveTaxRateChange
Changed Property(s)
  • ⚠️ changed property previousValue of type AddChannelRolesChange from type ChannelRole[] to ChannelRoleEnum[]
  • ⚠️ changed property nextValue of type AddChannelRolesChange from type ChannelRole[] to ChannelRoleEnum[]
  • ⚠️ changed property nextValue of type AddLocalizedEnumValueChange from type LocalizedEnumValue to AttributeLocalizedEnumValue
  • ⚠️ changed property nextValue of type AddPlainEnumValueChange from type EnumValue to AttributePlainEnumValue
  • ⚠️ changed property previousValue of type AddStateRolesChange from type StateRole[] to StateRoleEnum[]
  • ⚠️ changed property nextValue of type AddStateRolesChange from type StateRole[] to StateRoleEnum[]
  • ⚠️ changed property previousValue of type ChangeStateTypeChange from type StateType to StateTypeEnum
  • ⚠️ changed property nextValue of type ChangeStateTypeChange from type StateType to StateTypeEnum
  • ⚠️ changed property previousValue of type RemoveChannelRolesChange from type ChannelRole[] to ChannelRoleEnum[]
  • ⚠️ changed property nextValue of type RemoveChannelRolesChange from type ChannelRole[] to ChannelRoleEnum[]
  • ⚠️ changed property previousValue of type RemoveStateRolesChange from type StateRole[] to StateRoleEnum[]
  • ⚠️ changed property nextValue of type RemoveStateRolesChange from type StateRole[] to StateRoleEnum[]
  • ⚠️ changed property previousValue of type SetChannelRolesChange from type ChannelRole[] to ChannelRoleEnum[]
  • ⚠️ changed property nextValue of type SetChannelRolesChange from type ChannelRole[] to ChannelRoleEnum[]
  • ⚠️ changed property previousValue of type SetStateRolesChange from type StateRole[] to StateRoleEnum[]
  • ⚠️ changed property nextValue of type SetStateRolesChange from type StateRole[] to StateRoleEnum[]

New Contributors

  • @ct-sdks made their first contribution in #534

Full Changelog: 17.3.0...17.4.0

17.3.0

04 Dec 08:34
f10ce32

Choose a tag to compare

What's Changed

  • Override toString method. by @salander85 in #519
  • Update generated SDKs by @github-actions in #518
  • Add option to turn off histogram in opentelemetry by @lojzatran in #523

Full Changelog: 17.2.0...17.3.0

17.2.0

08 Nov 14:22
9fe5e4e

Choose a tag to compare

What's Changed

  • use a fixed version for the examples by @jenschude in #513
  • add option to deserialize attribute/custom field numbers as double by @jenschude in #515
  • deserialize message payload helper by @jenschude in #517
  • Update generated SDKs by @github-actions in #514

Full Changelog: 17.1.0...17.2.0

17.1.0

01 Nov 10:18
587a06c

Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #507
  • add ToC taglet to overview page by @jenschude in #512
  • Update generated SDKs by @github-actions in #511
  • fix Issue in AsyncHttpClient module when uploading images

Api changes

Added QueryParameter(s)
  • added query parameter expand to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter sort to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter limit to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter offset to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter withTotal to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter where to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter /^var[.][a-zA-Z0-9]+$/ to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter expand to method post /{projectKey}/in-store/key={storeKey}/cart-discounts
Added Enum(s)
  • added enum approval-flow to type ReferenceTypeId
  • added enum approval-rule to type ReferenceTypeId
  • added enum approval-flow to type ChangeSubscriptionResourceTypeId
  • added enum approval-rule to type ChangeSubscriptionResourceTypeId
  • added enum approval-flow to type MessageSubscriptionResourceTypeId
  • added enum approval-rule to type MessageSubscriptionResourceTypeId
Changed MethodResponseBody(s)
  • ⚠️ changed response body for 200: application/json of method get /{projectKey}/in-store/key={storeKey}/cart-discounts from type CartDiscount to CartDiscountPagedQueryResponse
Added Method(s)
  • added method apiRoot.withProjectKey().head()
  • added method apiRoot.withProjectKey().associateRoles().head()
  • added method apiRoot.withProjectKey().businessUnits().head()
  • added method apiRoot.withProjectKey().categories().head()
  • added method apiRoot.withProjectKey().carts().head()
  • added method apiRoot.withProjectKey().cartDiscounts().head()
  • added method apiRoot.withProjectKey().channels().head()
  • added method apiRoot.withProjectKey().customers().head()
  • added method apiRoot.withProjectKey().customerGroups().head()
  • added method apiRoot.withProjectKey().customObjects().head()
  • added method apiRoot.withProjectKey().discountCodes().head()
  • added method apiRoot.withProjectKey().inventory().head()
  • added method apiRoot.withProjectKey().messages().head()
  • added method apiRoot.withProjectKey().orders().head()
  • added method apiRoot.withProjectKey().payments().head()
  • added method apiRoot.withProjectKey().productDiscounts().head()
  • added method apiRoot.withProjectKey().productProjections().head()
  • added method apiRoot.withProjectKey().productSelections().head()
  • added method apiRoot.withProjectKey().quotes().head()
  • added method apiRoot.withProjectKey().quoteRequests().head()
  • added method apiRoot.withProjectKey().stagedQuotes().head()
  • added method apiRoot.withProjectKey().reviews().head()
  • added method apiRoot.withProjectKey().shippingMethods().head()
  • added method apiRoot.withProjectKey().shoppingLists().head()
  • added method apiRoot.withProjectKey().states().head()
  • added method apiRoot.withProjectKey().subscriptions().head()
  • added method apiRoot.withProjectKey().taxCategories().head()
  • added method apiRoot.withProjectKey().types().head()
  • added method apiRoot.withProjectKey().zones().head()
  • added method apiRoot.withProjectKey().extensions().head()
  • added method apiRoot.withProjectKey().apiClients().head()
  • added method apiRoot.withProjectKey().stores().head()
  • added method apiRoot.withProjectKey().standalonePrices().head()
  • added method apiRoot.withProjectKey().attributeGroups().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withOrderNumber().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withId().head()
  • added method apiRoot.withProjectKey().associateRoles().withKey().head()
  • added method apiRoot.withProjectKey().associateRoles().withId().head()
  • added method apiRoot.withProjectKey().businessUnits().withKey().head()
  • added method apiRoot.withProjectKey().businessUnits().withId().head()
  • added method apiRoot.withProjectKey().categories().withKey().head()
  • added method apiRoot.withProjectKey().categories().withId().head()
  • added method apiRoot.withProjectKey().carts().withCustomerId().head()
  • added method apiRoot.withProjectKey().carts().withKey().head()
  • added method apiRoot.withProjectKey().carts().withId().head()
  • added method apiRoot.withProjectKey().cartDiscounts().withKey().head()
  • added method apiRoot.withProjectKey().cartDiscounts().withId().head()
  • added method apiRoot.withProjectKey().channels().withId().head()
  • added method apiRoot.withProjectKey().customers().withKey().head()
  • added method apiRoot.withProjectKey().customers().withId().head()
  • added method apiRoot.withProjectKey().customerGroups().withKey().head()
  • added method apiRoot.withProjectKey().customerGroups().withId().head()
  • added method apiRoot.withProjectKey().discountCodes().withId().head()
  • added method apiRoot.withProjectKey().inventory().withId().head()
  • added method apiRoot.withProjectKey().inventory().withKey().head()
  • added method apiRoot.withProjectKey().messages().withId().head()
  • added method apiRoot.withProjectKey().orders().withOrderNumber().head()
  • added method apiRoot.withProjectKey().orders().edits().head()
  • added method apiRoot.withProjectKey().orders().withId().head()
  • added method apiRoot.withProjectKey().orders().edits().withKey().head()
  • added method apiRoot.withProjectKey().orders().edits().withId().head()
  • added method apiRoot.withProjectKey().payments().withKey().head()
  • added method apiRoot.withProjectKey().payments().withId().head()
  • added method apiRoot.withProjectKey().productDiscounts().withKey().head()
  • added method apiRoot.withProjectKey().productDiscounts().withId().head()
  • added method apiRoot.withProjectKey().productProjections().withKey().head()
  • added method apiRoot.withProjectKey().productProjections().withId().head()
  • added method apiRoot.withProjectKey().productSelections().withKey().head()
  • added method apiRoot.withProjectKey().productSelections().withId().head()
  • added method apiRoot.withProjectKey().quotes().withKey().head()
  • added method apiRoot.withProjectKey().quotes().withId().head()
  • added method apiRoot.withProjectKey().quoteRequests().withKey().head()
  • added method apiRoot.withProjectKey().quoteRequests().withId().head()
  • added method apiRoot.withProjectKey().stagedQuotes().withKey().head()
  • added method apiRoot.withProjectKey().stagedQuotes().withId().head()
  • added method apiRoot.withProjectKey().reviews().withKey().head()
  • added method apiRoot.withProjectKey().reviews().withId().head()
  • added method apiRoot.withProjectKey().shippingMethods().withKey().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingCart().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingCartLocation().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingOrderedit().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingLocation().head()
  • added method apiRoot.withProjectKey().shippingMethods().withId().head()
  • added method `apiRoot.withProjectKey().shoppin...
Read more

17.0.1

01 Nov 12:20
01199ca

Choose a tag to compare

  • fix duplicate content-type header in AHC client 01199ca

Full Changelog: 17.0.0...17.0.1