Releases: JSv4/Python-Redlines
v0.2.1
Patch release with documentation and typing fixes.
Changes
docs/quickstart.mdrewritten to lead with the recommendedDocxodusEngine(was previously the legacy engine), with a new section demonstrating Docxodus-only comparison kwargs and a callout thatXmlPowerToolsEnginesilently ignores them. (#23)run_redlineargument type widened fromUnion[bytes, Path]toUnion[str, bytes, Path]to match documented usage — passing plainstrpaths now matches the annotation. No runtime behavior change. (#23)
Install
pip install --upgrade python-redlines[docxodus]
v0.2.0
First release of the three-package layout.
Install
pip install python-redlines[docxodus] # default engine (recommended)
pip install python-redlines[ooxmlpowertools] # legacy engine
pip install python-redlines[all] # both enginesPrebuilt wheels for Linux, macOS, and Windows (x64 and arm64). No .NET SDK required to install or use.
What's new
- Restructured into three PyPI packages:
python-redlines(pure-Python core),python-redlines-docxodus(default engine binary),python-redlines-ooxmlpowertools(legacy engine binary). Engines are optional extras. - New default engine — DocxodusEngine: modernized .NET 8 fork of Open-XML-PowerTools with move detection, format-change detection, LCS-based table row matching, and active maintenance.
- Comparison settings:
DocxodusEngine.run_redline()accepts kwargs fordetect_moves,simplify_move_markup,detail_threshold,case_insensitive,move_similarity_threshold,move_minimum_word_count,detect_format_changes,conflate_spaces, anddate_time. - Helpful error on missing engine: instantiating an engine without its companion package raises
EngineNotInstalledErrorwith the exactpip installcommand. - Release pipeline: GitHub Actions builds per-platform wheels and publishes to PyPI via Trusted Publishing (OIDC).
Backwards compatibility
XmlPowerToolsEngine remains available unchanged for existing users. Both engines share the same run_redline(author, original_bytes, modified_bytes) API.
v0.0.5 - Add ARM Support
What's Changed
- Add ARM support by @ross-mcnairn-dev in #9
New Contributors
- @ross-mcnairn-dev made their first contribution in #9
Full Changelog: v0.0.4...v0.0.5
v0.0.4 - Release Binaries via PyPi Latest
What's Changed
- Fix binary extraction flow by @rishabh-sagar-20 in #7
- Improve Build and Dist Infrastructure by @JSv4 in #6
New Contributors
- @rishabh-sagar-20 made their first contribution in #7
Full Changelog: v0.0.3...v0.0.4
v0.0.3 - Update Docs and Add OSX Build
Updated docs and added OSX build.
v0.0.2 - Fix Docs
Fixed typos in docs
v0.0.1 - Initial Release
Initial release of our Python library to run docx redlines. As discussed extensively in the README, it currently is a simple wrapper of a C# class - WMLComparer, which is distributed as part of Open-XML-PowerTools. We would like to build a pure Python version as well, but this is meant to provide basic redlining capabilities to the Python ecosystem ASAP. Contributions are welcome.