Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lexical to v0.13.1 #1079

Merged
merged 19 commits into from
Feb 6, 2024
Merged

Update lexical to v0.13.1 #1079

merged 19 commits into from
Feb 6, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@lexical/clipboard (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/code (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/headless (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/html (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/link (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/list (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/react (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/rich-text (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/selection (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/text (source) 0.12.2 -> 0.12.5 age adoption passing confidence
@lexical/utils (source) 0.12.2 -> 0.12.5 age adoption passing confidence
lexical (source) 0.12.2 -> 0.12.5 age adoption passing confidence

Release Notes

facebook/lexical (@​lexical/clipboard)

v0.12.5

Compare Source

  • Make subscript and superscript text formats mutually exclusive (#​5317) Gry Ogam
  • PR 2 5276 PointSelection instead of GridRangeSelections (#​5281) Illia Olenchenko
  • keep selection style when clicking empty editor (#​5292) kyoyoung keum
  • Fix insertNodes bugs (#​5325) GermanJablo
  • PR 1 Swap instance selection for BaseSelection in most cases (#​5280) Illia Olenchenko
  • selectEndstart as a method of LexicalNode instead of ElementNode (#​5205) GermanJablo
  • Make insertRangeAfter private (#​5323) Gerard Rovira
  • Improvements in insertNodes (#​5201) GermanJablo
  • Export CommandListener Flow (#​5315) Gerard Rovira
  • Add 2 missing flow exports (#​5314) Gerard Rovira
  • URL sanitization ClickableLinkPlugin (#​5302) Yeison Daza
  • fix backspace in Android not deleting first character (#​5282) Kiran Dash
  • docs improve DecoratorNode docs (#​5284) Miroslav Petrov
  • Fixing nested collapsible section chevron (#​5300) Ebad
  • Support HTML export overrides from config for nested editors. (#​5267) Acy Watson
  • Revert Fix Autolink plugin URL recognition failures (#​5275) (#​5295) Acy Watson
  • Fix Autolink plugin URL recognition failures (#​5275) Chinmay Disale
  • Move to new Excalidraw APIs for 0.17 update (#​5277) Ivaylo Pavlov
  • Fix Resolve Cannot read properties of undefined (reading trim) issue in getSelectionStyleValueForProperty (#​5271) Yeison Daza
  • Fix The number in a numbered list gets duplicated (#​5253) trinhvinhtruong96
  • Fix Apply background color to multiple selected cells (#​5258) Joo Hee Paige Kim
  • packagelock (#​5247) Gerard Rovira
  • v0.12.4 (#​5246) Gerard Rovira
  • v0.12.4 Lexical GitHub Actions Bot

v0.12.4

Compare Source

v0.12.3

Compare Source

  • Its a journey (#​5242) Acy Watson
  • Fixed column header on merged cells (#​5230) Illia Olenchenko
  • Remove codeowners to prevent unnecessary pings (#​5236) John Flockton
  • Fixed delete removing link node text when on linebreak (#​5146) Steve Larson
  • Fix row deletion if previous row is empty (#​5231) Illia Olenchenko
  • Remove unnecessary link from README.md (#​5232) John Flockton
  • chore(deps-dev) bump tough-cookie from 4.1.2 to 4.1.3 (#​5134) dependabotbot
  • chore(deps) bump sidewayformula from 3.0.0 to 3.0.1 (#​5132) dependabotbot
  • chore(deps-dev) bump semver from 5.7.1 to 5.7.2 (#​5131) dependabotbot
  • chore(deps) bump postcss from 8.4.27 to 8.4.31 (#​5130) dependabotbot
  • chore(deps) bump http-cache-semantics from 4.1.0 to 4.1.1 (#​5129) dependabotbot
  • chore(deps-dev) bump vite from 2.9.13 to 2.9.16 (#​5133) dependabotbot
  • Fixes grid selection to be aware of nested tables (#​5166) Illia Olenchenko
  • Bug Align list item do not change the export DOM (#​5160) trinhvinhtruong96
  • Fix iconRTL for center alignment (#​5227) Ivaylo Pavlov
  • refactor(playground) clean up settings (#​5225) Aron Griffis
  • fix Make autolinks working for formatted text (#​5214) Konstantin Kovalev
  • Fix touple typo to make it correctly tuple (#​5229) Julian French
  • Fix lexical-link typo srelrel (#​5221) Bob Ippolito
  • Fix alignment for links in Toolbar (#​5209) Tahir Shakir
  • Update Modal.tsx (#​5203) Bradley Dirheimer
  • fix Heading.insertNewAfter (#​5198) GermanJablo
  • Link title is correctly applied through the command (#​5191) Petyo Ivanov
  • Improved LexicalMenu positioning relative to text (#​5187) Steve Larson
  • fixed issue 5181 where link address is not shown if comment is set in (#​5188) Tong Xi
  • Fix at() transpilation (#​5180) Gerard Rovira
  • Fix insertNodes when anchor point is blank TextNode (#​5179) Gerard Rovira
  • Add playwright-report to gitignore (#​5173) GermanJablo
  • Fix insertNodes after selection swap (#​5175) Gerard Rovira
  • Range utils (#​5153) Gerard Rovira
  • Fix insertNodes and insertParagraph (#​5002) GermanJablo
  • Add Optional Chaining to isNodePre Method (#​5157) Nick J Moss
  • Table resize handle getting stuck fix (#​5169) Alex Reznik
  • Updated package-lock.json versions with npm audit fix. (#​5125) Matthew Hutter
  • Fix formatting selected table cells (#​5168) Tahir Shakir
  • Update index.tsx (#​5165) Bradley Dirheimer
  • Add commandPriority option to LexicalMenu and dependent components (#​5123) huw
  • chore(deps) bump babeltraverse from 7.18.6 to 7.23.2 (#​5155) dependabotbot
  • Updated insertTableColumn with batching (#​5145) Illia Olenchenko
  • Add Columns Layout to Typeahead menu (#​5136) Ivaylo Pavlov
  • TableResizer cell calculation based on cellspans (#​5141) Illia Olenchenko
  • Update anchor selection if split by patching style (#​5087) Ruslan Piliuta
  • chore(deps) bump excalidrawexcalidraw from 0.14.2 to 0.15.3 (#​5135) dependabotbot
  • Consolidate docs across the repo (#​5121) Ivaylo Pavlov
  • Fix right click select images (#​5056) Ben Carleton
  • fix fix android backspace bug (#​5077) Cristopher Solis
  • fix(lexical-rich-text) correct comment typo (#​5116) Xuan
  • docs fix typo in decorators.md (#​5113) Can Rau
  • Fix insertNodes insert position at start of inline ElementNode (#​5110) Gerard Rovira
  • Revert Fix transferStartingElementPointToTextPoint() #​4756 (#​5094) John Flockton
  • chore add typedefs for collab nodes and remove unused members (#​5071) VelociRaptor
  • Fix tab replacement composition crash (#​5066) Gerard Rovira
  • Fix getting style via getSelectionStyleValueForProperty when selection is collapsed (#​5082) Ruslan Piliuta
  • Set up GA4 for website (#​5078) Paul OShannessy
  • chore fix typo (#​5074) Alessio Gravili
  • Fix integrity (#​5068) Gerard Rovira
  • fix(playground-text-format-toolbar) dont hide toolbar if current node is a paragraph (#​4850) Mathieu Mtral
  • Fix ToolbarPlugin paste error with start, end format (#​5019) Hansu Kim
  • Fixfloating formatter #​5021 (#​5041) Shubham Jadhav
  • fix Add column shortcut gets hidden when mouse leave the table #​4857 (#​5058) Sathish
  • Allow LexicalTypeaheadMenuPlugin to work when inside an iframe (#​5044) Lester Tay
  • MaxLength handle empty ElementNode (#​5029) Gerard Rovira
  • Playground embed twitter support x.com (#​5060) su
  • Port List e2e test to unit tests (#​5030) Acy Watson
  • Playground refactor component picker plugin (#​4836) Georgii Dolzhykov
  • Transpile optional catch binding (#​5048) Gerard Rovira
  • Nit Floating toolbar (#​5038) Gerard Rovira
  • feat LexicalClickableLinkPlugin should support ctrl click mode #​4565 (#​4839) Sathish
  • fix(Playground) CMD K improvements (#​5013) Rajat
  • chore fix typo in lexical-utils docs (#​5022) Bruno Bonamin
  • Update setFloatingElemPositionForLinkEditor.ts (#​5028) Bradley Dirheimer
  • Update setFloatingElemPosition.ts (#​5027) Bradley Dirheimer
  • Fix pasting text that ends with an empty paragraph is ignored when the MaxLengthPlugin is enabled (#​5020) Hansu Kim
  • Fix event handler removal in useDynamicPositioning, remove dupe code (#​5024) Georgii Dolzhykov
  • fix LinkNode.importDOM should support all node content (#​5010) Rajat
  • Allow overriding HTML serialization behavior from the editor config. (#​4254) Acy Watson
  • Fix TextNode override in Serialization Deserialization doc (#​5006) Giacomo Randazzo
  • Fix getTableSelectionFromTableElement flow (#​5005) Gerard Rovira
  • Add highlight to format types (#​5001) Gerard Rovira
  • Add nodes replacement support for nested composer (#​4992) Maksim Horbachevsky
  • Remove capital letter mentions (#​4991) Acy Watson
  • Fix comment plugin selection rect top position (#​4988) vonsa
  • fix(lexicalhtml) missing lexicalutils dependency (#​4984) liuwei

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update lexical to v0.12.3 Update lexical to v0.12.4 Nov 18, 2023
@renovate renovate bot force-pushed the renovate/lexical branch 2 times, most recently from f821bf6 to f96606b Compare November 30, 2023 17:36
@9larsons 9larsons self-assigned this Dec 6, 2023
@renovate renovate bot changed the title Update lexical to v0.12.4 Update lexical Dec 6, 2023
@renovate renovate bot changed the title Update lexical Update lexical to v0.12.5 Dec 6, 2023
Copy link
Contributor Author

renovate bot commented Dec 7, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@9larsons
Copy link
Contributor

Pending facebook/lexical#5371, otherwise block actions from the FloatingFormatToolbar will not work when a decorator node is contained in the selection.

kevinansfield and others added 2 commits February 6, 2024 19:01
- added typings files for the non-TS `@tryghost/kg-default-nodes` and `@tryghost/kg-utils` modules so the TS code can properly type check everything as a temporary workaround until other packages are converted
- updated code to use correct types and avoid type mismatches via conditionals
@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (3a5254f) 90.57% compared to head (604b566) 90.52%.

Files Patch % Lines
...g-lexical-html-renderer/lib/LexicalHTMLRenderer.ts 20.00% 4 Missing ⚠️
...ges/kg-default-nodes/lib/nodes/ExtendedTextNode.js 50.00% 2 Missing ⚠️
...exical-html-renderer/lib/convert-to-html-string.ts 87.50% 2 Missing ⚠️
.../kg-lexical-html-renderer/lib/utils/TextContent.ts 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1079      +/-   ##
==========================================
- Coverage   90.57%   90.52%   -0.06%     
==========================================
  Files         176      176              
  Lines       16613    16615       +2     
  Branches     1773     1778       +5     
==========================================
- Hits        15048    15040       -8     
- Misses       1556     1566      +10     
  Partials        9        9              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@9larsons 9larsons changed the title Update lexical to v0.12.5 Update lexical to v0.13.1 Feb 6, 2024
@9larsons 9larsons merged commit 7ca1f7b into main Feb 6, 2024
2 checks passed
@9larsons 9larsons deleted the renovate/lexical branch February 6, 2024 21:28
9larsons pushed a commit that referenced this pull request Mar 6, 2024
no refs
- updated lexical to the latest release
- this brings various fixes and improvements that are not listed here; we were held up for a while by waiting for changes that we needed after the `insertNodes` changes in lexical 0.12.3
- changes to lexical types in 0.13.0 necessitate some type declarations and finagling that were not necessary before, and are pushing us to migrate all Koenig code over to typescript as a result
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants