v0.20.0
Summary
Maintenance release that brings every @haklex/* package onto the same Lexical 0.45 contract and resolves a pair of long-standing peerDependency violations that risked double-instance bugs downstream.
The previous v0.19.0 cycle only republished a subset of the workspace (rich-editor, rich-headless, rich-editor-ui, rich-style-token). v0.20.0 re-publishes the entire workspace so downstream installs see a consistent dependency graph.
Breaking Changes
-
lexical/@lexical/*floor bumped to^0.45.0in bothdependenciesandpeerDependenciesacross every published package. Downstream consumers must upgrade their ownlexicalpin to^0.45.0to satisfy peers without warnings.Migration:
-
shikimoved fromdependencies→peerDependenciesin@haklex/rich-renderer-codeblockand@haklex/rich-ext-code-snippet. Apps that did not already declareshikidirectly must add it:"shiki": "^4.1.0"
-
@base-ui/reactmoved fromdependencies→peerDependenciesin@haklex/rich-renderer-video. Apps consuming the video renderer must add (or already have)@base-ui/react:"@base-ui/react": "^1.5.0"
Rationale for the three moves: each library installs its own React Context. Letting it land as a transitive
dependencylets the host project end up with two copies of that Context — the same class of bug as88bb7a0(lucide-reactinrich-agent-chat).
Features
None — release is dependency hygiene only.
Bug Fixes
None code-level — see v0.19.0 release notes for the last batch of fixes.
Other
- All 38
@haklex/*packages republished at0.20.0so internal workspace^x.y.zcross-deps resolve in lockstep on the registry.
Bump rationale
| Signal | Bump |
|---|---|
lexical / @lexical/* peerDep floor raised (^0.44.0 → ^0.45.0) |
minor (additive peer-range tightening within Lexical 0.x semver — non-breaking under ^ for consumers already on 0.45) |
shiki, @base-ui/react moved deps→peers in 3 packages |
minor (additive peer; consumers that already had the lib see no change) |
| All package versions advanced for workspace re-publish | minor (no src/** changes since v0.19.0) |
Highest-wins across the workspace: minor → 0.19.0 → 0.20.0.