Changelog

Week 12

Week 12
WEEK12

v2.22.0

@liveblocks/node

  • Added pagination support to .getInboxNotifications(). See docs.
  • New method .getOrCreate() which combines .getRoom() and .createRoom(). See docs.
  • New method .upsertRoom() which combines .updateRoom() and .createRoom(). See docs.
  • New method .iterRooms() which is like .getRooms() except pagination happens automatically. See docs.
  • New method .iterInboxNotifications() which is like .getInboxNotifications() except pagination happens automatically. See docs.
  • New method .mutateStorage() which can be used to make changes to Storage from your backend. See docs.
  • New method .massMutateStorage() which can be used to make changes to Storage for multiple rooms simultaneously. See docs.
  • Updated method .deleteRoom() to no longer throw when the room already does not exist. See docs.

@liveblocks/react-ui

  • Add new icons to <Icon.* />.

@liveblocks/emails

  • Implement a new core logic for thread notification event.
  • Mark htmlBody from prepareThreadNotificationEmailAsHtml and reactBody from prepareThreadNotificationEmailAsReact as deprecated. Use body property instead.

v2.21.0

@liveblocks/react-blocknote

  • New package to support using BlockNote with Liveblock’s comments, mentions, and realtime collaboration out of the box.

@liveblocks/node

  • Fix markThreadAsResolved and markThreadAsUnresolved methods not passing user ID correctly to the corresponding backend endpoints.

@liveblocks/react-ui

  • Improve emoji picker’s performance, bundle size, and add a preview of the currently selected emoji.
    • This is the result of us moving the emoji picker to its own package and improving it in the process. You can also combine this package with the primitives to build your own reaction picker for example.
  • Improve and fix pasting HTML into the composer.

REST API

  • The Delete Room endpoint will no longer return a 404 when a room already did not exist before.

Examples

Documentation

Website

Contributors

Contributors include:jrownynimeshnayajumarcbouchenoirepierrelevaillantctnicholasnviesugardarius

7 authors

We use cookies to collect data to improve your experience on our site. Read our Privacy Policy to learn more.