All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. The format is based on Keep a Changelog.
- A global switch to preserve change logs for deleted data
- For hierarchical entities, a method to determine their structure and a flag to indicate whether it is a root entity was introduced. For child entities, information about the parent is recorded.
- CDS 8 does not support queries for draft-enabled entities on the application service anymore. This was causing: SqliteError: NOT NULL constraint failed: (...).DraftAdministrativeData_DraftUUID
- CDS 8 deprecated cds.transaction, causing change logs of nested documents to be wrong, replaced with req.event
- CDS 8 rejects all direct CRUD requests for auto-exposed Compositions in non-draft cases. This was affecting test cases, since the ChangeView falls into this category
- req._params and req.context are not official APIs and stopped working with CDS 8, replaced with official APIs
- When running test cases in CDS 8, some requests failed with a status code of 404
- ServiceEntity is not captured in the ChangeLog table in some cases
- When modeling an inline entity, a non-existent association and parent ID was recorded
- Fixed handling, when reqData was undefined
- Peer dependency to @sap/cds changed to ">=7"
- Data marked as personal data using data privacy annotations won't get change-tracked anymore to satisfy product standards
- Restructured Documentation
- Storage of wrong ObjectID in some special scenarios
- Missing localization of managed fields
- Views without keys won't get the association and UI facet pushed anymore
- A method to disable automatic generation of the UI Facet
- Improved documentation of the @changelog Annotation
- Error on HANA when logging Boolean or Numeric Data
- Side effect annotation now allows automatic refresh after a custom action caused changes
- Added a check to disable change tracking for views with a UNION
- Handling of associations within change tracked entities
- Handling of change log when custom actions on child entities are called
- Added note about using
SAPUI5 v1.120.0
or later for proper lazy loading of the Change History table. - In README, add warning about tracking personal data.
- Support cases where parent/child entries are created simultaneously.
- Allow for lazy loading of change history table (with SAP UI5 release 1.120.0).
- In README, use view of the full change-tracking table instead of the customized one for the main image.
- Flattened README structure.
- Labels are looked up from the service entity (not the db entity only).
- Initial release