This repository was archived by the owner on Aug 20, 2026. It is now read-only.
v4.0.0
4.0.0 (2026-08-19)
- feat(api)!: make readMarkdown/writeMarkdown DocumentPackage-native (6ce1abf)
Bug Fixes
- write: report dropped package tables and type flattenPackage's own errors (4655d5e)
BREAKING CHANGES
- readMarkdown returns { documentPackage: DocumentPackage },
not { document: ContentDocument }; writeMarkdown accepts a DocumentPackage,
not a ContentDocument; and markdownCodec decodes to a DocumentPackage. A
caller that wants the previous flat behaviour should rename its calls to
readMarkdownContent, writeMarkdownContent, and markdownContentCodec, whose
signatures and behaviour are unchanged. The result field is documentPackage
rather than package because package is a reserved word in strict mode.