Skip to content

Releases: superdoc-dev/superdoc

v1.44.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 04 Jul 02:28

Based on my analysis of the commits and codebase changes, here are the release notes:

What's New

  • Side-targeted tracked change decisions — Accept or reject only the inserted or deleted half of a paired replacement via trackChanges.decide() with the side parameter ('inserted'/'deleted'), leaving the other half as a standalone pending change.
  • Tracked paragraph property changes in review API — Tracked numbering and alignment changes (w:pPrChange) now surface in trackChanges.list() and can be accepted/rejected via trackChanges.decide().
  • List numbering metadatablocks.list returns computed numbering (marker, path, kind) for numbered list items and numbered headings, plus a paragraphNumbering reference field so agents can read legal clause numbers.
  • Paragraph indentation metadatablocks.list now exposes paragraph indentation (left, right, firstLine, hanging in twips) for layout-aware document analysis.
  • Visible text model for blocks.list — Text, length, preview, and ref now use the visible text model (tracked deletions excluded), matching how edit refs resolve and eliminating offset drift.
  • Tracked list attachlists.attach() now supports tracked mode for list property changes.
  • Citation hyperlinks round-trip — Tracked citation hyperlinks export and import correctly through DOCX with full revision history preserved.
  • LLM tools core preset — CLI and MCP expose the execute-code command for running JavaScript directly against documents in headless mode.

Fixes

  • Synthetic tracked-change rows no longer leak as empty comments in comments.list() export.
  • Cell-scoped tablesClearShading() now removes the background attribute correctly.
  • Formatting samples from blocks.list skip deleted runs — no longer reports styling from pending deletions.
  • Redlined blocks with tracked deletions at the start no longer throw "offset out of range" when edited via ref.
  • Headless mode skips whole-document linked-style decorations for ~3x faster large-document load (38-page redline: 50s → 16s).
  • Merge conflict markers in painter-dom border-utils resolved; build no longer fails after main-into-stable merge.

vscode-v2.16.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 04 Jul 02:30

What's New

  • Tracked-change side-targeted decisionstrackChanges.decide() now accepts a side selector to reject only the inserted or deleted half of a replacement.
  • Tracked paragraph-property changes — Tracked numbering and alignment changes (w:pPrChange) now appear in trackChanges.list() and can be accepted or rejected via trackChanges.decide().
  • Tracked list operationslists.attach() now supports tracked changes.
  • Comment export — Comments and comment replies now export to DOCX, including comments on tracked changes.
  • List numbering metadatablocks.list() now returns numbering and indent fields so agents can read computed list markers and legal clause numbers.
  • Visible text modelblocks.list() returns the visible text model (skips tracked deletions), matching how the plan engine applies edits. Eliminates text offset drift on redlined documents.
  • CLI preset commands — New commands to introspect, configure, and dispatch preset operations: preset list, preset get-catalog, preset get-tools, preset get-system-prompt, preset get-mcp-prompt, preset dispatch.
  • CLI execute-code command — New command to execute arbitrary operations on a document.
  • LLM tools core preset — New preset providing AI-agent-optimized operations for document manipulation.

Improvements

  • Large-document performance in headless mode — linked-style decorations are skipped when the editor runs view-only (~50s → ~16s on a 38-page redline).
  • blocks.list() length, preview, and block references now use the visible text model, eliminating stale offset calculations on edited blocks.
  • Tracked change decision validation tightened — side selector on id-target changes fails closed if the targeted half was already resolved.
  • Tracked paragraph-property changes now sync both paragraph and top-level numbering properties on reject.
  • Block formatting sampling now draws from visible runs only, skipping tracked deletions.
  • Comment export filters synthetic tracked-change rows from the comments list.

Fixes

  • Citation hyperlinks now export and import correctly as tracked changes.
  • Merge conflict markers in border-utils resolved.
  • Cell shading clear operations now properly remove the background attribute on cell-scoped clears.
  • Border rendering aligned with SD-3028 authored-width specification.
  • Tracked paragraph-property changes export with Word-safe decimal IDs instead of UUIDs.
  • One-sided replacement survivors now downgrade to plain insertions or deletions instead of failing.
  • Tracked paragraph-property changes inside kept tracked tables now resolve via ID-based decisions instead of the mark-based child planner.
  • Tracked changes without a user are now guarded to prevent blank author stamps.

react-v1.15.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 04 Jul 02:29

Based on my analysis of the commits and changed files, here are the release notes:

What's New

  • Agent tools for document automationsuperdoc_inspect and superdoc_perform_action tools expose the full Document API to language models. Run headless in Node.js; bring your own LLM for redlining, template workflows, and document automation.
  • Comment API and export — Full CRUD on comments: create, edit, delete, resolve/reopen, move between ranges. Comments export to DOCX, including comments anchored to tracked changes. Anchor comments to tracked-change IDs directly without calculating text ranges.
  • Side-targeted tracked-change decisions — Accept or reject just the inserted or deleted branch of a replacement, leaving the other half as a standalone change. Decide by id or by range.
  • Tracked paragraph-property changes in the review API — Tracked numbering and alignment changes (w:pPrChange) now surface in trackChanges.list and can be accepted/rejected via trackChanges.decide, matching tracked text behavior.
  • List and paragraph numbering metadatablocks.list returns computed numbering (marker, path, kind) for clause-numbered headings and list items, plus paragraph indentation for layout-aware agents.
  • Agent presets for OpenAI, Anthropic, Vercel, and generic providers — Tool catalog and system prompt selection by preset; dispatch tool calls through the preset's validated schema.
  • CLI commands for agent presetspreset list, preset get-catalog, preset get-tools, preset get-system-prompt, preset get-mcp-prompt, preset dispatch.
  • Tracked citation hyperlinks — Export and import tracked hyperlinks with revision marks preserved, so Word round-trips linked tracked text correctly for reviewable citations.

Improvements

  • Large-document performance — Skip linked-style decorations in headless mode; ~50s → ~16s on a 38-page redline.
  • Visible text model in blocks.list — Text, length, ref, and formatting now use visible text (skipping tracked-deleted runs), so agents resolve offsets against the same text the plan engine applies against.
  • Word-safe revision IDs — Tracked changes export with decimal IDs instead of UUIDs, so Word accepts them without repair.
  • Better tracked-change edge cases — Handle one-sided replacement survivors, pPrChange inside kept tracked tables, and no-user guards for tracked operations.

Bug Fixes

  • Resolve merge conflict markers in border-utils that broke the build.
  • Citation hyperlinks now export with correct revision mark wrapping (w:hyperlink containing w:ins/w:del).
  • Reject a tracked table by id now cascades to contained paragraph-property changes.
  • Cell background shading now clears on cell-scoped tables.setShading({ color: null }).
  • Tracked changes no longer leak as spurious empty comments in export.
  • Formatted text from styled tracked-deleted runs no longer bleeds into blocks.list formatting.

v1.40.0-next.46

v1.40.0-next.46 Pre-release
Pre-release

Choose a tag to compare

@superdoc-bot superdoc-bot released this 03 Jul 04:40

1.40.0-next.46 (2026-07-03)

Bug Fixes

  • super-editor: v1 — export/import citation hyperlinks as tracked changes (SD-3563) (#305) (7e794ab)

vscode-v2.12.0-next.49

Pre-release

Choose a tag to compare

2.12.0-next.49 (2026-07-03)

Bug Fixes

  • super-editor: v1 — export/import citation hyperlinks as tracked changes (SD-3563) (#305) (7e794ab)

sdk-v1.16.0-next.50

sdk-v1.16.0-next.50 Pre-release
Pre-release

Choose a tag to compare

@superdoc-bot superdoc-bot released this 03 Jul 04:40

1.16.0-next.50 (2026-07-03)

Bug Fixes

  • super-editor: v1 — export/import citation hyperlinks as tracked changes (SD-3563) (#305) (7e794ab)

react-v1.11.0-next.49

react-v1.11.0-next.49 Pre-release
Pre-release

Choose a tag to compare

1.11.0-next.49 (2026-07-03)

Bug Fixes

  • super-editor: v1 — export/import citation hyperlinks as tracked changes (SD-3563) (#305) (7e794ab)

mcp-v0.12.0-next.51

mcp-v0.12.0-next.51 Pre-release
Pre-release

Choose a tag to compare

@superdoc-bot superdoc-bot released this 03 Jul 04:35

0.12.0-next.51 (2026-07-03)

Bug Fixes

  • super-editor: v1 — export/import citation hyperlinks as tracked changes (SD-3563) (#305) (7e794ab)

cli-v0.17.0-next.47

cli-v0.17.0-next.47 Pre-release
Pre-release

Choose a tag to compare

@superdoc-bot superdoc-bot released this 03 Jul 04:37

0.17.0-next.47 (2026-07-03)

Bug Fixes

  • super-editor: v1 — export/import citation hyperlinks as tracked changes (SD-3563) (#305) (7e794ab)

v1.40.0-next.45

v1.40.0-next.45 Pre-release
Pre-release

Choose a tag to compare

@superdoc-bot superdoc-bot released this 02 Jul 19:44

1.40.0-next.45 (2026-07-02)

Performance Improvements

  • super-editor: large-document performance — headless linked-styles + visible read model (#263) (23e00b4)