list_diff 2.0.1
list_diff: ^2.0.1 copied to clipboard
📃 Calculates a minimal list of operations that convert one list into another if applied in order.
2.0.1 #
- Fix bug that caused a crash when the lists overlap in a certain way.
- Thanks to @ductranit for reporting the issue!
2.0.0 #
- Migrate to null-safety.
1.3.2 #
- Relax dependency on async.
1.3.1 #
- Fix the assert message.
1.3.0 #
- Add
diffSyncmethod.
1.2.1 #
- Add extension method for more intuitive
list.apply(operation)instead ofoperation.applyTo(list). - Revised readme.
1.2.0 #
- Add option to provide
areEqualandgetHashCodefunctions.
1.1.3 #
- Important fix: Fixed error in the algorithm that made it crash when the two lists are the same.
1.1.2 #
- Important fix: Fixed error in the algorithm that produced wrong results that you can't apply.
1.1.1 #
- BREAKING CHANGE:
runOnSeparateIsolaterenamed tospawnIsolate. - By default, the
difffunction intelligently tries to choose whether or not to spawn an isolate based on the lengths on the lists. - Revised readme.
1.1.0 #
- BREAKING CHANGE:
diffis now asynchronous. - Add support for running
diffon another isolate by settingrunOnSeparateIsolatetotrue. - Add
isolated.dartexample. - Better error messages.
- Revised doc comments.
- Add readme.
1.0.1 #
- Remove unused dependency
dart:isolate.
1.0.0 #
- This Initial release features the
difffunction that takes two lists and returns a list ofOperations that turn the first into the second list if applied in order.