Releases: commercetools/commercetools-sdk-java-v2
18.3.0
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 typeCategoryOrderHints
⚠️ removed property//
from typeProductVariantChannelAvailabilityMap
Changed Property(s)
⚠️ changed propertyfilter
of typeSearchSorting
from typeSearchQueryExpression
toSearchQuery
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 typeCategoryOrderHints
- 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 typeProductVariantChannelAvailabilityMap
Full Changelog: 18.2.0...18.3.0
18.2.0
Fixes
Fixed version ranges for OkHttp and Apache clients to prevent the resolution of next major alpha versions using Maven.
What's Changed
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 typeCustomerCreateEmailToken
- added property
invalidateOlderTokens
to typeCustomerCreatePasswordResetToken
- added property
invalidateOlderTokens
to typeCustomerToken
- added property
value
to typeCustomerEmailTokenCreatedMessage
- added property
invalidateOlderTokens
to typeCustomerEmailTokenCreatedMessage
- added property
value
to typeCustomerPasswordTokenCreatedMessage
- added property
invalidateOlderTokens
to typeCustomerPasswordTokenCreatedMessage
- added property
value
to typeCustomerEmailTokenCreatedMessagePayload
- added property
invalidateOlderTokens
to typeCustomerEmailTokenCreatedMessagePayload
- added property
value
to typeCustomerPasswordTokenCreatedMessagePayload
- added property
invalidateOlderTokens
to typeCustomerPasswordTokenCreatedMessagePayload
Added Enum(s)
- added enum
checkout
to typeEventSubscriptionResourceTypeId
- added enum
CheckoutOrderCreationFailed
to typeEventType
- added enum
CheckoutPaymentAuthorizationCancelled
to typeEventType
- added enum
CheckoutPaymentAuthorizationFailed
to typeEventType
- added enum
CheckoutPaymentAuthorized
to typeEventType
- added enum
CheckoutPaymentCancelAuthorizationFailed
to typeEventType
- added enum
CheckoutPaymentCharged
to typeEventType
- added enum
CheckoutPaymentChargeFailed
to typeEventType
- added enum
CheckoutPaymentRefunded
to typeEventType
- added enum
CheckoutPaymentRefundFailed
to typeEventType
Import changes
Removed Property(s)
⚠️ removed property/^[a-z]{2}(-[A-Z]{2})?$/
from typeSearchKeywords
⚠️ removed property/^[a-z]{2}(-[A-Z]{2})?$/
from typeLocalizedString
Added Property(s)
- added property
/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/
to typeSearchKeywords
- added property
/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/
to typeLocalizedString
Full Changelog: 18.1.0...18.2.0
18.1.0
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 typeSearchKeywords
⚠️ removed property/^[a-z]{2}(-[A-Z]{2})?$/
from typeLocalizedString
Added Property(s)
- added property
/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/
to typeSearchKeywords
- added property
/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/
to typeLocalizedString
Full Changelog: 18.0.0...18.1.0
18.1.0-RC.1
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 typeSearchKeywords
⚠️ removed property/^[a-z]{2}(-[A-Z]{2})?$/
from typeLocalizedString
Added Property(s)
- added property
/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/
to typeSearchKeywords
- added property
/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/
to typeLocalizedString
Full Changelog: 18.0.0...18.1.0-RC.1
18.0.0
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
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 typeProductProjectionPagedSearchResponse
to be optional
Removed QueryParameter(s)
⚠️ removed query parameterwithTotal
from methodget /{projectKey}/product-projections/search
Full Changelog: 17.29.0...17.30.0
17.29.0
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 methodget /{projectKey}/products
- added query parameter
priceCustomerGroupAssignments
to methodpost /{projectKey}/products
- added query parameter
priceCustomerGroupAssignments
to methodget /{projectKey}/product-projections
- added query parameter
priceCustomerGroupAssignments
to methodget /{projectKey}/products/key={key}
- added query parameter
priceCustomerGroupAssignments
to methodpost /{projectKey}/products/key={key}
- added query parameter
priceCustomerGroupAssignments
to methoddelete /{projectKey}/products/key={key}
- added query parameter
priceCustomerGroupAssignments
to methodget /{projectKey}/products/{ID}
- added query parameter
priceCustomerGroupAssignments
to methodpost /{projectKey}/products/{ID}
- added query parameter
priceCustomerGroupAssignments
to methoddelete /{projectKey}/products/{ID}
- added query parameter
priceCustomerGroupAssignments
to methodget /{projectKey}/product-projections/search
- added query parameter
priceCustomerGroupAssignments
to methodget /{projectKey}/product-projections/key={key}
- added query parameter
priceCustomerGroupAssignments
to methodget /{projectKey}/product-projections/{ID}
- added query parameter
priceCustomerGroupAssignments
to methodget /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
- added query parameter
priceCustomerGroupAssignments
to methodget /{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 typeCustomer
- added property
customerGroupAssignments
to typeCustomerDraft
- added property
priceCustomerGroupAssignments
to typeProductSearchProjectionParams
Full Changelog: 17.28.0...17.29.0
17.28.0
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
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
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