Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ f00f4fe6ed5e22cdd2e3f68370c2da96e6bbc8e7
899ed51a7b6607161fcda5c1000115a076cc4fe7
53b9d9cc4fc4091b89f84effb6e526371d3bae68
4822581aeff072b7649c7aec56a13a95bd58c249
eb09ce06943ccb460981afaa6b5ecfd54f8f87e2
174 changes: 174 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,178 @@

# 19.11.0 (2026-05-28)

## What's Changed

* Update changelog by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/1066
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/1067
* add customizable interface to business unit by @jenschude in https://github.com/commercetools/commercetools-sdk-java-v2/pull/1071
* Optimize HTTP client performance: eliminate redundant header... by @peniakoff in https://github.com/commercetools/commercetools-sdk-java-v2/pull/1069

**Api changes**

<details>
<summary>Added Enum(s)</summary>

- added enum `ReserveOnCart` to type `InventoryMode`
- added enum `reservation` to type `ReferenceTypeId`
- added enum `reservation` to type `ResourceTypeId`
</details>


<details>
<summary>Added Type(s)</summary>

- added type `ReservationReference`
- added type `CartSetReservationExpirationInMinutesAction`
- added type `NonStandardCurrency`
- added type `CircularDependencyError`
- added type `ExtensionChainTooDeepError`
- added type `ExtensionChainTooWideError`
- added type `ExtensionDependencyExistsError`
- added type `LineItemQuantityAboveLimitError`
- added type `LineItemQuantityBelowLimitError`
- added type `MissingDependencyError`
- added type `GraphQLCircularDependencyError`
- added type `GraphQLExtensionChainTooDeepError`
- added type `GraphQLExtensionChainTooWideError`
- added type `GraphQLExtensionDependencyExistsError`
- added type `GraphQLLineItemQuantityAboveLimitError`
- added type `GraphQLLineItemQuantityBelowLimitError`
- added type `GraphQLMissingDependencyError`
- added type `ExtensionAdditionalContext`
- added type `ExtensionAdditionalContextDraft`
- added type `ExtensionReference`
- added type `ExtensionResourceIdentifier`
- added type `ExtensionSetAdditionalContextAction`
- added type `ExtensionSetDependenciesAction`
- added type `ExtensionSetExpansionPathsAction`
- added type `InventoryEntryStockLevels`
- added type `InventoryEntrySetReorderPointAction`
- added type `InventoryEntrySetReservationExpirationInMinutesAction`
- added type `InventoryEntrySetSafetyStockAction`
- added type `InventoryEntryOutOfStockMessage`
- added type `InventoryEntryReorderPointMessage`
- added type `InventoryEntryReservationExpirationInMinutesSetMessage`
- added type `InventoryEntrySafetyStockMessage`
- added type `InventoryEntryOutOfStockMessagePayload`
- added type `InventoryEntryReorderPointMessagePayload`
- added type `InventoryEntryReservationExpirationInMinutesSetMessagePayload`
- added type `InventoryEntrySafetyStockMessagePayload`
- added type `InventoryConfiguration`
- added type `ProjectSetReleaseExpiredReservationsAction`
- added type `ProjectSetReservationExpirationInMinutesAction`
- added type `Reservation`
- added type `ReservationState`
- added type `CannotChangeReservationExpiryWarning`
- added type `CannotCreateReservationWarning`
- added type `CannotUpdateReservationWarning`
</details>


<details>
<summary>Added Property(s)</summary>

- added property `warnings` to type `Cart`
- added property `reservation` to type `LineItem`
- added property `dependencies` to type `Extension`
- added property `expansionPaths` to type `Extension`
- added property `additionalContext` to type `Extension`
- added property `dependencies` to type `ExtensionDraft`
- added property `expansionPaths` to type `ExtensionDraft`
- added property `additionalContext` to type `ExtensionDraft`
- added property `oldResource` to type `ExtensionInput`
- added property `reservationExpirationInMinutes` to type `InventoryEntry`
- added property `stockLevels` to type `InventoryEntry`
- added property `reservationExpirationInMinutes` to type `InventoryEntryDraft`
- added property `stockLevels` to type `InventoryEntryDraft`
- added property `inventory` to type `Project`
</details>

**Import changes**

<details>
<summary>Added Resource(s)</summary>

- added resource `/{projectKey}/product-tailorings`
- added resource `/{projectKey}/product-tailorings/import-containers`
- added resource `/{projectKey}/product-tailorings/import-containers/{importContainerKey}`
</details>


<details>
<summary>Added Enum(s)</summary>

- added enum `product-tailoring` to type `ImportResourceType`
</details>


<details>
<summary>Added Type(s)</summary>

- added type `ProductTailoringImportRequest`
- added type `ProductVariantTailoringImport`
- added type `ProductTailoringImport`
</details>


<details>
<summary>Added Method(s)</summary>

- added method `apiRoot.withProjectKeyValue().productTailorings().importContainers().withImportContainerKeyValue().post()`
</details>


<details>
<summary>Added Property(s)</summary>

- added property `reservationExpirationInMinutes` to type `InventoryImport`
- added property `active` to type `StandalonePriceImport`
</details>

**History changes**

<details>
<summary>Added Enum(s)</summary>

- added enum `setReservationExpirationInMinutes` to type `UpdateType`
</details>


<details>
<summary>Added Type(s)</summary>

- added type `SetTransactionInterfaceIdChange`
</details>


<details>
<summary>Added Property(s)</summary>

- added property `catalogData` to type `ChangeLocalizedNameChange`
- added property `catalogData` to type `SetLocalizedDescriptionChange`
</details>

**Checkout changes**

<details>
<summary>Added Enum(s)</summary>

- added enum `eu-central-1.aws` to type `Region`
- added enum `us-east-2.aws` to type `Region`
</details>


<details>
<summary>Removed Type(s)</summary>

- :warning: removed type `SetConnectorDeploymentUpdateAction`
</details>

## New Contributors
* @peniakoff made their first contribution in https://github.com/commercetools/commercetools-sdk-java-v2/pull/1069

**Full Changelog**: https://github.com/commercetools/commercetools-sdk-java-v2/compare/19.10.0...19.11.0

# 19.10.0 (2026-05-18)

## What's Changed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The latest stable SDK release can be retrieved from [Maven Central](https://sear
```gradle
ext {
versions = [
commercetools: "19.10.0"
commercetools: "19.11.0"
]
}

Expand All @@ -42,7 +42,7 @@ dependencies {

```maven
<properties>
<commercetools.version>19.10.0</commercetools.version>
<commercetools.version>19.11.0</commercetools.version>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import java.util.zip.GZIPInputStream;

import io.vrap.rmf.base.client.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

package com.commercetools.http.asynchttp;

import java.util.Objects;
import java.util.Optional;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import io.vrap.rmf.base.client.*;
import io.vrap.rmf.base.client.utils.Utils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import io.vrap.rmf.base.client.*;
import io.vrap.rmf.base.client.utils.Utils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import io.vrap.rmf.base.client.*;
import io.vrap.rmf.base.client.utils.Utils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

package com.commercetools.http.netty;

import java.util.Objects;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.function.BiFunction;
Expand Down
2 changes: 1 addition & 1 deletion examples/maven-okhttp3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</plugins>
</build>
<properties>
<commercetools.version>19.10.0</commercetools.version>
<commercetools.version>19.11.0</commercetools.version>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/maven-okhttp4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</plugins>
</build>
<properties>
<commercetools.version>19.10.0</commercetools.version>
<commercetools.version>19.11.0</commercetools.version>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/split-packages/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>

Check failure on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[CRITICAL] io.netty:netty-codec-http (CVE-2026-42584)

Netty is an asynchronous, event-driven network application framework. ... Severity: CRITICAL CVSS3 Score: 9.1 Installed version: 4.2.2.Final Fixed version: 4.2.13.Final, 4.1.133.Final

Check failure on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[CRITICAL] io.netty:netty-codec-http (CVE-2026-42581)

Netty is an asynchronous, event-driven network application framework. ... Severity: CRITICAL CVSS3 Score: 9.8 Installed version: 4.2.2.Final Fixed version: 4.2.13.Final, 4.1.133.Final

Check failure on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[HIGH] io.netty:netty-codec-http (CVE-2026-33870)

io.netty/netty-codec-http - Netty - Request smuggling via incorrect parsing of HTTP/1.1 chunked transfer encoding extension values Severity: HIGH CVSS3 Score: 7.5 Installed version: 4.2.2.Final Fixed version: 4.1.132.Final, 4.2.10.Final

