ChangelogWeek 27
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
useMarkThreadAsResolvedanduseMarkThreadAsUnresolvedhooks. - Support
query.resolvedwhen filtering threads. - The
useStorageStatushook 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
resolvedproperty inThreadcomponent. - 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
useTransitionfallback which would break on React versions lower than 18.
@liveblocks/node
- Add
markThreadAsResolvedandmarkThreadAsUnresolvedmethods. - Add
ThreadMarkedAsResolvedEventandThreadMarkedAsUnresolvedEventwebhook events. - Support
query.resolvedwhen querying threads.
@liveblocks/react-lexical
- Upgrade
lexicalpeer dependency to version^0.16.1that fixes compatibility issues with Next.js versions 14.2.0 and above.
@liveblocks/node-lexical
- Upgrade
lexicalpeer dependency to version0.16.1.
Documentation
- Add
useStorageStatusinformation. - Fix code snippet in Nested data types page of interactive tutorial.