- Update changelog by @ct-sdks in #739
- Update generated SDKs by @ct-sdks in #740
- optimize OkHttp3 client by @jenschude in #741
- Update generated SDKs by @ct-sdks in #743
- fix exportSignatures plugin by @jenschude in #745
- Fix deserialization if subtype discriminator is missing by @jenschude in #746
- Update generated SDKs by @ct-sdks in #747
- Update generated SDKs by @ct-sdks in #749
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.16.0...17.17.0
- Update changelog by @ct-sdks in #728
- Update generated SDKs by @ct-sdks in #729
- Update generated SDKs by @ct-sdks in #730
- update service regions by @jenschude in #731
- Create config.yml by @jenschude in #732
- Update generated SDKs by @ct-sdks in #733
- Update generated SDKs by @ct-sdks in #735
- Update generated SDKs by @ct-sdks in #736
- Update generated SDKs by @ct-sdks in #737
- Update generated SDKs by @ct-sdks in #738
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.15.1...17.16.0
- Update changelog by @ct-sdks in #719
- Update generated SDKs by @ct-sdks in #720
- Update generated SDKs by @ct-sdks in #721
- Update generated SDKs by @ct-sdks in #722
- Update generated SDKs by @ct-sdks in #723
- Switch (de)serialization metrics to the correct meaning by @lojzatran in #724
- Update generated SDKs by @ct-sdks in #725
- add test for Datadog middleware by @jenschude in #726
- Send datadog metrics in double instead of long by @lojzatran in #727
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.15.0...17.15.1
- Update changelog by @ct-sdks in #704
- Update generated SDKs by @ct-sdks in #705
- Update generated SDKs by @ct-sdks in #706
- Update generated SDKs by @ct-sdks in #707
- Update generated SDKs by @ct-sdks in #708
- Update generated SDKs by @ct-sdks in #711
- Update generated SDKs by @ct-sdks in #713
- Update generated SDKs by @ct-sdks in #714
- Update generated SDKs by @ct-sdks in #715
- Update generated SDKs by @ct-sdks in #716
- Update generated SDKs by @ct-sdks in #717
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.14.0...17.15.0
- fixes path traversal in requests when using unsanitized path parameters
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.13.0...17.14.0
Api changes
Changed Property(s)
⚠️ changed propertycustomType
of typeOrderSearchAnyValue
from typestring
toOrderSearchCustomType
⚠️ changed propertycustomType
of typeOrderSearchDateRangeValue
from typestring
toOrderSearchCustomType
⚠️ changed propertycustomType
of typeOrderSearchFullTextValue
from typestring
toOrderSearchCustomType
⚠️ changed propertycustomType
of typeOrderSearchLongRangeValue
from typestring
toOrderSearchCustomType
⚠️ changed propertycustomType
of typeOrderSearchNumberRangeValue
from typestring
toOrderSearchCustomType
⚠️ changed propertycustomType
of typeOrderSearchQueryExpressionValue
from typestring
toOrderSearchCustomType
⚠️ changed propertycustomType
of typeOrderSearchStringValue
from typestring
toOrderSearchCustomType
Added Property(s)
- added property
approvalRuleMode
to typeBusinessUnit
- added property
approvalRuleMode
to typeBusinessUnitDraft
- added property
approvalRuleMode
to typeCompany
- added property
approvalRuleMode
to typeCompanyDraft
- added property
approvalRuleMode
to typeDivision
- added property
approvalRuleMode
to typeDivisionDraft
- added property
addressId
to typeBusinessUnitAddressCustomFieldAddedMessage
- added property
addressId
to typeBusinessUnitAddressCustomFieldChangedMessage
- added property
addressId
to typeBusinessUnitAddressCustomFieldRemovedMessage
- added property
addressId
to typeBusinessUnitAddressCustomTypeRemovedMessage
- added property
addressId
to typeBusinessUnitAddressCustomTypeSetMessage
- added property
addressId
to typeCustomerAddressCustomFieldAddedMessage
- added property
addressId
to typeCustomerAddressCustomFieldChangedMessage
- added property
addressId
to typeCustomerAddressCustomFieldRemovedMessage
- added property
addressId
to typeCustomerAddressCustomTypeRemovedMessage
- added property
addressId
to typeCustomerAddressCustomTypeSetMessage
- added property
metaTitle
to typeProductTailoringCreatedMessage
- added property
metaDescription
to typeProductTailoringCreatedMessage
- added property
metaKeywords
to typeProductTailoringCreatedMessage
- added property
variants
to typeProductTailoringCreatedMessage
- added property
addressId
to typeBusinessUnitAddressCustomFieldAddedMessagePayload
- added property
addressId
to typeBusinessUnitAddressCustomFieldChangedMessagePayload
- added property
addressId
to typeBusinessUnitAddressCustomFieldRemovedMessagePayload
- added property
addressId
to typeBusinessUnitAddressCustomTypeRemovedMessagePayload
- added property
addressId
to typeBusinessUnitAddressCustomTypeSetMessagePayload
- added property
addressId
to typeCustomerAddressCustomFieldAddedMessagePayload
- added property
addressId
to typeCustomerAddressCustomFieldChangedMessagePayload
- added property
addressId
to typeCustomerAddressCustomFieldRemovedMessagePayload
- added property
addressId
to typeCustomerAddressCustomTypeRemovedMessagePayload
- added property
addressId
to typeCustomerAddressCustomTypeSetMessagePayload
- added property
metaTitle
to typeProductTailoringCreatedMessagePayload
- added property
metaDescription
to typeProductTailoringCreatedMessagePayload
- added property
metaKeywords
to typeProductTailoringCreatedMessagePayload
- added property
variants
to typeProductTailoringCreatedMessagePayload
- added property
variants
to typeProductTailoringData
- added property
variants
to typeProductTailoringDraft
- added property
variants
to typeProductTailoringInStoreDraft
- added property
active
to typeShippingMethod
- added property
active
to typeShippingMethodDraft
- added property
store
to typeStagedQuote
Added Resource(s)
- added resource
/{projectKey}/customers/search
- added resource
/{projectKey}/customers/search/indexing-status
- added resource
/{projectKey}/in-store/key={storeKey}/quote-requests
- added resource
/{projectKey}/in-store/key={storeKey}/staged-quotes
- added resource
/{projectKey}/in-store/key={storeKey}/quotes
- added resource
/{projectKey}/in-store/key={storeKey}/orders/quotes
- added resource
/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images
- added resource
/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images
- added resource
/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}
- added resource
/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}
- added resource
/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}
- added resource
/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}
- added resource
/{projectKey}/in-store/key={storeKey}/quotes/key={key}
- added resource
/{projectKey}/in-store/key={storeKey}/quotes/{ID}
Removed Resource(s)
⚠️ removed resource/{projectKey}/me/carts/key={key}
Removed QueryParameter(s)
⚠️ removed query parameterlocaleProjection
from methodget /{projectKey}/products
⚠️ removed query parameterlocaleProjection
from methodpost /{projectKey}/products
⚠️ removed query parameterlocaleProjection
from methodget /{projectKey}/products/key={key}
⚠️ removed query parameterlocaleProjection
from methodpost /{projectKey}/products/key={key}
⚠️ removed query parameterlocaleProjection
from methoddelete /{projectKey}/products/key={key}
⚠️ removed query parameterlocaleProjection
from methodget /{projectKey}/products/{ID}
⚠️ removed query parameterlocaleProjection
from methodpost /{projectKey}/products/{ID}
⚠️ removed query parameterlocaleProjection
from methoddelete /{projectKey}/products/{ID}
⚠️ removed query parametersort
from methodget /{projectKey}/product-projections/suggest
⚠️ removed query parameteroffset
from methodget /{projectKey}/product-projections/suggest
⚠️ removed query parameterwithTotal
from methodget /{projectKey}/product-projections/suggest
Added Method(s)
- added method
apiRoot.withProjectKey().customers().search().post()
- added method
apiRoot.withProjectKey().customers().search().head()
- added method
apiRoot.withProjectKey().customers().searchIndexingStatus().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().orderQuote().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductId().productTailoring().images().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductKey().productTailoring().images().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().delete()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().delete()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().delete()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().delete()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().delete()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().head()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().delete()
Removed Method(s)
⚠️ removed methodapiRoot.withProjectKey().me().carts().withKey().get()
⚠️ removed methodapiRoot.withProjectKey().me().carts().withKey().head()
⚠️ removed methodapiRoot.withProjectKey().me().carts().withKey().post()
⚠️ removed methodapiRoot.withProjectKey().me().carts().withKey().delete()
⚠️ removed methodapiRoot.withProjectKey().me().quoteRequests().withId().delete()
⚠️ removed methodapiRoot.withProjectKey().me().quoteRequests().withKey().delete()
Added Enum(s)
- added enum
shopping-list
to typeExtensionResourceTypeId
- added enum
customer-group
to typeAttributeReferenceTypeId
- added enum
attribute-group
to typeChangeSubscriptionResourceTypeId
- added enum
product-tailoring
to typeChangeSubscriptionResourceTypeId
- added enum
cart-discount
to typeCustomFieldReferenceValue
- added enum
customer-group
to typeCustomFieldReferenceValue
Removed Enum(s)
⚠️ removed enumproduct-price
from typeChangeSubscriptionResourceTypeId
Added Type(s)
- added type
BusinessUnitApprovalRuleMode
- added type
BusinessUnitChangeApprovalRuleModeAction
- added type
CartChangeLineItemsOrderAction
- added type
CustomerIndexingProgress
- added type
CustomerIndexingStatus
- added type
CustomerPagedSearchResponse
- added type
CustomerSearchIndexingStatusResponse
- added type
CustomerSearchRequest
- added type
CustomerSearchResult
- added type
MyCartChangeLineItemsOrderAction
- added type
BusinessUnitApprovalRuleModeChangedMessage
- added type
ProductPriceCustomFieldAddedMessage
- added type
ProductPriceCustomFieldChangedMessage
- added type
ProductPriceCustomFieldRemovedMessage
- added type
ProductPriceCustomFieldsRemovedMessage
- added type
ProductPriceCustomFieldsSetMessage
- added type
ProductTailoringImageAddedMessage
- added type
ProductTailoringImagesSetMessage
- added type
ProductVariantTailoringAddedMessage
- added type
ProductVariantTailoringRemovedMessage
- added type
BusinessUnitApprovalRuleModeChangedMessagePayload
- added type
ProductPriceCustomFieldAddedMessagePayload
- added type
ProductPriceCustomFieldChangedMessagePayload
- added type
ProductPriceCustomFieldRemovedMessagePayload
- added type
ProductPriceCustomFieldsRemovedMessagePayload
- added type
ProductPriceCustomFieldsSetMessagePayload
- added type
ProductTailoringImageAddedMessagePayload
- added type
ProductTailoringImagesSetMessagePayload
- added type
ProductVariantTailoringAddedMessagePayload
- added type
ProductVariantTailoringRemovedMessagePayload
- added type
OrderSearchCustomType
- added type
ProductVariantTailoring
- added type
ProductVariantTailoringDraft
- added type
ProductTailoringAddAssetAction
- added type
ProductTailoringAddExternalImageAction
- added type
ProductTailoringAddVariantAction
- added type
ProductTailoringChangeAssetNameAction
- added type
ProductTailoringChangeAssetOrderAction
- added type
ProductTailoringMoveImageToPositionAction
- added type
ProductTailoringRemoveAssetAction
- added type
ProductTailoringRemoveImageAction
- added type
ProductTailoringRemoveVariantAction
- added type
ProductTailoringSetAssetCustomFieldAction
- added type
ProductTailoringSetAssetCustomTypeAction
- added type
ProductTailoringSetAssetDescriptionAction
- added type
ProductTailoringSetAssetKeyAction
- added type
ProductTailoringSetAssetSourcesAction
- added type
ProductTailoringSetAssetTagsAction
- added type
ProductTailoringSetExternalImagesAction
- added type
ProductTailoringSetImageLabelAction
- added type
CustomerSearchStatus
- added type
ProjectChangeCustomerSearchStatusAction
- added type
ShippingMethodChangeActiveAction
Import changes
Added Enum(s)
- added enum
customer-group
to typeCustomFieldReferenceValue
Deprecated Property(s)
- property
PriceImport::publish
is removed - property
ProductVariantImport::publish
is removed
- Update changelog by @ct-sdks in #663
- Update generated SDKs by @ct-sdks in #664
- Update generated SDKs by @ct-sdks in #667
- Update generated SDKs by @ct-sdks in #668
- Update generated SDKs by @ct-sdks in #669
- Update generated SDKs by @ct-sdks in #670
- Update generated SDKs by @ct-sdks in #671
- Update generated SDKs by @ct-sdks in #672
- Update generated SDKs by @ct-sdks in #673
- Update generated SDKs by @ct-sdks in #674
- Update generated SDKs by @ct-sdks in #675
- Update generated SDKs by @ct-sdks in #678
- Update generated SDKs by @ct-sdks in #679
- Update generated SDKs by @ct-sdks in #680
- Update generated SDKs by @ct-sdks in #681
- Update generated SDKs by @ct-sdks in #682
- Update generated SDKs by @ct-sdks in #683
- Update generated SDKs by @ct-sdks in #684
- Update generated SDKs by @ct-sdks in #685
- Update generated SDKs by @ct-sdks in #686
- Update generated SDKs by @ct-sdks in #687
- Update generated SDKs by @ct-sdks in #688
- Update generated SDKs by @ct-sdks in #689
- Update generated SDKs by @ct-sdks in #690
- Update generated SDKs by @ct-sdks in #691
- Update generated SDKs by @ct-sdks in #692
- Update generated SDKs by @ct-sdks in #693
- Update generated SDKs by @ct-sdks in #694
- Update generated SDKs by @ct-sdks in #695
- Update generated SDKs by @ct-sdks in #696
- Update generated SDKs by @ct-sdks in #697
- Update generated SDKs by @ct-sdks in #698
- Update generated SDKs by @ct-sdks in #699
- Update generated SDKs by @ct-sdks in #700
- Update generated SDKs by @ct-sdks in #701
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.12.0...17.13.0
This major release branch will be the last compatible with JDK version 8. The major release will have JDK version 11 as minimum requirement. The references to Java EE like bean validation will be updated to Jakarta EE. This will remove incompatibilities with newer frameworks and opens upgrade pathes.
- Update datadog example app to include traces and add to cart by @lojzatran in #617
- Update changelog by @ct-sdks in #634
- Update generated SDKs by @ct-sdks in #635
- Update generated SDKs by @ct-sdks in #638
- Update generated SDKs by @ct-sdks in #639
- Update generated SDKs by @ct-sdks in #640
- Update generated SDKs by @ct-sdks in #643
- Update generated SDKs by @ct-sdks in #644
- Update generated SDKs by @ct-sdks in #645
- Update generated SDKs by @ct-sdks in #646
- Update generated SDKs by @ct-sdks in #647
- Update generated SDKs by @ct-sdks in #648
- Update generated SDKs by @ct-sdks in #650
- Update generated SDKs by @ct-sdks in #651
- Update generated SDKs by @ct-sdks in #652
- Update generated SDKs by @ct-sdks in #653
- Update generated SDKs by @ct-sdks in #654
- Update generated SDKs by @ct-sdks in #655
- Update generated SDKs by @ct-sdks in #656
- Update generated SDKs by @ct-sdks in #657
- Update generated SDKs by @ct-sdks in #658
- Update generated SDKs by @ct-sdks in #660
- Update generated SDKs by @ct-sdks in #661
- update SLF4J to 2.0 by @jenschude in #662
- chore(deps): update github/codeql-action digest to 2e230e8 by @renovate in #641
- chore(deps): update all dependencies by @renovate in #637
- chore(deps): update actions/checkout digest to a5ac7e5 by @renovate in #636
- chore(deps): update actions/setup-java digest to 99b8673 by @renovate in #612
- chore(deps): lock file maintenance by @renovate in #642
- chore(deps): update plugin org.jetbrains.kotlin.jvm to v2 by @renovate in #649
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.11.0...17.12.0
- Update changelog by @ct-sdks in #626
- Update generated SDKs by @ct-sdks in #627
- [DEVX-344] add missing service regions by @jenschude in #628
- Update generated SDKs by @ct-sdks in #629
- Update generated SDKs by @ct-sdks in #631
- update bootstrap, jquery, jquery-validation by @jenschude in #632
- chore(deps): update all dependencies by @renovate in #618
- use codecov GH action by @jenschude in #633
- chore(deps): update actions/create-github-app-token digest to a0de6af by @renovate in #611
- chore(deps): update gradle/wrapper-validation-action action to v3 by @renovate in #619
- chore(deps): update github/codeql-action digest to d39d31e by @renovate in #613
- Newrelic add metrics by @lojzatran in #630
- fix(deps): update dependency husky to v9 by @renovate in #621
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.10.0...17.11.0
- Update changelog by @ct-sdks in #616
- deserialize product search facets by @jenschude in #624
- Update generated SDKs by @ct-sdks in #610
- Update generated SDKs by @ct-sdks in #625
Api changes
Changed Property(s)
⚠️ changed propertycustom
of typeMyBusinessUnitDraft
from typeCustomFields
toCustomFieldsDraft
⚠️ changed propertycustom
of typeMyCompanyDraft
from typeCustomFields
toCustomFieldsDraft
⚠️ changed propertycustom
of typeMyDivisionDraft
from typeCustomFields
toCustomFieldsDraft
Added Property(s)
- added property
attributedTo
to typeCreatedBy
- added property
attributedTo
to typeLastModifiedBy
- added property
postFilter
to typeProductSearchRequest
Required Property(s)
⚠️ changed propertystores
of typeBusinessUnit
to be required⚠️ changed propertystores
of typeCompany
to be required⚠️ changed propertystores
of typeDivision
to be required⚠️ changed propertystores
of typeBusinessUnitSetStoresAction
to be required⚠️ changed propertystores
of typeCartDiscountSetStoresAction
to be required⚠️ changed propertystores
of typeCustomer
to be required⚠️ changed propertystores
of typeCustomerSetStoresAction
to be required
Added Type(s)
- added type
Attribution
- added type
AttributionSource
Removed Method(s)
⚠️ removed methodapiRoot.withProjectKey().products().search().head()
Import changes
Added Resource(s)
- added resource
/{projectKey}/discount-codes
- added resource
/{projectKey}/discount-codes/import-containers
- added resource
/{projectKey}/discount-codes/import-containers/{importContainerKey}
Added Method(s)
- added method
apiRoot.withProjectKeyValue().discountCodes().importContainers().withImportContainerKeyValue().post()
Added Type(s)
- added type
DiscountCodeImportRequest
- added type
DiscountCodeImport
Added Enum(s)
- added enum
discount-code
to typeImportResourceType
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.9.0...17.10.0
- Update changelog by @ct-sdks in #609
- Make javadoc consistent across monitoring middlewares by @lojzatran in #615
- Add dogstatsd support by @lojzatran in #599
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.8.0...17.9.0
- Update changelog by @ct-sdks in #592
- Update generated SDKs by @ct-sdks in #593
- Update generated SDKs by @ct-sdks in #594
- Update generated SDKs by @ct-sdks in #597
- Update generated SDKs by @ct-sdks in #598
- Update generated SDKs by @ct-sdks in #600
- Update generated SDKs by @ct-sdks in #602
- Update generated SDKs by @ct-sdks in #603
- Replace deprecated retry middleware with policy middleware in docs by @lojzatran in #601
- Add integration test to get a valid oauth token by @lojzatran in #596
- Update generated SDKs by @ct-sdks in #605
- Update generated SDKs by @ct-sdks in #607
- Update generated SDKs by @ct-sdks in #608
- chore(deps): update gradle/actions digest to 417ae3c by @renovate in #582
- chore(deps): update yarn to v4 by @renovate in #510
- fix(deps): update dependency org.jdrupes.taglets:plantuml-taglet to v3 by @renovate in #497
- chore(deps): update all dependencies by @renovate in #575
- chore(deps): update actions/create-github-app-token digest to 78e5f2d by @renovate in #574
- chore(deps): update github/codeql-action digest to 1b1aada by @renovate in #581
- chore(deps): update ts-graphviz/setup-graphviz action to v2 by @renovate in #576
- fix(deps): update dependency com.squareup.okio:okio to v3 by @renovate in #590
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.7.0...17.8.0
- Update CODEOWNERS by @evansinho in #577
- Update generated SDKs by @ct-sdks in #579
- chore(deps): pin dependencies by @renovate in #573
- Add how to use datadog module example by @lojzatran in #578
- Update generated SDKs by @ct-sdks in #580
- Update generated SDKs by @ct-sdks in #584
- Update generated SDKs by @ct-sdks in #585
- Update generated SDKs by @ct-sdks in #586
- Update generated SDKs by @ct-sdks in #587
- Update generated SDKs by @ct-sdks in #588
- Update generated SDKs by @ct-sdks in #591
- Highlight tests in the docs by @lojzatran in #583
Api changes
Added Type(s)
- added type
DiscountedLineItemPortionDraft
Required Property(s)
⚠️ changed propertyisOnStock
of typeProductVariantAvailability
to be required- changed property
priceMode
of typeCustomLineItemDraft
to be optional - changed property
oldShipmentState
of typeOrderShipmentStateChangedMessage
to be optional - changed property
oldOrderState
of typeOrderStateChangedMessage
to be optional - changed property
oldShipmentState
of typeOrderShipmentStateChangedMessagePayload
to be optional - changed property
oldOrderState
of typeOrderStateChangedMessagePayload
to be optional
Changed Property(s)
⚠️ changed propertyincludedDiscounts
of typeDiscountedLineItemPriceDraft
from typeDiscountedLineItemPortion[]
toDiscountedLineItemPortionDraft[]
Added Property(s)
- added property
totalTax
to typeTaxedPriceDraft
- added property
id
to typeProductVariantAvailability
- added property
version
to typeProductVariantAvailability
- @evansinho made their first contribution in #577
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.6.0...17.7.0
- Search builder by @jenschude in #542
- Remove the incorrect lines by @johthor in #558
- Update generated SDKs by @ct-sdks in #557
- Update generated SDKs by @ct-sdks in #561
- Update generated SDKs by @ct-sdks in #562
- Update generated SDKs by @ct-sdks in #563
- Update generated SDKs by @ct-sdks in #564
- chore(deps): update all dependencies by @renovate in #549
- chore(deps): update stefanzweifel/git-auto-commit-action digest to 12f6863 by @renovate in #532
- update mockito by @jenschude in #565
- chore(deps): pin dependencies by @renovate in #566
- chore(deps): update all dependencies by @renovate in #567
- Update generated SDKs by @ct-sdks in #570
- Update generated SDKs by @ct-sdks in #571
- update dependencies by @jenschude in #572
- Add datadog monitoring module by @lojzatran in #568
- @johthor made their first contribution in #558
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.5.0...17.6.0
- add option to customise log formats by @jenschude in #548
- Update generated SDKs by @ct-sdks in #547
- fix RetryHandler class cast exception by @jenschude in #556
Api changes
Added Type(s)
- added type
CartDiscountCreatedMessage
- added type
CartDiscountDeletedMessage
- added type
CartDiscountStoreAddedMessage
- added type
CartDiscountStoreRemovedMessage
- added type
CartDiscountStoresSetMessage
- added type
CartDiscountCreatedMessagePayload
- added type
CartDiscountDeletedMessagePayload
- added type
CartDiscountStoreAddedMessagePayload
- added type
CartDiscountStoreRemovedMessagePayload
- added type
CartDiscountStoresSetMessagePayload
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.4.0...17.5.0
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.4.0...17.5.0-alpha.1
- add PolicyMiddleware by @jenschude in #521
- add predicate builder for custom fields by @jenschude in #543
- Oneagent dynatrace by @lojzatran in #529
- Update generated SDKs by @github-actions in #520
- Update generated SDKs by @github-actions in #525
- Update generated SDKs by @ct-sdks in #534
- Update generated SDKs by @ct-sdks in #544
- chore(deps): update all dependencies by @renovate in #489
- fix(deps): update all dependencies by @renovate in #526
- Add example for opentelemetry export to dynatrace by @lojzatran in #524
- Add an example test for static auth token by @lojzatran in #536
- fix deserialization of head API requests by @jenschude in #538
- fix renovate builds by @jenschude in #541
- remove ML module by @jenschude in #539
- remove ML package code by @jenschude in #540
Api changes
Added Type(s)
- added type
ApprovalFlowSetCustomFieldAction
- added type
ApprovalFlowSetCustomTypeAction
Removed Type(s)
⚠️ removed typeNotEnabledError
⚠️ removed typeGraphQLNotEnabledError
Added Property(s)
- added property
custom
to typeApprovalFlow
Added Enum(s)
- added enum
associate-role
to typeAttributeReferenceTypeId
- added enum
business-unit
to typeAttributeReferenceTypeId
- added enum
cart-discount
to typeAttributeReferenceTypeId
- added enum
approval-flow
to typeCustomFieldReferenceValue
- added enum
approval-flow
to typeResourceTypeId
History changes
Added Type(s)
- added type
AttributeLocalizedEnumValue
- added type
AttributePlainEnumValue
- added type
ChannelRoleEnum
- added type
StateRoleEnum
- added type
StateTypeEnum
Removed Type(s)
⚠️ removed typeChannelRole
⚠️ removed typeStateRole
⚠️ removed typeStateType
Removed Property(s)
⚠️ removed propertypreviousValue
from typeAddAddressChange
⚠️ removed propertypreviousValue
from typeAddLocationChange
⚠️ removed propertynextValue
from typeRemoveLocationChange
⚠️ removed propertynextValue
from typeRemoveTaxRateChange
Changed Property(s)
⚠️ changed propertypreviousValue
of typeAddChannelRolesChange
from typeChannelRole[]
toChannelRoleEnum[]
⚠️ changed propertynextValue
of typeAddChannelRolesChange
from typeChannelRole[]
toChannelRoleEnum[]
⚠️ changed propertynextValue
of typeAddLocalizedEnumValueChange
from typeLocalizedEnumValue
toAttributeLocalizedEnumValue
⚠️ changed propertynextValue
of typeAddPlainEnumValueChange
from typeEnumValue
toAttributePlainEnumValue
⚠️ changed propertypreviousValue
of typeAddStateRolesChange
from typeStateRole[]
toStateRoleEnum[]
⚠️ changed propertynextValue
of typeAddStateRolesChange
from typeStateRole[]
toStateRoleEnum[]
⚠️ changed propertypreviousValue
of typeChangeStateTypeChange
from typeStateType
toStateTypeEnum
⚠️ changed propertynextValue
of typeChangeStateTypeChange
from typeStateType
toStateTypeEnum
⚠️ changed propertypreviousValue
of typeRemoveChannelRolesChange
from typeChannelRole[]
toChannelRoleEnum[]
⚠️ changed propertynextValue
of typeRemoveChannelRolesChange
from typeChannelRole[]
toChannelRoleEnum[]
⚠️ changed propertypreviousValue
of typeRemoveStateRolesChange
from typeStateRole[]
toStateRoleEnum[]
⚠️ changed propertynextValue
of typeRemoveStateRolesChange
from typeStateRole[]
toStateRoleEnum[]
⚠️ changed propertypreviousValue
of typeSetChannelRolesChange
from typeChannelRole[]
toChannelRoleEnum[]
⚠️ changed propertynextValue
of typeSetChannelRolesChange
from typeChannelRole[]
toChannelRoleEnum[]
⚠️ changed propertypreviousValue
of typeSetStateRolesChange
from typeStateRole[]
toStateRoleEnum[]
⚠️ changed propertynextValue
of typeSetStateRolesChange
from typeStateRole[]
toStateRoleEnum[]
- @ct-sdks made their first contribution in #534
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.3.0...17.4.0
- Override toString method. by @salander85 in #519
- Update generated SDKs by @github-actions in #518
- Add option to turn off histogram in opentelemetry by @lojzatran in #523
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.2.0...17.3.0
- use a fixed version for the examples by @jenschude in #513
- add option to deserialize attribute/custom field numbers as double by @jenschude in #515
- deserialize message payload helper by @jenschude in #517
- Update generated SDKs by @github-actions in #514
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.1.0...17.2.0
- Update generated SDKs by @github-actions in #507
- add ToC taglet to overview page by @jenschude in #512
- Update generated SDKs by @github-actions in #511
- fix Issue in AsyncHttpClient module when uploading images
Api changes
Added QueryParameter(s)
- added query parameter
expand
to methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
- added query parameter
sort
to methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
- added query parameter
limit
to methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
- added query parameter
offset
to methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
- added query parameter
withTotal
to methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
- added query parameter
where
to methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
- added query parameter
/^var[.][a-zA-Z0-9]+$/
to methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
- added query parameter
expand
to methodpost /{projectKey}/in-store/key={storeKey}/cart-discounts
Added Enum(s)
- added enum
approval-flow
to typeReferenceTypeId
- added enum
approval-rule
to typeReferenceTypeId
- added enum
approval-flow
to typeChangeSubscriptionResourceTypeId
- added enum
approval-rule
to typeChangeSubscriptionResourceTypeId
- added enum
approval-flow
to typeMessageSubscriptionResourceTypeId
- added enum
approval-rule
to typeMessageSubscriptionResourceTypeId
Changed MethodResponseBody(s)
⚠️ changed response body for200: application/json
of methodget /{projectKey}/in-store/key={storeKey}/cart-discounts
from typeCartDiscount
toCartDiscountPagedQueryResponse
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 propertypreviousValue
of typeSetNameChange
from typeLocalizedString
tostring
⚠️ changed propertynextValue
of typeSetNameChange
from typeLocalizedString
tostring
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.0.0...17.1.0
- fix duplicate content-type header in AHC client 01199ca9
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.0.0...17.0.1
- Update generated SDKs by @github-actions in #505
- remove deprecations by @jenschude in #506
- refactor the tokenSupplier to be async by @jenschude in #456
- module
commercetools-http-client
is now an alias tocommercetools-async-http-client
.
Api changes
Added Enum(s)
- added enum
customer-email-token
to typeReferenceTypeId
- added enum
customer-password-token
to typeReferenceTypeId
- added enum
customer-email-token
to typeMessageSubscriptionResourceTypeId
- added enum
customer-group
to typeMessageSubscriptionResourceTypeId
- added enum
customer-password-token
to typeMessageSubscriptionResourceTypeId
Added Type(s)
- added type
CustomerEmailTokenReference
- added type
CustomerPasswordTokenReference
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
.
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.
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.
Removed deprecations:
- "rmf:okhttp-client: module
- use
commercetools-okhttp-client4
module instead
- use
- deprecated methods in CtAsyncHttpClient
- deprecated methods in RetryMiddleware
- ApiFactory
- ImportApiFactory
- MLApiRootFactory
- HistoryApiFactory
- ClientFactory
- MiddlewareFactory
- ExceptionFactory
- VrapJsonUtils
- use JsonUtils instead
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/16.5.0...17.0.0
- Update generated SDKs by @github-actions in #503
- add resultType method to request classes in preparation for HttpRequestCommand interface
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/16.4.0...16.5.0
- Update generated SDKs by @github-actions in #496
- fix issue with dates exceeding year 9999 by @jenschude in #499
- add mixin helper methods for customer by @jenschude in #502
- Update generated SDKs by @github-actions in #500
Api changes
Changed MethodResponseBody(s)
⚠️ changed response body for200: application/json
of methodget /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules
from type<<resourceQueryType>>
toApprovalRulePagedQueryResponse
⚠️ changed response body for200: application/json
of methodget /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows
from type<<resourceQueryType>>
toApprovalFlowPagedQueryResponse
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 typeProductVariantPatch
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/16.3.0...16.4.0
- Update all dependencies by @renovate in #480
- fix predicate variable helper methods by @jenschude in #486
- add new attribute accessor for type safety by @jenschude in #487
- Update all dependencies by @renovate in #484
- Update generated SDKs by @github-actions in #481
- Update stefanzweifel/git-auto-commit-action digest to 3d1b5e0 by @renovate in #470
- Update actions/checkout action to v4 by @renovate in #485
- Update generated SDKs by @github-actions in #488
- spring example with opentelemetry by @jenschude in #492
- preparations for HttpRequestCommand by @jenschude in #491
- add test for memory leaks by @jenschude in #494
- Update generated SDKs by @github-actions in #490
- Update generated SDKs by @github-actions in #495
Api changes
Removed Type(s)
⚠️ removed typeCustomerMessagePayload
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 typePermission
- added enum
UpdateApprovalRules
to typePermission
- added enum
UpdateApprovalFlows
to typePermission
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 typeCart
- added property
discountOnTotalPrice
to typeStagedOrder
- added property
custom
to typeStagedOrderAddParcelToDeliveryAction
- added property
discountOnTotalPrice
to typeOrder
- added property
custom
to typeOrderAddParcelToDeliveryAction
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 typeRecord
Added QueryParameter(s)
- added query parameter
businessUnit
to methodget /{projectKey}
- added query parameter
businessUnit
to methodget /{projectKey}/{resourceType}
- added query parameter
businessUnit
to methodget /{projectKey}/{resourceType}/{ID}
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/16.2.0...16.3.0
- add option to deserialize attributes and custom fields as JsonNode 4c51dff
- Fix
localeValues
method for LocalizedStrings by @jenschude in #483 When using aLocale
with a country part thelocaleValues
method now correctly parses the key of the LocalizedString. See #482
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/16.1.0...16.2.0
- Update generated SDKs by @github-actions in #479
Api changes
Required Property(s)
- changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeMyShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeMyShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeMyShoppingListSetLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemDescriptionAction
to be optional - changed property
lineItemId
of typeShoppingListChangeLineItemQuantityAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemDescriptionAction
to be optional
Added Property(s)
- added property
perMethodExternalTaxRate
to typeLineItemDraft
- added property
key
to typeMyShoppingListAddLineItemAction
- added property
key
to typeMyShoppingListAddTextLineItemAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeMyShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeMyShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeMyShoppingListSetLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemDescriptionAction
- added property
cart
to typeQuoteRequest
- added property
key
to typeShoppingListLineItem
- added property
key
to typeShoppingListLineItemDraft
- added property
key
to typeTextLineItem
- added property
key
to typeTextLineItemDraft
- added property
key
to typeShoppingListAddLineItemAction
- added property
key
to typeShoppingListAddTextLineItemAction
- added property
lineItemKey
to typeShoppingListChangeLineItemQuantityAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomFieldAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemDescriptionAction
- added property
staged
to typeStandalonePriceDraft
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 methodapiRoot.withProjectKey().me().payments().withKey().get()
⚠️ removed methodapiRoot.withProjectKey().me().payments().withKey().post()
⚠️ removed methodapiRoot.withProjectKey().me().payments().withKey().delete()
Removed Resource(s)
⚠️ removed resource/{projectKey}/me/payments/key={key}
Removed Enum(s)
⚠️ removed enumFailed
from typeQuoteState
Import changes
Added Property(s)
- added property
canceled
to typeOperationStates
Added Enum(s)
- added enum
canceled
to typeProcessingState
History changes
Added QueryParameter(s)
- added query parameter
associateId
to methodget /{projectKey}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}/{ID}
Added Property(s)
- added property
associate
to typeModifiedBy
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/16.0.0...16.1.0
- add util to create ApiRootBuilder from environment variables or prope… by @jenschude in #476
- Lock file maintenance by @renovate in #474
- Fix serializer initialisation by @jenschude in #475
- Update generated SDKs by @github-actions in #469
- Update all dependencies by @renovate in #472
Api changes
Added Type(s)
- added type
MethodExternalTaxRateDraft
- added type
QuoteRenegotiationRequestedMessage
- added type
QuoteRenegotiationRequestedMessagePayload
Added Property(s)
- added property
perMethodExternalTaxRate
to typeLineItemDraft
- added property
key
to typeMyShoppingListAddLineItemAction
- added property
key
to typeMyShoppingListAddTextLineItemAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeMyShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeMyShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeMyShoppingListSetLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemDescriptionAction
- added property
cart
to typeQuoteRequest
- added property
key
to typeShoppingListLineItem
- added property
key
to typeShoppingListLineItemDraft
- added property
key
to typeTextLineItem
- added property
key
to typeTextLineItemDraft
- added property
key
to typeShoppingListAddLineItemAction
- added property
key
to typeShoppingListAddTextLineItemAction
- added property
lineItemKey
to typeShoppingListChangeLineItemQuantityAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomFieldAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemDescriptionAction
Required Property(s)
- changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeMyShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeMyShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeMyShoppingListSetLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemDescriptionAction
to be optional - changed property
lineItemId
of typeShoppingListChangeLineItemQuantityAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemDescriptionAction
to be optional
Removed Enum(s)
⚠️ removed enumFailed
from typeQuoteState
Import changes
Added Property(s)
- added property
canceled
to typeOperationStates
Added Enum(s)
- added enum
canceled
to typeProcessingState
History changes
Added QueryParameter(s)
- added query parameter
associateId
to methodget /{projectKey}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}/{ID}
Added Property(s)
- added property
associate
to typeModifiedBy
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/15.0.1...16.0.0
- fix deserialization error for datetime attributes and custom fields with invalid offsets
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/15.0.0...15.0.1
- Update generated SDKs by @github-actions in #467
- Update all dependencies by @renovate in #437
- Lock file maintenance by @renovate in #375
- Update generated SDKs by @github-actions in #468
- 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
Api changes
Changed Property(s)
⚠️ changed propertymoney
of typeCartDiscountValueFixed
from typeCentPrecisionMoney[]
toTypedMoney[]
Added Property(s)
- added property
taxedPricePortions
to typeCustomLineItem
- added property
customLineItemKey
to typeCartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
- added property
customLineItemKey
to typeCartChangeCustomLineItemMoneyAction
- added property
customLineItemKey
to typeCartChangeCustomLineItemPriceModeAction
- added property
customLineItemKey
to typeCartChangeCustomLineItemQuantityAction
- added property
customLineItemKey
to typeCartRemoveCustomLineItemAction
- added property
customLineItemKey
to typeCartSetCustomLineItemCustomFieldAction
- added property
customLineItemKey
to typeCartSetCustomLineItemCustomTypeAction
- added property
customLineItemKey
to typeCartSetCustomLineItemShippingDetailsAction
- added property
customLineItemKey
to typeCartSetCustomLineItemTaxAmountAction
- added property
shippingKey
to typeCartSetCustomLineItemTaxAmountAction
- added property
customLineItemKey
to typeCartSetCustomLineItemTaxRateAction
- added property
shippingKey
to typeCartSetCustomLineItemTaxRateAction
- added property
associate
to typeClientLogging
- added property
associate
to typeCreatedBy
- added property
associate
to typeLastModifiedBy
- added property
customLineItemKey
to typeCustomLineItemStateTransitionMessage
- added property
lineItemKey
to typeLineItemStateTransitionMessage
- added property
customLineItemKey
to typeOrderCustomLineItemDiscountSetMessage
- added property
customLineItemKey
to typeOrderCustomLineItemQuantityChangedMessage
- added property
customLineItemKey
to typeOrderCustomLineItemRemovedMessage
- added property
lineItemKey
to typeOrderLineItemDiscountSetMessage
- added property
lineItemKey
to typeOrderLineItemDistributionChannelSetMessage
- added property
lineItemKey
to typeOrderLineItemRemovedMessage
- added property
customLineItemKey
to typeCustomLineItemStateTransitionMessagePayload
- added property
lineItemKey
to typeLineItemStateTransitionMessagePayload
- added property
customLineItemKey
to typeOrderCustomLineItemDiscountSetMessagePayload
- added property
customLineItemKey
to typeOrderCustomLineItemQuantityChangedMessagePayload
- added property
customLineItemKey
to typeOrderCustomLineItemRemovedMessagePayload
- added property
lineItemKey
to typeOrderLineItemDiscountSetMessagePayload
- added property
lineItemKey
to typeOrderLineItemDistributionChannelSetMessagePayload
- added property
lineItemKey
to typeOrderLineItemRemovedMessagePayload
- added property
directDiscounts
to typeStagedOrder
- added property
shippingDetails
to typeStagedOrderAddCustomLineItemAction
- added property
inventoryMode
to typeStagedOrderAddLineItemAction
- added property
customLineItemKey
to typeStagedOrderChangeCustomLineItemMoneyAction
- added property
customLineItemKey
to typeStagedOrderChangeCustomLineItemQuantityAction
- added property
customLineItemKey
to typeStagedOrderImportCustomLineItemStateAction
- added property
lineItemKey
to typeStagedOrderImportLineItemStateAction
- added property
customLineItemKey
to typeStagedOrderRemoveCustomLineItemAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemCustomFieldAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemCustomTypeAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemShippingDetailsAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemTaxAmountAction
- added property
shippingKey
to typeStagedOrderSetCustomLineItemTaxAmountAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemTaxRateAction
- added property
shippingKey
to typeStagedOrderSetCustomLineItemTaxRateAction
- added property
returnItemKey
to typeStagedOrderSetReturnItemCustomFieldAction
- added property
returnItemKey
to typeStagedOrderSetReturnItemCustomTypeAction
- added property
returnItemKey
to typeStagedOrderSetReturnPaymentStateAction
- added property
returnItemKey
to typeStagedOrderSetReturnShipmentStateAction
- added property
customLineItemKey
to typeStagedOrderTransitionCustomLineItemStateAction
- added property
lineItemKey
to typeStagedOrderTransitionLineItemStateAction
- added property
key
to typeCustomLineItemImportDraft
- added property
key
to typeCustomLineItemReturnItem
- added property
key
to typeLineItemImportDraft
- added property
key
to typeLineItemReturnItem
- added property
directDiscounts
to typeOrder
- added property
purchaseOrderNumber
to typeOrderImportDraft
- added property
taxCalculationMode
to typeOrderImportDraft
- added property
key
to typeReturnItem
- added property
key
to typeReturnItemDraft
- added property
customLineItemKey
to typeOrderImportCustomLineItemStateAction
- added property
lineItemKey
to typeOrderImportLineItemStateAction
- added property
customLineItemKey
to typeOrderSetCustomLineItemCustomFieldAction
- added property
customLineItemKey
to typeOrderSetCustomLineItemCustomTypeAction
- added property
customLineItemKey
to typeOrderSetCustomLineItemShippingDetailsAction
- added property
returnItemKey
to typeOrderSetReturnItemCustomFieldAction
- added property
returnItemKey
to typeOrderSetReturnItemCustomTypeAction
- added property
returnItemKey
to typeOrderSetReturnPaymentStateAction
- added property
returnItemKey
to typeOrderSetReturnShipmentStateAction
- added property
customLineItemKey
to typeOrderTransitionCustomLineItemStateAction
- added property
lineItemKey
to typeOrderTransitionLineItemStateAction
Required Property(s)
⚠️ changed propertyassociateRoleAssignments
of typeAssociateDraft
to be required⚠️ changed propertypaymentState
of typeStagedOrderChangePaymentStateAction
to be required⚠️ changed propertyshipmentState
of typeStagedOrderChangeShipmentStateAction
to be required⚠️ changed propertypaymentState
of typeOrderChangePaymentStateAction
to be required⚠️ changed propertyshipmentState
of typeOrderChangeShipmentStateAction
to be required- changed property
roles
of typeAssociate
to be optional - changed property
customLineItemId
of typeCartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
to be optional - changed property
customLineItemId
of typeCartChangeCustomLineItemMoneyAction
to be optional - changed property
customLineItemId
of typeCartChangeCustomLineItemPriceModeAction
to be optional - changed property
customLineItemId
of typeCartChangeCustomLineItemQuantityAction
to be optional - changed property
customLineItemId
of typeCartRemoveCustomLineItemAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemCustomFieldAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemCustomTypeAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemShippingDetailsAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemTaxAmountAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemTaxRateAction
to be optional - changed property
centAmount
of typeCentPrecisionMoneyDraft
to be optional - changed property
centAmount
of typeTypedMoneyDraft
to be optional - changed property
comment
of typeMyQuoteRequestDraft
to be optional - changed property
customLineItemId
of typeStagedOrderChangeCustomLineItemMoneyAction
to be optional - changed property
customLineItemId
of typeStagedOrderChangeCustomLineItemQuantityAction
to be optional - changed property
customLineItemId
of typeStagedOrderImportCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeStagedOrderImportLineItemStateAction
to be optional - changed property
customLineItemId
of typeStagedOrderRemoveCustomLineItemAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemCustomFieldAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemCustomTypeAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemShippingDetailsAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemTaxAmountAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemTaxRateAction
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnItemCustomFieldAction
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnItemCustomTypeAction
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnPaymentStateAction
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnShipmentStateAction
to be optional - changed property
customLineItemId
of typeStagedOrderTransitionCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeStagedOrderTransitionLineItemStateAction
to be optional - changed property
priceMode
of typeCustomLineItemImportDraft
to be optional - changed property
customLineItemId
of typeOrderImportCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeOrderImportLineItemStateAction
to be optional - changed property
customLineItemId
of typeOrderSetCustomLineItemCustomFieldAction
to be optional - changed property
customLineItemId
of typeOrderSetCustomLineItemCustomTypeAction
to be optional - changed property
customLineItemId
of typeOrderSetCustomLineItemShippingDetailsAction
to be optional - changed property
returnItemId
of typeOrderSetReturnItemCustomFieldAction
to be optional - changed property
returnItemId
of typeOrderSetReturnItemCustomTypeAction
to be optional - changed property
returnItemId
of typeOrderSetReturnPaymentStateAction
to be optional - changed property
returnItemId
of typeOrderSetReturnShipmentStateAction
to be optional - changed property
customLineItemId
of typeOrderTransitionCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeOrderTransitionLineItemStateAction
to be optional - changed property
comment
of typeQuoteRequestDraft
to be optional
Deprecated Property(s)
- property
Associate::roles
is removed - property
AssociateDraft::roles
is removed - property
IndividualExclusionProductSelectionType::type
is removed - property
IndividualProductSelectionType::type
is removed - property
ProductSelection::type
is removed - property
ProductSelectionDraft::type
is removed - property
ProductSelectionType::type
is removed
Added QueryParameter(s)
- added query parameter
where
to methodget /{projectKey}/in-store/key={storeKey}/product-selection-assignments
- added query parameter
/^var[.][a-zA-Z0-9]+$/
to methodget /{projectKey}/in-store/key={storeKey}/product-selection-assignments
Removed QueryParameter(s)
⚠️ removed query parameterexpand
from methodget /{projectKey}/subscriptions
⚠️ removed query parameterexpand
from methodpost /{projectKey}/subscriptions
⚠️ removed query parameterexpand
from methodget /{projectKey}/extensions
⚠️ removed query parameterexpand
from methodpost /{projectKey}/extensions
⚠️ removed query parameterexpand
from methodget /{projectKey}/subscriptions/key={key}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/subscriptions/key={key}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/subscriptions/key={key}
⚠️ removed query parameterexpand
from methodget /{projectKey}/subscriptions/{ID}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/subscriptions/{ID}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/subscriptions/{ID}
⚠️ removed query parameterexpand
from methodget /{projectKey}/extensions/key={key}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/extensions/key={key}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/extensions/key={key}
⚠️ removed query parameterexpand
from methodget /{projectKey}/extensions/{ID}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/extensions/{ID}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/extensions/{ID}
Added Type(s)
- added type
ContentTooLargeError
- added type
GraphQLContentTooLargeError
- added type
BusinessUnitParentChangedMessage
- added type
OrderCustomFieldAddedMessage
- added type
OrderCustomFieldChangedMessage
- added type
OrderCustomFieldRemovedMessage
- added type
OrderCustomTypeRemovedMessage
- added type
OrderCustomTypeSetMessage
- added type
BusinessUnitParentChangedMessagePayload
- added type
OrderCustomFieldAddedMessagePayload
- added type
OrderCustomFieldChangedMessagePayload
- added type
OrderCustomFieldRemovedMessagePayload
- added type
OrderCustomTypeRemovedMessagePayload
- added type
OrderCustomTypeSetMessagePayload
- added type
StagedOrderSetDirectDiscountsAction
- added type
StagedOrderSetStoreAction
Deprecated Type(s)
- type
AssociateRoleDeprecated
is removed - type
IndividualExclusionProductSelectionType
is removed - type
IndividualProductSelectionType
is removed - type
ProductSelectionType
is removed - type
ProductSelectionTypeEnum
is removed
Removed Type(s)
⚠️ removed typeCartSetDeliveryAddressCustomFieldAction
⚠️ removed typeCartSetDeliveryAddressCustomTypeAction
⚠️ removed typeBusinessUnitParentUnitChangedMessage
⚠️ removed typeBusinessUnitParentUnitChangedMessagePayload
⚠️ removed typeOrderResourceIdentifier
Added Enum(s)
- added enum
associate-role
to typeChangeSubscriptionResourceTypeId
Import changes
Required Property(s)
⚠️ changed propertykey
of typePriceDraftImport
to be required- changed property
addresses
of typeCustomerImport
to be optional
History changes
Added Type(s)
- added type
AddInheritedAssociateChange
- added type
AssociateRoleLabel
- added type
ChangeBuyerAssignableChange
- added type
ChangeInheritedAssociateChange
- added type
InheritedAssociate
- added type
InheritedAssociateRoleAssignment
- added type
Permission
- added type
RemoveInheritedAssociateChange
- added type
SetLocalizedNameChange
- added type
SetPermissionsChange
Added Enum(s)
- added enum
associate-role
to typeChangeHistoryResourceType
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.6.1...15.0.0
Minor Changes
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.6.0...14.6.1
- add Java 11 HTTP client module by @jenschude in #463
- Update generated SDKs by @github-actions in #461
- add support for decorated ApiHttpClient by @jenschude in #464
Api changes
Added Resource(s)
- added resource
/{projectKey}/in-store/key={storeKey}/cart-discounts
- added resource
/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}
- added resource
/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}
Added Property(s)
- added property
stores
to typeCartDiscount
- added property
stores
to typeCartDiscountDraft
- added property
key
to typeCustomLineItem
- added property
key
to typeCustomLineItemDraft
- added property
key
to typeCartAddCustomLineItemAction
- added property
key
to typeStagedOrderAddCustomLineItemAction
- added property
shippingKey
to typeStagedOrderAddDeliveryAction
Added Type(s)
- added type
CartDiscountAddStoreAction
- added type
CartDiscountRemoveStoreAction
- added type
CartDiscountSetStoresAction
- added type
MaxCartDiscountsReachedError
- added type
MaxStoreReferencesReachedError
- added type
StoreCartDiscountsLimitReachedError
- added type
GraphQLMaxCartDiscountsReachedError
- added type
GraphQLMaxStoreReferencesReachedError
- added type
GraphQLStoreCartDiscountsLimitReachedError
Added Method(s)
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().delete()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().delete()
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.5.0...14.6.0
- add toDraft helper methods for CartDiscountValue and subtypes by @jenschude in #457
- Update generated SDKs by @github-actions in #453
- avoid rebuild for example test by @jenschude in #458
- Update generated SDKs by @github-actions in #459
- Update generated SDKs by @github-actions in #460
Api changes
Added Property(s)
- added property
perMethodTaxRate
to typeCustomLineItem
- added property
lineItemKey
to typeCartApplyDeltaToLineItemShippingDetailsTargetsAction
- added property
lineItemKey
to typeCartChangeLineItemQuantityAction
- added property
lineItemKey
to typeCartRemoveLineItemAction
- added property
lineItemKey
to typeCartSetLineItemCustomFieldAction
- added property
lineItemKey
to typeCartSetLineItemCustomTypeAction
- added property
lineItemKey
to typeCartSetLineItemDistributionChannelAction
- added property
lineItemKey
to typeCartSetLineItemInventoryModeAction
- added property
lineItemKey
to typeCartSetLineItemPriceAction
- added property
lineItemKey
to typeCartSetLineItemShippingDetailsAction
- added property
lineItemKey
to typeCartSetLineItemSupplyChannelAction
- added property
lineItemKey
to typeCartSetLineItemTaxAmountAction
- added property
lineItemKey
to typeCartSetLineItemTaxRateAction
- added property
lineItemKey
to typeCartSetLineItemTotalPriceAction
- added property
lineItemKey
to typeMyCartApplyDeltaToLineItemShippingDetailsTargetsAction
- added property
lineItemKey
to typeMyCartChangeLineItemQuantityAction
- added property
lineItemKey
to typeMyCartRemoveLineItemAction
- added property
lineItemKey
to typeMyCartSetLineItemCustomFieldAction
- added property
lineItemKey
to typeMyCartSetLineItemCustomTypeAction
- added property
lineItemKey
to typeMyCartSetLineItemDistributionChannelAction
- added property
lineItemKey
to typeMyCartSetLineItemShippingDetailsAction
- added property
lineItemKey
to typeMyCartSetLineItemSupplyChannelAction
- added property
lineItemKey
to typeMyShoppingListChangeLineItemQuantityAction
- added property
lineItemKey
to typeStagedOrderChangeLineItemQuantityAction
- added property
lineItemKey
to typeStagedOrderRemoveLineItemAction
- added property
lineItemKey
to typeStagedOrderSetLineItemCustomFieldAction
- added property
lineItemKey
to typeStagedOrderSetLineItemCustomTypeAction
- added property
lineItemKey
to typeStagedOrderSetLineItemDistributionChannelAction
- added property
lineItemKey
to typeStagedOrderSetLineItemPriceAction
- added property
lineItemKey
to typeStagedOrderSetLineItemShippingDetailsAction
- added property
lineItemKey
to typeStagedOrderSetLineItemTaxAmountAction
- added property
lineItemKey
to typeStagedOrderSetLineItemTaxRateAction
- added property
lineItemKey
to typeStagedOrderSetLineItemTotalPriceAction
- added property
lineItemKey
to typeOrderSetLineItemCustomFieldAction
- added property
lineItemKey
to typeOrderSetLineItemCustomTypeAction
- added property
lineItemKey
to typeOrderSetLineItemShippingDetailsAction
Required Property(s)
- changed property
lineItemId
of typeCartApplyDeltaToLineItemShippingDetailsTargetsAction
to be optional - changed property
lineItemId
of typeCartChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeCartRemoveLineItemAction
to be optional - changed property
lineItemId
of typeCartSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeCartSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeCartSetLineItemDistributionChannelAction
to be optional - changed property
lineItemId
of typeCartSetLineItemInventoryModeAction
to be optional - changed property
lineItemId
of typeCartSetLineItemPriceAction
to be optional - changed property
lineItemId
of typeCartSetLineItemShippingDetailsAction
to be optional - changed property
lineItemId
of typeCartSetLineItemSupplyChannelAction
to be optional - changed property
lineItemId
of typeCartSetLineItemTaxAmountAction
to be optional - changed property
lineItemId
of typeCartSetLineItemTaxRateAction
to be optional - changed property
lineItemId
of typeCartSetLineItemTotalPriceAction
to be optional - changed property
lineItemId
of typeMyCartApplyDeltaToLineItemShippingDetailsTargetsAction
to be optional - changed property
lineItemId
of typeMyCartChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeMyCartRemoveLineItemAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemDistributionChannelAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemShippingDetailsAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemSupplyChannelAction
to be optional - changed property
lineItemId
of typeMyShoppingListChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeStagedOrderChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeStagedOrderRemoveLineItemAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemDistributionChannelAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemPriceAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemShippingDetailsAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemTaxAmountAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemTaxRateAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemTotalPriceAction
to be optional - changed property
lineItemId
of typeOrderSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeOrderSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeOrderSetLineItemShippingDetailsAction
to be optional
Deprecated Type(s)
- type
ProductVariantSelectionExclusion
is removed - type
ProductVariantSelectionInclusion
is removed
Removed Type(s)
⚠️ removed typeMyCartSetDirectDiscountsAction
History changes
Added Property(s)
- added property
variantSelection
to typeAddProductChange
Changed Property(s)
⚠️ changed propertyresource
of typeRecord
from typeReference
toResourceIdentifier
Added QueryParameter(s)
- added query parameter
resourceKey
to methodget /{projectKey}
- added query parameter
resourceKey
to methodget /{projectKey}/{resourceType}
Removed QueryParameter(s)
⚠️ removed query parameterresourceId
from methodget /{projectKey}/{resourceType}
Added Type(s)
- added type
AddAssociateChange
- added type
AddProductSelectionChange
- added type
Associate
- added type
AssociateRoleAssignment
- added type
AssociateRoleInheritanceMode
- added type
BusinessUnitAssociateMode
- added type
BusinessUnitLabel
- added type
BusinessUnitStatus
- added type
BusinessUnitStoreMode
- added type
ChangeAssociateChange
- added type
ChangeAssociateModeChange
- added type
ChangeParentUnitChange
- added type
ChangeProductSelectionActiveChange
- added type
ChangeStatusChange
- added type
ProductVariantSelection
- added type
ProductVariantSelectionTypeEnum
- added type
RemoveAssociateChange
- added type
RemoveProductSelectionChange
- added type
RequestQuoteRenegotiationChange
- added type
ResourceIdentifier
- added type
SetAddressCustomFieldChange
- added type
SetAddressCustomTypeChange
- added type
SetContactEmailChange
- added type
SetStoreModeChange
- added type
SetVariantSelectionChange
Added Enum(s)
- added enum
business-unit
to typeChangeHistoryResourceType
- added enum
addAssociate
to typeUpdateType
- added enum
addCustomLineItem
to typeUpdateType
- added enum
addDiscountCode
to typeUpdateType
- added enum
addProduct
to typeUpdateType
- added enum
addProductSelection
to typeUpdateType
- added enum
addProperty
to typeUpdateType
- added enum
changeAmountAuthorized
to typeUpdateType
- added enum
changeAssociate
to typeUpdateType
- added enum
changeAssociateMode
to typeUpdateType
- added enum
changeCustomLineItemQuantity
to typeUpdateType
- added enum
changeLineItemName
to typeUpdateType
- added enum
changeParentUnit
to typeUpdateType
- added enum
changeProductSelectionActive
to typeUpdateType
- added enum
changeQuoteRequestState
to typeUpdateType
- added enum
changeQuoteState
to typeUpdateType
- added enum
changeStagedQuoteState
to typeUpdateType
- added enum
changeStatus
to typeUpdateType
- added enum
changeTaxCalculationMode
to typeUpdateType
- added enum
changeTaxMode
to typeUpdateType
- added enum
changeTaxRoundingMode
to typeUpdateType
- added enum
moveImageToPosition
to typeUpdateType
- added enum
removeAssociate
to typeUpdateType
- added enum
removeCustomLineItem
to typeUpdateType
- added enum
removeDiscountCode
to typeUpdateType
- added enum
removeProduct
to typeUpdateType
- added enum
removeProductSelection
to typeUpdateType
- added enum
removeProperty
to typeUpdateType
- added enum
requestQuoteRenegotiation
to typeUpdateType
- added enum
setAddressCustomField
to typeUpdateType
- added enum
setAddressCustomType
to typeUpdateType
- added enum
setApplicationVersion
to typeUpdateType
- added enum
setAuthenticationMode
to typeUpdateType
- added enum
setContactEmail
to typeUpdateType
- added enum
setCountries
to typeUpdateType
- added enum
setCountry
to typeUpdateType
- added enum
setCustomLineItemMoney
to typeUpdateType
- added enum
setCustomLineItemTaxAmount
to typeUpdateType
- added enum
setCustomLineItemTaxCategory
to typeUpdateType
- added enum
setCustomLineItemTaxRate
to typeUpdateType
- added enum
setCustomLineItemTaxedPrice
to typeUpdateType
- added enum
setCustomLineItemTotalPrice
to typeUpdateType
- added enum
setCustomShippingMethod
to typeUpdateType
- added enum
setIsValid
to typeUpdateType
- added enum
setLineItemDeactivatedAt
to typeUpdateType
- added enum
setLineItemDiscountedPrice
to typeUpdateType
- added enum
setLineItemDiscountedPricePerQuantity
to typeUpdateType
- added enum
setLineItemDistributionChannel
to typeUpdateType
- added enum
setLineItemPrice
to typeUpdateType
- added enum
setLineItemProductKey
to typeUpdateType
- added enum
setLineItemProductSlug
to typeUpdateType
- added enum
setLineItemTaxAmount
to typeUpdateType
- added enum
setLineItemTaxRate
to typeUpdateType
- added enum
setLineItemTaxedPrice
to typeUpdateType
- added enum
setLineItemTotalPrice
to typeUpdateType
- added enum
setOrderTaxedPrice
to typeUpdateType
- added enum
setOrderTotalPrice
to typeUpdateType
- added enum
setOrderTotalTax
to typeUpdateType
- added enum
setPrices
to typeUpdateType
- added enum
setProductCount
to typeUpdateType
- added enum
setProductSelections
to typeUpdateType
- added enum
setProperty
to typeUpdateType
- added enum
setPurchaseOrderNumber
to typeUpdateType
- added enum
setReservations
to typeUpdateType
- added enum
setSellerComment
to typeUpdateType
- added enum
setShippingInfoPrice
to typeUpdateType
- added enum
setShippingInfoTaxedPrice
to typeUpdateType
- added enum
setShippingMethod
to typeUpdateType
- added enum
setShippingMethodTaxAmount
to typeUpdateType
- added enum
setShippingMethodTaxRate
to typeUpdateType
- added enum
setShippingRate
to typeUpdateType
- added enum
setShippingRateInput
to typeUpdateType
- added enum
setStoreMode
to typeUpdateType
- added enum
setSupplyChannels
to typeUpdateType
- added enum
setValidTo
to typeUpdateType
- added enum
setValue
to typeUpdateType
- added enum
setVariantSelection
to typeUpdateType
- added enum
DeclinedForRenegotiation
to typeQuoteState
- added enum
associate-role
to typeReferenceTypeId
- added enum
business-unit
to typeReferenceTypeId
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.4.1...14.5.0
- use gradle toolchain config by @jenschude in #455
- fix unused instantiation of OAuthMiddleware
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.4.0...14.4.1
- Add withkey interface to CustomFieldLocalizedEnumValue and CustomFieldEnumValue by @salander85 in #452
- add feature to extract the GraphQL result data directly by @jenschude in #451
- Update generated SDKs by @github-actions in #449
Api changes
Deprecated Property(s)
- property
MyCartChangeLineItemQuantityAction::externalPrice
is removed - property
MyCartChangeLineItemQuantityAction::externalTotalPrice
is removed
Required Property(s)
- changed property
parcelId
of typeStagedOrderRemoveParcelFromDeliveryAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelCustomFieldAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelCustomTypeAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelItemsAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelMeasurementsAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelTrackingDataAction
to be optional - changed property
parcelId
of typeOrderRemoveParcelFromDeliveryAction
to be optional - changed property
parcelId
of typeOrderSetParcelCustomFieldAction
to be optional - changed property
parcelId
of typeOrderSetParcelCustomTypeAction
to be optional - changed property
parcelId
of typeOrderSetParcelItemsAction
to be optional - changed property
parcelId
of typeOrderSetParcelMeasurementsAction
to be optional - changed property
parcelId
of typeOrderSetParcelTrackingDataAction
to be optional
Added Property(s)
- added property
key
to typeLineItem
- added property
key
to typeLineItemDraft
- added property
key
to typeCartAddLineItemAction
- added property
key
to typeMyLineItemDraft
- added property
key
to typeMyCartAddLineItemAction
- added property
sku
to typeStandalonePriceDeletedMessage
- added property
sku
to typeStandalonePriceDeletedMessagePayload
- added property
key
to typeStagedOrderAddLineItemAction
- added property
parcelKey
to typeStagedOrderAddParcelToDeliveryAction
- added property
parcelKey
to typeStagedOrderRemoveParcelFromDeliveryAction
- added property
parcelKey
to typeStagedOrderSetParcelCustomFieldAction
- added property
parcelKey
to typeStagedOrderSetParcelCustomTypeAction
- added property
parcelKey
to typeStagedOrderSetParcelItemsAction
- added property
parcelKey
to typeStagedOrderSetParcelMeasurementsAction
- added property
parcelKey
to typeStagedOrderSetParcelTrackingDataAction
- added property
key
to typeParcel
- added property
key
to typeParcelDraft
- added property
parcelKey
to typeOrderAddParcelToDeliveryAction
- added property
parcelKey
to typeOrderRemoveParcelFromDeliveryAction
- added property
parcelKey
to typeOrderSetParcelCustomFieldAction
- added property
parcelKey
to typeOrderSetParcelCustomTypeAction
- added property
parcelKey
to typeOrderSetParcelItemsAction
- added property
parcelKey
to typeOrderSetParcelMeasurementsAction
- added property
parcelKey
to typeOrderSetParcelTrackingDataAction
Added Type(s)
- added type
CartSetLineItemInventoryModeAction
- added type
MyCartSetDirectDiscountsAction
- added type
StandalonePriceTierAddedMessage
- added type
StandalonePriceTierRemovedMessage
- added type
StandalonePriceTiersSetMessage
- added type
StandalonePriceValidFromAndUntilSetMessage
- added type
StandalonePriceValidFromSetMessage
- added type
StandalonePriceValidUntilSetMessage
- added type
StandalonePriceTierAddedMessagePayload
- added type
StandalonePriceTierRemovedMessagePayload
- added type
StandalonePriceTiersSetMessagePayload
- added type
StandalonePriceValidFromAndUntilSetMessagePayload
- added type
StandalonePriceValidFromSetMessagePayload
- added type
StandalonePriceValidUntilSetMessagePayload
- added type
StandalonePriceAddPriceTierAction
- added type
StandalonePriceRemovePriceTierAction
- added type
StandalonePriceSetPriceTiersAction
- added type
StandalonePriceSetValidFromAction
- added type
StandalonePriceSetValidFromAndUntilAction
- added type
StandalonePriceSetValidUntilAction
- added type
ConfluentCloudDestination
Added Enum(s)
- added enum
RenegotiationAddressed
to typeQuoteState
- added enum
associate-role
to typeCustomFieldReferenceValue
- added enum
business-unit
to typeCustomFieldReferenceValue
Import changes
Added Enum(s)
- added enum
associate-role
to typeCustomFieldReferenceValue
- added enum
business-unit
to typeCustomFieldReferenceValue
- @salander85 made their first contribution in #452
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.3.0...14.4.0
This release introduces a new module for type safe GraphQL support.
import com.commercetools.graphql.api.*;
final GraphQLRequest<ProductQueryResult> productQuery = GraphQL
.products(query -> query.localeProjection(Collections.singletonList("en")))
.projection(root -> root.results().id().key().productType().key().getParent().createdAt().key());
The above code will create the following query string:
{
products(localeProjection: ["en"]) {
results {
id
key
productType {
key
}
createdAt
}
}
}
The module supports all operations defined by our GraphQL schema and the projections can be build type safe. More documentation can be found in the javadoc
This release introduces support for input variables when using the query predicate builders
final CustomerPagedQueryResponse response = projectApiRoot
.customers()
.get()
.withQuery(c -> c.id().isVar("customerId"), "customerId", customer.getId())
.executeBlocking()
.getBody();
- support query predicate variables by @jenschude in #445
- add GraphQL module by @jenschude in #446
- Update generated SDKs by @github-actions in #448
Api changes
Added Property(s)
- added property
shippingKey
to typeCartSetShippingMethodTaxAmountAction
- added property
shippingKey
to typeCartSetShippingMethodTaxRateAction
- added property
shippingKey
to typeStagedOrderSetShippingMethodTaxAmountAction
- added property
shippingKey
to typeStagedOrderSetShippingMethodTaxRateAction
Added Type(s)
- added type
MoneyOverflowError
- added type
GraphQLMoneyOverflowError
- added type
QuoteCustomerChangedMessage
- added type
QuoteRequestCustomerChangedMessage
- added type
QuoteCustomerChangedMessagePayload
- added type
QuoteRequestCustomerChangedMessagePayload
- added type
QuoteRequestChangeCustomerAction
- added type
QuoteChangeCustomerAction
Added Resource(s)
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/replicate
Added Enum(s)
- added enum
ReassignMyQuotes
to typePermission
- added enum
ReassignOthersQuotes
to typePermission
Added Method(s)
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().replicate().post()
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.2.1...14.3.0
- fix query predicate helper method in PagedQueryResourceRequest by @jenschude in #444
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.2.0...14.2.1
This release introduces type safe builders for query predicates.
final CustomerPagedQueryResponse response = CommercetoolsTestUtils.getProjectApiRoot()
.customers()
.get()
.withExpand("customerGroup")
.withQuery(c -> c.id().is(customer.getId()))
.executeBlocking()
.getBody();
More examples can be found in this test class
- add SolutionInfo interface for more user agent details by @jenschude in #441
- add query predicate builders by @jenschude in #442
- Update generated SDKs by @github-actions in #440
- Add WithKey interface to AttributePlainEnumValue and AttributeLocalizedEnumValue by @lojzatran in #443
Api changes
Added Property(s)
- added property
associateRoleAssignments
to typeAssociate
- added property
associateRoleAssignments
to typeAssociateDraft
- added property
associateMode
to typeBusinessUnit
- added property
inheritedAssociates
to typeBusinessUnit
- added property
associateMode
to typeBusinessUnitDraft
- added property
associateMode
to typeCompany
- added property
inheritedAssociates
to typeCompany
- added property
associateMode
to typeCompanyDraft
- added property
associateMode
to typeDivision
- added property
inheritedAssociates
to typeDivision
- added property
associateMode
to typeDivisionDraft
- added property
associateRoleAssignments
to typeMyBusinessUnitAssociateDraft
- added property
deliveryKey
to typeStagedOrderAddDeliveryAction
- added property
deliveryKey
to typeStagedOrderAddParcelToDeliveryAction
- added property
deliveryKey
to typeStagedOrderRemoveDeliveryAction
- added property
deliveryKey
to typeStagedOrderSetDeliveryAddressAction
- added property
deliveryKey
to typeStagedOrderSetDeliveryAddressCustomFieldAction
- added property
deliveryKey
to typeStagedOrderSetDeliveryAddressCustomTypeAction
- added property
deliveryKey
to typeStagedOrderSetDeliveryCustomFieldAction
- added property
deliveryKey
to typeStagedOrderSetDeliveryCustomTypeAction
- added property
deliveryKey
to typeStagedOrderSetDeliveryItemsAction
- added property
key
to typeDelivery
- added property
key
to typeDeliveryDraft
- added property
deliveryKey
to typeOrderAddDeliveryAction
- added property
deliveryKey
to typeOrderAddParcelToDeliveryAction
- added property
deliveryKey
to typeOrderRemoveDeliveryAction
- added property
deliveryKey
to typeOrderSetDeliveryAddressAction
- added property
deliveryKey
to typeOrderSetDeliveryAddressCustomFieldAction
- added property
deliveryKey
to typeOrderSetDeliveryAddressCustomTypeAction
- added property
deliveryKey
to typeOrderSetDeliveryCustomFieldAction
- added property
deliveryKey
to typeOrderSetDeliveryCustomTypeAction
- added property
deliveryKey
to typeOrderSetDeliveryItemsAction
- added property
sku
to typeProductRemovePriceAction
- added property
variantId
to typeProductRemovePriceAction
- added property
price
to typeProductRemovePriceAction
- added property
myBusinessUnitAssociateRoleOnCreation
to typeBusinessUnitConfiguration
Required Property(s)
- changed property
deliveryId
of typeStagedOrderAddParcelToDeliveryAction
to be optional - changed property
deliveryId
of typeStagedOrderRemoveDeliveryAction
to be optional - changed property
deliveryId
of typeStagedOrderSetDeliveryAddressAction
to be optional - changed property
deliveryId
of typeStagedOrderSetDeliveryAddressCustomFieldAction
to be optional - changed property
deliveryId
of typeStagedOrderSetDeliveryAddressCustomTypeAction
to be optional - changed property
deliveryId
of typeStagedOrderSetDeliveryCustomFieldAction
to be optional - changed property
deliveryId
of typeStagedOrderSetDeliveryCustomTypeAction
to be optional - changed property
deliveryId
of typeStagedOrderSetDeliveryItemsAction
to be optional - changed property
deliveryId
of typeOrderAddParcelToDeliveryAction
to be optional - changed property
deliveryId
of typeOrderRemoveDeliveryAction
to be optional - changed property
deliveryId
of typeOrderSetDeliveryAddressAction
to be optional - changed property
deliveryId
of typeOrderSetDeliveryAddressCustomFieldAction
to be optional - changed property
deliveryId
of typeOrderSetDeliveryAddressCustomTypeAction
to be optional - changed property
deliveryId
of typeOrderSetDeliveryCustomFieldAction
to be optional - changed property
deliveryId
of typeOrderSetDeliveryCustomTypeAction
to be optional - changed property
deliveryId
of typeOrderSetDeliveryItemsAction
to be optional
MarkDeprecated Property(s)
- marked property
Associate::roles
as deprecated - marked property
AssociateDraft::roles
as deprecated
Changed Property(s)
⚠️ changed propertyroles
of typeAssociate
from typeAssociateRole[]
toAssociateRoleDeprecated[]
⚠️ changed propertyroles
of typeAssociateDraft
from typeAssociateRole[]
toAssociateRoleDeprecated[]
Added Type(s)
- added type
AssociateRoleDraft
- added type
AssociateRoleKeyReference
- added type
AssociateRolePagedQueryResponse
- added type
AssociateRoleReference
- added type
AssociateRoleResourceIdentifier
- added type
AssociateRoleUpdate
- added type
AssociateRoleUpdateAction
- added type
Permission
- added type
AssociateRoleAddPermissionAction
- added type
AssociateRoleChangeBuyerAssignableAction
- added type
AssociateRoleRemovePermissionAction
- added type
AssociateRoleSetCustomFieldAction
- added type
AssociateRoleSetCustomTypeAction
- added type
AssociateRoleSetNameAction
- added type
AssociateRoleSetPermissionsAction
- added type
AssociateRoleAssignment
- added type
AssociateRoleAssignmentDraft
- added type
AssociateRoleDeprecated
- added type
AssociateRoleInheritanceMode
- added type
BusinessUnitAssociateMode
- added type
InheritedAssociate
- added type
InheritedAssociateRoleAssignment
- added type
BusinessUnitChangeAssociateModeAction
- added type
AssociateMissingPermissionError
- added type
GraphQLAssociateMissingPermissionError
- added type
AssociateRoleBuyerAssignableChangedMessage
- added type
AssociateRoleCreatedMessage
- added type
AssociateRoleDeletedMessage
- added type
AssociateRoleNameChangedMessage
- added type
AssociateRolePermissionAddedMessage
- added type
AssociateRolePermissionRemovedMessage
- added type
AssociateRolePermissionsSetMessage
- added type
BusinessUnitAssociateModeChangedMessage
- added type
AssociateRoleBuyerAssignableChangedMessagePayload
- added type
AssociateRoleCreatedMessagePayload
- added type
AssociateRoleDeletedMessagePayload
- added type
AssociateRoleNameChangedMessagePayload
- added type
AssociateRolePermissionAddedMessagePayload
- added type
AssociateRolePermissionRemovedMessagePayload
- added type
AssociateRolePermissionsSetMessagePayload
- added type
BusinessUnitAssociateModeChangedMessagePayload
- added type
ProjectSetBusinessUnitAssociateRoleOnCreationAction
Changed Type(s)
⚠️ changed typeAssociateRole
from typestring
toBaseResource
Added Resource(s)
- added resource
/{projectKey}/as-associate
- added resource
/{projectKey}/associate-roles
- added resource
/{projectKey}/as-associate/{associateId}
- added resource
/{projectKey}/as-associate/{associateId}/business-units
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}
- added resource
/{projectKey}/as-associate/{associateId}/business-units/key={key}
- added resource
/{projectKey}/as-associate/{associateId}/business-units/{ID}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}
- added resource
/{projectKey}/associate-roles/key={key}
- added resource
/{projectKey}/associate-roles/{ID}
Added Enum(s)
- added enum
associate-role
to typeReferenceTypeId
- added enum
associate-role
to typeMessageSubscriptionResourceTypeId
- added enum
associate-role
to typeResourceTypeId
Added Method(s)
- added method
apiRoot.withProjectKey().associateRoles().get()
- added method
apiRoot.withProjectKey().associateRoles().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().delete()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().delete()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().orderQuote().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withOrderNumber().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withOrderNumber().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withId().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withId().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withKey().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withKey().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withId().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withId().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withKey().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withKey().post()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withId().get()
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withId().post()
- added method
apiRoot.withProjectKey().associateRoles().withKey().get()
- added method
apiRoot.withProjectKey().associateRoles().withKey().post()
- added method
apiRoot.withProjectKey().associateRoles().withKey().delete()
- added method
apiRoot.withProjectKey().associateRoles().withId().get()
- added method
apiRoot.withProjectKey().associateRoles().withId().post()
- added method
apiRoot.withProjectKey().associateRoles().withId().delete()
Import changes
Added Type(s)
- added type
TypeImportRequest
- added type
TypeTextInputHint
- added type
ResourceTypeId
- added type
FieldType
- added type
CustomFieldBooleanType
- added type
CustomFieldDateTimeType
- added type
CustomFieldDateType
- added type
CustomFieldEnumType
- added type
CustomFieldEnumValue
- added type
CustomFieldLocalizedEnumType
- added type
CustomFieldLocalizedEnumValue
- added type
CustomFieldLocalizedStringType
- added type
CustomFieldMoneyType
- added type
CustomFieldNumberType
- added type
CustomFieldReferenceType
- added type
CustomFieldReferenceValue
- added type
CustomFieldSetType
- added type
CustomFieldStringType
- added type
CustomFieldTimeType
- added type
FieldDefinition
- added type
TypeImport
Added Resource(s)
- added resource
/{projectKey}/types
- added resource
/{projectKey}/types/import-containers
- added resource
/{projectKey}/types/import-containers/{importContainerKey}
Added Enum(s)
- added enum
type
to typeImportResourceType
Added Method(s)
- added method
apiRoot.withProjectKeyValue().types().importContainers().withImportContainerKeyValue().post()
History changes
Added Type(s)
- added type
SetCountriesChange
- added type
SetPurchaseOrderNumberChange
- added type
StoreCountry
Removed QueryParameter(s)
⚠️ removed query parameterresourceType
from methodget /{projectKey}
Added QueryParameter(s)
- added query parameter
resourceTypes
to methodget /{projectKey}
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.1.0...14.2.0
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/14.0.0...14.1.0
- 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
With the introduction of DirectDiscounts the property discount
in DiscountedLineItemPortion
has changed from CartDiscountReference
to Reference
.
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/13.3.0...14.0.0
- 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
- @lojzatran made their first contribution in #408
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/13.2.0...13.3.0
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/13.1.0...13.2.0
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/13.0.1...13.1.0
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/13.0.0...13.0.1
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/12.1.0...13.0.0
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/12.0.0...12.1.0
- 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
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/11.2.0...12.0.0
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/11.1.0...11.2.0
- 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
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/11.0.0...11.1.0
- Update generated SDKs by @github-actions in #377
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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/10.1.0...11.0.0
- 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
- removed the missing data endpoints and models from the ML SDK module.
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/10.0.0...10.1.0
-
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
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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.5.0...10.0.0
- 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: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.4.0...9.5.0
- Update generated SDKs by @github-actions in #354
- support business units
- support me quotes
- support
key
for EmbeddedPrice
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.3.0...9.4.0
- 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
- 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
- support custom field in LineItem, CustomerAddress
- fix type for field
money
in ProductDiscountValueAbsoluteDraft toMoney
- fix
discountCodes
to List in MyCartDraft
- renamed OrderReturnInfoAddedMessage to ReturnInfoAddedMessage
- renamed OrderReturnInfoSetMessage to ReturnInfoSetMessage
- deprecate ML missing data endpoint
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.2.0...9.3.0
- fix deserialization of customfields with node key by @jenschude
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.2.1...9.2.2
- fix NullpointerException for CustomField LocalizedStrings values with a node
key
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.6.2...7.6.3
- fix ProductDataLike de-/serialization
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.2.0...9.2.1
- fix ProductDataLike de-/serialization
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.10.0...8.10.1
- Update generated SDKs by @github-actions in #339
- Update generated SDKs by @github-actions in #343
- add money serializer by @jenschude in #340
- support
HEAD
requests for product types - support cart customLineItem priceMode
- support cart lineitem inventoryMode
- support store distribution channel message
- add LocaleprojectingTrait, StoreprojectingTrait
- quotes to extension resource types
- removed
localeProjection
&priceSelection
parameter from PriceselectingTrait as they are not applying to all endpoints using price selection - remove MonetaryAmount fields from money serialization
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.1.0...9.2.0
- add convert methods customfields & references to their drafts by @jenschude in #336
- Update generated SDKs by @github-actions in #335
- Update generated SDKs by @github-actions in #337
- Update generated SDKs by @github-actions in #338
- add convert methods customfields & references to their drafts
- add order custom lineitem messages
- add
toDraft
methods toAddress
,Parcel
,Delivery
- add
DeliveryDraft
type
- fix type for field
version
in OrderEdit models - OrderImport fix
ShippingInfoImportDraft
to useDeliveryDraft
- fix type for field score in ScoreShippingRateInput & ScoreShippingRateInputDraft
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/9.0.0...9.1.0
- fix type for field
score
in ScoreShippingRateInput & ScoreShippingRateInputDraft
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.7.1...8.7.2
- add benchmark for SDK comparison by @jenschude in #331
- Update generated SDKs by @github-actions in #330
- add builder methods to configure executor services for http and oauth by @jenschude in #333
- Update generated SDKs by @github-actions in #334
- added section to Migration about namespace and class name changes from SDK v1 to v2 to JavaDoc
- add builder methods to configure executor services for http and oauth
- support in store product selections
- support quotes
- support DirectDiscounts for carts
- removed wrong interfaces from ByProjectKeyInStoreKeyByStoreKeyProductProjectionsGet
- fixed type of property score in
CartScoreTier
toInteger
(wasDouble
)
- type of
AttributeReferenceType
propertyreferenceTypeId
changed toAttributeReferenceTypeId
- removed deprecated import sink endpoints and models from Import API SDK
- removed non existing endpoint in store product projections query
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.10.0...9.0.0
- add support for AHC by @jenschude in #326
- Update generated SDKs by @github-actions in #325
- add StandalonePriceExternalDiscountSet message
- add best practices document by @barbara79 in #328
- add option to unwrap completion exception by @jenschude in #329
- configurable schedulers for Middlewares 6b601f9
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.9.0...8.10.0
Fixes:
- Fixes issue with HTTP/2 connections which result in shutdown of the HTTP client connection pool by forcing HTTP/1.1 connections
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/2.0.1...2.0.2
- support
condition
field for extension triggers - support standalone pricing
- fix type request/response type for my customer cmail confirm endpoints
- support File requests in the compatibility layer
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.8.1...8.9.0
- add option to filter requests for NotFoundRequestMiddleware by @jenschude in #323
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.8.0...8.8.1
- add time information to the logger middleware by @jenschude in #309
- Update generated SDKs by @github-actions in #307
- Update github/codeql-action action to v2 by @renovate in #305
- Update actions/checkout action to v3 by @renovate in #272
- Update actions/setup-java action to v3 by @renovate in #271
- Update all dependencies by @renovate in #226
- Update generated SDKs by @github-actions in #310
- Update generated SDKs by @github-actions in #312
- Update generated SDKs by @github-actions in #314
- Add example for spring application by @jenschude in #313
- Update generated SDKs by @github-actions in #315
- Update generated SDKs by @github-actions in #316
- Update generated SDKs by @github-actions in #318
- Update generated SDKs by @github-actions in #319
- chore(docs): update naming to match new branding initiative by @jherey in #317
- Update generated SDKs by @github-actions in #320
- Compatibility Layer improvements by @jenschude in #322
Fixes:
- empty instance of a LocalizedString returns an empty value map
Interface API Change:
- add
getBaseUri
method to ApiHttpClient interface
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.7.0...8.8.0
- fix exception to log level mapping in InternalLoggerMiddleware
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.7.0...8.7.1
- Backport of type fix from double to integer/long for quantity properties. See details in #297
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.6.1...7.6.2
- Update generated SDKs by @github-actions in #301
- Update generated SDKs by @github-actions in #302
- fix product variant patch by @jenschude in #306
- Update generated SDKs by @github-actions in #304
- add factory methods for Money types to be created from a MonetaryAmount
- add typeReference method to all model interfaces
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.6.0...8.7.0
- fix Import API product variant patch serializer
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.6.0...8.6.1
- fix importApi product variant patch serializer by @jenschude in #299
- add support for nested attributes to AttributesAccessor by @jenschude in #295
- Update generated SDKs by @github-actions in #298
- fixed response type for product projection suggest endpoint
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.5.1...8.6.0
- Update generated SDKs by @github-actions in #294
- type fix from double to integer/long for quantity properties in #297
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.5.0...8.5.1
- Update generated SDKs by @github-actions in #291
- Update generated SDKs by @github-actions in #292
- add product data like interface by @jenschude in #293
- fix type of field
quantity
in StagedOrderUpdateActions
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.4.0...8.5.0
- Update generated SDKs by @github-actions in #287
- fix NPE in attribute deserializer if locale key is used in LocalizedS… by @jenschude in #288
- support for JavaMoney by @jenschude in #290
- ConcurrentModificationException logged as Info level by default
- fix exception log level configuration
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.3.0...8.4.0
- fix NPE in attribute deserializer if locale key is used in LocalizedStrings
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.6.0...7.6.1
- Update generated SDKs by @github-actions in #282
- Update generated SDKs by @github-actions in #286
- add decorator method to ApiMethod class by @jenschude in #284
- add decorate method to ApiMethod class by @jenschude in #285
- configurable Error level in the InternalLoggerMiddleware
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.2.0...8.3.0
- add option to handle failures in RetryMiddleware by @jenschude in #281
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.1.0...8.2.0
- Add middleware for handling ConcurrentModificationExceptions
- Update generated SDKs by @github-actions in #278
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.0.1...8.1.0
Feature:
- marker interface Customizable and CustomizableDraft added
Fixes:
- type fix for
custom
field in MyCustomerDraft, MyTransactionDraft, StagedOrderAddDeliveryAction
- Update generated SDKs by @github-actions in #277
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/8.0.0...8.0.1
Features:
- an OrderLike interface has been introduced
- new BodyApiMethod allow to access and add a new Body object
- added accessor to additional fields in an ErrorObject
- extended CustomFields and AttributesAccessor with more type safe methods
- add more options to fine tune the HTTP clients
- add ApiHttpExceptionFactory by @jenschude in #265
- add constructors to HTTP client modules to support further customization of the underlying HTTP client
- add CategoryTree helper classes
- add Identifiable interface to DomainResources, References and ResourceIdentifiers
- new QueueMiddleware has been added
- added NotFoundException middleware which returns null instead of throwing a NotFoundException
- added RetryHandler for handling ConcurrentModification errors
- added more helper methods to LocalizedString for simpler usage
Fixes:
- querying for product selections of a product maps now to the correct type
AssignedProductSelectionPagedQueryResponse
- correctly restore InterruptedExceptions in blocking calls
- fix InStore customer password reset return type
- fix OrderAddDelivery custom field type
Behavior changes:
- PrintStacktrace calls have been replaced by appropiate exceptions
- Serialization errors while executing a request now throwing a JsonException
- IOErrors errors of files while executing a requests now throwing a FileException
- CompatRequest throws a HttpException if URL could not be encoded
- ApiMethod throws a EncodingException for unsupported URL encoding
Breaking Changes:
-
Failsafe library has been updated to 3.2
-
ResourceUpdate interfaces adds a generic parameter to it's Builder class
-
The following classes have been renamed for aligning the documentation and SDK type naming: Package com.commercetools.api.models.extension
ExtensionAWSLambdaDestination ExtensionAWSLambdaDestinationBuilder ExtensionAuthorizationHeaderAuthentication ExtensionAuthorizationHeaderAuthenticationBuilder ExtensionAzureFunctionsAuthentication ExtensionAzureFunctionsAuthenticationBuilder ExtensionHttpDestination ExtensionHttpDestinationAuthentication ExtensionHttpDestinationBuilder
Package com.commercetools.api.models.message
MessageConfiguration MessageConfigurationBuilder MessageConfigurationDraft MessageConfigurationDraftBuilder
Package com.commercetools.api.models.product
FacetResultRange.java FacetResultRangeBuilder.java FacetResultTerm.java FacetResultTermBuilder.java
Package com.commercetools.api.models.subscription
DeliveryCloudEventsFormat DeliveryCloudEventsFormatBuilder DeliveryPlatformFormat DeliveryPlatformFormatBuilder MessageDelivery MessageDeliveryBuilder ResourceCreatedDelivery ResourceCreatedDeliveryBuilder ResourceDeletedDelivery ResourceDeletedDeliveryBuilder ResourceUpdatedDelivery ResourceUpdatedDeliveryBuilder SubscriptionDelivery
For helping the transition extended classes and interfaces with deprecation and replaced annotation have been added
-
Update generated SDKs by @github-actions in #252
-
Update generated SDKs by @github-actions in #255
-
Update generated SDKs by @github-actions in #256
-
Update generated SDKs by @github-actions in #260
-
Update generated SDKs by @github-actions in #263
-
Update generated SDKs by @github-actions in #266
-
Update generated SDKs by @github-actions in #269
-
Update generated SDKs by @github-actions in #270
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.6.0...8.0.0
- Update generated SDKs by @github-actions in #245
- Add support for product selection (beta)
- Fix returnItemDraft type of field
custom
toCustomFieldsDraft
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.5.0...7.6.0
- Update generated SDKs by @github-actions in #244
- fix SetLineItemSupplyChannelAction for me cart endpoint
- fix TransactionDraft type of field
custom
to CustomFieldDraft
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.4.0...7.5.0
- Update generated SDKs by @github-actions in #230
- Update generated SDKs by @github-actions in #234
- Update generated SDKs by @github-actions in #236
- Update generated SDKs by @github-actions in #239
- support custom deserialization per request by @jenschude in #235
- Improve internal logger by @jenschude in #241 adds option to customize the logging level for responses and deprecation notices (default: Info)
- adds support for Order search endpoint
- model implementation classes can be written out as a string using the
ModelBase#reflectionString
method - added methods for type safe retrieval of Attribute values to the AttributeAccessor class
- In-Store cart query returns correct type instead Object
- query parameter customerId has been removed from Cart queries due to mapping issues use
projectApiRoot.carts().withCustomerId()
instead - fixed type for field
custom
in CartDiscountDraft fromCustomField
toCustomFieldDraft
- fixed
ApiHttpResponse#getBodyAsString
method if response body is null
- removed the inventories endpoint from the Import API modules
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.3.0...7.4.0
- Support injecting custom executor to oauth middleware by @jenschude in #225
- Update all dependencies by @renovate in #220
- Update plugin com.diffplug.spotless to v6 by @renovate in #222
- Update all dependencies by @renovate in #224
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.2.0...7.3.0
- Update generated SDKs by @github-actions in #218
- fix type for
value
of CartDiscount. Changed from CartDiscountDraft to CartDiscount
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.1.0...7.2.0
-
Update generated SDKs by @github-actions in #215
-
add option for an Auth CircuitBreaker by @jenschude in #219 Can be activated using the ApiRoot or ClientBuilder e.g.:
ApiRootBuilder.of() .withAuthCircuitBreaker()
-
Fix dropping of custom CorrelationId using the compatibility layer
-
Update dependencies by @renovate-bot
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/7.0.0...7.1.0
- Update generated SDKs by @github-actions in #208
- fix double encoding issue in compat layer by @jenschude in #217
- model Classes are not final anymore - Closes #199
- DiscountedPrice model has now separate read & write models - Closes #213
- LineItemImportDraft now uses long for quantity - Closes #203
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/6.4.0...7.0.0
- add querying helper by @jenschude in #207
import com.commercetools.api.client.QueryUtils; QueryUtils.queryAll(request, list -> { list.forEach(someFn); }, 100).toCompletableFuture().join();
Full Changelog: https://github.com/commercetools/commercetools-sdk-java-v2/compare/6.3.0...6.4.0
- fix package for ProjectApiRoot
Package has been changed from com.commercetools..defaultconfig to com.commercetools..client, e.g.:
com.commercetools.api.client.ProjectApiRoot
instead ofcom.commercetools.api.defaultconfig.ProjectApiRoot
- adds ProjectApiRoot class to be used as project scoped api root.
ProjectApiRoot root = ApiRootBuilder.of() .build("projectKey");
- adds possibilities to add multiple query parameters at once
- adds
equals
andhashCode
to resource method classes
- a new module with support for the Apache HTTP Async client has been added
- API Client and Auth client provide hints of possible misconfigurations
- Update of the Models to the latest API changes
- All model builders now check if all required fields have been set. An additional method buildUnchecked has been added.
Examples:
- added examples and test for Maven configured projects
OkHttp:
- specify more clearly a version range of the OkHttp client
- imports of the OkHttp client projects using the FQDN to avoid clashes in the classpath
Api:
- fixed return type for customer email token confirmation
- image upload improved to detect the content type if not given for the request
- type fix for the image upload query parameter
variant
- type fixes for deliveryAdress custom field update actions
- correct naming for StagedOrderUpdateActions
Import:
- querying import sinks allow multiply sort parameters
- added ImportOperation total
- import sink resourceType is nullable
ML:
- image upload improved to detect the content type if not given for the request
As some return types have been changed we released a new major version.
- Added a
BaseAddress
model to be able to useAddress
&AddressDraft
models when writing to the API. This should be mostly backwards compatible, but return types of Drafts and DraftBuilders methods for addresses have been changed. DeprecatableTrait
has been split toDeprecatable200Trait
andDeprecatable201Trait
- fixed InventoryEntry supplyChannel type to
ChannelReference
- Fixes issue with HTTP/2 connections which result in shutdown of the HTTP client connection pool by forcing HTTP/1.1 connections
- Introduces a compatibility layer for the JVM SDK This allows to use SDKv1 commands with the new SDK. Use the CompatClient for mapping the results to the v2 SDK models. Use the CompatSphereClient to use the v2 SDK client as a SphereClient replacement
- Query parameters use now primitive types as parameters This allows autoboxing/unboxing and type conversions (e.g. int to long) to simplify the usage of query parameters
- Fixed return types for Me endpoint methods
- Improved Tracing of the RetryMiddleware
Fixed type of quantity property for MyLineItemDraft
Introduced ClientBuilder for easier creation of an ApiHttpClient instance Deprecated ClientFactory DateSerializer is now configurable to return Attribute dates as String Support for form parameters in product search requests Attribute with Numbers are now deserialized to a long if no decimal places are given added Audit log SDK
Fixed legacy SDK HttpClient
Fixes NPE with empty sets in custom fields
From this release on the SDK modules will only made available on Maven Central due to the deprecation of Bintray and JCenter.
Fixes a bug related to adding format to the quantity field for DeliveryItem
Breaking Changes:
- Properties accepting & returning JsonNode have been changed to accept and return Object. This mainly affects CustomFields, Attributes and CustomObjects.
- VrapJsonUtils have been renamed to JsonUtils
Features:
-
JsonUtils can load Jackson Modules using ServiceLoaders A DeserializerModule has been added for the commercetools-sdk-java-api which deserializes the following entities to their respective types
- Attributes
- CustomFields
- FacetResults
- Review target property
-
added additional Setters for Union type properties
-
added method to return the response body to ApiMethod class
-
added explicit Accept-Encoding header for GZip compression
Fixes a possible execution bottleneck in the OAuthMiddleware
Fixes a possible execution bottleneck in the OAuthMiddleware
It's now mandatory to add a http client module as a dependency to avoid resolving unsupported versions of the HTTP client
The default one would be
Maven:
<dependency>
<groupId>com.commercetools.sdk</groupId>
<artifactId>commercetools-http-client</artifactId>
<version>${commercetools.version}</version>
</dependency>
Gradle
dependencies {
implementation "com.commercetools.sdk:commercetools-http-client:${versions.commercetools}"
}
- fix deserialization of changed Enum. Closes #84
- fix resolving of transient dependencies. Closes #83