Skip to content

Releases: commercetools/commercetools-sdk-java-v2

12.0.0

30 Jan 21:04
82d45b9
Compare
Choose a tag to compare

What's Changed

  • add retry handler for delete methods by @jenschude in #385
  • Update generated SDKs by @github-actions in #383
  • Update generated SDKs by @github-actions in #388
  • Update generated SDKs by @github-actions in #389
  • Update generated SDKs by @github-actions in #392

Api changes

Deprecated Type(s)
  • type IronMqDestination is removed
Added Type(s)
  • added type OrderPurchaseOrderNumberSetMessage
  • added type OrderPurchaseOrderNumberSetMessagePayload
  • added type StagedOrderSetPurchaseOrderNumberAction
  • added type OrderSetPurchaseOrderNumberAction
Added Property(s)
  • added property purchaseOrderNumber to type StagedOrder
  • added property purchaseOrderNumber to type Order
  • added property purchaseOrderNumber to type OrderFromCartDraft
  • added property purchaseOrderNumber to type QuoteRequest
  • added property purchaseOrderNumber to type QuoteRequestDraft
  • added property purchaseOrderNumber to type Quote
  • added property purchaseOrderNumber to type StagedQuote

Breaking changes

  • the leading slash from request builders have been removed and return now a relative path. E.g. ByProjectKeyCategoriesPost.buildHttpRequest creates now URI 'project-key/categories' instead of the previous '/project-key/categories'
  • The ApiRootBuilder adds a traling slash to the baseUri to ensure the correct building of API URLs

The changes will only affect implementations relying on the URIs of the built requests.

Full Changelog: 11.2.0...12.0.0

11.2.0

10 Jan 12:55
ab283db
Compare
Choose a tag to compare

What's Changed

Api changes

  • field target of Review changed to Reference
  • field target of ReviewDraft changed to ResourceIdentifier
  • field reference of ReplicaCartDraft changed to type Reference

Deprecations

  • deprecated use of setTarget(Object) for Review and ReviewDraft
  • deprecated use of setReference(Object) for ReplicaCartDraft
  • deprecated ReviewMixin
  • deprecated ReplicaCartDraftMixin

Full Changelog: 11.1.0...11.2.0

11.1.0

09 Jan 20:42
4dc006b
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #378
  • add WithKey and Draft interface by @jenschude in #379
  • Update generated SDKs by @github-actions in #381

Fixes

  • fixed typo in defaultShippingAddress field of business unit models

Api changes

Added Property(s)
  • added property defaultShippingAddressId to type BusinessUnit
  • added property defaultShippingAddress to type BusinessUnitDraft
  • added property defaultShippingAddressId to type Company
  • added property defaultShippingAddress to type CompanyDraft
  • added property defaultShippingAddressId to type Division
  • added property defaultShippingAddress to type DivisionDraft
  • added property defaultShippingAddress to type MyBusinessUnitDraft
  • added property defaultShippingAddress to type MyCompanyDraft
  • added property defaultShippingAddress to type MyDivisionDraft
Removed Property(s)
  • ⚠️ removed property defaultShipingAddressId from type BusinessUnit
  • ⚠️ removed property defaultShipingAddress from type BusinessUnitDraft
  • ⚠️ removed property defaultShipingAddressId from type Company
  • ⚠️ removed property defaultShipingAddress from type CompanyDraft
  • ⚠️ removed property defaultShipingAddressId from type Division
  • ⚠️ removed property defaultShipingAddress from type DivisionDraft
  • ⚠️ removed property defaultShipingAddress from type MyBusinessUnitDraft
  • ⚠️ removed property defaultShipingAddress from type MyCompanyDraft
  • ⚠️ removed property defaultShipingAddress from type MyDivisionDraft

Full Changelog: 11.0.0...11.1.0

11.0.0

21 Dec 14:14
4f31ea7
Compare
Choose a tag to compare

What's Changed

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

Fixes

  • MyQuoteRequestDraft added the cartIdand cartVersion field which replace the cart and version field
  • fixed property amount of type Transaction from type TypedMoney to CentPrecisionMoney
  • removed ProductPriceSetMessage and replaced with ProductPricesSetMessage

Api changes

Added Resource(s)
  • added resource /{projectKey}/shipping-methods/matching-cart-location
Changed Property(s)
  • ⚠️ changed property amount of type Transaction from type TypedMoney to CentPrecisionMoney
Added Property(s)
  • added property cartId to type MyQuoteRequestDraft
  • added property cartVersion to type MyQuoteRequestDraft
  • added property createdAt to type AssignedProductSelection
  • added property quoteState to type Quote
Required Property(s)
  • changed property discounted of type StagedStandalonePrice to be optional
Removed Property(s)
  • ⚠️ removed property cart from type MyQuoteRequestDraft
  • ⚠️ removed property version from type MyQuoteRequestDraft
Added Type(s)
  • added type ProductPricesSetMessage
  • added type ProductPricesSetMessagePayload
Removed Type(s)
  • ⚠️ removed type ProductPriceSetMessage
  • ⚠️ removed type ProductPriceSetMessagePayload
Added Method(s)
  • added method apiRoot.withProjectKey().shippingMethods().matchingCartLocation().get()

Full Changelog: 10.1.0...11.0.0

10.1.0

14 Dec 13:51
e666aa7
Compare
Choose a tag to compare

What's Changed

  • add helper method equalsIgnoreId to BaseAddress by @jenschude
  • Update generated SDKs by @github-actions in #376
  • Add methods update, delete and create to resource request builders which accept a Resource e.g. Category instance

Api changes

Added Type(s)
  • added type DuplicatePriceKeyError
  • added type ProductPriceKeySetMessage
  • added type StandalonePriceKeySetMessage
  • added type ProductPriceKeySetMessagePayload
  • added type StandalonePriceKeySetMessagePayload
  • added type ProductSetPriceKeyAction
  • added type StandalonePriceSetKeyAction
Removed Property(s)
  • ⚠️ removed property conflictingPrices from type DuplicatePriceScopeError
Added Property(s)
  • added property conflictingPrice to type DuplicatePriceScopeError

Breaking Changes

  • removed the missing data endpoints and models from the ML SDK module.

Full Changelog: 10.0.0...10.1.0

10.0.0

07 Dec 14:25
f6512ef
Compare
Choose a tag to compare

What's Changed

  • add test for order update by @jenschude in #364

  • refactor CtAsyncHttpClient to use a ThrottleRequestFilter instead of … by @jenschude in #366

  • add reactor netty HttpClient by @jenschude in #367

  • Lock file maintenance by @renovate in #363

  • update dependencies by @jenschude in #373

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

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

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

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

Changes in generated code parts

Api changes

Added Property(s)
  • added property discountCodeId to type DiscountCodeNonApplicableError
  • added property extensionErrors to type ExtensionBadResponseError
  • added property extensionBody to type ExtensionBadResponseError
  • added property extensionStatusCode to type ExtensionBadResponseError
  • added property extensionId to type ExtensionBadResponseError
  • added property extensionKey to type ExtensionBadResponseError
  • added property extensionErrors to type ExtensionUpdateActionsFailedError
  • added property detailedErrorMessage to type InvalidJsonInputError
  • added property countries to type StoreCreatedMessage
  • added property countries to type StoreCreatedMessagePayload
  • added property priceMode to type ProductProjection
  • added property countries to type Store
  • added property countries to type StoreDraft
Removed Property(s)
  • ⚠️ removed property dicountCodeId from type DiscountCodeNonApplicableError
  • ⚠️ removed property conflictingResource from type DuplicateFieldError
  • ⚠️ removed property error from type ErrorResponse
  • ⚠️ removed property error_description from type ErrorResponse
  • ⚠️ removed property errorByExtension from type ExtensionBadResponseError
  • ⚠️ removed property errorByExtension from type ExtensionUpdateActionsFailedError
Changed Property(s)
  • ⚠️ changed property amountPlanned of type MyPayment from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property amountPlanned of type Payment from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property assets of type ProductAddVariantAction from type Assets[] to AssetsDraft[]
Required Property(s)
  • ⚠️ changed property field of type DuplicateFieldError to be required
  • ⚠️ changed property duplicateValue of type DuplicateFieldError to be required
  • ⚠️ changed property state of type Transaction to be required
  • ⚠️ changed property lineItems of type ShoppingList to be required
  • ⚠️ changed property textLineItems of type ShoppingList to be required
Added Type(s)
  • added type AuthErrorResponse
  • added type CountryNotConfiguredInStore
  • added type ExtensionError
  • added type ExtensionPredicateEvaluationFailedError
  • added type ProductAssignmentMissingError
  • added type ProductPresentWithDifferentVariantSelectionError
  • added type ProductPriceAddedMessage
  • added type ProductPriceChangedMessage
  • added type ProductPriceModeSetMessage
  • added type ProductPriceRemovedMessage
  • added type ProductPriceSetMessage
  • added type StoreCountriesChangedMessage
  • added type ProductPriceAddedMessagePayload
  • added type ProductPriceChangedMessagePayload
  • added type ProductPriceModeSetMessagePayload
  • added type ProductPriceRemovedMessagePayload
  • added type ProductPriceSetMessagePayload
  • added type StoreCountriesChangedMessagePayload
  • added type StoreCountry
  • added type StoreAddCountryAction
  • added type StoreRemoveCountryAction
  • added type StoreSetCountriesAction
Removed Type(s)
  • ⚠️ removed type AccessDeniedError
  • ⚠️ removed type WeakPasswordError
Added QueryParameter(s)
  • added query parameter localeProjection to method get /{projectKey}/products
  • added query parameter localeProjection to method post /{projectKey}/products
  • added query parameter localeProjection to method get /{projectKey}/products/key={key}
  • added query parameter localeProjection to method post /{projectKey}/products/key={key}
  • added query parameter localeProjection to method delete /{projectKey}/products/key={key}
  • added query parameter localeProjection to method get /{projectKey}/products/{ID}
  • added query parameter localeProjection to method post /{projectKey}/products/{ID}
  • added query parameter localeProjection to method delete /{projectKey}/products/{ID}
  • added query parameter staged to method get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
  • added query parameter staged to method get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}

Full Changelog: 9.5.0...10.0.0

9.5.0

07 Nov 11:45
451fdb8
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #356
  • add configuration methods for the queue middleware by @jenschude in #355
  • Update generated SDKs by @github-actions in #357
  • Update all dependencies by @renovate in #311
  • Update all dependencies by @renovate in #360
  • Update generated SDKs by @github-actions in #358

Api changes

Added Property(s)
  • added property shippingKey to type CartSetLineItemTaxAmountAction
  • added property shippingKey to type CartSetLineItemTaxRateAction
  • added property salutation to type MyCustomerDraft
  • added property shippingKey to type StagedOrderSetLineItemTaxAmountAction
  • added property shippingKey to type StagedOrderSetLineItemTaxRateAction
  • added property quoteStateToAccepted to type OrderFromQuoteDraft
  • added property stagedQuoteStateToSent to type QuoteDraft
  • added property quoteRequestStateToAccepted to type StagedQuoteDraft
  • added property authenticationMode to type SnsDestination
  • added property authenticationMode to type SqsDestination
Changed Property(s)
  • ⚠️ changed property sort of type OrderSearchRequest from type OrderSearchSorting to List\<OrderSearchSorting\>
  • ⚠️ changed property resourceTypeId of type ChangeSubscription from type string to ChangeSubscriptionResourceTypeId
  • ⚠️ changed property resourceTypeId of type MessageSubscription from type string to MessageSubscriptionResourceTypeId
  • ⚠️ changed property payloadNotIncluded of type MessageDeliveryPayload to be optional
  • ⚠️ changed property accessKey of type SnsDestination to be optional
  • ⚠️ changed property accessSecret of type SnsDestination to be optional
  • ⚠️ changed property accessKey of type SqsDestination to be optional
  • ⚠️ changed property accessSecret of type SqsDestination to be optional
  • ⚠️ changed property authenticationMode of type Customer to be required
