Path to this page:
Subject: CVS commit: pkgsrc/textproc/py-xmldiff
From: Adam Ciarcinski
Date: 2024-06-10 23:00:41
Message id: 20240610210041.17306FC74@cvs.NetBSD.org
Log Message:
py-xmldiff: updated to 2.7.0
2.7.0 (2024-05-13)
------------------
- Changed the comparison to make accurate and standard more accurate,
although fast gets less accurate as a result.
- Changed usage of deprecated `pkg_resources` package to `importlib.metadata`.
- A `use_replace` flag was added to the `XMLFormatter` by Thomas Pfitzinger.
It changes text replacement from delete and insert tags to a replace tag.
It's not currently accessaible thtough the CLI, the question is it is better
to add a new formatter name, or an option to pass in formatter flags.
- Added option to XMLFormatter to use replace tags
- in _make_diff_tags after diffing, neighboring delete/insert diffs are joined \
to a replace tag
- the deleted text is added as an attribute ("old-text")
- the inserted text is the element's text
Files: