From 19bbe123445569f5d4e15a3633e80c5de086053b Mon Sep 17 00:00:00 2001 From: Stefan Henke Date: Tue, 31 Mar 2026 13:55:25 +0200 Subject: [PATCH 1/5] Update migration.md with property and API changes Added sections for adjusted, deprecated, and removed properties, as well as removed Java APIs in migration documentation. --- java/migration.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/java/migration.md b/java/migration.md index 6973a7e87..d020241fb 100644 --- a/java/migration.md +++ b/java/migration.md @@ -66,6 +66,38 @@ CAP Java 5.0 increased some minimum required versions: | Spring Boot | 4.0 | | XSUAA (BTP Security Library) | 4.0.0 | +### Adjusted Property Defaults + +Some property defaults have been adjusted: + +| Property | Old Value | New Value | Explanation | +| --- | --- | --- | --- | +| `abc` | false | true | Any description. | + +### Deprecated Properties + +The following properties have been deprecated and might be removed in a future major version: + +- `abd` + +The functionality provided by these properties is enabled by default and there is no reason to switch these off. + +### Removed Properties + +The following table gives an overview about the removed properties: + +| Removed Property | Replacement / Explanation | +| --- | --- | +| `abc` | Any description about replacement | + +### Removed Java APIs + +- Removed deprecated classes: + - `com.sap.cds.A`, use `B` instead + +- Removed deprecated methods: + - `com.sap.cds.ql.cqn.A.search(String term)`, use `searchTerm(CqnSearchTermPredicate)` instead + ## CAP Java 3.10 to CAP Java 4.0 { #three-to-four } ### New License From 2024fe00f80eadbd9a40547ce0f46026e07ac79b Mon Sep 17 00:00:00 2001 From: Stefan Henke Date: Wed, 8 Apr 2026 14:30:09 +0200 Subject: [PATCH 2/5] Update property defaults and deprecate old properties --- java/migration.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/java/migration.md b/java/migration.md index d020241fb..0ae26cea8 100644 --- a/java/migration.md +++ b/java/migration.md @@ -72,7 +72,12 @@ Some property defaults have been adjusted: | Property | Old Value | New Value | Explanation | | --- | --- | --- | --- | -| `abc` | false | true | Any description. | +| `cds.odatav2.batch.maxRequests` | -1 | 10 | Changed due to security constraints. | +| `cds.multiTenancy.serviceManager.cacheRefreshInterval` | 20 | 60 | | +| `cds.multiTenancy.mock.enabled` | null | true | | +| `cds.persistence.changeset.enforceTransational` | true | false | | +| `cds.errors.preferServiceException` | false | true | | + ### Deprecated Properties @@ -88,7 +93,9 @@ The following table gives an overview about the removed properties: | Removed Property | Replacement / Explanation | | --- | --- | -| `abc` | Any description about replacement | +| `cds.taskScheduler.enabled` | Use 'cds.outbox.persistent.scheduler.enabled'. | +| `cds.mcp.autoConfig` | Use `cds.mcp.autoWired`. | +| `cds.errors.combined` | Removed as the underlying feature is active by default now. | ### Removed Java APIs From f5065772eb22f7baddaea0d58e55ee44566f3e5d Mon Sep 17 00:00:00 2001 From: Stefan Henke Date: Wed, 8 Apr 2026 14:36:53 +0200 Subject: [PATCH 3/5] Adjust property defaults and update deprecations --- java/migration.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/java/migration.md b/java/migration.md index 0ae26cea8..4c0651702 100644 --- a/java/migration.md +++ b/java/migration.md @@ -72,12 +72,11 @@ Some property defaults have been adjusted: | Property | Old Value | New Value | Explanation | | --- | --- | --- | --- | -| `cds.odatav2.batch.maxRequests` | -1 | 10 | Changed due to security constraints. | +| `cds.errors.preferServiceException` | false | true | | | `cds.multiTenancy.serviceManager.cacheRefreshInterval` | 20 | 60 | | | `cds.multiTenancy.mock.enabled` | null | true | | +| `cds.odatav2.batch.maxRequests` | -1 | 10 | Changed due to security constraints. | | `cds.persistence.changeset.enforceTransational` | true | false | | -| `cds.errors.preferServiceException` | false | true | | - ### Deprecated Properties @@ -93,9 +92,9 @@ The following table gives an overview about the removed properties: | Removed Property | Replacement / Explanation | | --- | --- | -| `cds.taskScheduler.enabled` | Use 'cds.outbox.persistent.scheduler.enabled'. | -| `cds.mcp.autoConfig` | Use `cds.mcp.autoWired`. | | `cds.errors.combined` | Removed as the underlying feature is active by default now. | +| `cds.mcp.autoConfig` | Use `cds.mcp.autoWired`. | +| `cds.taskScheduler.enabled` | Use 'cds.outbox.persistent.scheduler.enabled'. | ### Removed Java APIs From 52c1ccb6678a79348aba29887c654bb0cd157da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20G=C3=B6rler?= Date: Mon, 20 Apr 2026 08:46:17 +0200 Subject: [PATCH 4/5] Update migration.md --- java/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/migration.md b/java/migration.md index 4c0651702..c2a9d090f 100644 --- a/java/migration.md +++ b/java/migration.md @@ -73,8 +73,8 @@ Some property defaults have been adjusted: | Property | Old Value | New Value | Explanation | | --- | --- | --- | --- | | `cds.errors.preferServiceException` | false | true | | -| `cds.multiTenancy.serviceManager.cacheRefreshInterval` | 20 | 60 | | | `cds.multiTenancy.mock.enabled` | null | true | | +| `cds.multiTenancy.serviceManager.cacheRefreshInterval` | 20 | 60 | | | `cds.odatav2.batch.maxRequests` | -1 | 10 | Changed due to security constraints. | | `cds.persistence.changeset.enforceTransational` | true | false | | From c0f1733e1f9aae5b06c781eab83c573a4420689a Mon Sep 17 00:00:00 2001 From: Stefan Henke Date: Wed, 22 Apr 2026 13:22:31 +0200 Subject: [PATCH 5/5] Update migration.md --- java/migration.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/java/migration.md b/java/migration.md index c2a9d090f..e83463dbc 100644 --- a/java/migration.md +++ b/java/migration.md @@ -72,17 +72,23 @@ Some property defaults have been adjusted: | Property | Old Value | New Value | Explanation | | --- | --- | --- | --- | +| `cds.changeSet.enforceTransactional` | true | false | | | `cds.errors.preferServiceException` | false | true | | | `cds.multiTenancy.mock.enabled` | null | true | | | `cds.multiTenancy.serviceManager.cacheRefreshInterval` | 20 | 60 | | | `cds.odatav2.batch.maxRequests` | -1 | 10 | Changed due to security constraints. | +| `cds.odatav2.searchMode` | "odata-lenient" | "pass-through" | | +| `cds.odatav4.searchMode` | "odata-lenient" | "pass-through" | | +| `cds.outbox.services..ordered` | true | false | | `cds.persistence.changeset.enforceTransational` | true | false | | +| `cds.sql.toOnePath.mode` | "always-join" | "optimize" | | ### Deprecated Properties The following properties have been deprecated and might be removed in a future major version: -- `abd` +- `cds.outbox.inMemory.enabled` +- `cds.outbox.inMemory.emitDuringChangeSetContext` The functionality provided by these properties is enabled by default and there is no reason to switch these off.