Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 17 Aug 16:11
· 13 commits to main since this release

2.0.0 (2026-08-17)

  • feat!: report pages and frame-stamped content instead of a layout half in DocumentPackage (b6daa8c)

Features

  • attach frames from the exact clustered items onto reconstructed content nodes (5617ef0)

BREAKING CHANGES

  • DocumentPackage is document-schema.js 3's fused shape
    ({ formatVersion: 2, content, pages }); onDocument and
    ConversionResult.package no longer report a layout,
    buildDocumentBytes(pkg, 'pdf') throws for a package with no pages and
    rebuilds from frames otherwise, convertDrawingToLayout returns
    { document, pages } rather than a bare LayoutDocument, and content read
    by markdown-codec 2.0.0 carries headingLevel on heading paragraphs.