Changelog
Week 27
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
anduseMarkThreadAsUnresolved
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 ofcreateRoomContext()
and/orcreateLiveblocksContext()
. - Fix: avoid unnecessary re-renders if inbox notifications haven't changed.
@liveblocks/react-ui
- Use first-class citizen
resolved
property inThread
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
andmarkThreadAsUnresolved
methods. - Add
ThreadMarkedAsResolvedEvent
andThreadMarkedAsUnresolvedEvent
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 version0.16.1
.
Documentation
- Add
useStorageStatus
information. - Fix code snippet in Nested data types page of interactive tutorial.