PackageTrack
Sign in Get early access

list_diff

📃 Calculates a minimal list of operations that convert one list into another if applied in order.

2.0.1 22K downloads/mo #2128 most downloaded on pub.dev marcelgarus/list_diff

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Ships fairly regularly

a new release about every 4 months

Nearly every release is documented

notes for 13 of 13 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

13 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

13 releases · Oct 2019 to Jan 2022
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. 2.0.1 07 Jan 2022
    Release notes
    • Fix bug that caused a crash when the lists overlap in a certain way.
    • Thanks to @ductranit for reporting the issue!
    Open source →
  2. 2.0.0 04 Mar 2021
    Release notes
    • Migrate to null-safety.
    Open source →
  3. 1.3.2 07 Oct 2020
    Release notes
    • Relax dependency on async.
    Open source →
  4. 1.3.1 27 Aug 2020
    Release notes
    • Fix the assert message.
    Open source →
  5. 1.3.0 29 Apr 2020
    Release notes
    • Add diffSync method.
    Open source →
  6. 1.2.1 01 Jan 2020
    Release notes
    • Add extension method for more intuitive list.apply(operation) instead of operation.applyTo(list).
    • Revised readme.
    Open source →
  7. 1.2.0 01 Jan 2020
    Release notes
    • Add option to provide areEqual and getHashCode functions.
    Open source →
  8. 1.1.3 14 Oct 2019
    Release notes
    • Important fix: Fixed error in the algorithm that made it crash when the two lists are the same.
    Open source →
  9. 1.1.2 14 Oct 2019
    Release notes
    • Important fix: Fixed error in the algorithm that produced wrong results that you can't apply.
    Open source →
  10. 1.1.1 10 Oct 2019
    Release notes
    • BREAKING CHANGE: runOnSeparateIsolate renamed to spawnIsolate.
    • By default, the diff function intelligently tries to choose whether or not to spawn an isolate based on the lengths on the lists.
    • Revised readme.
    Open source →
  11. 1.1.0 09 Oct 2019
    Release notes
    • BREAKING CHANGE: diff is now asynchronous.
    • Add support for running diff on another isolate by setting runOnSeparateIsolate to true.
    • Add isolated.dart example.
    • Better error messages.
    • Revised doc comments.
    • Add readme.
    Open source →
  12. 1.0.1 09 Oct 2019
    Release notes
    • Remove unused dependency dart:isolate.
    Open source →
  13. 1.0.0 09 Oct 2019
    Release notes
    • This Initial release features the diff function that takes two lists and returns a list of Operations that turn the first into the second list if applied in order.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive