Changelog for Document Authoring SDK
RSS1.22.0 - 24 Sep 2026
- AddedAdds
editor.getZoom()andeditor.setZoom(factor)for reading and changing the editor zoom programmatically. - AddedAdds exact and at-least line spacing, preserved through DOCX, ODT, RTF, and HTML import and export. The toolbar can set both modes, and older DocJSON documents are upgraded on load.
- AddedAdds portable document locations, navigation that preserves the current selection, and visual highlights.
- AddedAdds programmatic find results that can select and reveal exact text matches.
- AddedAdds bookmarks and hyperlinks to bookmarks, preserved through DOCX, ODT, and RTF. The links also work in exported HTML and PDF.
- AddedAdds table of contents support. Imported entries remain editable, and the context menu can regenerate them from the current headings and page numbers. A new table of contents can be inserted from the toolbar.
- ChangedImproves typing responsiveness by removing waits before layout and visible page rendering.
- FixedFixes a toolbar crash when pasting HTML with unsupported CSS colors.
- FixedFixes numbered lists set to restart continuing the previous list after a DOCX round trip.
- FixedFixes pasted HTML colors appearing incorrectly in exported Word documents.
- FixedFixes rejecting tracked text or paragraph formatting changes leaving the new formatting applied after saving as DocJSON or exporting to DOCX.
1.21.0 - 9 Sep 2026
See the release notes.
The AI changes below require Document Authoring AI 2.0.
- AddedAdds a
selection.changeevent so applications can respond when users move the caret, select text, or clear the selection. - ChangedImproves AI workflow reliability with smaller models such as GPT-5.4-mini. Models now return a list of edits instead of recreating the fragment, preserving content and formatting outside those edits.
- AddedAdds
list_revisionsto Document Authoring AI so assistants can inspect pending tracked changes, including their authors and text previews. - FixedFixes AI edits failing after the first tracked change in Review mode, allowing assistants to continue editing the document.
- FixedFixes an issue where users with the reviewer role couldn’t apply AI-suggested edits as tracked changes.
1.20.0 - 2 Sep 2026
See the release notes(opens in a new tab).
- ChangedChanges field values to ordinary inline text in
TextView.inlines()and text extraction. - AddedAdds programmatic APIs for listing, filtering, accepting, rejecting, and withdrawing tracked changes.
- AddedAdds transaction reports with document digests and a typed change list.
- AddedAdds lifecycle events for tracked changes and comments.
- AddedAdds permission checks and participant roles for review operations.
- AddedAdds a built-in
findtoolbar item. - FixedFixes plain-text insertions in review mode so they remain part of the active revision.
- FixedFixes paragraph indentation so text doesn’t extend beyond the page or section content edge.
1.19.1 - 26 Aug 2026
- FixedFixes
replaceTextskipping matches when callers use a global regular expression. - FixedFixes an infinite layout loop when importing DOCX files with floating tables positioned near an obstacle boundary.
- FixedFixes legacy Vector Markup Language (VML) pictures being dropped during DOCX import.
1.19.0 - 14 Aug 2026
- AddedAdds a programmatic API for opening, closing, and reading the state of the search bar.
- AddedAdds a search bar for searching for text in the document.
- AddedAdds copy and paste support for shapes. Pasted floating shapes and images are reanchored to the caret, so they appear near the paste location instead of their original page position.
- AddedAdds stable Node.js support through
@nutrient-sdk/document-authoring/nodefor headless document import, editing, and export in ECMAScript modules (ESM) and CommonJS applications. Supported Node.js long-term support (LTS) releases currently include Node.js 22 and 24. Production use requires a license containing the Document Authoring Node.js runtime entitlement. Asset modes include the default content delivery network (CDN), self-hosted HTTP(S), and fully offline local assets. - AddedAdds stacking order (z-order) support for floating images and shapes.
- FixedFixes an issue where images, shapes, and tables could still be selected, moved, or resized in view mode.
- FixedFixes text wrapping around overlapping floating shapes.
1.18.0 - 22 Jul 2026
- AddedAdds
TextView.addShapeto insert a shape programmatically, and changesShape.ensureTextto return a body without seeding an empty paragraph (add one via the returned container’saddParagraph). - AddedAdds bundled font documentation to the API documentation, listing which fonts are always bundled and which are part of the default font index.
- AddedAdds shape fill and outline transparency.
- AddedAdds support for custom (free form) shape outlines.
- AddedAdds support for floating tables and table alignment, preserved across DOCX, RTF, and ODT import and export.
- AddedAdds support for page number and page count fields in the document body: Imported fields keep their last known value and can be updated or changed from the context menu, and new fields can be inserted from the toolbar insert menu.
- ChangedChanges comment identifiers to UUIDs and DOCX comment export to specification-valid integer
w:idvalues. Comment threads anchored to multiple separated text ranges still export one comment copy per range, but reimporting the file now yields one thread per range instead of merging the copies. - FixedFixes an issue where rotated floating shapes and images could drift from their original position after a DOCX roundtrip.
- FixedFixes header/footer spacing controls so entering header or footer mode initializes both distances, and reopening the toolbar menu reflects the current ruler unit.
- FixedFixes images missing after importing DOCX files created by some non-Word applications.
- FixedFixes table borders, cell margins, paragraph alignment, and indentation being dropped when importing DOCX files that use the
start/endproperty spellings instead ofleft/right, as written by LibreOffice, among others. - ChangedImproves text wrapping options in menus.
1.17.0 - 07 Jul 2026
- AddedAdds header and footer editing, a toolbar menu for toggling different first-page or odd/even-page variants, and controls for adjusting header/footer spacing.
- AddedAdds text wrapping options for floating images and shapes: in front of text, behind text, and top-and-bottom (text appears only above and below the image, not on its sides).
- AddedAdds programmatic API support for reading and setting the header and footer distance on a section via the
headerandfooterfields onPageMargins.
1.16.0 - 23 Jun 2026
- AddedAdds shape support: Insert text boxes and preset shapes from the toolbar, edit a selected shape’s geometry, fill, and outline, and import shapes (including grouped drawings) from documents.
- AddedAdds a programmatic API for shapes, covering geometry preset, size, fill, outline, and text body.
- AddedAdds tab stop leaders support (a dot, hyphen, or underscore fill leading up to the tab).
- AddedAdds page margin resizing to the ruler by dragging the margin boundaries.
- ChangedImproves DOCX import so bar tab stops are kept instead of being dropped.
- AddedAdds a ruler settings menu for a paragraph’s tab stops, the document’s default tab stop distance, and showing the default tab stops on the ruler.
- AddedAdds more options for tab stop editing on the ruler: Right-click empty space to insert a tab stop or a marker to edit or delete one.
- AddedAdds a picker for choosing the type of a new tab stop: left, center, right, decimal (aligns numbers on their decimal point), or bar (a vertical line at a fixed position that tabs skip over, with no leader).
- ChangedImproves selection so that images are now tinted to show they’re selected.
- FixedFixes long, unbroken words after tabs being pushed to a new line; they now stay on the line and break to fit (consistent with MS Word).
- FixedFixes tabs making a line taller than its text; tab content now stays within the line height.
- FixedFixes an issue where several built-in actions (zoom, page/section break, alignment, indentation, lists, ruler/formatting-marks toggle) and their default keyboard shortcuts didn’t fire.
- FixedFixes the cursor being placed one character to the left when moving between lines with the up and down arrow keys, specifically when at the start of a word.
- FixedFixes view mode not being fully read-only.
1.15.1 - 10 Jun 2026
- FixedFixes an issue where our build process stripped “magic comments” (like
webpackIgnore) that tell a bundler to preserve a dynamicimport()and resolve it at runtime. Depending on the bundler, this could break the build or cause a runtime “Cannot find module” error.
1.15.0 - 5 Jun 2026
See the release notes(opens in a new tab).
- AddedAdds support for reading selected content and inserting content at the cursor in a specified format.
- AddedAdds a command palette to the toolbar for searching and executing editor actions.
- AddedAdds a programmatic API for paragraph properties (styles, spacing, indentation, tab stops, borders, shading).
- AddedAdds support for top and bottom table cell padding.
- ChangedChanges how sections are stored, organizing them around section breaks instead of a list.
- RemovedDeprecates
doc.exportPDF(),doc.exportDOCX(), andsystem.importDOCX()in favor ofdoc.export({ format })andsystem.import(blob, { format }). - RemovedDeprecates
editor.insertTextAtCursor()in favor ofeditor.insertContentAtCursor({ content }). - FixedFixes
moveTotrack change DOCX import. - FixedFixes an issue where text selection would be reset when the page scrollbar is clicked.
- FixedFixes comment reply DOCX export.
1.14.1 - 20 May 2026
- FixedFixes an issue where reading a partial text range could remove part of the document text.
- FixedFixes comment reply DOCX export.
- ChangedImproves handling of pointer events outside of editor pages to be more in line with other word processing software.
- ChangedUpdates the HTML paste logic to drop unsupported CSS color functions.
1.14.0 - 13 May 2026
- AddedAdds programmatic APIs for applying and reading paragraph list formatting.
- AddedAdds programmatic APIs for querying and managing comment threads.
- AddedAdds review mode support to programmatic transactions via
TransactionOptions.review.
1.13.0 - 7 May 2026
- AddedAdds in-editor spell checking for German, English, and French (
de-DE,en-US,en-GB,fr-FR). Toggle at runtime viaeditor.enableSpellcheck(language)/editor.disableSpellcheck(), or set an initial language withUIOptions.spellcheck.language. - AddedAdds
editor.setEditorMode(mode)for switching between regular editing, review mode (new changes are recorded as tracked revisions), and view mode. - AddedAdds
editor.getAuthor()to read back the author name currently used for new comments, replies, and tracked changes (companion to the existingsetAuthor). - FixedFixes a case sensitivity issue in how page number fields were handled, resulting in page numbering not being read correctly from some imported DOCX files.
1.12.0 - 2 Apr 2026
- AddedAdds import support for RTF, ODT, Markdown, and plain text documents via
import()(opens in a new tab). - AddedAdds export support for RTF, ODT, and Markdown formats via
export()(opens in a new tab). - AddedAdds automatic hyperlink creation when pasting a URL over selected text in the editor.
- AddedAdds support for merging and unmerging cells in the UI.
- ChangedImproves direct formatting behavior when splitting paragraphs.
- ChangedImproves formatting support when copy-pasting content from other applications.
- ChangedImproves the import fidelity of DOCX files.
- FixedFixes a style indentation issue.
1.11.0 - 25 Feb 2026
- AddedAdds paragraph border, border radius, and shading.
- AddedAdds review mode for creating tracked changes.
- AddedAdds support for table border width and border radius.
1.10.1 - 12 Feb 2026
- ChangedImproves contiguity logic for combining revisions when performing operations on them.
- ChangedImproves the fidelity of run properties and formatting on import (for breaks, tabs, and images).
- FixedFixes an issue where tables in headers/footers were incorrectly handled during
exportPDF()(opens in a new tab). - FixedFixes
importDOCX()(opens in a new tab) failing on documents containing tables with no rows.
1.10.0 - 21 Dec 2025
- AddedAdds support for viewing, accepting, and rejecting tracked changes (revisions). Supports inserted and deleted content at the run, paragraph, and table levels. Formatting changes are supported for run, paragraph, table, cell, and section properties, as well as numbering. Most changes are visible and can be accepted or rejected via the UI with before/after descriptions for the majority of non-visible property changes.
- AddedAdds support for comments. Comments can be viewed to the side of the document, added to selected text via the toolbar or context menu, and support threaded replies. Comments can be edited, resolved, reopened, and deleted.
- AddedAdds a programmatic API to query and manipulate documents via
DocAuthDocument.transaction(opens in a new tab). Detailed usage can be found in the Programmatic API(opens in a new tab) section of the API documentation.
1.9.1 - 26 Nov 2025
- FixedFixes an issue where links in table cells were incorrectly positioned in exported PDFs. (DA-113)
- FixedFixes incorrect cursor positioning on mouse clicks in Firefox. (DA-111)
1.9.0 - 13 Nov 2025
- AddedAdds Actions API (
ui.actions(opens in a new tab),setActions()(opens in a new tab)) and Toolbar API (ui.toolbar(opens in a new tab),setToolbarConfig()(opens in a new tab)) for customizing editor behavior and toolbar layout with built-in actions, keyboard shortcuts, and runtime configuration. - AddedAdds
insertTextAtCursor()(opens in a new tab) method to programmatically insert text at the cursor position. - AddedAdds
hasActiveCursor()(opens in a new tab) method to check if the editor has an active cursor. - FixedFixes DOCX export compatibility with document processing tools like Pandoc by enabling data descriptor signatures in the ZIP archive.
- FixedFixes DOCX import of table cell shading when the color attribute is missing.
- ChangedUpdates core WebAssembly (WASM) module with latest improvements.
1.8.2 - 18 Sep 2025
- FixedFixes ruler visibility issue — ruler now properly respects the
ruler.enabled(opens in a new tab) setting. - FixedFixes an XML issue with DOCX files exported by Safari.
1.8.1 - 03 Sep 2025
- FixedFixes the context menu so instances aren’t shared between multiple editors.
- ChangedImproves DOCX list import handling.
1.8.0 - 21 Aug 2025
- AddedAdds event handling methods (
on()(opens in a new tab),off()(opens in a new tab),once()(opens in a new tab)) to the editor for subscribing to document lifecycle events:document.load(fired when a document is loaded into the editor) andcontent.change(fired when document content changes). - AddedAdds support for merged table cells (colspan/rowspan).
1.7.2 - 07 Jul 2025
- FixedFixes issue with
saveDocumentJSONString()(opens in a new tab) returning empty objects.
1.7.1 - 24 Jun 2025
- AddedAdds support for page breaks.
- ChangedImproves list and style inheritance handling.
- AddedAdds table indentation support.
1.7.0 - 28 May 2025
- AddedAdds improved clipboard operations using async clipboard API.
- AddedAdds copy/paste support for paragraph styles and list formats.
- ChangedImproves translations for French and German locales.
1.5.0 - 21 May 2025
- AddedAdds horizontal ruler showing margins, indents, and tab stops with interactive drag-to-adjust controls.
- AddedAdds ruler configuration via
ui.ruler.enabled(opens in a new tab) option. - AddedAdds subscript and superscript text formatting support.
- Added
- Added
- AddedAdds symbol font substitution when mapping is required.
- ChangedExpands default font library with additional fonts.
- ChangedImproves font mapping and compatibility.
1.4.0 - 10 Apr 2025
- AddedAdds support for floating (text-wrapped) images with positioning options.
- ChangedImproves DOCX import for alternative content and standard content structures.
- ChangedImproves rendering performance and layout accuracy.
1.3.0 - 02 Apr 2025
- ChangedMigrates npm package to
@nutrient-sdkorganization. - ChangedUpdates branding from PSPDFKit to Nutrient throughout.
1.2.1 - 02 Apr 2025
- AddedAdds full support for headers and footers (create, edit, export).
- AddedAdds form field support for page numbers and page counts.
- AddedAdds hyperlink editor with floating UI and context menu integration.
- AddedAdds floating image import/export via DOCX.
- ChangedImproves DOCX import/export compatibility.
- ChangedImproves hyperlink support in PDF exports (links are now clickable).
- FixedFixes selection restoration in deeply nested tables.
- FixedFixes clipboard paste via context menu in Safari.
1.2.0 - 12 Mar 2025
- AddedAdds hyperlink editing with click-to-edit floating toolbar.
- AddedAdds interactive hyperlinks in exported PDFs (clickable and navigable).
- ChangedImproves DOCX import/export for hyperlinks and document structure.
- ChangedImproves handling of empty lines and paragraph styling.
- FixedFixes font loading issues.
- FixedFixes arrow key navigation conflicts.
- FixedFixes
exportDOCX()(opens in a new tab) return value.
1.1.0 - 20 Nov 2024
- AddedAdds full support for numbered and bulleted lists with multiple levels and customizable styles.
- AddedAdds right-click context menu with cut, copy, paste, and formatting options.
- AddedAdds tab stops with customizable alignment (left, center, right, decimal).
- AddedAdds interactive image transformation handles for rotating and resizing.
- AddedAdds PDF/A export support via
exportPDF({ PDF_A: true })(opens in a new tab). - AddedAdds paragraph indentation support (left, right, first-line, hanging) with UI controls.
- AddedAdds UI settings dialog for customizing editor appearance.
- ChangedImproves multipage table support with better row spanning.
- ChangedExpands font library with additional included fonts.
- ChangedImproves list numbering to restart properly after section breaks.
- FixedFixes UTF-8 byte offset calculations for lists.
- FixedFixes PDF generation and selection for offset glyphs.
- FixedFixes table cell border alignment at corners.
1.0.26 - 08 Oct 2024
- AddedAdds custom font support via
FontFile(opens in a new tab) for individual font files. - AddedAdds custom font support via
FontIndex(opens in a new tab) for efficient lazy-loading from prebuilt indices. - AddedAdds basic tab support in documents.
- ChangedImproves table cell clipping and rendering.
1.0.25 - 18 Sep 2024
- AddedAdds custom font loading capabilities.
- ChangedImproves DOCX export for paragraphs.
1.0.23 - 10 Sep 2024
- ChangedImproves performance and bundle size with enhanced build optimizations.
1.0.16 - 22 Aug 2024
- AddedAdds paragraph indentation support (first-line, hanging, left, right).
- AddedAdds DOCX import/export for paragraph indentation.
- FixedFixes text escaping in DOCX export.