diff --git a/CHANGELOG.md b/CHANGELOG.md index 27d9c10..65011b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,15 +4,24 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). The format is based on [Keep a Changelog](http://keepachangelog.com/). -## Version 1.0.7 - 09.07.24 +## Version 1.0.7 - 20.08.24 ### 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 -- Wrong Object ID captured when deleting root entities +- 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 diff --git a/README.md b/README.md index 86fa568..5bd679c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,14 @@ a [CDS plugin](https://cap.cloud.sap/docs/node.js/cds-plugins#cds-plugin-package [![REUSE status](https://api.reuse.software/badge/github.com/cap-js/change-tracking)](https://api.reuse.software/info/github.com/cap-js/change-tracking) +> [!IMPORTANT] +> This release establishes compatibility with CDS 8. +> +> Since the prior release was using **APIs deprecated in CDS8**, the code was modified significantly to enable compatibility. While we tested extensively, there may still be glitches or unexpected situations which we did not cover. So please **test this release extensively before applying it to productive** scenarios. Please also report any bugs or glitches, ideally by contributing a test-case for us to incorporate. +> +> See the changelog for a full list of changes + + ### Table of Contents - [Try it Locally](#try-it-locally)