Skip to content

[Release] Version packages#4794

Merged
felixfeng33 merged 1 commit into
mainfrom
changeset-release/main
Dec 15, 2025
Merged

[Release] Version packages#4794
felixfeng33 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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 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.

    Migration:

    // Before
    MentionPlugin.configure({
      options: {
        getUserId: (editor) => "123",
      },
    });
    
    // After
    const editor = usePlateEditor({
      plugins: [MentionPlugin],
      userId: "123",
    });

@platejs/core@52.0.15

Patch Changes

  • #4792 by @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.

    Migration:

    // Before
    MentionPlugin.configure({
      options: {
        getUserId: (editor) => "123",
      },
    });
    
    // After
    const editor = usePlateEditor({
      plugins: [MentionPlugin],
      userId: "123",
    });

@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

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
plate Ready Ready Preview, Comment Dec 15, 2025 7:29am

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Dec 15, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 15, 2025
@felixfeng33 felixfeng33 merged commit 31603b0 into main Dec 15, 2025
1 of 2 checks passed
@felixfeng33 felixfeng33 deleted the changeset-release/main branch December 15, 2025 07:09
@dosubot dosubot Bot added the release label Dec 15, 2025
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +7 to +11
- [#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.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant