diff --git a/CHANGELOG.md b/CHANGELOG.md index 081b3a84035642a50d4163ec926281d409b42e66..51aa8cf0a3c8c2409b032c2f6f0ed7be299d9631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### +* `apiutils.empty_diff` function that returns `True` if the diffs of two + entities found with the `compare_entitis` function are empty, `False` + otherwise. + ### Changed ### +* `apiutils.compare_entities` now has an optional `compare_referenced_records` + argument to compare referenced Entities recursively (fomerly, only the + referenced Python objects would be compared). The default is `False` to + recover the original behavior. +* `apiutils.merge_entities` now has an optional + `merge_references_with_empty_diffs` argument that determines whether a merge + of two entities will be performed if they reference identical records (w.r.t + th above `empty_diff` function). Formerly this would have caused a merge + conflict if the referenced record(s) were identical, but stored in different + Python objects. + ### Deprecated ### ### Removed ###