Skip to content

v0.20.0

Choose a tag to compare

@Innei Innei released this 02 Jun 11:18
· 50 commits to main since this release
652428e

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.0 in both dependencies and peerDependencies across every published package. Downstream consumers must upgrade their own lexical pin to ^0.45.0 to satisfy peers without warnings.

    Migration:

    // your package.json
    - "lexical": "^0.44.0",
    + "lexical": "^0.45.0",
    - "@lexical/react": "^0.44.0",
    + "@lexical/react": "^0.45.0",
    // …same for any other @lexical/* pins
  • shiki moved from dependenciespeerDependencies in @haklex/rich-renderer-codeblock and @haklex/rich-ext-code-snippet. Apps that did not already declare shiki directly must add it:

    "shiki": "^4.1.0"
  • @base-ui/react moved from dependenciespeerDependencies in @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 dependency lets the host project end up with two copies of that Context — the same class of bug as 88bb7a0 (lucide-react in rich-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 at 0.20.0 so internal workspace ^x.y.z cross-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: minor0.19.00.20.0.