Skip to content

mcp-v0.14.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 20 Jun 16:33

What's New

Footnote and endnote editing β€” Double-click body markers to open notes, two-press Backspace to delete, clearing note content removes the footnote on both sides.

Document API β€” Image commands β€” Crop, rotate, scale, flip, and replace images programmatically; set alt text, captions, z-order, and wrapping.

Document API β€” Hyperlink commands β€” Insert, get, list, patch, and remove hyperlinks; wrap text in links with full DOCX control.

Pasted hyperlinks β€” Automatically converts pasted URLs into real docx link elements instead of plain text.

Document API β€” Lists commands β€” Apply list templates, set level-specific formatting (alignment, bullets, numbering, indentation, marker fonts).

Document API β€” Table insertion β€” Insert tables with extra separator row to match MS Word behavior.

Textbox object interaction β€” Select, resize, and move DrawingML textboxes with border-click selection, corner handles, and drag-to-move feedback.

Blocks API enhancements β€” New merge, split, and move operations for programmatic paragraph manipulation (v2 sessions).

Paragraph numbering control β€” Surface paragraph numbering on blocks.list; add format.paragraph.setNumbering for managing numbered sequences.

Search deleted tracked changes β€” Find and replace now searches within deleted tracked-change text, not just insertions.

Lists API β€” New lists.apply, lists.continue, lists.restart, lists.remove, and lists.getState operations.

Mutation planning β€” Plan and execute mutations in a single operation with mutations.planExecute.

Clear content command β€” Remove document content programmatically.

HTML extraction β€” New getHtml operation to read document content as HTML.

TIFF image support β€” Render TIFF images alongside PNG, JPG, and GIF.

Markdown image import β€” Automatically import images when converting markdown to documents.

Partial tracked change resolution β€” Resolve individual tracked changes without resolving all.

LLM tools β€” Alpha release of LLM tools integration.

Web view layout engine β€” New rendering engine for improved layout and performance.

Improvements

Document API styles β€” Registry-driven styles.apply with schema validation for type safety.

PresentationEditor types β€” Added TypeScript types for PresentationEditor.

SDK API β€” Made expectedRevision parameter optional.

Footnote keystroke performance β€” Warm-start reserve convergence reduces keystroke cost on 25-footnote documents from 75ms to 12ms.

Numbering recompute β€” Skip full-document diff on block-node metadata transactions; saves ~16ms per keystroke on 776-paragraph documents.

Toolbar refresh coalescing β€” Coalesce headless toolbar refresh per microtask to eliminate redundant snapshot rebuilds.

Layout engine β€” Fold footnote warm-start seed into initial pagination for single-pagination steady state.

V2 architecture β€” New v2 package with unified editor runtime, review state management, drawing taxonomy, and v1 compatibility wiring.

Test coverage β€” 70+ new tests covering v2 wiring, custom UI parity, mutations, and block API operations.

Fixes

Track-change scope persistence β€” Fixed resolved track-change IDs not surviving between operations in host sessions.

Word field export β€” Fixed passthrough importer breaking MERGEFIELD export; instruction text now lives in attrs.originalXml only.

Footnote rendering β€” Fixed footnotes silently dropped when body fills terminal page.

Note caret and selection β€” Fixed drifting caret, selection rects, and arrow navigation in multi-paragraph notes.

Note paragraph styles β€” Fixed note paragraphs losing FootnoteText style on Enter or paste.

Cross-paragraph deletion β€” Fixed deletion spanning two paragraphs splitting instead of re-joining in suggesting mode.

IME composition β€” Deferred layout rerender and track-changes rewriting during IME composition.

Tracked-change review navigation β€” Fixed review navigation getting stuck.

First-line list indentation β€” Fixed justified-text width for numbered lists with first-line indent.

Header/footer editing β€” Prevent focus loss when typing in header/footer editors.

Image resize handles β€” Align handles with actual image position.

Virtualization scroll β€” Compute scroll position relative to scroll container, not viewport.

Format persistence β€” Route format.caps through text transform so w:caps persists on export.

List export β€” Sync document XML before numbering pruning to preserve list definitions.

Link popover rendering β€” Mount external popovers outside overflow:hidden containers.

Media handling β€” Handle Uint8Array media values from persistence layers.

Scroll feedback loop β€” Prevent scroll acceleration feedback loop in painter DOM.

Collaboration sessions β€” Keep sessions alive in non-collaborative mode; checkpoint when not dirty.

CLI collaboration β€” Prevent collab reopen from overwriting documents with blank data.

Markdown conversion β€” Harden markdown image conversion error handling.

Portrait orientation β€” Fix document API handling of portrait orientation.

Development experience β€” Log warning when local dev server is unreachable.