Description
In CDS 10 the compat_save_drafts compat flag is removed. Projects that had set cds.features.compat_save_drafts: true to preserve the legacy draft-save behaviour will now always use the current draft-save semantics. The flag has no effect when set and must be removed. Any business logic that depended on the old draft persistence behaviour may need adjustment.
How to Check
- [ ] Search for
cds.features.compat_save_draftsinpackage.json,.cdsrc.json, and environment-specific config files. - [ ] If the flag is set to
true, review draft-enabled entities and any custom handlers forPATCHordraftSaveactions to ensure they are compatible with the new behaviour.
Migration Steps
Remove the flag from CDS configuration:
diff// package.json or .cdsrc.json "cds": { "features": { - "compat_save_drafts": true } }Test all draft-enabled Fiori Elements or custom draft flows end-to-end to verify that draft save behaviour is correct without the compat shim.