From e80648d06dd3dd967622dc418bcad821b003ed4a Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Mon, 2 Sep 2024 20:05:49 +0100 Subject: [PATCH] Release V6.0.0 (#551) * Remove note about being in beta * Update version to 6.0.0 --- package.json | 2 +- release-notes.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index d72afb5c..d92dccbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "diff", - "version": "6.0.0-beta", + "version": "6.0.0", "description": "A JavaScript text diff implementation.", "keywords": [ "diff", diff --git a/release-notes.md b/release-notes.md index 90eb231d..55248b2d 100644 --- a/release-notes.md +++ b/release-notes.md @@ -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.