Skip to content

Commit abc6075

Browse files
Merge pull request #891 from commercetools/after-release
Update changelog
2 parents e3db8cc + 2349f9c commit abc6075

File tree

12 files changed

+64
-13
lines changed

12 files changed

+64
-13
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,56 @@
11

2+
# 18.0.0 (2025-05-02)
3+
4+
## New Features
5+
6+
### Java 11
7+
8+
The SDK is built with Java 11 now. We will also take advantage of different language features in future releases.
9+
10+
### New Request Policy Middleware
11+
12+
It's now possible to create request policies based on the requests context. E.g. different timeouts and retries for POST and GET requests:
13+
14+
```java
15+
ProjectApiRoot b = ApiRootBuilder.of()
16+
...
17+
.withRequestPolicies(policies -> policies
18+
.withRequestMatching(apiHttpRequest -> apiHttpRequest.getMethod().equals(ApiHttpMethod.POST),
19+
policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(10)))
20+
.withRequestMatching(apiHttpRequest -> apiHttpRequest.getMethod().equals(ApiHttpMethod.GET),
21+
policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(1)))
22+
.withAllOtherRequests(policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(60))))
23+
.build(projectKey);
24+
```
25+
26+
## What's Changed
27+
* fix Delivery discriminators by @jenschude in https://github.com/commercetools/commercetools-sdk-java-v2/pull/866
28+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/867
29+
* Update changelog by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/865
30+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/870
31+
* Update java to 11 by @lojzatran in https://github.com/commercetools/commercetools-sdk-java-v2/pull/844
32+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/871
33+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/872
34+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/873
35+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/877
36+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/879
37+
* DEVX-588 adding query predicate builder documentation by @barbara79 in https://github.com/commercetools/commercetools-sdk-java-v2/pull/874
38+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/883
39+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/885
40+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/886
41+
* Add request specific policies by @jenschude in https://github.com/commercetools/commercetools-sdk-java-v2/pull/882
42+
* chore(deps): lock file maintenance by @renovate in https://github.com/commercetools/commercetools-sdk-java-v2/pull/881
43+
* chore(deps): update actions/setup-java digest to c5195ef by @renovate in https://github.com/commercetools/commercetools-sdk-java-v2/pull/875
44+
* chore(deps): update actions/create-github-app-token action to v2 by @renovate in https://github.com/commercetools/commercetools-sdk-java-v2/pull/869
45+
* chore(deps): update github/codeql-action digest to 97a2bfd by @renovate in https://github.com/commercetools/commercetools-sdk-java-v2/pull/868
46+
* fix(deps): update all dependencies by @renovate in https://github.com/commercetools/commercetools-sdk-java-v2/pull/858
47+
* revert junit-jupiter by @jenschude in https://github.com/commercetools/commercetools-sdk-java-v2/pull/887
48+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/888
49+
* remove dataprovider library by @jenschude in https://github.com/commercetools/commercetools-sdk-java-v2/pull/889
50+
* update junit by @jenschude in https://github.com/commercetools/commercetools-sdk-java-v2/pull/890
51+
52+
**Full Changelog**: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.30.0...18.0.0
53+
254
# 17.30.0 (2025-03-31)
355

456
## Important information

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The latest stable SDK release can be retrieved from [Maven Central](https://sear
2121
```gradle
2222
ext {
2323
versions = [
24-
commercetools: "17.30.0"
24+
commercetools: "18.0.0"
2525
]
2626
}
2727
@@ -42,7 +42,7 @@ dependencies {
4242

4343
```maven
4444
<properties>
45-
<commercetools.version>17.30.0</commercetools.version>
45+
<commercetools.version>18.0.0</commercetools.version>
4646
</properties>
4747
<dependencies>
4848
<dependency>

examples/maven-okhttp3/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</plugins>
2828
</build>
2929
<properties>
30-
<commercetools.version>17.30.0</commercetools.version>
30+
<commercetools.version>18.0.0</commercetools.version>
3131
</properties>
3232
<dependencies>
3333
<dependency>

examples/maven-okhttp4/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</plugins>
2828
</build>
2929
<properties>
30-
<commercetools.version>17.30.0</commercetools.version>
30+
<commercetools.version>18.0.0</commercetools.version>
3131
</properties>
3232
<dependencies>
3333
<dependency>

examples/spring-datadog-statsd/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020

2121
ext {
2222
versions = [
23-
commercetools: "17.30.0",
23+
commercetools: "18.0.0",
2424
]
2525
}
2626

examples/spring-datadog/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121

2222
ext {
2323
versions = [
24-
commercetools: "17.30.0",
24+
commercetools: "18.0.0",
2525
]
2626
}
2727

examples/spring-dynatrace-oneagent/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020

2121
ext {
2222
versions = [
23-
commercetools: "17.30.0",
23+
commercetools: "18.0.0",
2424
]
2525
}
2626

examples/spring-newrelic/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121

2222
ext {
2323
versions = [
24-
commercetools: "17.30.0",
24+
commercetools: "18.0.0",
2525
newrelic: "8.16.0"
2626
]
2727
}

examples/spring-otel/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121

2222
ext {
2323
versions = [
24-
commercetools: "17.30.0",
24+
commercetools: "18.0.0",
2525
]
2626
}
2727

examples/spring/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spotless {
3131

3232
ext {
3333
versions = [
34-
commercetools: "17.30.0"
34+
commercetools: "18.0.0"
3535
]
3636
}
3737

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Mon Mar 31 12:53:19 UTC 2025
1+
#Fri May 02 10:39:40 UTC 2025
22
kotlinVersion=1.5.30
33
org.gradle.jvmargs=-Xmx2048m
4-
version=17.31.0-SNAPSHOT
4+
version=18.1.0-SNAPSHOT

reference.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)