Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update commercetoolsjavasdkv2version to v17 (major) #1093

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 9, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.commercetools.sdk:commercetools-apachehttp-client (source) 14.7.0 -> 17.1.0 age adoption passing confidence
com.commercetools.sdk:commercetools-sdk-compat-v1 (source) 14.7.0 -> 17.1.0 age adoption passing confidence

Release Notes

commercetools/commercetools-sdk-java-v2 (com.commercetools.sdk:commercetools-apachehttp-client)

v17.1.0

Compare Source

What's Changed

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().shoppingLists().withKey().head()
  • added method apiRoot.withProjectKey().shoppingLists().withId().head()
  • added method apiRoot.withProjectKey().states().withKey().head()
  • added method apiRoot.withProjectKey().states().withId().head()
  • added method apiRoot.withProjectKey().subscriptions().withKey().head()
  • added method apiRoot.withProjectKey().subscriptions().withId().head()
  • added method apiRoot.withProjectKey().taxCategories().withKey().head()
  • added method apiRoot.withProjectKey().taxCategories().withId().head()
  • added method apiRoot.withProjectKey().types().withKey().head()
  • added method apiRoot.withProjectKey().types().withId().head()
  • added method apiRoot.withProjectKey().zones().withKey().head()
  • added method apiRoot.withProjectKey().zones().withId().head()
  • added method apiRoot.withProjectKey().me().activeCart().head()
  • added method apiRoot.withProjectKey().me().businessUnits().head()
  • added method apiRoot.withProjectKey().me().carts().head()
  • added method apiRoot.withProjectKey().me().orders().head()
  • added method apiRoot.withProjectKey().me().payments().head()
  • added method apiRoot.withProjectKey().me().quoteRequests().head()
  • added method apiRoot.withProjectKey().me().quotes().head()
  • added method apiRoot.withProjectKey().me().shoppingLists().head()
  • added method apiRoot.withProjectKey().me().businessUnits().withId().head()
  • added method apiRoot.withProjectKey().me().businessUnits().withKey().head()
  • added method apiRoot.withProjectKey().me().carts().withKey().head()
  • added method apiRoot.withProjectKey().me().carts().withId().head()
  • added method apiRoot.withProjectKey().me().orders().withId().head()
  • added method apiRoot.withProjectKey().me().payments().withId().head()
  • added method apiRoot.withProjectKey().me().quoteRequests().withId().head()
  • added method apiRoot.withProjectKey().me().quoteRequests().withKey().head()
  • added method apiRoot.withProjectKey().me().quotes().withId().head()
  • added method apiRoot.withProjectKey().me().quotes().withKey().head()
  • added method apiRoot.withProjectKey().me().shoppingLists().withId().head()
  • added method apiRoot.withProjectKey().me().shoppingLists().withKey().head()
  • added method apiRoot.withProjectKey().extensions().withKey().head()
  • added method apiRoot.withProjectKey().extensions().withId().head()
  • added method apiRoot.withProjectKey().apiClients().withId().head()
  • added method apiRoot.withProjectKey().stores().withKey().head()
  • added method apiRoot.withProjectKey().stores().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().customers().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shoppingLists().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().withCustomerId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().withKey().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().withOrderNumber().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().carts().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().orders().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().activeCart().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().shoppingLists().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().carts().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().orders().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().shoppingLists().withKey().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().shoppingLists().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().customers().withKey().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().customers().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shippingMethods().matchingCart().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shoppingLists().withKey().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shoppingLists().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().productProjections().withKey().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().productProjections().withId().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().head()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().head()
  • added method apiRoot.withProjectKey().standalonePrices().withKey().head()
  • added method apiRoot.withProjectKey().standalonePrices().withId().head()
  • added method apiRoot.withProjectKey().attributeGroups().withKey().head()
  • added method apiRoot.withProjectKey().attributeGroups().withId().head()

History changes

