Add CAP Java 5.0 OpenRewrite recipes to migration table#2647
Open
rjayasinghe wants to merge 5 commits into
Open
Add CAP Java 5.0 OpenRewrite recipes to migration table#2647rjayasinghe wants to merge 5 commits into
rjayasinghe wants to merge 5 commits into
Conversation
Extend the 'Currently Released CAP Java Migrations' table with the recipes added for the CAP Java 5.0 release (Cap_5.0_Properties, Cap_5.0_OutboxOrdered) and also list the previously missing Cap_4.9_Properties recipe. Add a second table listing the umbrella recipes (Cap_4.8, Cap_4.9, Cap_5.0) and what each one bundles.
StefanHenke
reviewed
Jun 22, 2026
StefanHenke
reviewed
Jun 22, 2026
|
|
||
| In addition, the following umbrella recipes are provided per release. Each one includes all individual recipes for APIs deprecated in this AND previous releases, plus Maven dependency upgrades for all CAP Java modules to the matching version. Run the latest umbrella recipe matching the version of the CAP Java SDK you are upgrading to. | ||
|
|
||
| |Name |Description|Available since| |
Contributor
There was a problem hiding this comment.
The table feels redundant as the table above already specifies the initial release of the recipe. It´s the same information in a different representation. Maybe it is sufficient to tell that each release gets a dedicated umbrella recipe.
Contributor
There was a problem hiding this comment.
Maybe someone over-eagerly streamed these tokens.
agoerler
reviewed
Jun 23, 2026
|
|
||
| In addition, the following umbrella recipes are provided per release. Each one includes all individual recipes for APIs deprecated in this AND previous releases, plus Maven dependency upgrades for all CAP Java modules to the matching version. Run the latest umbrella recipe matching the version of the CAP Java SDK you are upgrading to. | ||
|
|
||
| |Name |Description|Available since| |
Contributor
There was a problem hiding this comment.
Maybe someone over-eagerly streamed these tokens.
Add the recipes introduced after the initial 5.0 recipe list was written, and align names with their YAML definitions: - SearchModeProperty (migrates cds.sql.search.mode → cds.sql.search.localized) - MigrateCdsMavenPluginConfig (migrates cds-maven-plugin config and aligns @sap/cds-dk) - Cap_5.0_OutboxOrdered → CustomOutboxOrdered (renamed in the YAML to drop the version-bound prefix) Also update the Cap_5.0 umbrella description to list the recipes its recipeList now includes.
Reorder both the individual and the umbrella recipe tables so the newest entries by "Available since" come first. Addresses review feedback.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the Currently Released CAP Java Migrations table in
java/migration.mdwith the new recipes added for the CAP Java 5.0 release, and adds a second table listing the umbrella recipes.Fine-grained recipes added
Cap_4.9_Properties— was already shipped but missing from the table; renamescds.mcp.autoConfig.*→cds.mcp.autoWired.*andcds.taskScheduler.enabled→cds.outbox.persistent.scheduler.enabled.Cap_5.0_Properties— removes properties no longer supported in CAP Java 5.0 (cds.errors.combined,cds.sql.collate,cds.sql.hana.optimizationMode,cds.odataV4.searchMode,cds.odataV2.searchMode, the two removedcds.multiTenancy.serviceManager.*flags).Cap_5.0_OutboxOrdered— addsordered: trueto customcds.outbox.servicesentries to preserve the previous behavior, since the default flips fromtruetofalsein 5.0.Umbrella recipes table added
New table lists
Cap_4.8,Cap_4.9, andCap_5.0, describing which fine-grained recipes each one bundles and which Maven version it upgrades CAP Java dependencies to.Source: recipe YAMLs under
cds-services-recipes/src/main/resources/META-INF/rewrite/.