Releases: commercetools/commercetools-sdk-java-v2
Releases · commercetools/commercetools-sdk-java-v2
14.1.0
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 typeOrderSearchSorting
- added property
language
to typeOrderSearchSorting
- added property
order
to typeOrderSearchSorting
- added property
mode
to typeOrderSearchSorting
- added property
filter
to typeOrderSearchSorting
- added property
mode
to typeProductSelection
- added property
mode
to typeProductSelectionDraft
Changed Property(s)
⚠️ changed propertyproductSelection
of typeProductSelectionCreatedMessage
from typeProductSelectionType
toProductSelection
⚠️ changed propertyproductSelection
of typeProductSelectionCreatedMessagePayload
from typeProductSelectionType
toProductSelection
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 typeProductSelection
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
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 typeReferenceTypeId
Added Property(s)
- added property
shippingKey
to typeCart
- added property
shippingCustomFields
to typeCart
- added property
shippingKey
to typeStagedOrder
- added property
shippingCustomFields
to typeStagedOrder
- added property
shippingKey
to typeOrder
- added property
shippingCustomFields
to typeOrder
Changed Property(s)
⚠️ changed propertydiscount
of typeDiscountedLineItemPortion
from typeCartDiscountReference
toReference
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
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 typeTaxRate
- added property
key
to typeTaxRateDraft
- added property
taxRateKey
to typeTaxCategoryRemoveTaxRateAction
- added property
taxRateKey
to typeTaxCategoryReplaceTaxRateAction
Required Property(s)
- changed property
taxRateId
of typeTaxCategoryRemoveTaxRateAction
to be optional - changed property
taxRateId
of typeTaxCategoryReplaceTaxRateAction
to be optional
New Contributors
- @lojzatran made their first contribution in #408
Full Changelog: 13.2.0...13.3.0
13.2.0
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 typeGraphQLError
Required Property(s)
- changed property
roles
of typeAssociateDraft
to be optional - changed property
path
of typeGraphQLError
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 typeParcel
Full Changelog: 13.1.0...13.2.0
13.1.0
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 typeProductSelectionTypeEnum
- added enum
includeOnly
to typeProductVariantSelectionTypeEnum
- added enum
includeAllExcept
to typeProductVariantSelectionTypeEnum
Changed Property(s)
⚠️ changed propertyproductSelection
of typeProductSelectionCreatedMessage
from typeIndividualProductSelectionType
toProductSelectionType
⚠️ changed propertyproductSelection
of typeProductSelectionCreatedMessagePayload
from typeIndividualProductSelectionType
toProductSelectionType
Added Property(s)
- added property
variantExclusion
to typeAssignedProductReference
- added property
variantExclusion
to typeAssignedProductSelection
- added property
variantExclusion
to typeProductSelectionAssignment
- added property
type
to typeProductSelectionDraft
Full Changelog: 13.0.1...13.1.0
13.0.1
What's Changed
- Javadoc by @barbara79 in #413
- fix class cast exception for MoneyUtils by @jenschude in #414
Full Changelog: 13.0.0...13.0.1
13.0.0
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 propertyexternalTaxRate
from typeMyCartAddLineItemAction
⚠️ removed propertyexternalPrice
from typeMyCartAddLineItemAction
⚠️ removed propertyexternalTotalPrice
from typeMyCartAddLineItemAction
Changed Property(s)
⚠️ changed propertytotalPrice
of typeCart
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalPrice
of typeCustomLineItem
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyexternalTaxRate
of typeCustomShippingDraft
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeCustomShippingDraft
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeCustomShippingDraft
from typestring
toCustomFieldsDraft
⚠️ changed propertytotalPrice
of typeLineItem
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyexternalTaxRate
of typeShippingDraft
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeShippingDraft
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeShippingDraft
from typestring
toCustomFieldsDraft
⚠️ changed propertyprice
of typeShippingInfo
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyamount
of typeTaxPortion
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalNet
of typeTaxedItemPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalGross
of typeTaxedItemPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalTax
of typeTaxedItemPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalNet
of typeTaxedPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalGross
of typeTaxedPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalTax
of typeTaxedPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyexternalTaxRate
of typeCartAddCustomShippingMethodAction
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeCartAddCustomShippingMethodAction
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeCartAddCustomShippingMethodAction
from typestring
toCustomFieldsDraft
⚠️ changed propertyshippingMethod
of typeCartAddShippingMethodAction
from typeShippingMethodReference
toShippingMethodResourceIdentifier
⚠️ changed propertyexternalTaxRate
of typeCartAddShippingMethodAction
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeCartAddShippingMethodAction
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeCartAddShippingMethodAction
from typestring
toCustomFieldsDraft
⚠️ changed propertybusinessUnit
of typeMyCartDraft
from typeBusinessUnitKeyReference
toBusinessUnitResourceIdentifier
⚠️ changed propertystore
of typeMyCartDraft
from typeStoreKeyReference
toStoreResourceIdentifier
Required Property(s)
⚠️ changed propertyinventoryMode
of typeCart
to be required⚠️ changed propertyitemShippingAddresses
of typeCart
to be required⚠️ changed propertydiscountCodes
of typeCart
to be required⚠️ changed propertydirectDiscounts
of typeCart
to be required⚠️ changed propertyshippingAddress
of typeShippingDraft
to be required- changed property
quantity
of typeCustomLineItemDraft
to be optional - changed property
deliveries
of typeCustomShippingDraft
to be optional - changed property
deliveries
of typeShippingDraft
to be optional - changed property
quantity
of typeCartAddCustomLineItemAction
to be optional - changed property
deliveries
of typeCartAddCustomShippingMethodAction
to be optional - changed property
deliveries
of typeCartAddShippingMethodAction
to be optional - changed property
email
of typeCartSetCustomerEmailAction
to be optional - changed property
quantity
of typeMyLineItemDraft
to be optional
Added Property(s)
- added property
shippingDetails
to typeCartAddCustomLineItemAction
- added property
addedAt
to typeCartAddLineItemAction
- added property
inventoryMode
to typeCartAddLineItemAction
Added Resource(s)
- added resource
/{projectKey}/me/orders/quotes
Added Method(s)
- added method
apiRoot.withProjectKey().me().orders().quotes().post()
Removed Type(s)
⚠️ removed typeCountryNotConfiguredInStore
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 methodget /{projectKey}/product-selections/key={key}/products
- added query parameter
sort
to methodget /{projectKey}/product-selections/{ID}/products
- added query parameter
expand
to methodget /{projectKey}/in-store/key={storeKey}/me/active-cart
Added Enum(s)
- added enum
shipping
to typeResourceTypeId
Import changes
Required Property(s)
- changed property
password
of typeCustomerImport
to be optional
Added Property(s)
- added property
authenticationMode
to typeCustomerImport
- added property
state
to typeOrderImport
- added property
custom
to typeAddress
Added Type(s)
- added type
AuthenticationMode
Full Changelog: 12.1.0...13.0.0
12.1.0
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
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 typeStagedOrder
- added property
purchaseOrderNumber
to typeOrder
- added property
purchaseOrderNumber
to typeOrderFromCartDraft
- added property
purchaseOrderNumber
to typeQuoteRequest
- added property
purchaseOrderNumber
to typeQuoteRequestDraft
- added property
purchaseOrderNumber
to typeQuote
- added property
purchaseOrderNumber
to typeStagedQuote
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
What's Changed
- refactor properties with union types by @jenschude in #382
Api changes
- field
target
ofReview
changed toReference
- field
target
ofReviewDraft
changed toResourceIdentifier
- field
reference
ofReplicaCartDraft
changed to typeReference
Deprecations
- deprecated use of
setTarget(Object)
forReview
andReviewDraft
- deprecated use of
setReference(Object)
forReplicaCartDraft
- deprecated
ReviewMixin
- deprecated
ReplicaCartDraftMixin
Full Changelog: 11.1.0...11.2.0