v0.40.0 is a monthly release primarily focusing on bug fixes and infrastructure such as the move from npm to pnpm.
Some very notable changes include:
- Some major fixes and refactoring to markdown parsing #8093 #8085
- Several of the most common utilities were moved from @lexical/utils to lexical (
mergeRegister,addClassNames,removeClassNames) #8106 - A cache coherency bug in
RootNode.getTextContent()was fixed #8099
Highlights
Monorepo:
Link:
- β #8070 Fix: Fix infinite transform loop in AutoLinkPlugin
- β #8078 Fix: Toggle links with nested children
List:
- β #8049 Fix: fix selection issue from list transform on linebreak
- β #8068 Fix: Treat whitespace-only list items as empty when pressing Enter
Markdown:
- β #8085 Fix: Fix incorrect format tag placement at link boundaries
- β #8093 Fix: Replace regex-based format matching
Core:
- β #8069 Fix: format removed on multi selection after replace
- β #8099 Fix: Refactor RootNode.__cachedText computation for coherency
Table:
- β #8076 Fix: Fix Ctrl+A to select all cells in table with merged cells
- β #8081 Fix: Fix inconsistent multi-cell selection in 2x2 tables
- π§Ή #8088 Chore: Fix test for nested table pasting
Utils:
- π§Ή #8106 Chore: Move functions
mergeRegister,addClassNames,removeClassNamesto lexical package
React:
- β #8062 Fix: Clear remote cursor immediately on collaborator refresh
- β #8065 Fix: Fix cursor disappearing in Firefox when dragging blocks
- β #8071 Chore: Expose onReposition prop on SelectionAlwaysOnDisplay
Playground:
- π #8043 Feature: Color table resize handle
- π #8042 Feature: Draggable block handle gliding effect
- β #8052 Fix: Draggable handle and dropdown CSS zoom fix
- π #8057 Feature: New Table Hover Actions Plugin
- π #8060 Feature: Column Sort for Basic Table
- π #8066 Feature: Add button shows the component picker
- β #8087 Fix: Prevent code block line wrapping to keep line number
What's Changed
- v0.39.0 by @etrepum in #8021
- Chore: Add an ignore-previously-published arg to the publish action by @etrepum in #8023
- Chore: Update examples for v0.39.0 by @etrepum in #8024
- Agent documentation by @zurfyx in #8031
- README tweaks by @zurfyx in #8033
- npm -> pnpm by @zurfyx in #8035
- Nightlies publish param by @zurfyx in #8045
- Nightlies fix frozen lockfile by @zurfyx in #8048
- [lexical-playground]: Color table resize handle by @ivailop7 in #8043
- Use PNPM workspace feature for publish by @zurfyx in #8050
- Override workspace with actual version on npm/ bundle by @zurfyx in #8051
- [lexical-playground]: Draggable block handle gliding effect by @ivailop7 in #8042
- Allow publish to run on detached head by @zurfyx in #8054
- [lexical-list] Bug Fix: fix selection issue from list transform on linebreak by @dizsmek in #8049
- [docs] Documentation Update: Fix incorrect and broken links in README by @h8f1z in #8055
- [lexical-playground]: Draggable handle and dropdown CSS zoom fix by @ivailop7 in #8052
- [lexical-playground]: New Table Hover Actions Plugin by @ivailop7 in #8057
- [lexical-playground]: Column Sort for Basic Table by @ivailop7 in #8060
- [lexical-react] Bug Fix: Clear remote cursor immediately on collaborator refresh by @aldoprogrammer in #8062
- [lexical-playground] Add button shows the Component Picker by @ivailop7 in #8066
- [lexical][@lexical/react] Bug Fix: Fix cursor disappearing in Firefox when dragging blocks by @aldoprogrammer in #8065
- [lexical] Bug Fix: format removed on multi selection after replace by @kimseongyu in #8069
- [lexical-list] Bug Fix: Treat whitespace-only list items as empty when pressing Enter by @mike-atticus in #8068
- [lexical][@lexical/link] Bug Fix: Fix infinite transform loop in AutoLinkPlugin by @aldoprogrammer in #8070
- [lexical][@lexical/table] Fix Ctrl+A to select all cells in table with merged cells #8074 by @aldoprogrammer in #8076
- [lexical-react] Chore: Expose onReposition prop on SelectionAlwaysOnDisplay by @takuyakanbr in #8071
- [lexical-link] Bug Fix: Toggle links with nested children by @patrick-atticus in #8078
- [lexical-markdown] Bug Fix: Fix incorrect format tag placement at link boundaries by @kimseongyu in #8085
- [lexical][@lexical/table] Bug Fix: Fix inconsistent multi-cell selection in 2x2 tables by @aldoprogrammer in #8081
- [lexical-table] Chore: Fix test for nested table pasting by @randal-atticus in #8088
- Fix(Playground): Prevent code block line wrapping to keep line number⦠by @Sa-Te in #8087
- [lexical-markdown] Bug Fix: Replace regex-based format matching with β¦ by @kimseongyu in #8093
- [lexical] Bug Fix: Refactor RootNode.__cachedText computation for coherency by @etrepum in #8099
- [lexical][lexical-utils] Chore: Use workspace:* for monorepo versions and fix some cyclic dependencies by @etrepum in #8106
New Contributors
- @dizsmek made their first contribution in #8049
- @h8f1z made their first contribution in #8055
- @aldoprogrammer made their first contribution in #8062
- @kimseongyu made their first contribution in #8069
- @Sa-Te made their first contribution in #8087
Full Changelog: v0.39.0...v0.40.0