Description
The storeLastError queue configuration option is deprecated as of CDS 10 and will be removed in cds^11. In CDS 10 the option is still accepted and has no changed behavior, so this is not an immediately breaking change. However, projects that leave storeLastError in their queue configuration will encounter an error after upgrading to cds^11. Teams should remove the option now to avoid a forced migration under time pressure during the next major upgrade.
How to Check
- [ ] Search
package.jsonand.cdsrc.jsonforstoreLastErrorinside any queue or outbox configuration block. - [ ] Run
cds envand check forstoreLastErrorin the resolved configuration output.
Migration Steps
- Locate occurrences of
storeLastErrorin queue configuration:
"cds": {
"requires": {
"my-queue": {
- "storeLastError": true
}
}
}Remove the
storeLastErrorkey. If the option was used to persist error details for observability, consult the CDS 10 queue documentation for the replacement mechanism (e.g. dead-letter queue inspection or structured error events).Test queue failure scenarios after removal to verify that error visibility is maintained through alternative means.
Notes
This change is not breaking in CDS 10. The entry is included so that projects can proactively clean up deprecated config before the cds^11 removal makes it mandatory.