Skip to content

Commit aa64c91

Browse files
Java minimum dependency versions major (#1842)
Co-authored-by: [email protected] <matthias@W-5CG3323MK3>
1 parent 92de77d commit aa64c91

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

java/migration.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +309,20 @@ Since version 1.27 CAP Java is running with Spring Boot 2.7, which uses Spring S
309309

310310
Make sure that all libraries used in your project are either compatible with Spring Boot 3 / Jakarta EE 10 or alternatively offer a new version which you can adopt.
311311

312-
CAP Java 2.0 itself requires updated [dependency versions](./versions#dependencies-version-2) of:
313-
- `@sap/cds-dk`
314-
- `@sap/cds-compiler`
315-
- XSUAA library
316-
- SAP Cloud SDK
317-
- Java Logging (replace `cf-java-logging-support-servlet` with `cf-java-logging-support-servlet-jakarta`)
312+
CAP Java 2.0 itself requires updated minimum dependency versions:
313+
314+
| Dependency | Minimum Version | Recommended Version |
315+
| --- | --- | --- |
316+
| JDK | 17 | 21 |
317+
| Maven | 3.5.0 | 3.9.8 |
318+
| @sap/cds-dk | 6 | 7 |
319+
| @sap/cds-compiler | 3 | 4 |
320+
| Spring Boot | 3.0 | latest |
321+
| XSUAA | 3.0 | latest |
322+
| SAP Cloud SDK | 4.24 | latest |
323+
| Java Logging | 3.7 | latest |
324+
325+
Java Logging (replace `cf-java-logging-support-servlet` with `cf-java-logging-support-servlet-jakarta`)
318326

319327
::: warning
320328
The Cloud SDK BOM `sdk-bom` manages XSUAA until version 2.x, which isn't compatible with CAP Java 2.x.

java/versions.md

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,40 +61,33 @@ CAP Java uses various dependencies that are also used by the applications themse
6161
If the applications decide to manage the versions of these dependencies, it's helpful to know the minimum versions of these dependencies that CAP Java requires.
6262
The following table lists these minimum versions for various common dependencies, based on the latest release:
6363

64-
65-
#### Active Version 3.x { #dependencies-version-3 }
64+
#### Active Version 4.x { #dependencies-version-4 }
6665

6766
| Dependency | Minimum Version | Recommended Version |
6867
| --- | --- | --- |
6968
| JDK | 17 | 21 |
70-
| Maven | 3.6.3 | 3.9.8 |
71-
| @sap/cds-dk | 7 | latest |
72-
| @sap/cds-compiler | 4 | latest |
69+
| Maven | 3.6.3 | 3.9.9 |
70+
| @sap/cds-dk | 8 | latest |
71+
| @sap/cds-compiler | 5 | latest |
7372
| Spring Boot | 3.0 | latest |
74-
| XSUAA | 3.0 | latest |
73+
| XSUAA | 3.1 | latest |
7574
| SAP Cloud SDK | 5.9 | latest |
7675
| Java Logging | 3.7 | latest |
76+
| Node.js | 20 | 22 |
7777

78-
#### Maintenance Version 2.10.x { #dependencies-version-2 }
78+
#### Maintenance Version 3.10.x { #dependencies-version-3 }
7979

8080
| Dependency | Minimum Version | Recommended Version |
8181
| --- | --- | --- |
8282
| JDK | 17 | 21 |
83-
| Maven | 3.5.0 | 3.9.8 |
84-
| @sap/cds-dk | 6 | 7 |
85-
| @sap/cds-compiler | 3 | 4 |
83+
| Maven | 3.6.3 | 3.9.8 |
84+
| @sap/cds-dk | 7 | latest |
85+
| @sap/cds-compiler | 4 | latest |
8686
| Spring Boot | 3.0 | latest |
8787
| XSUAA | 3.0 | latest |
88-
| SAP Cloud SDK | 4.24 | latest |
88+
| SAP Cloud SDK | 5.9 | latest |
8989
| Java Logging | 3.7 | latest |
9090

91-
::: warning
92-
The Cloud SDK BOM `sdk-bom` manages XSUAA until version 2.x, which isn't compatible with CAP Java 2.x.
93-
You have two options:
94-
* Replace `sdk-bom` with `sdk-modules-bom`, which [manages all Cloud SDK dependencies but not the transitive dependencies.](https://sap.github.io/cloud-sdk/docs/java/guides/manage-dependencies#the-sap-cloud-sdk-bill-of-material)
95-
* Or, add [dependency management for XSUAA](https://github.com/SAP/cloud-security-services-integration-library#installation) before Cloud SDK's `sdk-bom`.
96-
:::
97-
9891

9992
### Consistent Versions
10093

0 commit comments

Comments
 (0)