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

fix: support slate 0.94.1 after changing prop name for value to initialValue #2415

Merged
merged 2 commits into from
May 30, 2023

Conversation

santialbo
Copy link
Collaborator

Description
Slate 0.94.1 changed value to initialValue. In order to support support the new version and still support previous versions I added this new property and still kept the old one.

@vercel
Copy link

vercel bot commented May 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plate ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2023 1:30pm
plate-examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2023 1:30pm

@changeset-bot
Copy link

changeset-bot bot commented May 30, 2023

🦋 Changeset detected

Latest commit: 45e1c2c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 72 packages
Name Type
@udecode/plate-core Patch
@udecode/plate-common Patch
@udecode/plate-utils Patch
@udecode/plate-button Patch
@udecode/plate-cloud Patch
@udecode/plate-comments Patch
@udecode/plate-find-replace Patch
@udecode/plate-dnd Patch
@udecode/plate-autoformat Patch
@udecode/plate-break Patch
@udecode/plate-combobox Patch
@udecode/plate-node-id Patch
@udecode/plate-normalizers Patch
@udecode/plate-reset-node Patch
@udecode/plate-select Patch
@udecode/plate-tabbable Patch
@udecode/plate-trailing-block Patch
@udecode/plate-floating Patch
@udecode/plate-headless Patch
@udecode/plate-media Patch
@udecode/plate-alignment Patch
@udecode/plate-basic-elements Patch
@udecode/plate-basic-marks Patch
@udecode/plate-block-quote Patch
@udecode/plate-code-block Patch
@udecode/plate-emoji Patch
@udecode/plate-font Patch
@udecode/plate-heading Patch
@udecode/plate-highlight Patch
@udecode/plate-horizontal-rule Patch
@udecode/plate-indent-list Patch
@udecode/plate-indent Patch
@udecode/plate-kbd Patch
@udecode/plate-line-height Patch
@udecode/plate-link Patch
@udecode/plate-list Patch
@udecode/plate-mention Patch
@udecode/plate-paragraph Patch
@udecode/plate-table Patch
@udecode/resizable Patch
@udecode/plate-selection Patch
@udecode/plate-serializer-csv Patch
@udecode/plate-serializer-docx Patch
@udecode/plate-serializer-html Patch
@udecode/plate-juice Patch
@udecode/plate-serializer-md Patch
@udecode/plate-suggestion Patch
@udecode/plate-ui-button Patch
@udecode/plate-ui-cloud Patch
@udecode/plate-ui-combobox Patch
@udecode/plate-ui-comments Patch
@udecode/plate-ui-cursor Patch
@udecode/plate-ui-dnd Patch
@udecode/plate-ui-find-replace Patch
@udecode/plate-ui-alignment Patch
@udecode/plate-ui-block-quote Patch
@udecode/plate-ui-code-block Patch
@udecode/plate-ui-emoji Patch
@udecode/plate-ui-excalidraw Patch
@udecode/plate-ui-font Patch
@udecode/plate-ui-horizontal-rule Patch
@udecode/plate-ui-line-height Patch
@udecode/plate-ui-link Patch
@udecode/plate-ui-list Patch
@udecode/plate-ui-media Patch
@udecode/plate-ui-mention Patch
@udecode/plate-ui-table Patch
@udecode/plate-ui-placeholder Patch
@udecode/plate-styled-components Patch
@udecode/plate-ui-toolbar Patch
@udecode/plate Patch
@udecode/plate-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@reviewpad
Copy link
Contributor

reviewpad bot commented May 30, 2023

AI-Generated Summary: This pull request includes a patch that fixes compatibility issues with Slate 0.94.1 by updating the prop name from 'value' to 'initialValue' in the 'useSlateProps' hook.

@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels May 30, 2023
@ghost
Copy link

ghost commented May 30, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@zbeyens zbeyens enabled auto-merge (squash) May 30, 2023 13:05
@vercel vercel bot temporarily deployed to Preview – plate-examples May 30, 2023 13:30 Inactive
@vercel vercel bot temporarily deployed to Preview – plate May 30, 2023 13:30 Inactive
@zbeyens zbeyens merged commit 14703dc into udecode:main May 30, 2023
@zbeyens zbeyens mentioned this pull request May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small Pull request is small waiting-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants