Skip to content

Releases: commercetools/commercetools-sdk-java-v2

14.1.0

02 May 09:04
a3ba516
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #435
  • Update generated SDKs by @github-actions in #436
  • Update generated SDKs by @github-actions in #439

Api changes

Added Property(s)
  • added property field to type OrderSearchSorting
  • added property language to type OrderSearchSorting
  • added property order to type OrderSearchSorting
  • added property mode to type OrderSearchSorting
  • added property filter to type OrderSearchSorting
  • added property mode to type ProductSelection
  • added property mode to type ProductSelectionDraft
Changed Property(s)
  • ⚠️ changed property productSelection of type ProductSelectionCreatedMessage from type ProductSelectionType to ProductSelection
  • ⚠️ changed property productSelection of type ProductSelectionCreatedMessagePayload from type ProductSelectionType to ProductSelection
MarkDeprecated Property(s)
  • marked property IndividualExclusionProductSelectionType::type as deprecated
  • marked property IndividualProductSelectionType::type as deprecated
  • marked property ProductSelection::type as deprecated
  • marked property ProductSelectionDraft::type as deprecated
  • marked property ProductSelectionType::type as deprecated
Required Property(s)
  • changed property type of type ProductSelection to be optional
MarkDeprecated Type(s)
  • marked type IndividualExclusionProductSelectionType as deprecated
  • marked type IndividualProductSelectionType as deprecated
  • marked type ProductSelectionType as deprecated
  • marked type ProductSelectionTypeEnum as deprecated
Added Type(s)
  • added type OrderSearchAndExpression
  • added type OrderSearchAnyValue
  • added type OrderSearchCompoundExpression
  • added type OrderSearchDateRangeExpression
  • added type OrderSearchDateRangeValue
  • added type OrderSearchExactExpression
  • added type OrderSearchExistsExpression
  • added type OrderSearchFilterExpression
  • added type OrderSearchFullTextExpression
  • added type OrderSearchFullTextValue
  • added type OrderSearchLongRangeExpression
  • added type OrderSearchLongRangeValue
  • added type OrderSearchMatchType
  • added type OrderSearchNotExpression
  • added type OrderSearchNumberRangeExpression
  • added type OrderSearchNumberRangeValue
  • added type OrderSearchOrExpression
  • added type OrderSearchPrefixExpression
  • added type OrderSearchQueryExpression
  • added type OrderSearchQueryExpressionValue
  • added type OrderSearchSortMode
  • added type OrderSearchSortOrder
  • added type OrderSearchStringValue
  • added type OrderSearchWildCardExpression
  • added type ProductSelectionMode

Full Changelog: 14.0.0...14.1.0

14.0.0

18 Apr 11:14
b2f1892
Compare
Choose a tag to compare

What's Changed

  • add CompletableFutureUtils by @jenschude in #430
  • Update generated SDKs by @github-actions in #428
  • Update generated SDKs by @github-actions in #431
  • update gradle by @jenschude in #432
  • Update all dependencies by @renovate in #362
  • Update generated SDKs by @github-actions in #433

Api changes

Added Enum(s)
  • added enum direct-discount to type ReferenceTypeId
Added Property(s)
  • added property shippingKey to type Cart
  • added property shippingCustomFields to type Cart
  • added property shippingKey to type StagedOrder
  • added property shippingCustomFields to type StagedOrder
  • added property shippingKey to type Order
  • added property shippingCustomFields to type Order
Changed Property(s)
  • ⚠️ changed property discount of type DiscountedLineItemPortion from type CartDiscountReference to Reference
Added Type(s)
  • added type DirectDiscountReference

Breaking change

With the introduction of DirectDiscounts the property discount in DiscountedLineItemPortion has changed from CartDiscountReference to Reference.

Full Changelog: 13.3.0...14.0.0

13.3.0

12 Apr 07:43
f166f26
Compare
Choose a tag to compare

What's Changed

  • Add new integration tests by @lojzatran in #408
  • Update generated SDKs by @github-actions in #425
  • add helper methods to set the form params for a product projection se… by @jenschude in #426

Api changes

Added Property(s)
  • added property key to type TaxRate
  • added property key to type TaxRateDraft
  • added property taxRateKey to type TaxCategoryRemoveTaxRateAction
  • added property taxRateKey to type TaxCategoryReplaceTaxRateAction
Required Property(s)
  • changed property taxRateId of type TaxCategoryRemoveTaxRateAction to be optional
  • changed property taxRateId of type TaxCategoryReplaceTaxRateAction to be optional

New Contributors

Full Changelog: 13.2.0...13.3.0

13.2.0

31 Mar 09:37
6823df3
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #421
  • Update generated SDKs by @github-actions in #422
  • add Product.toProjection helper method by @jenschude in #423
  • Update generated SDKs by @github-actions in #424

Api changes

Added Property(s)
  • added property extensions to type GraphQLError
Required Property(s)
  • changed property roles of type AssociateDraft to be optional
  • changed property path of type GraphQLError to be optional
Added Type(s)
  • added type GraphQLAnonymousIdAlreadyInUseError
  • added type GraphQLAttributeDefinitionAlreadyExistsError
  • added type GraphQLAttributeDefinitionTypeConflictError
  • added type GraphQLAttributeNameDoesNotExistError
  • added type GraphQLBadGatewayError
  • added type GraphQLConcurrentModificationError
  • added type GraphQLCountryNotConfiguredInStoreError
  • added type GraphQLDiscountCodeNonApplicableError
  • added type GraphQLDuplicateAttributeValueError
  • added type GraphQLDuplicateAttributeValuesError
  • added type GraphQLDuplicateEnumValuesError
  • added type GraphQLDuplicateFieldError
  • added type GraphQLDuplicateFieldWithConflictingResourceError
  • added type GraphQLDuplicatePriceKeyError
  • added type GraphQLDuplicatePriceScopeError
  • added type GraphQLDuplicateStandalonePriceScopeError
  • added type GraphQLDuplicateVariantValuesError
  • added type GraphQLEditPreviewFailedError
  • added type GraphQLEnumKeyAlreadyExistsError
  • added type GraphQLEnumKeyDoesNotExistError
  • added type GraphQLEnumValueIsUsedError
  • added type GraphQLEnumValuesMustMatchError
  • added type GraphQLErrorObject
  • added type GraphQLExtensionBadResponseError
  • added type GraphQLExtensionNoResponseError
  • added type GraphQLExtensionPredicateEvaluationFailedError
  • added type GraphQLExtensionUpdateActionsFailedError
  • added type GraphQLExternalOAuthFailedError
  • added type GraphQLFeatureRemovedError
  • added type GraphQLGeneralError
  • added type GraphQLInsufficientScopeError
  • added type GraphQLInternalConstraintViolatedError
  • added type GraphQLInvalidCredentialsError
  • added type GraphQLInvalidCurrentPasswordError
  • added type GraphQLInvalidFieldError
  • added type GraphQLInvalidInputError
  • added type GraphQLInvalidItemShippingDetailsError
  • added type GraphQLInvalidJsonInputError
  • added type GraphQLInvalidOperationError
  • added type GraphQLInvalidSubjectError
  • added type GraphQLInvalidTokenError
  • added type GraphQLLanguageUsedInStoresError
  • added type GraphQLMatchingPriceNotFoundError
  • added type GraphQLMaxResourceLimitExceededError
  • added type GraphQLMissingRoleOnChannelError
  • added type GraphQLMissingTaxRateForCountryError
  • added type GraphQLNoMatchingProductDiscountFoundError
  • added type GraphQLNotEnabledError
  • added type GraphQLObjectNotFoundError
  • added type GraphQLOutOfStockError
  • added type GraphQLOverCapacityError
  • added type GraphQLOverlappingStandalonePriceValidityError
  • added type GraphQLPendingOperationError
  • added type GraphQLPriceChangedError
  • added type GraphQLProductAssignmentMissingError
  • added type GraphQLProductPresentWithDifferentVariantSelectionError
  • added type GraphQLProjectNotConfiguredForLanguagesError
  • added type GraphQLQueryComplexityLimitExceededError
  • added type GraphQLQueryTimedOutError
  • added type GraphQLReferenceExistsError
  • added type GraphQLReferencedResourceNotFoundError
  • added type GraphQLRequiredFieldError
  • added type GraphQLResourceNotFoundError
  • added type GraphQLResourceSizeLimitExceededError
  • added type GraphQLSearchDeactivatedError
  • added type GraphQLSearchExecutionFailureError
  • added type GraphQLSearchFacetPathNotFoundError
  • added type GraphQLSearchIndexingInProgressError
  • added type GraphQLSemanticErrorError
  • added type GraphQLShippingMethodDoesNotMatchCartError
  • added type GraphQLSyntaxErrorError

Import changes

Added Property(s)
  • added property custom to type Parcel

Full Changelog: 13.1.0...13.2.0

13.1.0

27 Mar 11:28
c233eb8
Compare
Choose a tag to compare

What's Changed

  • Add NewRelic monitoring middleware by @jenschude in #415
  • Update generated SDKs by @github-actions in #411
  • Update generated SDKs by @github-actions in #416
  • Update generated SDKs by @github-actions in #417
  • Update generated SDKs by @github-actions in #418
  • Update generated SDKs by @github-actions in #419
  • Update generated SDKs by @github-actions in #420

Api changes

MarkDeprecated Type(s)
  • marked type ProductVariantSelectionExclusion as deprecated
  • marked type ProductVariantSelectionInclusion as deprecated
Added Type(s)
  • added type ProductSelectionProductExcludedMessage
  • added type ProductSelectionVariantExclusionChangedMessage
  • added type ProductSelectionProductExcludedMessagePayload
  • added type ProductSelectionVariantExclusionChangedMessagePayload
  • added type IndividualExclusionProductSelectionType
  • added type ProductVariantExclusion
  • added type ProductVariantSelectionIncludeAllExcept
  • added type ProductVariantSelectionIncludeOnly
  • added type ProductSelectionExcludeProductAction
  • added type ProductSelectionSetVariantExclusionAction
Added Enum(s)
  • added enum individualExclusion to type ProductSelectionTypeEnum
  • added enum includeOnly to type ProductVariantSelectionTypeEnum
  • added enum includeAllExcept to type ProductVariantSelectionTypeEnum
Changed Property(s)
  • ⚠️ changed property productSelection of type ProductSelectionCreatedMessage from type IndividualProductSelectionType to ProductSelectionType
  • ⚠️ changed property productSelection of type ProductSelectionCreatedMessagePayload from type IndividualProductSelectionType to ProductSelectionType
Added Property(s)
  • added property variantExclusion to type AssignedProductReference
  • added property variantExclusion to type AssignedProductSelection
  • added property variantExclusion to type ProductSelectionAssignment
  • added property type to type ProductSelectionDraft

Full Changelog: 13.0.1...13.1.0

13.0.1

20 Mar 10:40
90a482d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 13.0.0...13.0.1

13.0.0

06 Mar 12:20
bfec23b
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #398
  • context aware client, request and response by @jenschude in #400
  • add interface for ProjectApiRoot by @jenschude in #405
  • update dependencies by @jenschude in #406
  • Update generated SDKs by @github-actions in #399
  • various helper methods of the v1 SDK added by @barbara79 in #401
  • add mapping of v1 SDK commands to v2 request builders to javadoc by @jenschude in #409

Api changes

Removed Property(s)
  • ⚠️ removed property externalTaxRate from type MyCartAddLineItemAction
  • ⚠️ removed property externalPrice from type MyCartAddLineItemAction
  • ⚠️ removed property externalTotalPrice from type MyCartAddLineItemAction
Changed Property(s)
  • ⚠️ changed property totalPrice of type Cart from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalPrice of type CustomLineItem from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property externalTaxRate of type CustomShippingDraft from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type CustomShippingDraft from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type CustomShippingDraft from type string to CustomFieldsDraft
  • ⚠️ changed property totalPrice of type LineItem from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property externalTaxRate of type ShippingDraft from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type ShippingDraft from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type ShippingDraft from type string to CustomFieldsDraft
  • ⚠️ changed property price of type ShippingInfo from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property amount of type TaxPortion from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalNet of type TaxedItemPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalGross of type TaxedItemPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalTax of type TaxedItemPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalNet of type TaxedPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalGross of type TaxedPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalTax of type TaxedPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property externalTaxRate of type CartAddCustomShippingMethodAction from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type CartAddCustomShippingMethodAction from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type CartAddCustomShippingMethodAction from type string to CustomFieldsDraft
  • ⚠️ changed property shippingMethod of type CartAddShippingMethodAction from type ShippingMethodReference to ShippingMethodResourceIdentifier
  • ⚠️ changed property externalTaxRate of type CartAddShippingMethodAction from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type CartAddShippingMethodAction from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type CartAddShippingMethodAction from type string to CustomFieldsDraft
  • ⚠️ changed property businessUnit of type MyCartDraft from type BusinessUnitKeyReference to BusinessUnitResourceIdentifier
  • ⚠️ changed property store of type MyCartDraft from type StoreKeyReference to StoreResourceIdentifier
Required Property(s)
  • ⚠️ changed property inventoryMode of type Cart to be required
  • ⚠️ changed property itemShippingAddresses of type Cart to be required
  • ⚠️ changed property discountCodes of type Cart to be required
  • ⚠️ changed property directDiscounts of type Cart to be required
  • ⚠️ changed property shippingAddress of type ShippingDraft to be required
  • changed property quantity of type CustomLineItemDraft to be optional
  • changed property deliveries of type CustomShippingDraft to be optional
  • changed property deliveries of type ShippingDraft to be optional
  • changed property quantity of type CartAddCustomLineItemAction to be optional
  • changed property deliveries of type CartAddCustomShippingMethodAction to be optional
  • changed property deliveries of type CartAddShippingMethodAction to be optional
  • changed property email of type CartSetCustomerEmailAction to be optional
  • changed property quantity of type MyLineItemDraft to be optional
Added Property(s)
  • added property shippingDetails to type CartAddCustomLineItemAction
  • added property addedAt to type CartAddLineItemAction
  • added property inventoryMode to type CartAddLineItemAction
Added Resource(s)
  • added resource /{projectKey}/me/orders/quotes
Added Method(s)
  • added method apiRoot.withProjectKey().me().orders().quotes().post()
Removed Type(s)
  • ⚠️ removed type CountryNotConfiguredInStore
Added Type(s)
  • added type CartSetBusinessUnitAction
  • added type CountryNotConfiguredInStoreError
  • added type GoogleCloudFunctionDestination
  • added type MyOrderFromQuoteDraft
  • added type MyCartSetBusinessUnitAction
Added QueryParameter(s)
  • added query parameter sort to method get /{projectKey}/product-selections/key={key}/products
  • added query parameter sort to method get /{projectKey}/product-selections/{ID}/products
  • added query parameter expand to method get /{projectKey}/in-store/key={storeKey}/me/active-cart
Added Enum(s)
  • added enum shipping to type ResourceTypeId

Import changes

Required Property(s)
  • changed property password of type CustomerImport to be optional
Added Property(s)
  • added property authenticationMode to type CustomerImport
  • added property state to type OrderImport
  • added property custom to type Address
Added Type(s)
  • added type AuthenticationMode

Full Changelog: 12.1.0...13.0.0

12.1.0

10 Feb 14:54
e318593
Compare
Choose a tag to compare

What's Changed

  • create mixin interfaces to reduce the code in the mixin raml file by @jenschude in #394
  • Update generated SDKs by @github-actions in #393
  • Update generated SDKs by @github-actions in #395
  • Update generated SDKs by @github-actions in #396

Full Changelog: 12.0.0...12.1.0

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