Changed Property(s)
  • ⚠️ changed property previousValue of type SetNameChange from type LocalizedString to string
  • ⚠️ changed property nextValue of type SetNameChange from type LocalizedString to string

Full Changelog: commercetools/commercetools-sdk-java-v2@17.0.0...17.1.0

v17.0.1

Compare Source

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

Full Changelog: commercetools/commercetools-sdk-java-v2@17.0.0...17.0.1

v17.0.0

Compare Source

What's Changed

Api changes

Added Enum(s)
  • added enum customer-email-token to type ReferenceTypeId
  • added enum customer-password-token to type ReferenceTypeId
  • added enum customer-email-token to type MessageSubscriptionResourceTypeId
  • added enum customer-group to type MessageSubscriptionResourceTypeId
  • added enum customer-password-token to type MessageSubscriptionResourceTypeId
Added Type(s)
  • added type CustomerEmailTokenReference
  • added type CustomerPasswordTokenReference
Behavioral changes
commercetools-http-client

The module commercetools-http-client is now an alias to commercetools-async-http-client.

This change should only affect you if you use this module and custom builder options or create an explicit instance.

For having previous behavior you can either pin the dependency to the version 16.5.0 or by replacing the dependency with commercetools-okhttp-client4.

AuthToken supplier

The Auth token supplier and middlewares have been refactored to be asynchronous. It's not blocking anymore requests to wait till a token has been retrieved. This should prevent increased latency under high load scenarios and invalidated token.

This change should only affect you if you implemented a custom OAuthHandler and/or OAuthMiddleware.

ApiMethod

We introduced a new subtype for ApiMethods which have a TypeReference to their result type. This simplifies the deserialization code in the client and allows future options like a reactive client implementation. As all request classes implement the ClientRequestCommand as well as the HttpRequestCommand this led to ambiguous methods in the client, so we decided to remove execute(final ClientRequestCommand<O> method) and replace it with execute(final HttpRequestCommand<O> method).

This change should only affect you in case custom implementations are used. You may have to implement now the HttpRequestCommand interface or use the TypeApiMethod/TypeBodyApiMethod classes.

BREAKING CHANGES

Removed deprecations:

  • "rmf:okhttp-client: module
    • use commercetools-okhttp-client4 module instead
  • deprecated methods in CtAsyncHttpClient
  • deprecated methods in RetryMiddleware
  • ApiFactory
  • ImportApiFactory
  • MLApiRootFactory
  • HistoryApiFactory
  • ClientFactory
  • MiddlewareFactory
  • ExceptionFactory
  • VrapJsonUtils
    • use JsonUtils instead

Full Changelog: commercetools/commercetools-sdk-java-v2@16.5.0...17.0.0

v16.5.0

Compare Source

What's Changed
  • add resultType method to request classes in preparation for HttpRequestCommand interface

Full Changelog: commercetools/commercetools-sdk-java-v2@16.4.0...16.5.0

v16.4.0

Compare Source

What's Changed

Api changes

Changed MethodResponseBody(s)
  • ⚠️ changed response body for 200: application/json of method get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules from type <<resourceQueryType>> to ApprovalRulePagedQueryResponse
  • ⚠️ changed response body for 200: application/json of method get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows from type <<resourceQueryType>> to ApprovalFlowPagedQueryResponse
Added Type(s)
  • added type ApprovalFlowPagedQueryResponse
  • added type ApprovalRulePagedQueryResponse
  • added type CustomerEmailTokenCreatedMessage
  • added type CustomerPasswordTokenCreatedMessage
  • added type CustomerEmailTokenCreatedMessagePayload
  • added type CustomerPasswordTokenCreatedMessagePayload

Import changes

Added Property(s)
  • added property product to type ProductVariantPatch

Full Changelog: commercetools/commercetools-sdk-java-v2@16.3.0...16.4.0

v16.3.0

Compare Source

What's Changed

Api changes

Removed Type(s)
  • ⚠️ removed type CustomerMessagePayload
