diff --git a/CHANGELOG.md b/CHANGELOG.md index f139699..d9ebbaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 5.0.0 + +- BREAKING: optimize exact diff calculation by trimming matching suffixes before running Myers. This keeps diffs minimal, but duplicate-heavy lists may now choose a different valid anchor/update position than 4.x. +- Improve common diff performance by reusing typed-data buffers for k-lines/status arrays and interning larger non-aligned list diffs. +- Add an AOT/JIT benchmark harness under `tool/bench/bench.dart`. +- Add hash-collision regression tests for both update APIs. + ## 4.0.1 - fix endless loopi/wrong result in certain cases (#21, #18) diff --git a/pubspec.yaml b/pubspec.yaml index f9dd628..edf785e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: diffutil_dart description: Calculate the difference between two lists as list of edit operations. Used for example for implicitly animating Flutter lists without having to maintain a StatefulWidget. -version: 4.0.1 +version: 5.0.0 homepage: https://github.com/knaeckeKami/diffutil.dart environment: