Skip to content

v0.2.1 — App forwards documentOutlineHandle

Choose a tag to compare

@verveguy verveguy released this 19 Aug 22:09
· 753 commits to main since this release
84fb5e2

A patch release, additive only.

<App> now forwards documentOutlineHandle to its inner <Editor>

0.2.0 added documentOutlineHandle to EditorProps but not to AppProps. Since <App> rather than <Editor> is what most consumers embed, the document outline was effectively unreachable for them. Pass documentOutlineHandle to <App> exactly as you would to <Editor> — see the Document Outline section of docs/editor-api.md. (#80, ADR-090)

The prop is optional; nothing changes for consumers that don't use it.

Why 0.2.1 and not 0.3.0

The change is additive, and in 0.x semver the minor is the breaking slot: ^0.2.0 matches 0.2.1 but not 0.3.0. Releasing this as a minor would have forced every consumer to raise their range in order to receive a fix that takes nothing away from them. As a patch, pnpm update is enough.

Upgrading

pnpm add @liminis/editor@^0.2.1

No action required beyond the install.