Repository navigation
Releases: miyasuta/cds-softdelete-plugin
Releases · miyasuta/cds-softdelete-plugin
Release list
v1.0.2
v1.0.1
What's Changed
- Added navigation path deletion test cases (DEL-03-nav, DEL-05-nav, DEL-07-nav)
- Added grandchild cascade deletion test cases (DEL-03-extended, DEL-05-extended)
- Improved test coverage for composition hierarchy deletion scenarios
Installation
npm install cds-softdelete-pluginLinks
Full Changelog: v1.0.0...v1.0.1
v1.0.0 - First Stable Release
🎉 First Stable Release
Production-ready soft delete plugin for SAP CAP applications.
What's New in v1.0.0
- ✅ 100% Test Coverage: 38 test cases covering all scenarios
- 📖 Complete Documentation: Detailed specification and CHANGELOG
- 🛡️ Field Protection:
@readonlyannotation on soft delete fields - 🔄 Idempotent Delete: Safe to delete already-deleted records
- ⚡ Improved README: Simplified and user-focused
Breaking Changes
None - this is the first stable release.
Installation
npm install cds-softdelete-pluginLinks
Full Changelog: v0.3.5...v1.0.0
v0.1.0
What's Changed
New Features
- By-key access support: When accessing entities by key (e.g., GET /Books(ID)), the plugin now skips the isDeleted filter, allowing retrieval of soft-deleted records by their ID. This is useful for auditing and recovery scenarios.
Improvements
- Validation on startup: The plugin now validates that entities with @softdelete.enabled annotation have all required fields (isDeleted, deletedAt, deletedBy). If any fields are missing, the server will fail to start with a clear error message, helping catch configuration issues early.
Full Changelog: v0.0.4...v0.1.0