Added Type(s)
  • added type ApprovalFlow
  • added type ApprovalFlowApproval
  • added type ApprovalFlowApproveAction
  • added type ApprovalFlowRejectAction
  • added type ApprovalFlowRejection
  • added type ApprovalFlowStatus
  • added type ApprovalFlowUpdate
  • added type ApprovalFlowUpdateAction
  • added type ApprovalRule
  • added type ApprovalRuleDraft
  • added type ApprovalRuleSetApproversAction
  • added type ApprovalRuleSetDescriptionAction
  • added type ApprovalRuleSetKeyAction
  • added type ApprovalRuleSetNameAction
  • added type ApprovalRuleSetPredicateAction
  • added type ApprovalRuleSetRequestersAction
  • added type ApprovalRuleSetStatusAction
  • added type ApprovalRuleStatus
  • added type ApprovalRuleUpdate
  • added type ApprovalRuleUpdateAction
  • added type ApproverConjunction
  • added type ApproverConjunctionDraft
  • added type ApproverDisjunction
  • added type ApproverDisjunctionDraft
  • added type ApproverHierarchy
  • added type ApproverHierarchyDraft
  • added type RuleApprover
  • added type RuleApproverDraft
  • added type RuleRequester
  • added type RuleRequesterDraft
  • added type CartDiscountTotalPriceTarget
  • added type DiscountOnTotalPrice
  • added type DiscountedTotalPricePortion
  • added type ApprovalFlowApprovedMessage
  • added type ApprovalFlowCompletedMessage
  • added type ApprovalFlowCreatedMessage
  • added type ApprovalFlowRejectedMessage
  • added type ApprovalRuleApproversSetMessage
  • added type ApprovalRuleCreatedMessage
  • added type ApprovalRuleDescriptionSetMessage
  • added type ApprovalRuleKeySetMessage
  • added type ApprovalRuleNameSetMessage
  • added type ApprovalRulePredicateSetMessage
  • added type ApprovalRuleRequestersSetMessage
  • added type ApprovalRuleStatusSetMessage
  • added type BusinessUnitAddressCustomFieldAddedMessage
  • added type BusinessUnitAddressCustomFieldChangedMessage
  • added type BusinessUnitAddressCustomFieldRemovedMessage
  • added type BusinessUnitAddressCustomTypeRemovedMessage
  • added type BusinessUnitAddressCustomTypeSetMessage
  • added type BusinessUnitCustomFieldAddedMessage
  • added type BusinessUnitCustomFieldChangedMessage
  • added type BusinessUnitCustomFieldRemovedMessage
  • added type BusinessUnitCustomTypeRemovedMessage
  • added type BusinessUnitCustomTypeSetMessage
  • added type CustomerGroupCustomFieldAddedMessage
  • added type CustomerGroupCustomFieldChangedMessage
  • added type CustomerGroupCustomFieldRemovedMessage
  • added type CustomerGroupCustomTypeRemovedMessage
  • added type CustomerGroupCustomTypeSetMessage
  • added type ApprovalFlowApprovedMessagePayload
  • added type ApprovalFlowCompletedMessagePayload
  • added type ApprovalFlowCreatedMessagePayload
  • added type ApprovalFlowRejectedMessagePayload
  • added type ApprovalRuleApproversSetMessagePayload
  • added type ApprovalRuleCreatedMessagePayload
  • added type ApprovalRuleDescriptionSetMessagePayload
  • added type ApprovalRuleKeySetMessagePayload
  • added type ApprovalRuleNameSetMessagePayload
  • added type ApprovalRulePredicateSetMessagePayload
  • added type ApprovalRuleRequestersSetMessagePayload
  • added type ApprovalRuleStatusSetMessagePayload
  • added type BusinessUnitAddressCustomFieldAddedMessagePayload
  • added type BusinessUnitAddressCustomFieldChangedMessagePayload
  • added type BusinessUnitAddressCustomFieldRemovedMessagePayload
  • added type BusinessUnitAddressCustomTypeRemovedMessagePayload
  • added type BusinessUnitAddressCustomTypeSetMessagePayload
  • added type BusinessUnitCustomFieldAddedMessagePayload
  • added type BusinessUnitCustomFieldChangedMessagePayload
  • added type BusinessUnitCustomFieldRemovedMessagePayload
  • added type BusinessUnitCustomTypeRemovedMessagePayload
  • added type BusinessUnitCustomTypeSetMessagePayload
  • added type CustomerGroupCustomFieldAddedMessagePayload
  • added type CustomerGroupCustomFieldChangedMessagePayload
  • added type CustomerGroupCustomFieldRemovedMessagePayload
  • added type CustomerGroupCustomTypeRemovedMessagePayload
  • added type CustomerGroupCustomTypeSetMessagePayload
