Skip to content

Releases: commercetools/commercetools-sdk-java-v2

18.3.0

20 Jun 08:01
8a87245
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #910
  • chore(deps): lock file maintenance by @renovate in #904
  • chore(deps): update gradle/actions digest to 8379f6a by @renovate in #906
  • fix(deps): update all dependencies by @renovate in #895
  • chore(deps): update actions/create-github-app-token digest to df432ce by @renovate in #892
  • fix(deps): update dependency lint-staged to v16 by @renovate in #903
  • Update generated SDKs by @ct-sdks in #911
  • Update generated SDKs by @ct-sdks in #915
  • Update generated SDKs by @ct-sdks in #916
  • update Maven Release process by @jenschude in #917
  • Update generated SDKs by @ct-sdks in #918
  • Update generated SDKs by @ct-sdks in #921
  • Update generated SDKs by @ct-sdks in #922
  • update service regions by @jenschude in #923
  • support custom attributes for metrics by @jenschude in #924
  • Update generated SDKs by @ct-sdks in #925
  • Update generated SDKs by @ct-sdks in #926
  • Fix Logger with unwrapped CompletionExceptions by @jenschude in #927

Api changes

Removed Property(s)
  • ⚠️ removed property /[0-9].[0-9]*[1-9]/ from type CategoryOrderHints
  • ⚠️ removed property // from type ProductVariantChannelAvailabilityMap
Changed Property(s)
  • ⚠️ changed property filter of type SearchSorting from type SearchQueryExpression to SearchQuery
Added Property(s)
  • added property /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/ to type CategoryOrderHints
  • added property /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/ to type ProductVariantChannelAvailabilityMap

Full Changelog: 18.2.0...18.3.0

18.2.0

05 Jun 07:37
73d4a15
Compare
Choose a tag to compare

Fixes

Fixed version ranges for OkHttp and Apache clients to prevent the resolution of next major alpha versions using Maven.

What's Changed

  • Update generated SDKs by @ct-sdks in #908
  • Update generated SDKs by @ct-sdks in #909

Api changes

Added Type(s)
  • added type ExpiredCustomerEmailTokenError
  • added type ExpiredCustomerPasswordTokenError
  • added type GraphQLExpiredCustomerEmailTokenError
  • added type GraphQLExpiredCustomerPasswordTokenError
  • added type CheckoutOrderCreationFailedEvent
  • added type CheckoutPaymentAuthorizationCancelledEvent
  • added type CheckoutPaymentAuthorizationFailedEvent
  • added type CheckoutPaymentAuthorizedEvent
  • added type CheckoutPaymentCancelAuthorizationFailedEvent
  • added type CheckoutPaymentChargeFailedEvent
  • added type CheckoutPaymentChargedEvent
  • added type CheckoutPaymentRefundFailedEvent
  • added type CheckoutPaymentRefundedEvent
  • added type CheckoutMessageOrderPayloadBaseData
  • added type CheckoutMessagePaymentsPayloadBaseData
Added Property(s)
  • added property invalidateOlderTokens to type CustomerCreateEmailToken
  • added property invalidateOlderTokens to type CustomerCreatePasswordResetToken
  • added property invalidateOlderTokens to type CustomerToken
  • added property value to type CustomerEmailTokenCreatedMessage
  • added property invalidateOlderTokens to type CustomerEmailTokenCreatedMessage
  • added property value to type CustomerPasswordTokenCreatedMessage
  • added property invalidateOlderTokens to type CustomerPasswordTokenCreatedMessage
  • added property value to type CustomerEmailTokenCreatedMessagePayload
  • added property invalidateOlderTokens to type CustomerEmailTokenCreatedMessagePayload
  • added property value to type CustomerPasswordTokenCreatedMessagePayload
  • added property invalidateOlderTokens to type CustomerPasswordTokenCreatedMessagePayload
Added Enum(s)
  • added enum checkout to type EventSubscriptionResourceTypeId
  • added enum CheckoutOrderCreationFailed to type EventType
  • added enum CheckoutPaymentAuthorizationCancelled to type EventType
  • added enum CheckoutPaymentAuthorizationFailed to type EventType
  • added enum CheckoutPaymentAuthorized to type EventType
  • added enum CheckoutPaymentCancelAuthorizationFailed to type EventType
  • added enum CheckoutPaymentCharged to type EventType
  • added enum CheckoutPaymentChargeFailed to type EventType
  • added enum CheckoutPaymentRefunded to type EventType
  • added enum CheckoutPaymentRefundFailed to type EventType

Import changes

Removed Property(s)
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type SearchKeywords
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type LocalizedString
Added Property(s)
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type SearchKeywords
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type LocalizedString

Full Changelog: 18.1.0...18.2.0

18.1.0

03 Jun 12:42
d20843c
Compare
Choose a tag to compare

New features

Split packages

Additionally to the package commercetools-sdk-java-api we also release packages split by domain. This allows package size optimization for deployment targets with size constrains. See also https://commercetools.github.io/commercetools-sdk-java-v2/javadoc/com/commercetools/docs/meta/SizeOptimization.html

What's Changed

  • Update changelog by @ct-sdks in #891
  • Update generated SDKs by @ct-sdks in #894
  • Update generated SDKs by @ct-sdks in #897
  • Update generated SDKs by @ct-sdks in #898
  • Update generated SDKs by @ct-sdks in #899
  • Package split by @jenschude in #900
  • Update generated SDKs by @ct-sdks in #901
  • Package split example by @jenschude in #902
  • Update generated SDKs by @ct-sdks in #905

Import changes

Removed Property(s)
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type SearchKeywords
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type LocalizedString
Added Property(s)
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type SearchKeywords
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type LocalizedString

Full Changelog: 18.0.0...18.1.0

18.1.0-RC.1

23 May 06:48
52941ff
Compare
Choose a tag to compare
18.1.0-RC.1 Pre-release
Pre-release

New features

Split packages

Additionally to the package commercetools-sdk-java-api we also release packages split by domain. This allows package size optimization for deployment targets with size constrains.

What's Changed

  • Update changelog by @ct-sdks in #891
  • Update generated SDKs by @ct-sdks in #894
  • Update generated SDKs by @ct-sdks in #897
  • Update generated SDKs by @ct-sdks in #898
  • Update generated SDKs by @ct-sdks in #899
  • Package split by @jenschude in #900
  • Update generated SDKs by @ct-sdks in #901
  • Package split example by @jenschude in #902

Import changes

Removed Property(s)
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type SearchKeywords
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type LocalizedString
Added Property(s)
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type SearchKeywords
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type LocalizedString

Full Changelog: 18.0.0...18.1.0-RC.1

18.0.0

02 May 10:22
e3db8cc
Compare
Choose a tag to compare

New Features

Java 11

The SDK is built with Java 11 now. We will also take advantage of different language features in future releases.

New Request Policy Middleware

It's now possible to create request policies based on the requests context. E.g. different timeouts and retries for POST and GET requests:

ProjectApiRoot b = ApiRootBuilder.of()
       ...
        .withRequestPolicies(policies -> policies
                .withRequestMatching(apiHttpRequest -> apiHttpRequest.getMethod().equals(ApiHttpMethod.POST),
                    policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(10)))
                .withRequestMatching(apiHttpRequest -> apiHttpRequest.getMethod().equals(ApiHttpMethod.GET),
                    policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(1)))
                .withAllOtherRequests(policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(60))))
        .build(projectKey);

