This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git

commit 0ca71e2a797f69b5763ff8095fbf967a7f689d23
Author: Nikita Timofeev <[email protected]>
AuthorDate: Mon Feb 26 13:23:25 2024 +0400

    CAY-2845 Deprecate DataObject in favour of Persistent
     - release and upgrade notes
---
 RELEASE-NOTES.txt | 1 +
 UPGRADE.txt       | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 1658d1928..77dae14d9 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -64,6 +64,7 @@ CAY-2831 Upgrade Gradle to 8.5
 CAY-2834 v11 upgrade handler should update XMLPoolingDataSourceFactory package
 CAY-2837 Deprecate TraversalHelper and move no-op implementations to 
TraversalHandler
 CAY-2843 Use an IN clause for single field disjoint by ID prefetches
+CAY-2845 Deprecate DataObject in favour of Persistent
 
 Bug Fixes:
 
diff --git a/UPGRADE.txt b/UPGRADE.txt
index a07e51bf5..fd6bf83b4 100644
--- a/UPGRADE.txt
+++ b/UPGRADE.txt
@@ -57,6 +57,9 @@ fix your imports accordingly.
 * Per CAY-2828 `server` prefix removed from the names of runtime properties 
and named collections defined in `org.apache.cayenne.configuration.Constants`.
 You should change references in code, and in any scripts that could use them 
as system properties.
 
+* Per CAY-2845 `DataObject` interface and `BaseDataObject` class were 
deprecated and all logic moved to the `Persistent` interface
+and `PersistentObject` class . You should regenerate model classes via cgen 
tool in Cayenne Modeler or Maven/Gradle plugins.
+
 UPGRADING TO 4.2.M2
 
 * Per CAY-2659 All batch translators (`InsertBatchTranslator`, 
`UpdateBatchTranslator`, etc.) are updated to the new SQLBuilder utility.

Reply via email to