Added Enum(s)
  • added enum CreateApprovalRules to type Permission
  • added enum UpdateApprovalRules to type Permission
  • added enum UpdateApprovalFlows to type Permission
Added Method(s)
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withId().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withKey().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withKey().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().withId().post()
Added Property(s)
  • added property discountOnTotalPrice to type Cart
  • added property discountOnTotalPrice to type StagedOrder
  • added property custom to type StagedOrderAddParcelToDeliveryAction
  • added property discountOnTotalPrice to type Order
  • added property custom to type OrderAddParcelToDeliveryAction
Added Resource(s)
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}

History changes

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

Full Changelog: commercetools/commercetools-sdk-java-v2@16.2.0...16.3.0

v16.2.0

Compare Source

What's Changed
  • add option to deserialize attributes and custom fields as JsonNode 4c51dff
Fixes

Full Changelog: commercetools/commercetools-sdk-java-v2@16.1.0...16.2.0

v16.1.0

Compare Source

What's Changed

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: commercetools/commercetools-sdk-java-v2@16.0.0...16.1.0

v16.0.0

Compare Source

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: commercetools/commercetools-sdk-java-v2@15.0.1...16.0.0

v15.0.1

Compare Source

Fixes

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

Full Changelog: commercetools/commercetools-sdk-java-v2@15.0.0...15.0.1

v15.0.0

Compare Source

What's Changed
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

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-commercetoolsjavasdkv2version branch 2 times, most recently from b3312c4 to 04f1a4a Compare September 9, 2023 21:59
@renovate renovate bot force-pushed the renovate/major-commercetoolsjavasdkv2version branch 2 times, most recently from e8ff9f8 to f8d94d3 Compare September 30, 2023 03:41
@renovate renovate bot force-pushed the renovate/major-commercetoolsjavasdkv2version branch 4 times, most recently from 986a460 to 6582892 Compare October 12, 2023 12:37
@renovate renovate bot changed the title fix(deps): update commercetoolsjavasdkv2version to v16 (major) fix(deps): update commercetoolsjavasdkv2version to v17 (major) Oct 13, 2023
@renovate renovate bot force-pushed the renovate/major-commercetoolsjavasdkv2version branch 2 times, most recently from 4c3beed to ffaf73a Compare October 14, 2023 04:32
@renovate renovate bot force-pushed the renovate/major-commercetoolsjavasdkv2version branch 4 times, most recently from a61de31 to 3b57203 Compare October 23, 2023 12:55
@renovate renovate bot force-pushed the renovate/major-commercetoolsjavasdkv2version branch 2 times, most recently from 2b1aa60 to 6a974f0 Compare November 1, 2023 13:15
@renovate renovate bot force-pushed the renovate/major-commercetoolsjavasdkv2version branch from 6a974f0 to b99d81e Compare November 1, 2023 14:06
@lojzatran lojzatran merged commit f7ff693 into master Nov 1, 2023
3 checks passed
@lojzatran lojzatran deleted the renovate/major-commercetoolsjavasdkv2version branch November 1, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant