Skip to content
This repository was archived by the owner on Aug 20, 2026. It is now read-only.

Releases: ExaDev/document-outline.js

Release list

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 01:26

1.0.0 (2026-08-19)

  • feat!: re-charter around document-schema.js 4.0.0's tree-form DocumentPackage (8ee22bc)

Bug Fixes

  • depend on document-schema.js by its canonical name, not the npm alias (e9661f7)

Features

  • add flatten, leaf-text, and stable content-hash outline helpers (35ca77c)
  • add the effective-property resolution seam for package trees (16893cf)
  • build per-kind outlines over every ContentDocument kind (3779e3e)
  • decompose a DocumentPackage into per-container PackageNode groups (db0133e)
  • define the PackageNode tree types with hand-written structural guards (bba5776), closes document-outline.js#2
  • define the recursive OutlineNode schema with a hand-written zod guard (4d7d5b6)
  • flatten a package tree back into its exact source ContentDocument (1656aab)

BREAKING CHANGES

  • removes decompose, flatten, documentEnvelope, the
    DocumentEnvelope type, the PackageNode type family with
    PackageNodeSchema and its guards, and effective/effectiveTree. The
    lossless tree <-> flat transform now lives in documents.js's package
    boundary; tree node types (PackageNode, PackageGroup, SectionGroupNode,
    and the rest) import from document-schema.js, which this package now
    requires at ^4.0.0.