- fix endless loopi/wrong result in certain cases (#21, #18)
- Fix bug that caused wrong update list to be returned when the list would contain duplicate items (see #15)
- BREAKING: add sealed class modifiers to data classes, require Dart 3.0
- added
DiffResult::getUpdatesWithData
. To make this work, following changes have been made:- The functions
calculateDiff()
,calculateListDiff
,calculateCustomListDiff
now have an additional generic type parameter. This is a breaking change (if you usedcalculateCustomListDiff
with a single explicit type parameter, it now has two) DiffResult
has now a generic type parameter for the type of the data of the underlying lists
- The functions
- stable nullsafe release
- removed deprecated methods
- migrate to nullsafety
- More tests, add github action badges
- Relax version constraint of package meta
Major revamp to make the libary more Dart-y and less cumbersome to use!
-
Add ability to calculate the changeset as list of DiffUpdate object, where each object is of type Insert, Remove, Change or Insert
-
Ability to turn off changeset batching (See README for an explanation on changeset batching)
-
Improved the example
-
Deprecated the old way the get the changeset via ListUpdateCallback.
- more tests
- Fix bug in move detection
- Tighten up privacy of instance variables that were unnecessarily public
- add tests
Fix lint errors
Fix missing exports
Add support for custom list-like types
Add example
Update Package description
Dokumentation Fixes