[Release] Version packages#4794
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - [#4792](https://github.com/udecode/plate/pull/4792) by [@felixfeng33](https://github.com/felixfeng33) – Add `userId` option to editor for collaborative features | ||
|
|
||
| - Add `userId` option to `usePlateEditor`/`createSlateEditor` options | ||
| - Add `editor.meta.userId` for accessing the current user ID | ||
| - **Breaking**: Remove `getUserId` option from `TriggerComboboxPluginOptions`. Use `editor.meta.userId` instead. |
There was a problem hiding this comment.
Avoid breaking API in patch release
The 52.0.15 entry marks removal of TriggerComboboxPluginOptions.getUserId as a breaking change, yet the package is released as a patch. Consumers using ^52.0.0 will automatically pick up 52.0.15 and lose the option without warning, breaking existing implementations. This needs either a non-breaking fallback or a major/minor version bump so downstream apps can opt in to the breaking change.
Useful? React with 👍 / 👎.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@platejs/combobox@52.0.15
Patch Changes
#4792 by @felixfeng33 – Add
userIdoption to editor for collaborative featuresuserIdoption tousePlateEditor/createSlateEditoroptionseditor.meta.userIdfor accessing the current user IDgetUserIdoption fromTriggerComboboxPluginOptions. Useeditor.meta.userIdinstead.Migration:
@platejs/core@52.0.15
Patch Changes
#4792 by @felixfeng33 – Add
userIdoption to editor for collaborative featuresuserIdoption tousePlateEditor/createSlateEditoroptionseditor.meta.userIdfor accessing the current user IDgetUserIdoption fromTriggerComboboxPluginOptions. Useeditor.meta.userIdinstead.Migration:
@platejs/emoji@52.0.15
@platejs/mention@52.0.15
platejs@52.0.15
@platejs/slash-command@52.0.15
@platejs/utils@52.0.15