What's Changed

  • fix Delivery discriminators by @jenschude in #866
  • Update generated SDKs by @ct-sdks in #867
  • Update changelog by @ct-sdks in #865
  • Update generated SDKs by @ct-sdks in #870
  • Update java to 11 by @lojzatran in #844
  • Update generated SDKs by @ct-sdks in #871
  • Update generated SDKs by @ct-sdks in #872
  • Update generated SDKs by @ct-sdks in #873
  • Update generated SDKs by @ct-sdks in #877
  • Update generated SDKs by @ct-sdks in #879
  • DEVX-588 adding query predicate builder documentation by @barbara79 in #874
  • Update generated SDKs by @ct-sdks in #883
  • Update generated SDKs by @ct-sdks in #885
  • Update generated SDKs by @ct-sdks in #886
  • Add request specific policies by @jenschude in #882
  • chore(deps): lock file maintenance by @renovate in #881
  • chore(deps): update actions/setup-java digest to c5195ef by @renovate in #875
  • chore(deps): update actions/create-github-app-token action to v2 by @renovate in #869
  • chore(deps): update github/codeql-action digest to 97a2bfd by @renovate in #868
  • fix(deps): update all dependencies by @renovate in #858
  • revert junit-jupiter by @jenschude in #887
  • Update generated SDKs by @ct-sdks in #888
  • remove dataprovider library by @jenschude in #889
  • update junit by @jenschude in #890

Full Changelog: 17.30.0...18.0.0

17.30.0

31 Mar 12:38
a2e4426
Compare
Choose a tag to compare

Important information

This will be the last release for Java 8. The next released version will be built with Java 11.

What's Changed

  • Update changelog by @ct-sdks in #851
  • fix(deps): update all dependencies by @renovate in #836
  • Delete .github/workflows/scorecard.yml by @jenschude in #852
  • update logback by @jenschude in #854
  • Update generated SDKs by @ct-sdks in #853
  • chore(deps): update actions/setup-java digest to 3a4f6e1 by @renovate in #831
  • chore(deps): update actions/create-github-app-token digest to af35eda by @renovate in #830
  • chore(deps): update plugin com.github.johnrengelman.shadow to v8 by @renovate in #800
  • add semgrep workflow by @jenschude in #855
  • Update generated SDKs by @ct-sdks in #856
  • Update generated SDKs by @ct-sdks in #859
  • Update generated SDKs by @ct-sdks in #860
  • Update generated SDKs by @ct-sdks in #861
  • Update generated SDKs by @ct-sdks in #862
  • chore(deps): update gradle/actions digest to 06832c7 by @renovate in #864
  • chore(deps): update actions/create-github-app-token digest to d72941d by @renovate in #863
  • chore(deps): update github/codeql-action digest to 9f45e74 by @renovate in #857

Api changes

Required Property(s)
  • changed property facets of type ProductProjectionPagedSearchResponse to be optional
Removed QueryParameter(s)
  • ⚠️ removed query parameter withTotal from method get /{projectKey}/product-projections/search

Full Changelog: 17.29.0...17.30.0

17.29.0

19 Mar 14:06
8031413
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #846
  • Update generated SDKs by @ct-sdks in #847
  • fix exception with invalid date deserialization by @jenschude in #849
  • Update generated SDKs by @ct-sdks in #850

Api changes

Added QueryParameter(s)
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/products
  • added query parameter priceCustomerGroupAssignments to method post /{projectKey}/products
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/products/key={key}
  • added query parameter priceCustomerGroupAssignments to method post /{projectKey}/products/key={key}
  • added query parameter priceCustomerGroupAssignments to method delete /{projectKey}/products/key={key}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/products/{ID}
  • added query parameter priceCustomerGroupAssignments to method post /{projectKey}/products/{ID}
  • added query parameter priceCustomerGroupAssignments to method delete /{projectKey}/products/{ID}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections/search
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections/key={key}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections/{ID}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}
Added Type(s)
  • added type CustomerGroupAssignment
  • added type CustomerGroupAssignmentDraft
  • added type CustomerAddCustomerGroupAssignmentAction
  • added type CustomerRemoveCustomerGroupAssignmentAction
  • added type CustomerSetCustomerGroupAssignmentsAction
  • added type CustomerGroupAssignmentAddedMessage
  • added type CustomerGroupAssignmentRemovedMessage
  • added type CustomerGroupAssignmentsSetMessage
  • added type CustomerGroupAssignmentAddedMessagePayload
  • added type CustomerGroupAssignmentRemovedMessagePayload
  • added type CustomerGroupAssignmentsSetMessagePayload
