Skip to content

Releases: cap-js/change-tracking

v1.0.7

20 Aug 05:47
e4cef96
Compare
Choose a tag to compare

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

29 Apr 08:45
24d73a4
Compare
Choose a tag to compare

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

17 Jan 11:10
a9d5671
Compare
Choose a tag to compare

Fixed

  • Error on HANA when logging Boolean or Numeric Data

v1.0.4

08 Jan 12:01
1c244c2
Compare
Choose a tag to compare

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

10 Nov 13:23
6406fb9
Compare
Choose a tag to compare

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

31 Oct 07:43
c5c181f
Compare
Choose a tag to compare

Changed

  • In README, use view of the full change-tracking table instead of the customized one for the main image.

v1.0.1

26 Oct 07:37
8bf9741
Compare
Choose a tag to compare

Fixed

  • Labels are looked up from the service entity (not the db entity only).

v1.0.0

18 Oct 07:39
2366ffc
Compare
Choose a tag to compare

Added

  • Initial release