Check warning on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[HIGH] io.netty:netty-codec-http (CVE-2026-42587)

Netty is an asynchronous, event-driven network application framework. ... Severity: HIGH CVSS3 Score: 7.5 Installed version: 4.2.2.Final Fixed version: 4.2.13.Final, 4.1.133.Final

Check warning on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[HIGH] io.netty:netty-codec-http (CVE-2026-42585)

Netty is an asynchronous, event-driven network application framework. ... Severity: HIGH CVSS3 Score: 7.5 Installed version: 4.2.2.Final Fixed version: 4.2.13.Final, 4.1.133.Final

Check failure on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[HIGH] io.netty:netty-codec-http (CVE-2025-58056)

Netty is an asynchronous event-driven network application framework fo ... Severity: HIGH CVSS3 Score: 7.5 Installed version: 4.2.2.Final Fixed version: 4.1.125.Final, 4.2.5.Final

Check warning on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[HIGH] io.netty:netty-handler-proxy (CVE-2026-42578)

Netty is an asynchronous, event-driven network application framework. ... Severity: HIGH CVSS3 Score: 7.5 Installed version: 4.2.2.Final Fixed version: 4.1.133.Final, 4.2.13.Final

Check warning on line 1 in examples/split-packages/pom.xml

View check run for this annotation

Orca Security (EU) / Orca Security - Vulnerabilities

[HIGH] org.asynchttpclient:async-http-client (CVE-2026-45300)

async-http-client - Cookie header not stripped on cross-origin redirect Severity: HIGH CVSS3 Score: 7.4 Installed version: 2.12.4 Fixed version: 3.0.10, 2.15.0
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Expand Down Expand Up @@ -28,7 +28,7 @@
</plugins>
</build>
<properties>
<commercetools.version>19.10.0</commercetools.version>
<commercetools.version>19.11.0</commercetools.version>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-datadog-statsd/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repositories {

ext {
versions = [
commercetools: "19.10.0",
commercetools: "19.11.0",
]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/spring-datadog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

ext {
versions = [
commercetools: "19.10.0",
commercetools: "19.11.0",
]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/spring-dynatrace-oneagent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repositories {

ext {
versions = [
commercetools: "19.10.0",
commercetools: "19.11.0",
]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/spring-newrelic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

ext {
versions = [
commercetools: "19.10.0",
commercetools: "19.11.0",
newrelic: "8.16.0"
]
}
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-otel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

ext {
versions = [
commercetools: "19.10.0",
commercetools: "19.11.0",
]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/spring/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ java {
}
ext {
versions = [
commercetools: "19.10.0"
commercetools: "19.11.0"
]
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Mon May 18 09:17:59 UTC 2026
#Thu May 28 13:24:35 UTC 2026
kotlinVersion=1.5.30
org.gradle.jvmargs=-Xmx2048m
version=19.11.0-SNAPSHOT
version=19.12.0-SNAPSHOT
1 change: 0 additions & 1 deletion reference.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public BaseAuthTokenSupplier(final VrapHttpClient vrapHttpClient, ApiHttpRequest
public CompletableFuture<AuthenticationToken> getToken() {
return vrapHttpClient.execute(apiHttpRequest).whenComplete((response, throwable) -> {
logger.info(() -> apiHttpRequest.getMethod().name() + " " + apiHttpRequest.getUri() + " "
+ response.getStatusCode());
+ response.getStatusCode());
if (throwable != null) {
logger.error(() -> response, throwable);
}
Expand All @@ -48,10 +48,9 @@ public CompletableFuture<AuthenticationToken> getToken() {
+ " : auth token URI may be incorrect e.g. https://auth.europe-west1.gcp.commercetools.com/oauth/token",
apiHttpResponse));
}
throw new CompletionException(
new AuthException(apiHttpResponse.getStatusCode(),
new String(apiHttpResponse.getBody(), StandardCharsets.UTF_8),
apiHttpRequest.getHeaders(), apiHttpResponse.getMessage(), apiHttpResponse));
throw new CompletionException(new AuthException(apiHttpResponse.getStatusCode(),
new String(apiHttpResponse.getBody(), StandardCharsets.UTF_8), apiHttpRequest.getHeaders(),
apiHttpResponse.getMessage(), apiHttpResponse));
}
return apiHttpResponse;
})
Expand Down
Loading