Skip to content

Bump @liveblocks/node from 2.24.2 to 3.0.0 #586

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2025

Bumps @liveblocks/node from 2.24.2 to 3.0.0.

Release notes

Sourced from @​liveblocks/node's releases.

✨ 3.0 🎉

Liveblocks 3.0 is our third major release, focusing on our newest product, AI Copilots. We’ve used this as an opportunity to tidy up some of our existing APIs, ensuring consistency throughout our offering.

For full upgrade instructions and codemods, see the 3.0 upgrade guide.

All packages

  • TypeScript 5.0 is now the minimum supported version.
  • Remove deprecated APIs, see the deprecated section in the upgrade guide to learn more.

@liveblocks/react

  • Introduce hooks and APIs for AI Copilots: useAiChats, useAiChat, useDeleteAiChat,useSendAiMessage, RegisterAiTool, RegisterAiKnowledge, etc.
  • Rename UPDATE_USER_NOTIFICATION_SETTINGS_ERROR to UPDATE_NOTIFICATION_SETTINGS_ERROR when using useNotificationSettings or useUpdateNotificationSettings.

@liveblocks/react-ui

  • Introduce pre-built components for AI Copilots: AiChat, AiTool, etc.
  • The onMentionClick prop on Thread and Comment now receives a MentionData object instead of a userId string.
  • The Mention component on the Comment.Body and Composer.Editor primitives now receives a mention prop instead of a userId one.
  • The MentionSuggestions component on the Composer.Editor primitive now receives a mentions prop instead of a userIds one, and the selectedUserId prop has been renamed to selectedMentionId.
  • Rename LiveblocksUIConfig to LiveblocksUiConfig for consistency with other Liveblocks APIs.

@liveblocks/emails

  • Remove deprecated htmlBody/reactBody properties from prepareThreadNotificationEmailAsHtml/prepareThreadNotificationEmailAsReact, use body instead.
  • Remove htmlContent/reactContent properties from prepareTextMentionNotificationEmailAsHtml/prepareTextMentionNotificationEmailAsReact, use content instead.
  • The prepareTextMentionNotificationEmailAsReact and prepareTextMentionNotificationEmailAsHtml functions’ returned data changed slightly:
    • The id property is now named textMentionId, it refers to the mention’s Text Mention ID, not the user ID used for the mention
    • The id property now refers to the mention’s ID, as in the user ID used for the mention
  • The element prop received by the Mention component in prepareTextMentionNotificationEmailAsReact now contains an id property instead of userId, and a new kind property to indicate the mention’s kind.

@liveblocks/client and @liveblocks/node

  • The getMentionedIdsFromCommentBody utility has been replaced by getMentionsFromCommentBody.

2.24.3

@liveblocks/react and @liveblocks/react-ui

  • Fix an issue with subpath imports (e.g. @liveblocks/react/suspense) and CommonJS which could happen with certain bundlers.
Changelog

Sourced from @​liveblocks/node's changelog.

v3.0.0

Liveblocks 3.0 is our third major release, focusing on our newest product, AI Copilots. We’ve used this as an opportunity to tidy up some of our existing APIs, ensuring consistency throughout our offering.

For full upgrade instructions and codemods, see the 3.0 upgrade guide.

All packages

  • TypeScript 5.0 is now the minimum supported version.
  • Remove deprecated APIs, see the deprecated section in the upgrade guide to learn more.

@liveblocks/react

  • Introduce hooks and APIs for AI Copilots: useAiChats, useAiChat, useDeleteAiChat,useSendAiMessage, RegisterAiTool, RegisterAiKnowledge, etc.
  • Rename UPDATE_USER_NOTIFICATION_SETTINGS_ERROR to UPDATE_NOTIFICATION_SETTINGS_ERROR when using useNotificationSettings or useUpdateNotificationSettings.

@liveblocks/react-ui

  • Introduce pre-built components for AI Copilots: AiChat, AiTool, etc.
  • The onMentionClick prop on Thread and Comment now receives a MentionData object instead of a userId string.
  • The Mention component on the Comment.Body and Composer.Editor primitives now receives a mention prop instead of a userId one.
  • The MentionSuggestions component on the Composer.Editor primitive now receives a mentions prop instead of a userIds one, and the selectedUserId prop has been renamed to selectedMentionId.
  • Rename LiveblocksUIConfig to LiveblocksUiConfig for consistency with other Liveblocks APIs.

@liveblocks/emails

  • Remove deprecated htmlBody/reactBody properties from prepareThreadNotificationEmailAsHtml/prepareThreadNotificationEmailAsReact, use body instead.
  • Remove htmlContent/reactContent properties from prepareTextMentionNotificationEmailAsHtml/prepareTextMentionNotificationEmailAsReact, use content instead.
  • The prepareTextMentionNotificationEmailAsReact and prepareTextMentionNotificationEmailAsHtml functions’ returned data changed slightly:

... (truncated)

Commits
  • f4aac43 Bump to 3.0.0
  • 34c8dd8 3.0: Group mentions groundwork (#2440)
  • cf3b2b9 Merge branch 'main' into release-3.0
  • 489ca4c Fix unused import
  • fff2a40 Remove deprecated nextCursor on getRooms method
  • 1a2e045 Remove deprecated metadata option on getRooms method
  • 1a37a40 Bump to 2.24.3
  • ab37015 Remove deprecated RoomInfo type from @​liveblocks/node
  • dd50478 Merge branch 'main' into release-3.0
  • 3405162 Update tests
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@liveblocks/node](https://github.com/liveblocks/liveblocks/tree/HEAD/packages/liveblocks-node) from 2.24.2 to 3.0.0.
- [Release notes](https://github.com/liveblocks/liveblocks/releases)
- [Changelog](https://github.com/liveblocks/liveblocks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/liveblocks/liveblocks/commits/v3.0.0/packages/liveblocks-node)

---
updated-dependencies:
- dependency-name: "@liveblocks/node"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Update one or more dependencies version javascript Pull requests that update Javascript code major Increment the major version when merged labels Jul 1, 2025
Copy link

vercel bot commented Jul 1, 2025

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

Name Status Preview Comments Updated (UTC)
next-forge ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 7:32am
next-forge-api ❌ Failed (Inspect) Jul 1, 2025 7:32am
next-forge-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 7:32am
next-forge-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 7:32am

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version javascript Pull requests that update Javascript code major Increment the major version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants