Skip to content

Commit 34ffb33

Browse files
chore(cli): 0.7.0 [skip ci]
### What's New - **superdoc.min.js CDN bundle** — Shipped as minified IIFE (1.46 MB gzipped); `window.SuperDoc` constructor exposed directly for script-tag loading. - **10 math equation converters** — Added m:m, m:groupChr, m:phant, m:nary, m:acc, m:sPre, m:limLow, m:limUpp, m:rad, m:eqArr per ECMA-376 spec. - **Word-level diffing** — Granular text change tracking for collaborative editing. - **doc.extract()** — RAG extraction API returns blocks with text, comments with anchored refs, tracked changes with excerpts; all IDs work with scrollToElement() for citation navigation. - **contentControls.create with text range wrapping** — Optional `at` field wraps arbitrary ranges without dropping to editor internals. - **Toolbar headless API** — State and execute methods for programmatic toolbar control. - **CLI collaboration custom params** — New `params` field forwarded to y-websocket and Hocuspocus provider. ### Improvements - **Centered images in indented paragraphs** — Fixed centering math to account for w:ind; shapes now position correctly regardless of indentation. - **Selection rectangles in headers/footers** — Fixed selection overlay rendering for header/footer shapes. - **Live collaborative table updates** — Table cell block cache invalidates correctly during active editing. - **Browser-first export types** — exportDocx() defaults to Promise<Blob> (browser); Node consumers opt in with exportDocx<Buffer>(). - **Tracked-change replacement text** — Fixed text rendering in change bubbles. - **Justified paragraph first-line indent** — Fixed character overlap and selection drift with hanging indent + justify. - **Tracked change undo/redo sync** — Comments resync correctly on peer undo/redo replay. - **MCP tool definitions for efficient workflows** — Optimized guidance on markdown inserts, mutations batching, and multi-item operations. - **Test coverage: 64% → 90%** — Added suites for PDF, comments, composables, canvas; integrated Codecov. ### Fixes - **Collaborative export data loss** — Fixed endnotes, settings.xml, custom XML not persisting after export in collab sessions. - **Watermark and comment rendering** — Fixed watermark layout, comment metadata, bubble placement, header anchor shapes. - **Run key stale state** — Narrowed lost-keys preservation; unrelated inline keys no longer inherit state from accept/reject. - **Context menu types** — Typed customItems as ContextMenuSection[]; widened callbacks to include full ContextMenuContext. - **Schema validation for additionalProperties** — Fixed CLI crash on object schemas missing explicit properties map.
1 parent c1ba6f1 commit 34ffb33

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/cli/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/cli",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"type": "module",
55
"bin": {
66
"superdoc": "./dist/index.js"

apps/cli/platforms/cli-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/cli-darwin-arm64",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"os": [
55
"darwin"
66
],

apps/cli/platforms/cli-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/cli-darwin-x64",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"os": [
55
"darwin"
66
],

apps/cli/platforms/cli-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/cli-linux-arm64",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"os": [
55
"linux"
66
],

apps/cli/platforms/cli-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/cli-linux-x64",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"os": [
55
"linux"
66
],

apps/cli/platforms/cli-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/cli-windows-x64",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"os": [
55
"win32"
66
],

0 commit comments

Comments
 (0)