Skip to content

v10.2.9

Choose a tag to compare

@ItMeDiaTech ItMeDiaTech released this 04 Mar 16:45
· 45 commits to main since this release

Bug Fixes

  • ComplexField revision acceptance text ordering: acceptAllRevisions() now uses getAcceptedResultText() for correct interleaved ordering when accepting revisions inside ComplexField result sections. Previously, insertion text was appended to the end of the result instead of being merged in document order.

New Features

  • setTrackedResult() on ComplexField: Tracked-change-aware display text updates for HYPERLINK field codes. Creates proper w:del/w:ins revision pairs with formatting preservation.
  • getAcceptedResultText() on ComplexField: Extracts the accepted (visible) text from interleaved resultContent XML elements, processing plain runs and insertions while skipping deletions.
  • Field code hyperlink revision preservation: tryPromoteRevisionFieldCode() no longer extracts field runs out of content revisions (w:ins, w:del, w:moveFrom, w:moveTo), preserving round-trip fidelity for tracked field code changes.

Code Quality

  • Removed ~30 lines of dead code in tryPromoteRevisionFieldCode()
  • Strengthened test assertions from toContain to toBe for acceptance text ordering
  • Added negative assertion for bare w:instrText in w:del round-trip test

Statistics

  • 146 test suites, 3,120 tests passing