- Support IE11 without polyfills and transpiling.
- Fix a TypeError in table diff, which occured when THEAD or TFOOT was added or removed, and a column was removed.
- Add
diffText
option. - Fix table diffs. If a table can't be diffed correctly, both the old and new tables are added to the diff result with "vdd-removed" and "vdd-added" classes respectively.
- BREAKING CHANGE: Mark up the added and removed elements by adding the
vdd-added
andvdd-removed
classes to the affected elements, instead of using the<INS>
and<DEL>
wrappers. Text and formatting changes still use the<INS>
and<DEL>
wrappers. - BREAKING CHANGE: Mark up structural elements (P, TABLE, DIV, etc) with modified attributes by adding the
vdd-modified
class to the affected elements, instead of outputting 2 elements withvdd-added
andvdd-removed
classes. Attribute changes on content elements (eg. IMG, IFRAME, SVG, etc) still output 2 elements with thevdd-added
andvdd-removed
classes. Formatting elements (eg STRONG, EM, etc) are unafected by this change. - Fix invalid characters sometimes appearing in diff results.
- Improve table diffs by preferring cell content changes to cell removals and additions.
- Avoid adding change markers at invalid locations.
- Fix identical document structure sometimes marked up as changed.
- Expose
VisualDomDiffOption
type for TypeScript projects.
- Add
skipModified
option.
- BREAKING CHANGE: The
compareNodes
option is no longer supported. - Improve the diff output quality.
- BREAKING CHANGE: The
ignoreCase
option is no longer supported. - Use the
diff-match-patch
instead of thediff
module to improve performance.
- Stop using Browser globals to support running in node with jsdom.
- Support diffing documents.
- Add the
compareNodes
option.
- Initial release.