We’ve renamed some of the concepts around notifications and notification settings to improve clarity.
Upgrade to 2.24 by downloading the latest version of each Liveblocks package you’re using. The easiest way to do this is to run the following command:
If you are using notification settings in any way—with @liveblocks/client
,
@liveblocks/react
, @liveblocks/node
, or
the REST API—continue reading to see
the changes. The naming changes are backwards compatible.
Otherwise, no changes will affect you.
Historically, we used the term “notification settings” to refer to
room-level settings that control the
inbox notifications
received by a user (e.g. setting "threads"
to "all"
would make the user
receive inbox notifications for any threads activity in the room, not just the
ones where they participate).
With 2.18, we introduced the concept of “user notification settings”, which
are project-level settings that control the notifications (
"notification"
webhook events,
not "inbox notifications") received by a user (e.g. setting
email.$myCustomNotification
to false
would disable "notification"
webhook
events for the $myCustomNotification
kind and the email
channel).
To improve clarity, we’re renaming these concepts:
All methods, hooks, types, and REST API endpoints that were using these terms have been renamed to use the new naming, see the examples below.
We provide a codemod to automatically update your codebase to the new naming.
@liveblocks/react
@liveblocks/client
@liveblocks/node
That’s it for 2.24!
We use cookies to collect data to improve your experience on our site. Read our Privacy Policy to learn more.