Skip to content

Commit 8e51326

Browse files
Write release notes for PRs already merged to master (#444)
1 parent 14bfcb6 commit 8e51326

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

release-notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
[Commits](https://github.com/kpdecker/jsdiff/compare/v5.1.0...master)
66

7+
- [#411](https://github.com/kpdecker/jsdiff/pull/411) Big performance improvement. Previously an O(n) array-copying operation inside the innermost loop of jsdiff's base diffing code increased the overall worst-case time complexity of computing a diff from O(n²) to O(n³). This is now fixed, bringing the worst-case time complexity down to what it theoretically should be for a Myers diff implementation.
8+
- [#351](https://github.com/kpdecker/jsdiff/issues/351) Importing from the lib folder - e.g. `require("diff/lib/diff/word.js")` - will work again now. This had been broken for users on the latest version of Node since Node 17.5.0, which changed how Node interprets the `exports` property in jsdiff's `package.json` file.
9+
710
## v5.1.0
811

912
- [#365](https://github.com/kpdecker/jsdiff/issues/365) Allow early termination to limit execution time with degenerate cases

0 commit comments

Comments
 (0)