Releases: cap-js/change-tracking
Releases · cap-js/change-tracking
v1.0.7
Added
- 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.
Fixed
- 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
Changed
- 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
v1.0.6
Fixed
- 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
Added
- A method to disable automatic generation of the UI Facet
Changed
- Improved documentation of the @changelog Annotation
v1.0.5
Fixed
- Error on HANA when logging Boolean or Numeric Data
v1.0.4
Added
- Side effect annotation now allows automatic refresh after a custom action caused changes
Changed
- Added a check to disable change tracking for views with a UNION
Fixed
- Handling of associations within change tracked entities
- Handling of change log when custom actions on child entities are called
v1.0.3
Added
- 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.
Changed
- Support cases where parent/child entries are created simultaneously.
- Allow for lazy loading of change history table (with SAP UI5 release 1.120.0).
v1.0.2
Changed
- In README, use view of the full change-tracking table instead of the customized one for the main image.
v1.0.1
Fixed
- Labels are looked up from the service entity (not the db entity only).
v1.0.0
Added
- Initial release