Releases: commercetools/commercetools-sdk-java-v2
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
11.1.0
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 typeBusinessUnit
- added property
defaultShippingAddress
to typeBusinessUnitDraft
- added property
defaultShippingAddressId
to typeCompany
- added property
defaultShippingAddress
to typeCompanyDraft
- added property
defaultShippingAddressId
to typeDivision
- added property
defaultShippingAddress
to typeDivisionDraft
- added property
defaultShippingAddress
to typeMyBusinessUnitDraft
- added property
defaultShippingAddress
to typeMyCompanyDraft
- added property
defaultShippingAddress
to typeMyDivisionDraft
Removed Property(s)
⚠️ removed propertydefaultShipingAddressId
from typeBusinessUnit
⚠️ removed propertydefaultShipingAddress
from typeBusinessUnitDraft
⚠️ removed propertydefaultShipingAddressId
from typeCompany
⚠️ removed propertydefaultShipingAddress
from typeCompanyDraft
⚠️ removed propertydefaultShipingAddressId
from typeDivision
⚠️ removed propertydefaultShipingAddress
from typeDivisionDraft
⚠️ removed propertydefaultShipingAddress
from typeMyBusinessUnitDraft
⚠️ removed propertydefaultShipingAddress
from typeMyCompanyDraft
⚠️ removed propertydefaultShipingAddress
from typeMyDivisionDraft
Full Changelog: 11.0.0...11.1.0
11.0.0
What's Changed
- Update generated SDKs by @github-actions in #377
Fixes
MyQuoteRequestDraft
added thecartId
andcartVersion
field which replace thecart
andversion
field- fixed property
amount
of typeTransaction
from typeTypedMoney
toCentPrecisionMoney
- removed
ProductPriceSetMessage
and replaced withProductPricesSetMessage
Api changes
Added Resource(s)
- added resource
/{projectKey}/shipping-methods/matching-cart-location
Changed Property(s)
⚠️ changed propertyamount
of typeTransaction
from typeTypedMoney
toCentPrecisionMoney
Added Property(s)
- added property
cartId
to typeMyQuoteRequestDraft
- added property
cartVersion
to typeMyQuoteRequestDraft
- added property
createdAt
to typeAssignedProductSelection
- added property
quoteState
to typeQuote
Required Property(s)
- changed property
discounted
of typeStagedStandalonePrice
to be optional
Removed Property(s)
⚠️ removed propertycart
from typeMyQuoteRequestDraft
⚠️ removed propertyversion
from typeMyQuoteRequestDraft
Added Type(s)
- added type
ProductPricesSetMessage
- added type
ProductPricesSetMessagePayload
Removed Type(s)
⚠️ removed typeProductPriceSetMessage
⚠️ removed typeProductPriceSetMessagePayload
Added Method(s)
- added method
apiRoot.withProjectKey().shippingMethods().matchingCartLocation().get()
Full Changelog: 10.1.0...11.0.0
10.1.0
What's Changed
- add helper method equalsIgnoreId to BaseAddress by @jenschude
- Update generated SDKs by @github-actions in #376
- Add methods
update
,delete
andcreate
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 propertyconflictingPrices
from typeDuplicatePriceScopeError
Added Property(s)
- added property
conflictingPrice
to typeDuplicatePriceScopeError
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
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
-
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 typeDiscountCodeNonApplicableError
- added property
extensionErrors
to typeExtensionBadResponseError
- added property
extensionBody
to typeExtensionBadResponseError
- added property
extensionStatusCode
to typeExtensionBadResponseError
- added property
extensionId
to typeExtensionBadResponseError
- added property
extensionKey
to typeExtensionBadResponseError
- added property
extensionErrors
to typeExtensionUpdateActionsFailedError
- added property
detailedErrorMessage
to typeInvalidJsonInputError
- added property
countries
to typeStoreCreatedMessage
- added property
countries
to typeStoreCreatedMessagePayload
- added property
priceMode
to typeProductProjection
- added property
countries
to typeStore
- added property
countries
to typeStoreDraft
Removed Property(s)
⚠️ removed propertydicountCodeId
from typeDiscountCodeNonApplicableError
⚠️ removed propertyconflictingResource
from typeDuplicateFieldError
⚠️ removed propertyerror
from typeErrorResponse
⚠️ removed propertyerror_description
from typeErrorResponse
⚠️ removed propertyerrorByExtension
from typeExtensionBadResponseError
⚠️ removed propertyerrorByExtension
from typeExtensionUpdateActionsFailedError
Changed Property(s)
⚠️ changed propertyamountPlanned
of typeMyPayment
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyamountPlanned
of typePayment
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyassets
of typeProductAddVariantAction
from typeAssets[]
toAssetsDraft[]
Required Property(s)
⚠️ changed propertyfield
of typeDuplicateFieldError
to be required⚠️ changed propertyduplicateValue
of typeDuplicateFieldError
to be required⚠️ changed propertystate
of typeTransaction
to be required⚠️ changed propertylineItems
of typeShoppingList
to be required⚠️ changed propertytextLineItems
of typeShoppingList
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 typeAccessDeniedError
⚠️ removed typeWeakPasswordError
Added QueryParameter(s)
- added query parameter
localeProjection
to methodget /{projectKey}/products
- added query parameter
localeProjection
to methodpost /{projectKey}/products
- added query parameter
localeProjection
to methodget /{projectKey}/products/key={key}
- added query parameter
localeProjection
to methodpost /{projectKey}/products/key={key}
- added query parameter
localeProjection
to methoddelete /{projectKey}/products/key={key}
- added query parameter
localeProjection
to methodget /{projectKey}/products/{ID}
- added query parameter
localeProjection
to methodpost /{projectKey}/products/{ID}
- added query parameter
localeProjection
to methoddelete /{projectKey}/products/{ID}
- added query parameter
staged
to methodget /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
- added query parameter
staged
to methodget /{projectKey}/in-store/key={storeKey}/product-projections/{ID}
Full Changelog: 9.5.0...10.0.0
9.5.0
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 typeCartSetLineItemTaxAmountAction
- added property
shippingKey
to typeCartSetLineItemTaxRateAction
- added property
salutation
to typeMyCustomerDraft
- added property
shippingKey
to typeStagedOrderSetLineItemTaxAmountAction
- added property
shippingKey
to typeStagedOrderSetLineItemTaxRateAction
- added property
quoteStateToAccepted
to typeOrderFromQuoteDraft
- added property
stagedQuoteStateToSent
to typeQuoteDraft
- added property
quoteRequestStateToAccepted
to typeStagedQuoteDraft
- added property
authenticationMode
to typeSnsDestination
- added property
authenticationMode
to typeSqsDestination
Changed Property(s)
⚠️ changed propertysort
of typeOrderSearchRequest
from typeOrderSearchSorting
toList\<OrderSearchSorting\>
⚠️ changed propertyresourceTypeId
of typeChangeSubscription
from typestring
toChangeSubscriptionResourceTypeId
⚠️ changed propertyresourceTypeId
of typeMessageSubscription
from typestring
toMessageSubscriptionResourceTypeId
⚠️ changed propertypayloadNotIncluded
of typeMessageDeliveryPayload
to be optional⚠️ changed propertyaccessKey
of typeSnsDestination
to be optional⚠️ changed propertyaccessSecret
of typeSnsDestination
to be optional⚠️ changed propertyaccessKey
of typeSqsDestination
to be optional⚠️ changed propertyaccessSecret
of typeSqsDestination
to be optional⚠️ changed propertyauthenticationMode
of typeCustomer
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 typeOrderSearchSorting
from typestring
toobject
- 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 typeOrderImport
Removed Property(s)
⚠️ removed propertytotalTax
from typeTaxedPrice
Full Changelog: 9.4.0...9.5.0
9.4.0
9.3.0
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 toMoney
- 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
What's Changed
- fix deserialization of customfields with node key by @jenschude
Full Changelog: 9.2.1...9.2.2