-
Notifications
You must be signed in to change notification settings - Fork 178
Description
This version contains some game changers and API breaks. The most significant are:
Circular Reference Detection
When a circular reference is detected (e.g. A > B > C > A
), only the first occurrence of an instance along a property path will be scanned for changes. Subsequent occurrences of the same instance will return nodes marked as circular. These cases should have resulted in infinite loops before, but I rather point it out, so everyone is aware of this rather subtile change.
Property Path Builder API
There were many ways to construct a PropertyPath. This provided a lot of room to create invalid paths. In order to guarantee validity of every PropertyPath instance, construction is now exclusively handled by the PropertyPathBuilder, which has been converted to a guiding fluent API. This requires some adjustments in the client code.
Additional Changes
https://github.com/SQiShER/java-object-diff/issues?milestone=2&page=1&state=closed