Socket
Book a DemoInstallSign in
Socket

@liveblocks/redux

Package Overview
Dependencies
Maintainers
5
Versions
461
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/redux - npm Package Versions

1345
46

3.1.0-alpha1

Diff
l
liveblocks-bot
published 3.1.0-alpha1 •
l
liveblocks-bot
published 3.0.0 •

Changelog

Source

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

  • 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.
l
liveblocks-bot
published 2.25.0-aiprivatebeta17 •
l
liveblocks-bot
published 2.25.0-aiprivatebeta16 •
l
liveblocks-bot
published 2.25.0-aiprivatebeta15 •
l
liveblocks-bot
published 2.25.0-aiprivatebeta14 •
l
liveblocks-bot
published 2.25.0-aiprivatebeta13 •
l
liveblocks-bot
published 2.25.0-aiprivatebeta12 •
l
liveblocks-bot
published 2.25.0-aiprivatebeta11 •
l
liveblocks-bot
published 2.25.0-aiprivatebeta10 •
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.