From 2bc303c6061d50cc05764e8acb56f522df190cf6 Mon Sep 17 00:00:00 2001 From: Acy Watson Date: Mon, 8 Jan 2024 16:08:27 -0700 Subject: [PATCH] v0.12.6 (#5463) Co-authored-by: Lexical GitHub Actions Bot <> --- CHANGELOG.md | 41 ++++++++++++++++++++++++ package-lock.json | 4 +-- package.json | 2 +- packages/lexical-clipboard/package.json | 12 +++---- packages/lexical-code/package.json | 6 ++-- packages/lexical-dragon/package.json | 4 +-- packages/lexical-file/package.json | 4 +-- packages/lexical-hashtag/package.json | 6 ++-- packages/lexical-headless/package.json | 4 +-- packages/lexical-history/package.json | 6 ++-- packages/lexical-html/package.json | 8 ++--- packages/lexical-link/package.json | 6 ++-- packages/lexical-list/package.json | 6 ++-- packages/lexical-mark/package.json | 6 ++-- packages/lexical-markdown/package.json | 16 ++++----- packages/lexical-offset/package.json | 4 +-- packages/lexical-overflow/package.json | 4 +-- packages/lexical-plain-text/package.json | 10 +++--- packages/lexical-playground/package.json | 32 +++++++++--------- packages/lexical-react/package.json | 38 +++++++++++----------- packages/lexical-rich-text/package.json | 10 +++--- packages/lexical-selection/package.json | 4 +-- packages/lexical-table/package.json | 6 ++-- packages/lexical-text/package.json | 4 +-- packages/lexical-utils/package.json | 10 +++--- packages/lexical-yjs/package.json | 6 ++-- packages/lexical/package.json | 2 +- packages/shared/package.json | 4 +-- 28 files changed, 153 insertions(+), 112 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46e4e60b0..493b82aff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,44 @@ +## v0.12.6 (2024-01-08) + +- Fix floating link editor on inline image caption (#5460) wnhlee +- Revert Inserting hyperlink through toolbar doesnt open floating editor in edit mode (#5456) Acy Watson +- Fix TextNode#createDOM types allow editor parameter in subclasses (#5425) Georgii Dolzhykov +- docs fix outdated importDOM types in docs (#5431) Georgii Dolzhykov +- Bug Editing a link and changing selection shows wrong link value (#5352) Syed Umar Anis +- fix Reset compositionKey when backspacing a selection on Android where anchor and focus keys are different (#5389) Aman Harwara +- Bug Fix added a fix for discarding multiple color picker entries on drag (#5335) Bhavya Karia +- Remove duplicated test codes (#5429) wnhlee +- Inserting hyperlink through toolbar doesnt open floating editor in edit mode (#5372) Syed Umar Anis +- fix adding missing argument for sliceSelectedTextContent (#5380) Nadine Nguyen +- Fixed a small typo (#5427) frankdiw +- Fix insertNodes when inserting into inline elements (#5394) Brian Birtles +- Add link to state update blog (#5423) Acy Watson +- canInsertTextAfter exception for composition (#5378) Gerard Rovira +- Fix insert image to new inserted table row in playground report error (#5417) frankdiw +- Refactored findNearestListItemNode using findMatchingParent (#5419) Ajay Prakash PP +- docs correct custom node examples (#5407) Naseem Ali +- Fixed the error when CollapsibleTitleNode type enter key (#5416) frankdiw +- dropdown text visibility problem fixed for medium and smaller screens (#5382) Recep ifti +- Fix convertFromMarkdownString breakdown due to no parent (#5393) wnhlee +- Fix bug on window.event conflict (#5391) Henry Boisgibault +- Fix typo on test title (#5399) wnhlee +- fix typo Contaner - Container (#5410) Philippe de Reynal +- fix logical error in description of insertBefore parameter (#5400) spirobel +- Featureexcalidraw resize (#5383) Recep ifti +- Flow fix RangeSelection extends (#5377) Gerard Rovira +- Fixed for #5162, The beginning of a TextNode with canInsertTextBefore false in (#5363) matsuyama-k1 +- PR 4 remove GridSelection from lexical core (#5293) Illia Olenchenko +- PR 3 Removed edge-cases of GridSelection (#5291) Illia Olenchenko +- Clear link using key shortcut bug (#5354) Syed Umar Anis +- refactor(playground) kill ts-ignore (#5342) Aron Griffis +- Automatic release on merge (#5347) Acy Watson +- Improve TypeScript types by removing k string any from LexicalNode (#5223) Bob Ippolito +- Support other formats in Collapsible Title (#5328) Ivaylo Pavlov +- docs added exportJSON function to the ExtendedTextNode plugin code (#5338) +- v0.12.5 (#5343) Acy Watson +- Fix path alias typo (#5340) wnhlee +- v0.12.5 Lexical GitHub Actions Bot + ## v0.12.5 (2023-12-06) - Make subscript and superscript text formats mutually exclusive (#5317) Gry Ogam diff --git a/package-lock.json b/package-lock.json index 7bac9db21..c8db10362 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lexical/monorepo", - "version": "0.12.5", + "version": "0.12.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lexical/monorepo", - "version": "0.12.5", + "version": "0.12.6", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index fee314faa..5fc317cea 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/monorepo", "description": "Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.", - "version": "0.12.5", + "version": "0.12.6", "license": "MIT", "private": true, "workspaces": [ diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index baf88ba18..a070a417c 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -9,16 +9,16 @@ "paste" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalClipboard.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5", - "@lexical/list": "0.12.5", - "@lexical/selection": "0.12.5", - "@lexical/html": "0.12.5" + "@lexical/utils": "0.12.6", + "@lexical/list": "0.12.6", + "@lexical/selection": "0.12.6", + "@lexical/html": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index b2922cc5d..efe7679db 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -8,13 +8,13 @@ "code" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalCode.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5", + "@lexical/utils": "0.12.6", "prismjs": "^1.27.0" }, "repository": { diff --git a/packages/lexical-dragon/package.json b/packages/lexical-dragon/package.json index d013a4352..6d661f22f 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -9,10 +9,10 @@ "accessibility" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalDragon.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index b1b9c1a93..8ce3f099c 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -10,10 +10,10 @@ "export" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalFile.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index 2ab6e05f5..d049d8e40 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -8,13 +8,13 @@ "hashtag" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalHashtag.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5" + "@lexical/utils": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index 38ad0d249..d0fdbf912 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -8,10 +8,10 @@ "headless" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalHeadless.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index 4fc44c5ae..b334a51a8 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -8,13 +8,13 @@ "history" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalHistory.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5" + "@lexical/utils": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index 9b6daea44..1000e8bf3 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -8,10 +8,10 @@ "html" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalHtml.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", @@ -19,7 +19,7 @@ "directory": "packages/lexical-html" }, "dependencies": { - "@lexical/selection": "0.12.5", - "@lexical/utils": "0.12.5" + "@lexical/selection": "0.12.6", + "@lexical/utils": "0.12.6" } } diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index 526d036ee..51363ef7e 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -8,13 +8,13 @@ "link" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalLink.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5" + "@lexical/utils": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index a28025b68..7c15704a7 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -8,13 +8,13 @@ "list" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalList.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5" + "@lexical/utils": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index a985caf94..43b827236 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -8,13 +8,13 @@ "mark" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalMark.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5" + "@lexical/utils": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index 8ce9cf724..c798584e7 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -8,18 +8,18 @@ "markdown" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalMarkdown.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5", - "@lexical/code": "0.12.5", - "@lexical/text": "0.12.5", - "@lexical/rich-text": "0.12.5", - "@lexical/list": "0.12.5", - "@lexical/link": "0.12.5" + "@lexical/utils": "0.12.6", + "@lexical/code": "0.12.6", + "@lexical/text": "0.12.6", + "@lexical/rich-text": "0.12.6", + "@lexical/list": "0.12.6", + "@lexical/link": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 575d99ad9..c4ca289f9 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -8,10 +8,10 @@ "offset" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalOffset.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index f2ae858f0..e649c5107 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -8,10 +8,10 @@ "overflow" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalOverflow.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index 3b35ce8f8..5f268eda8 100644 --- a/packages/lexical-plain-text/package.json +++ b/packages/lexical-plain-text/package.json @@ -7,13 +7,13 @@ "plain-text" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalPlainText.js", "peerDependencies": { - "lexical": "0.12.5", - "@lexical/utils": "0.12.5", - "@lexical/selection": "0.12.5", - "@lexical/clipboard": "0.12.5" + "lexical": "0.12.6", + "@lexical/utils": "0.12.6", + "@lexical/selection": "0.12.6", + "@lexical/clipboard": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index 12bd02f58..9bc06c274 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -1,6 +1,6 @@ { "name": "lexical-playground", - "version": "0.12.5", + "version": "0.12.6", "private": true, "scripts": { "dev": "vite --host", @@ -11,22 +11,22 @@ }, "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.12.5", - "@lexical/code": "0.12.5", - "@lexical/file": "0.12.5", - "@lexical/hashtag": "0.12.5", - "@lexical/link": "0.12.5", - "@lexical/list": "0.12.5", - "@lexical/mark": "0.12.5", - "@lexical/overflow": "0.12.5", - "@lexical/plain-text": "0.12.5", - "@lexical/react": "0.12.5", - "@lexical/rich-text": "0.12.5", - "@lexical/selection": "0.12.5", - "@lexical/table": "0.12.5", - "@lexical/utils": "0.12.5", + "@lexical/clipboard": "0.12.6", + "@lexical/code": "0.12.6", + "@lexical/file": "0.12.6", + "@lexical/hashtag": "0.12.6", + "@lexical/link": "0.12.6", + "@lexical/list": "0.12.6", + "@lexical/mark": "0.12.6", + "@lexical/overflow": "0.12.6", + "@lexical/plain-text": "0.12.6", + "@lexical/react": "0.12.6", + "@lexical/rich-text": "0.12.6", + "@lexical/selection": "0.12.6", + "@lexical/table": "0.12.6", + "@lexical/utils": "0.12.6", "katex": "^0.15.2", - "lexical": "0.12.5", + "lexical": "0.12.6", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", diff --git a/packages/lexical-react/package.json b/packages/lexical-react/package.json index b349e9970..ededdbd92 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -8,29 +8,29 @@ "rich-text" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "dependencies": { - "@lexical/clipboard": "0.12.5", - "@lexical/code": "0.12.5", - "@lexical/dragon": "0.12.5", - "@lexical/hashtag": "0.12.5", - "@lexical/history": "0.12.5", - "@lexical/link": "0.12.5", - "@lexical/list": "0.12.5", - "@lexical/mark": "0.12.5", - "@lexical/markdown": "0.12.5", - "@lexical/overflow": "0.12.5", - "@lexical/plain-text": "0.12.5", - "@lexical/rich-text": "0.12.5", - "@lexical/selection": "0.12.5", - "@lexical/table": "0.12.5", - "@lexical/text": "0.12.5", - "@lexical/utils": "0.12.5", - "@lexical/yjs": "0.12.5", + "@lexical/clipboard": "0.12.6", + "@lexical/code": "0.12.6", + "@lexical/dragon": "0.12.6", + "@lexical/hashtag": "0.12.6", + "@lexical/history": "0.12.6", + "@lexical/link": "0.12.6", + "@lexical/list": "0.12.6", + "@lexical/mark": "0.12.6", + "@lexical/markdown": "0.12.6", + "@lexical/overflow": "0.12.6", + "@lexical/plain-text": "0.12.6", + "@lexical/rich-text": "0.12.6", + "@lexical/selection": "0.12.6", + "@lexical/table": "0.12.6", + "@lexical/text": "0.12.6", + "@lexical/utils": "0.12.6", + "@lexical/yjs": "0.12.6", "react-error-boundary": "^3.1.4" }, "peerDependencies": { - "lexical": "0.12.5", + "lexical": "0.12.6", "react": ">=17.x", "react-dom": ">=17.x" }, diff --git a/packages/lexical-rich-text/package.json b/packages/lexical-rich-text/package.json index da6d650cc..92114b962 100644 --- a/packages/lexical-rich-text/package.json +++ b/packages/lexical-rich-text/package.json @@ -7,13 +7,13 @@ "rich-text" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalRichText.js", "peerDependencies": { - "lexical": "0.12.5", - "@lexical/selection": "0.12.5", - "@lexical/clipboard": "0.12.5", - "@lexical/utils": "0.12.5" + "lexical": "0.12.6", + "@lexical/selection": "0.12.6", + "@lexical/clipboard": "0.12.6", + "@lexical/utils": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index eac1da86a..8d83098db 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -9,10 +9,10 @@ "selection" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalSelection.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index a97327485..7b33d766b 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -8,13 +8,13 @@ "table" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalTable.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/utils": "0.12.5" + "@lexical/utils": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index 8736d925d..bc989cc95 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -9,10 +9,10 @@ "text" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalText.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index ba9856ae3..343f24c88 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -8,15 +8,15 @@ "utils" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalUtils.js", "peerDependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "dependencies": { - "@lexical/list": "0.12.5", - "@lexical/table": "0.12.5", - "@lexical/selection": "0.12.5" + "@lexical/list": "0.12.6", + "@lexical/table": "0.12.6", + "@lexical/selection": "0.12.6" }, "repository": { "type": "git", diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index f46b17c63..4c05e4d19 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -11,13 +11,13 @@ "crdt" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "LexicalYjs.js", "dependencies": { - "@lexical/offset": "0.12.5" + "@lexical/offset": "0.12.6" }, "peerDependencies": { - "lexical": "0.12.5", + "lexical": "0.12.6", "yjs": ">=13.5.22" }, "repository": { diff --git a/packages/lexical/package.json b/packages/lexical/package.json index bcf281e4b..6213908c1 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -9,7 +9,7 @@ "rich-text" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "main": "Lexical.js", "repository": { "type": "git", diff --git a/packages/shared/package.json b/packages/shared/package.json index 672f72598..e4d4c4c96 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -8,9 +8,9 @@ "rich-text" ], "license": "MIT", - "version": "0.12.5", + "version": "0.12.6", "dependencies": { - "lexical": "0.12.5" + "lexical": "0.12.6" }, "repository": { "type": "git",