Socket
Socket
Sign inDemoInstall

@liveblocks/core

Package Overview
Dependencies
0
Maintainers
0
Versions
239
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
24Next

2.2.0

Diff

Changelog

Source

v2.2.0

We are making resolved a first-class citizen property on threads, for more information about this change please read our Upgrade Guide for 2.2.

@liveblocks/react

  • Add useMarkThreadAsResolved and useMarkThreadAsUnresolved hooks.
  • Support query.resolved when filtering threads.
  • The useStorageStatus hook now also has a { smooth: true } setting to make building calm UIs with it a bit easier.
  • The useClient() hook is now also available for users of createRoomContext() and/or createLiveblocksContext()
  • Fix: avoid unnecessary re-renders if inbox notifications haven't changed

@liveblocks/react-ui

  • Use first-class citizen resolved property in Thread component.
  • Preserve rich text when pasting into the composer.
  • Add support for custom links to the composer. (either by pasting URLs with plain text selected or by pasting existing links)
  • Preserve whitespace and empty lines in comments.
  • Mark threads as read when visible (like before), but only if the window is focused.
  • Fix improper useTransition fallback which would break on React versions lower than 18.

@liveblocks/node

  • Add markThreadAsResolved and markThreadAsUnresolved methods.
  • Add ThreadMarkedAsResolvedEvent and ThreadMarkedAsUnresolvedEvent webhook events.
  • Support query.resolved when querying threads.

@liveblocks/react-lexical

  • Upgrade lexical peer dependency to version ^0.16.1 that fixes compatibility issues with Next.js versions 14.2.0 and above.

@liveblocks/node-lexical

  • Upgrade lexical peer dependency to version 0.16.1.
guillaumesalles
published 2.1.1-test2 •

guillaumesalles
published 2.1.1-test1 •

guillaumesalles
published 2.1.0 •

Changelog

Source

v2.1.0

@liveblocks/client

  • Various internal refactorings

@liveblocks/react

  • Add new hook useStorageStatus, which returns the current storage status of the room, and will re-render your component whenever it changes. This can used to build "Saving..." UIs.
  • Add useDeleteThread hook to delete a thread and its associated comments.
  • Fix: add missing JSDoc comments
  • Fix: improve some error messages and stack traces to contain more info
  • Refactorings to Suspense internals

@liveblocks/react-ui

  • Fix improper useSyncExternalStore import which would break on React versions lower than 18.
guillaumesalles
published 2.0.5 •

Changelog

Source

v2.0.5

@liveblocks/react

  • Improved DX: useDeleteThread will now throw a client-side error if someone else than the thread owner tries to delete the thread. This will help you catch and handle this case more easily.
guillaumesalles
published 2.0.4 •

Changelog

Source

v2.0.4

All packages

  • Improve TS error messages and error locations if custom UserMeta or ActivitiesData types do not match their requirements

@liveblocks/client

  • Add missing type export for CommentReaction
  • Don’t attempt to write missing initialStorage keys if the current user has no write access to storage. This will no longer throw, but issue a warning message in the console.

@liveblocks/react

guillaumesalles
published 2.0.4-test1 •

guillaumesalles
published 2.0.3 •

Changelog

Source

v2.0.3

@liveblocks/client

  • In client.enterRoom(), the options initialPresence and initialStorage are now only mandatory if your custom type requires them to be.

@liveblocks/react

  • In <RoomProvider>, the props initialPresence and initialStorage are now only mandatory if your custom type requires them to be.
  • Nesting <LiveblocksProvider>s will now throw to prevent incorrect usage.

@liveblocks/react-ui

  • Prevent the composer from splitting text being composed.
  • Handle parentheses around and within auto links.
  • Count whitespace as empty to prevent posting empty comments.
  • Prevent clearing the composer if it's not handled. (via onComposerSubmit)

@liveblocks/yjs

  • Add missing type exports
guillaumesalles
published 2.0.3-test2 •

guillaumesalles
published 2.0.3-test1 •

2345
24Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc