Skip to content

Commit

Permalink
Release V6.0.0 (#551)
Browse files Browse the repository at this point in the history
* Remove note about being in beta

* Update version to 6.0.0
  • Loading branch information
ExplodingCabbage authored Sep 2, 2024
1 parent a8b639a commit e80648d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "diff",
"version": "6.0.0-beta",
"version": "6.0.0",
"description": "A JavaScript text diff implementation.",
"keywords": [
"diff",
Expand Down
2 changes: 0 additions & 2 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

This is a release containing many, *many* breaking changes. The objective of this release was to carry out a mass fix, in one go, of all the open bugs and design problems that required breaking changes to fix. A substantial, but exhaustive, changelog is below.

I am releasing this in beta for now, in the hope that a few users will upgrade now and submit bug reports if I've broken anything without realising it. I intend to do a final 6.0.0 release before the end of August. -- Mark "ExplodingCabbage" Amery.

[Commits](https://github.com/kpdecker/jsdiff/compare/master...v6.0.0-staging)

- [#497](https://github.com/kpdecker/jsdiff/pull/497) **`diffWords` behavior has been radically changed.** Previously, even with `ignoreWhitespace: true`, runs of whitespace were tokens, which led to unhelpful and unintuitive diffing behavior in typical texts. Specifically, even when two texts contained overlapping passages, `diffWords` would sometimes choose to delete all the words from the old text and insert them anew in their new positions in order to avoid having to delete or insert whitespace tokens. Whitespace sequences are no longer tokens as of this release, which affects both the generated diffs and the `count`s.
Expand Down

0 comments on commit e80648d

Please sign in to comment.