v1.4.2 @liveblocks/client- Fix a bug where calculating the insertion position between two existing elements could happen incorrectly in a small edge case
v1.4.1 @liveblocks/*- #1177 Fix an issue with
internal LiveList serialization that could lead to a "ghosting" bug with
@liveblocks/zustand/@liveblocks/reduxwhen using tuples.
@liveblocks/node- Add comment reaction webhook events
CommentReactionAddedandCommentReactionRemoved
- #1177 Fix an issue with
internal LiveList serialization that could lead to a "ghosting" bug with
v1.4.0 DevTools
- New Yjs tab: visualize Yjs documents as a diagram, a tree, or as a list of operations, and inspect Awareness at the same time as Presence.
- New Events tab: inspect all custom Events a client receives in an event timeline, for easy testing/debugging.
@liveblocks/yjs- Add support for the Liveblocks DevTools.
@liveblocks/client- Broadcast event messages now include a
userproperty to indicate the user that sent the event:
@liveblocks/react- Broadcast event messages now include a
userproperty to indicate the user that sent the event: - Breaking (beta): Comments' hook
useThreadsnow returns an object in its Suspense version. (const threads = useThreads()becomesconst { threads } = useThreads())
@liveblocks/react-comments- Breaking (beta):
Comment’sindentBodyandThread’sindentCommentBodywere renamed toindentContentandindentCommentContentrespectively.Thread’sonResolveChangewas renamed toonResolvedChange. - Add emoji button in
Composer.
@liveblocks/node- Support using
@liveblocks/nodein Edge runtimes.
v1.3.6 @liveblocks/client- Support
unstable_fallbackToHTTPclient option when using any auth token type (previously it only worked when using single-room tokens, which we no longer recommend since 1.2)
- Support
v1.3.5 @liveblocks/react- Officially mark
useList(),useMap(), anduseObject()as deprecated in JSDoc comments (we stopped recommending them since the release of 0.18) - Deduplicate Comments requests and improve how race conditions are handled during mutations.
- Fix non-Suspense Comments hooks not working properly in some situations.
@liveblocks/react-comments- Breaking (beta): Replace the render prop API (e.g.
renderMention,renderLink, etc) by a singlecomponentsprop. (e.g.components={{ Mention, Link }}) - Fix overflowing
Composer.Suggestions. - Reduce the impact of icons on bundle size.
- Officially mark
v1.3.4 @liveblocks/react- Fix confusing
Error: "undefined" is not a valid event nameerror when using the (deprecated)useMap(),useObject(), oruseList()hooks on uninitialized storage values.
- Fix confusing
v1.3.3 @liveblocks/*- Fix unescaped room IDs when using Comments.
@liveblocks/react-comments- Add support for auto links. (e.g.
"www.liveblocks.io")
v1.3.2 @liveblocks/client- The client will disconnect with an error if your
/api/liveblocks-authbackend returns reused/cached tokens. It’s important that auth tokens are always freshly generated, and never get cached or reused. (The client itself will cache and reuse tokens already, so implementing additional caching in your backend isn’t needed, and could even cause reconnection issues.)
- The client will disconnect with an error if your
v1.3.1 @liveblocks/client- Actually include the new Clear History API.
@liveblocks/react- Fix missing dependency declaration.
v1.3.0 This release marks the initial release of Liveblocks Comments (private beta).
@liveblocks/client- New history API:
room.history.clear()allows you to explicitly clear the history, which resets the ability to undo beyond the current state. - Removed long deprecated methods:
others.count→ Useothers.lengthinsteadothers.toArray()→ Useothersinstead (it’s already an array)
- Deprecated the
Others<P, U>type → Usereadonly User<P, U>[]instead.
@liveblocks/react- Add support for Comments.
UserMeta["info"]can no longer be a scalar value.
@liveblocks/react-comments- Initial release.
@liveblocks/node- Add Comments helpers to Client.
- Add Comments webhook events.
- New history API: