-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Upgrade slate-react from 0.82.2 to 0.117.1 #2001
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
base: canary
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade slate-react from 0.82.2 to 0.117.1. See this package in npm: slate-react See this project in Snyk: https://app.snyk.io/org/sammytezzy/project/c7aaa136-9db2-4904-b005-588141a3b273?utm_source=github&utm_medium=referral&page=upgrade-pr
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
|
|
Reviewer's GuideThis PR updates the slate-react dependency in the with-slate example from version 0.82.2 to 0.117.1 by modifying the package.json entry, aligning the project with the latest slate-react release and its performance and API changes. Class diagram for major API changes in slate-react (v0.82.2 → v0.117.1)classDiagram
class Editor {
+decorate(node)
+renderText
+useSlate()
+useSelected()
+useElement()
+useElementIf()
+useSlateWithV() deprecated
}
Editor : -useSlateWithV() deprecated
Editor : +useElement()
Editor : +useElementIf()
Editor : +decorate(node)
Editor : +renderText
Editor : +useSlate()
Editor : +useSelected()
note for Editor "decorate is now only recomputed when the node or decorate function changes. Decorations depending on parent nodes should be refactored."
note for Editor "useElement and useElementIf are new hooks."
note for Editor "useSlateWithV is deprecated."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Deployment failed with the following error: |
Snyk has created this PR to upgrade slate-react from 0.82.2 to 0.117.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 218 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: slate-react
-
0.117.1 - 2025-06-13
- #5902
-
0.117.1-20250613133523 - 2025-06-13
-
0.116.0 - 2025-06-10
- #5871
- Add
- BREAKING CHANGE: Decorations are no longer recomputed when a node's parent re-renders, only when the node itself re-renders or when the
- Ensure that
- If this change impacts you, consider changing your
- For example, if your
- This is unlikely to result in any performance detriment, since in previous versions of
- Increase minimum
- Deprecate the
- PERF: Use subscribable pattern for
-
0.116.0-20250606234741 - 2025-06-06
-
0.115.0 - 2025-06-02
-
0.115.0-20250602144830 - 2025-06-02
-
0.115.0-20250527214852 - 2025-05-27
-
0.115.0-20250524233915 - 2025-05-24
-
0.115.0-20250524210105 - 2025-05-24
-
0.115.0-20250524205931 - 2025-05-24
-
0.115.0-20250524205814 - 2025-05-24
-
0.115.0-20250524205756 - 2025-05-24
-
0.114.3-20250524205630 - 2025-05-24
-
0.114.3-20250514190702 - 2025-05-14
-
0.114.3-20250514142614 - 2025-05-14
-
0.114.3-20250514142412 - 2025-05-14
-
0.114.3-20250505153718 - 2025-05-05
-
0.114.2 - 2025-05-01
- #5855
-
0.114.2-20250430194640 - 2025-04-30
-
0.114.1-20250430154630 - 2025-04-30
-
0.114.1-20250430154625 - 2025-04-30
-
0.114.0 - 2025-04-29
-
0.114.0-20250429143602 - 2025-04-29
-
0.114.0-20250429143533 - 2025-04-29
-
0.113.0 - 2025-04-15
-
0.113.0-20250415154919 - 2025-04-15
-
0.113.0-20250415154759 - 2025-04-15
-
0.112.3-20250404051802 - 2025-04-04
-
0.112.3-20250322132633 - 2025-03-22
-
0.112.3-20250321211935 - 2025-03-21
-
0.112.1 - 2025-01-20
-
0.112.1-20250120151629 - 2025-01-20
-
0.112.0 - 2024-12-07
-
0.112.0-20241207072658 - 2024-12-07
-
0.111.1-20241126185440 - 2024-11-26
-
0.111.1-20241123000701 - 2024-11-23
-
0.111.1-20241123000612 - 2024-11-23
-
0.111.1-20241119182430 - 2024-11-19
-
0.111.1-20241119182216 - 2024-11-19
-
0.111.0 - 2024-11-01
-
0.111.0-20241101174915 - 2024-11-01
-
0.111.0-20241031142807 - 2024-10-31
-
0.110.3 - 2024-10-24
-
0.110.3-20241024061658 - 2024-10-24
-
0.110.2 - 2024-10-17
-
0.110.2-20241017051454 - 2024-10-17
-
0.110.2-20241016172010 - 2024-10-16
-
0.110.2-20241016145914 - 2024-10-16
-
0.110.2-20241015193419 - 2024-10-15
-
0.110.2-20241008140055 - 2024-10-08
-
0.110.2-20240926132306 - 2024-09-26
-
0.110.2-20240926072929 - 2024-09-26
-
0.110.1 - 2024-09-12
-
0.110.1-20240912214053 - 2024-09-12
-
0.110.1-20240912175838 - 2024-09-12
-
0.110.0 - 2024-09-03
-
0.110.0-20240903025652 - 2024-09-03
-
0.110.0-20240828192336 - 2024-08-28
-
0.109.0 - 2024-08-23
-
0.109.0-20240823054705 - 2024-08-23
-
0.109.0-20240820232400 - 2024-08-20
-
0.109.0-20240820230752 - 2024-08-20
-
0.108.0 - 2024-08-12
-
0.108.0-20240808152628 - 2024-08-08
-
0.108.0-20240807193430 - 2024-08-07
-
0.107.1 - 2024-07-16
-
0.107.1-20240715193107 - 2024-07-15
-
0.107.1-20240715193046 - 2024-07-15
-
0.107.0 - 2024-07-08
-
0.107.0-20240708141812 - 2024-07-08
-
0.106.0 - 2024-06-25
-
0.106.0-20240624215640 - 2024-06-24
-
0.106.0-20240623211848 - 2024-06-23
-
0.106.0-20240620232544 - 2024-06-20
-
0.105.0 - 2024-06-04
-
0.105.0-20240604032727 - 2024-06-04
-
0.104.0 - 2024-05-15
-
0.104.0-20240515152416 - 2024-05-15
-
0.102.0 - 2024-02-07
-
0.102.0-20240207120613 - 2024-02-07
-
0.101.7-20240207115541 - 2024-02-07
-
0.101.6 - 2024-01-24
-
0.101.6-20240124141029 - 2024-01-24
-
0.101.5 - 2023-12-22
-
0.101.5-20231221225107 - 2023-12-21
-
0.101.3 - 2023-12-06
-
0.101.3-20231206160421 - 2023-12-06
-
0.101.2 - 2023-12-04
-
0.101.2-20231204192219 - 2023-12-04
-
0.101.2-20231130161735 - 2023-11-30
-
0.101.1 - 2023-11-22
-
0.101.1-20231122132914 - 2023-11-22
-
0.101.1-20231122132823 - 2023-11-22
-
0.101.0 - 2023-11-10
-
0.101.0-20231110163336 - 2023-11-10
-
0.101.0-20231110162556 - 2023-11-10
-
0.100.2-20231109130745 - 2023-11-09
-
0.100.1 - 2023-10-31
-
0.100.1-20231031181700 - 2023-10-31
-
0.100.1-20231031175947 - 2023-10-31
-
0.100.0 - 2023-10-20
-
0.100.0-20231020154238 - 2023-10-20
-
0.100.0-2023920121024 - 2023-10-20
-
0.99.0 - 2023-09-25
-
0.99.0-2023821224757 - 2023-09-21
-
0.99.0-20238251534 - 2023-09-25
-
0.98.4 - 2023-09-18
-
0.98.4-2023818174056 - 2023-09-18
-
0.98.3 - 2023-08-29
-
0.98.3-2023729115754 - 2023-08-29
-
0.98.2 - 2023-08-26
-
0.98.2-2023726113224 - 2023-08-26
-
0.98.1 - 2023-08-01
-
0.98.1-2023631115050 - 2023-07-31
-
0.98.0 - 2023-07-26
-
0.98.0-2023626141745 - 2023-07-26
-
0.97.2 - 2023-07-12
-
0.97.2-2023528153756 - 2023-06-28
-
0.97.2-202353071056 - 2023-06-30
-
0.97.2-20235307134 - 2023-06-30
-
0.97.1 - 2023-06-21
-
0.97.1-2023521181748 - 2023-06-21
-
0.97.0 - 2023-06-17
-
0.97.0-202351616434 - 2023-06-16
-
0.97.0-202351612843 - 2023-06-16
-
0.97.0-202351612759 - 2023-06-16
-
0.96.0 - 2023-06-13
-
0.96.0-2023512222722 - 2023-06-12
-
0.96.0-2023512221624 - 2023-06-12
-
0.96.0-2023512221355 - 2023-06-12
-
0.96.0-2023431122027 - 2023-05-31
-
0.96.0-20235132617 - 2023-06-13
-
0.95.0 - 2023-05-30
-
0.95.0-2023426145958 - 2023-05-26
-
0.95.0-202342615046 - 2023-05-26
-
0.94.2 - 2023-05-14
-
0.94.2-202341463553 - 2023-05-14
-
0.94.0 - 2023-04-20
-
0.94.0-202332012421 - 2023-04-20
-
0.93.0 - 2023-04-03
-
0.93.0-202333232243 - 2023-04-03
-
0.93.0-202333182430 - 2023-04-03
-
0.93.0-20233318843 - 2023-04-03
-
0.92.1-2023220163057 - 2023-03-20
-
0.92.1-20233318922 - 2023-04-03
-
0.92.1-20233318715 - 2023-04-03
-
0.92.0 - 2023-03-17
-
0.92.0-202321717544 - 2023-03-17
-
0.91.12-2023217153619 - 2023-03-17
-
0.91.11 - 2023-03-16
-
0.91.11-202321613828 - 2023-03-16
-
0.91.11-202321613648 - 2023-03-16
-
0.91.10 - 2023-03-08
-
0.91.10-202327172249 - 2023-03-07
-
0.91.10-20232824111 - 2023-03-08
-
0.91.9 - 2023-03-06
-
0.91.9-202326164423 - 2023-03-06
-
0.91.8 - 2023-03-02
-
0.91.8-202322171954 - 2023-03-02
-
0.91.8-202322171743 - 2023-03-02
-
0.91.7 - 2023-02-28
-
0.91.7-202312803452 - 2023-02-28
-
0.91.6 - 2023-02-27
-
0.91.6-202312703347 - 2023-02-27
-
0.91.5 - 2023-02-24
-
0.91.5-2023124214650 - 2023-02-24
-
0.91.5-2023124214647 - 2023-02-24
-
0.91.4 - 2023-02-23
-
0.91.4-2023123231637 - 2023-02-23
-
0.91.4-2023123202948 - 2023-02-23
-
0.91.3 - 2023-02-22
-
0.91.3-2023122205352 - 2023-02-22
-
0.91.2 - 2023-02-20
-
0.91.2-2023120155438 - 2023-02-20
-
0.91.2-2023120155411 - 2023-02-20
-
0.91.1 - 2023-02-19
-
0.91.1-20231191486 - 2023-02-19
-
0.91.0 - 2023-02-14
-
0.91.0-202319185818 - 2023-02-09
-
0.91.0-20231919025 - 2023-02-09
-
0.91.0-20231918571 - 2023-02-09
-
0.90.0 - 2023-02-01
-
0.90.0-20231122332 - 2023-02-01
-
0.89.0 - 2023-01-31
-
0.89.0-20230315644 - 2023-01-31
-
0.88.2 - 2023-01-15
-
0.88.2-202301435052 - 2023-01-14
-
0.88.2-202301434534 - 2023-01-14
-
0.88.2-202301413638 - 2023-01-14
-
0.88.0 - 2022-12-20
-
0.88.0-20221119175828 - 2022-12-19
-
0.88.0-2022112255840 - 2022-12-22
-
0.88.0-2022112255151 - 2022-12-22
-
0.88.0-2022111918210 - 2022-12-19
-
0.87.1 - 2022-12-14
-
0.87.1-20221114164519 - 2022-12-14
-
0.87.0 - 2022-12-04
-
0.87.0-202211443629 - 2022-12-04
-
0.86.0 - 2022-11-17
-
0.86.0-20221017172623 - 2022-11-17
-
0.86.0-20221017172617 - 2022-11-17
-
0.86.0-20221017162817 - 2022-11-17
-
0.86.0-20221017162811 - 2022-11-17
-
0.86.0-20221017162519 - 2022-11-17
-
0.86.0-20221017162431 - 2022-11-17
-
0.86.0-2022101717274 - 2022-11-17
-
0.83.2 - 2022-10-16
-
0.83.2-2022919124538 - 2022-10-19
-
0.83.2-2022108124637 - 2022-11-08
-
0.83.2-2022108124515 - 2022-11-08
-
0.83.2-202291216344 - 2022-10-12
-
0.83.2-202210812469 - 2022-11-08
-
0.83.1 - 2022-10-03
-
0.83.1-202293152516 - 2022-10-03
-
0.83.1-20229315647 - 2022-10-03
-
0.83.0 - 2022-09-20
-
0.83.0-2022820213042 - 2022-09-20
-
0.82.3-2022819121833 - 2022-09-19
-
0.82.2 - 2022-09-10
from slate-react GitHub release notesPatch Changes
47da9bf4Thanks @ zbeyens! - Fixes #5900Minor Changes
fb87646eThanks @ 12joan! - - Implement experimental chunking optimization (disabled by default, see https://docs.slatejs.org/walkthroughs/09-performance).useElementanduseElementIfhooks to get the current element.decoratefunction is changed.decorateis a pure function of the node passed into it. Depending on the node's parent may result in decorations not being recomputed when you expect them to be.decoratefunction to work on the node's parent instead.decoratefunction decorates acode-linebased on the parentcode-block's language, decorate thecode-blockinstead.slate-react, the decorations of all siblings were recomputed when one sibling was modified.slate-domversion to0.116.0.useSlateWithVhookuseSlate,useSelectedand decorations to reduce re-renders.Patch Changes
ec367fb0Thanks @ zbeyens! - FixrenderTextprop not appliedImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Chores: