Skip to content

Releases: JSv4/Python-Redlines

v0.2.1

23 May 02:55

Choose a tag to compare

Patch release with documentation and typing fixes.

Changes

  • docs/quickstart.md rewritten to lead with the recommended DocxodusEngine (was previously the legacy engine), with a new section demonstrating Docxodus-only comparison kwargs and a callout that XmlPowerToolsEngine silently ignores them. (#23)
  • run_redline argument type widened from Union[bytes, Path] to Union[str, bytes, Path] to match documented usage — passing plain str paths now matches the annotation. No runtime behavior change. (#23)

Install

pip install --upgrade python-redlines[docxodus]

v0.2.0

23 May 02:26
ffa5202

Choose a tag to compare

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 engines

Prebuilt 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 for detect_moves, simplify_move_markup, detail_threshold, case_insensitive, move_similarity_threshold, move_minimum_word_count, detect_format_changes, conflate_spaces, and date_time.
  • Helpful error on missing engine: instantiating an engine without its companion package raises EngineNotInstalledError with the exact pip install command.
  • 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

04 Jun 05:57

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.4...v0.0.5

v0.0.4 - Release Binaries via PyPi Latest

02 Apr 19:20

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.3...v0.0.4

v0.0.3 - Update Docs and Add OSX Build

01 Apr 19:48

Choose a tag to compare

Updated docs and added OSX build.

v0.0.2 - Fix Docs

22 Mar 15:35

Choose a tag to compare

Fixed typos in docs

v0.0.1 - Initial Release

15 Jan 16:46

Choose a tag to compare

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.