Skip to content

v1.0.7

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 20 Aug 05:47
· 8 commits to main since this release
e4cef96

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