Added Type(s)
  • added type AttributeGroup
  • added type AttributeGroupDraft
  • added type AttributeGroupPagedQueryResponse
  • added type AttributeGroupReference
  • added type AttributeGroupResourceIdentifier
  • added type AttributeGroupUpdate
  • added type AttributeGroupUpdateAction
  • added type AttributeReference
  • added type AttributeGroupAddAttributeAction
  • added type AttributeGroupChangeNameAction
  • added type AttributeGroupRemoveAttributeAction
  • added type AttributeGroupSetAttributesAction
  • added type AttributeGroupSetDescriptionAction
  • added type AttributeGroupSetKeyAction
  • added type MyCustomerEmailVerify
  • added type AwsAuthenticationMode
  • added type ChangeSubscriptionResourceTypeId
  • added type CloudEventsPayload
  • added type MessageSubscriptionResourceTypeId
Changed Type(s)
  • ⚠️ changed type OrderSearchSorting from type string to object
  • marked type ShippingMethodSetDescriptionAction as deprecated
  • marked type IronMqDestination as deprecated
Added Method(s)
  • added method get /{projectKey}/attribute-groups
  • added method post /{projectKey}/attribute-groups
  • added method get /{projectKey}/subscriptions/{ID}/health
  • added method get /{projectKey}/attribute-groups/key={key}
  • added method post /{projectKey}/attribute-groups/key={key}
  • added method delete /{projectKey}/attribute-groups/key={key}
  • added method get /{projectKey}/attribute-groups/{ID}
  • added method post /{projectKey}/attribute-groups/{ID}
  • added method delete /{projectKey}/attribute-groups/{ID}
Added Resource(s)
  • added resource /{projectKey}/attribute-groups (file:///home/runner/work/commercetools-api-reference/commercetools-api-reference/commercetools-api-reference/api-specs/api/api.raml:216:2)
  • added resource /{projectKey}/subscriptions/{ID}/health
  • added resource /{projectKey}/attribute-groups/key={key}
  • added resource /{projectKey}/attribute-groups/{ID}

Import changes

Added Property(s)
  • added property store to type OrderImport
Removed Property(s)
  • ⚠️ removed property totalTax from type TaxedPrice

Full Changelog: 9.4.0...9.5.0

9.4.0

13 Oct 18:34
05cdd0b
Compare
Choose a tag to compare

What's Changed

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

Features

  • support business units
  • support me quotes
  • support key for EmbeddedPrice

Full Changelog: 9.3.0...9.4.0

9.3.0

15 Sep 10:00
666d4c8
Compare
Choose a tag to compare

What's Changed

  • fix ProductDataLike serialization by @jenschude in #346
  • Update generated SDKs by @github-actions in #344
  • fix deserialization of customfields with value node key by @jenschude in #351
  • Update generated SDKs by @github-actions in #352

Features

  • add Standalone price to ResourceTypeIdentifier
  • support staged StandalonePrice
  • support store name set action
  • support expand for Me active cart
  • support order quote states
  • support query for product head request
  • support taxedShippingPrice and shipping mode for cart/order
  • support customlineitem pricemode

Import API

  • support custom field in LineItem, CustomerAddress

Fixes

  • fix type for field money in ProductDiscountValueAbsoluteDraft to Money
  • fix discountCodes to List in MyCartDraft

Breaking changes

  • renamed OrderReturnInfoAddedMessage to ReturnInfoAddedMessage
  • renamed OrderReturnInfoSetMessage to ReturnInfoSetMessage

Deprecation

  • deprecate ML missing data endpoint

Full Changelog: 9.2.0...9.3.0

9.2.2

31 Aug 15:46
d812930
Compare
Choose a tag to compare

What's Changed

  • fix deserialization of customfields with node key by @jenschude

Full Changelog: 9.2.1...9.2.2