Skip to content

v2.12.0

Choose a tag to compare

@chittolinag chittolinag released this 04 Sep 14:00
· 314 commits to main since this release

What's New

  • Runtime observability — Added correlated runtime diagnostics for better insight into editor performance and behavior.
  • Peer dependency guards — Validates package compatibility contracts at release time to prevent integration breaks.
  • Custom tracked-change review — Improved API for building custom tracked-change panels with occurrence-specific decision routing and scrollTo targeting.
  • Custom content-control panels — Enhanced content-control catalog with demand renewal and passive subscriptions to reduce redundant reads.
  • Custom search controls — Expanded search API with separate canReplace and canReplaceAll capabilities, option-aware queries, and better pending-state handling.
  • Custom context menus — Improved contextAt API with defensive copying and pin-to-editor scoping.
  • Custom toolbar controls — Simplified command state synchronization for custom toolbar implementations.

Performance

  • Localized structural edits to conserve pagination across mutations without full recalculation.
  • Batched DOM measurement checkpoints to reduce layout thrashing during updates.
  • Bounded structural delete planning to prevent expensive upfront calculations.
  • Resolved note display text lazily instead of eagerly pre-computing all display values.
  • Settled footnote numbering through a bounded plane to avoid cascading renumbering.

Fixes

  • Preserve table width when inserting columns instead of scaling cells.
  • Support tracked edits on multi-run and previously-edited insertions without losing edit history.
  • Preserve deep deletion presentation in tracked-change nesting scenarios.
  • Maintain caret position after inline images with word wrapping.
  • Import Google Docs nested lists without flattening structure.
  • Prevent linked-list deletion errors from being fatal to document state.
  • Keep image resize handles from intercepting clicks on following text.
  • Recalculate sidebar layout when document width settles to avoid layout stalls.
  • Preserve combined tcW/gridSpan width instead of collapsing tables during import.
  • Stabilize initial pagination under cold font loading by parsing embedded SFNT metrics instead of relying on browser timing.
  • Align Shift+Arrow table range selection with Word's behavior.
  • Prevent duplicate tracked changes when rewriting changes programmatically.
  • Honor RTL section column order during balancing and import.