Added Property(s)
  • added property customerGroupAssignments to type Customer
  • added property customerGroupAssignments to type CustomerDraft
  • added property priceCustomerGroupAssignments to type ProductSearchProjectionParams

Full Changelog: 17.28.0...17.29.0

17.28.0

19 Mar 09:36
005708c
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #833
  • Update generated SDKs by @ct-sdks in #834
  • [DEVX-495] make serviceregion configurable in examples by @jenschude in #835
  • [DEVX-322] QueryAll allows different field than id to be used by @jenschude in #837
  • Update generated SDKs by @ct-sdks in #838
  • Update generated SDKs by @ct-sdks in #839
  • Update generated SDKs by @ct-sdks in #840
  • Update generated SDKs by @ct-sdks in #841
  • Update generated SDKs by @ct-sdks in #842
  • Update generated SDKs by @ct-sdks in #843
  • feat: always deserialize to long for jsonutils by @lojzatran in #845

Full Changelog: 17.27.0...17.28.0

17.27.0

19 Feb 11:27
be19e13
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #816
  • [DEVX-468] Capture errors in telemetry middleware by @jenschude in #817
  • chore(deps): update actions/create-github-app-token digest to 67e27a7 by @renovate in #815
  • Fix deserialization of time attributes/custom-fields by @jenschude in #818
  • fix(deps): update all dependencies by @renovate in #795
  • chore(deps): pin gradle/actions action to 94baf22 by @renovate in #812
  • chore(deps): update codecov/codecov-action action to v5 by @renovate in #796
  • Update generated SDKs by @ct-sdks in #819
  • Update generated SDKs by @ct-sdks in #820
  • Update generated SDKs by @ct-sdks in #821
  • Update generated SDKs by @ct-sdks in #822
  • Update generated SDKs by @ct-sdks in #823
  • Update changelog by @ct-sdks in #824
  • Update generated SDKs by @ct-sdks in #826
  • Update generated SDKs by @ct-sdks in #827
  • Update generated SDKs by @ct-sdks in #828
  • Update generated SDKs by @ct-sdks in #829
  • Update generated SDKs by @ct-sdks in #832
  • Bump io.netty:netty-handler from 4.1.117.Final to 4.1.118.Final by @dependabot in #825
  • chore(deps): update plugin io.github.gradle-nexus.publish-plugin to v2 by @renovate in #620

Full Changelog: 17.26.0...17.27.0

17.27.0-alpha.1-mcg

11 Feb 08:12
Compare
Choose a tag to compare
17.27.0-alpha.1-mcg Pre-release
Pre-release

What's Changed

  • Update changelog by @ct-sdks in #816
  • [DEVX-468] Capture errors in telemetry middleware by @jenschude in #817
  • chore(deps): update actions/create-github-app-token digest to 67e27a7 by @renovate in #815
  • Fix deserialization of time attributes/custom-fields by @jenschude in #818
  • fix(deps): update all dependencies by @renovate in #795
  • chore(deps): pin gradle/actions action to 94baf22 by @renovate in #812
  • chore(deps): update codecov/codecov-action action to v5 by @renovate in #796
  • Update generated SDKs by @ct-sdks in #819
  • Update generated SDKs by @ct-sdks in #820
  • Update generated SDKs by @ct-sdks in #821
  • Update generated SDKs by @ct-sdks in #822
  • Update generated SDKs by @ct-sdks in #823

Full Changelog: 17.26.0...17.27.0-alpha.1-mcg