Skip to content

Commit 73cc824

Browse files
chore(sdk): 1.3.0 [skip ci]
### What's New - **Mathematical equations** — Render OMML math with browser-native MathML, including fractions, bars, and precise accent stretching; cursor positioning works after inline equations. - **Password-protected documents** — Open encrypted .docx files with a customizable password prompt surface; fully configurable UI text, titles, and error handling. - **Multi-column copy-paste** — Preserve column layout and structure when copying from multi-column sections; automatic image collision detection prevents overwrites. - **Document protection** — Create, manage, and remove permission ranges; set editing restrictions on document sections. - **Find and replace** — Built-in search and replace functionality with refresh on active transaction. - **Generic surfaces API** — Dialogs and floating panels support for custom extensions. - **Spell check infrastructure** — Proofing platform for integrating spell-check libraries. - **RTL table rendering** — Right-to-left tables respect w:bidiVisual with visually reversed columns, mirrored cell layout, and correct border handling. - **Word comments in VS Code** — View and add Word comments with margin bubbles directly in the extension editor. ### Improvements - **Block references** — superdoc_create now returns a ref handle; use it directly in superdoc_format instead of searching first (33% fewer API calls). - **Block formatting accuracy** — Formatting now resolves through the full style-engine cascade (docDefaults → Normal style → paragraph style → inline marks), ensuring accurate fontFamily, fontSize, color, and bold values. - **Math rendering precision** — Underbars on compound expressions like x+y now stretch correctly; display style and Cambria Math font match Word rendering. - **RTL cursor navigation** — Arrow keys now move the cursor in the correct visual direction in Arabic and other RTL text; vertical navigation (up/down) works correctly. - **Paragraph borders and spacing** — Border expansion now overlaps with paragraph spacing per ECMA-376, not stacking; fixed cursorY positioning and continuation fragment alignment after page breaks. - **Comment rendering** — Fixed layout to allow comment bubbles and tracked-change balloons to render without overflow. - **Footnote rendering** — Reference markers normalize before superscript layout; render as scaled superscript digits with correct baseline shift handling. - **Toolbar dropdowns** — Better activation when editor is unfocused; font attributes queue correctly for delayed commands. - **VS Code extension marketplace** — README redesigned with feature list, install instructions, AI integration guide; extension icon and homepage link added. - **Inline structured content** — Inherit run formatting (bold, color, font) when inserting inline SDT elements; respect pending toolbar formatting. - **Table of contents** — Apply useAppliedOutlineLevel without requiring \o range switch; TOC with \u-only instructions now works correctly. - **Click-to-position mapping in RTL** — Clicks on RTL text now map to the correct document position; fixed hidden span handling in line bounds calculation. ### Fixes - **Math cursor positioning** — Clicks in overflow areas around inline math equations now resolve to correct ProseMirror positions. - **Comment scrolling** — Fixed scroll behavior regression after painter refactor. - **Diacritical marks in tracked changes** — Composition handling now allows diacritical symbols in track changes operations; dead-key placeholders work correctly. - **Style inheritance on Enter** — Pressing Enter at the end of unformatted text no longer inherits parent paragraph formatting; clearing formatting with an empty storedMarks array is now respected. - **Document part object normalization** — Non-TOC gallery types (page numbers, bibliographies, cover pages) now correctly normalize inline nodes (bookmarks, comments, permissions). - **Table cell newlines** — Newline characters in structured content table cells now split into separate paragraphs instead of losing content. - **SDT hover in view mode** — Hovering block and inline structured content containers in viewing mode no longer shows background highlights. - **Comment export** — Resolved comments now export with correct w15:done attribute; commentsExtended.xml is included even when no threaded comments exist. - **VS Code extension marketplace rendering** — Demo GIF bundles locally in the VSIX package; image paths use absolute GitHub URLs instead of relative paths. - **Type isolation** — Removed ambient shims that were globally overriding real type definitions for external packages (prosemirror-*, vue, eventemitter3, yjs, @hocuspocus/provider). Consumers using SuperDoc alongside these packages now receive accurate types instead of `any`. - **Live collaboration during rebuild** — Fixed issue where the live collaboration fragment wasn't cleared during document rebuild, which could cause stale fragment references. - **Image resize in view mode** — Image resize handles no longer appear when the document is in viewing mode; handles are properly cleared when switching document modes. - **CLI validation** — Fixed inline-special insertion positioning and schema validation. - **Headless numbering sync** — Fixed infinite loop when list definitions are missing; sync now terminates correctly. - **DOCX export** — Handle null or undefined converter declaration with standard XML fallback (version="1.0" encoding="UTF-8" standalone="yes").
1 parent 0506e88 commit 73cc824

14 files changed

Lines changed: 19 additions & 19 deletions

File tree

packages/sdk/langs/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/sdk",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"private": false,
55
"type": "module",
66
"main": "./dist/index.cjs",

packages/sdk/langs/node/platforms/sdk-darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/sdk-darwin-arm64",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"os": [
55
"darwin"
66
],

packages/sdk/langs/node/platforms/sdk-darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/sdk-darwin-x64",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"os": [
55
"darwin"
66
],

packages/sdk/langs/node/platforms/sdk-linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/sdk-linux-arm64",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"os": [
55
"linux"
66
],

packages/sdk/langs/node/platforms/sdk-linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/sdk-linux-x64",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"os": [
55
"linux"
66
],

packages/sdk/langs/node/platforms/sdk-windows-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/sdk-windows-x64",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"os": [
55
"win32"
66
],

packages/sdk/langs/python/platforms/superdoc-sdk-cli-darwin-arm64/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "superdoc-sdk-cli-darwin-arm64"
7-
version = "1.2.0"
7+
version = "1.3.0"
88
description = "SuperDoc CLI binary for macOS ARM64 (Apple Silicon)"
99
readme = "README.md"
1010
requires-python = ">=3.9"

packages/sdk/langs/python/platforms/superdoc-sdk-cli-darwin-x64/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "superdoc-sdk-cli-darwin-x64"
7-
version = "1.2.0"
7+
version = "1.3.0"
88
description = "SuperDoc CLI binary for macOS x64 (Intel)"
99
readme = "README.md"
1010
requires-python = ">=3.9"

packages/sdk/langs/python/platforms/superdoc-sdk-cli-linux-arm64/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "superdoc-sdk-cli-linux-arm64"
7-
version = "1.2.0"
7+
version = "1.3.0"
88
description = "SuperDoc CLI binary for Linux ARM64"
99
readme = "README.md"
1010
requires-python = ">=3.9"

packages/sdk/langs/python/platforms/superdoc-sdk-cli-linux-x64/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "superdoc-sdk-cli-linux-x64"
7-
version = "1.2.0"
7+
version = "1.3.0"
88
description = "SuperDoc CLI binary for Linux x64"
99
readme = "README.md"
1010
requires-python = ">=3.9"

0 commit comments

Comments
 (0)