Changelog
Week 26
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.
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.
Documentation
- Updated the interactive tutorial for Liveblocks 2.0.
Website
- New blog post: Introducing Liveblocks collaboration kit for Figma.
- Updated contact page with two separate forms for sales and support.
Processes
- Versioning and publishing of public packages is now decoupled from versioning/publishing of our CLI tools.