Major version dependency upgrades, pt. V#4124
Conversation
This reverts commit 745d9a0.
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
chandlerprall
left a comment
There was a problem hiding this comment.
One typo correction & needs a breaking changelog entry. Tested the markdown editor in the CI's docs build, would be really good to try this out in Kibana to get an expectation of how much effort this will (or won't) be to update to.
|
@chandlerprall I didn't expect this to be breaking. Is it something with the plugin API? |
That was based off the |
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
|
Checking on the upgrade path in Kibana. Looks like maybe some more |
Need to add Type updates are trickier: the return type of |
|
Upgrade path in Kibana is now known. Also confirmed that the plugins written in Kibana still work |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
* eslint; prettier * react-datepicker eslint * prettier autofix * more eslint * CL * Revert "CL" This reverts commit 745d9a0. * markdown deps * contents | result update * Update src/components/markdown_editor/markdown_format.tsx Co-authored-by: Chandler Prall <chandler.prall@gmail.com> * CL * update remark2rehype types * CL * Update CHANGELOG.md Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
Summary
Partial resolution of #3969:
EuiMarkdownEditordependenciesreact-dropzonerehype-remark-unifiedMost major version changes were due to the introduction of types (:tada:), but
unifieddid have an API change: the result of.process[Sync]()is now stored inresultif anobjectorcontentsif astring. See relevant markdown editor changes accounting for both.Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Checked in mobile- [ ] Checked in Chrome, Safari, Edge, and Firefox- [ ] Props have proper autodocs- [ ] Added documentation- [ ] Checked Code Sandbox works for the any docs examples- [ ] Added or updated jest tests- [ ] Checked for accessibility including keyboard-only and screenreader modes