Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@liveblocks/yjs

Package Overview
Dependencies
Maintainers
0
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/yjs - npm Package Versions

23
22

2.12.1-emails1

Diff

guillaumesalles
published 2.12.1-test1 •

guillaumesalles
published 2.12.0 •

Changelog

Source

2.12.0

This release adds support for tracking synchronization status of pending local changes for any part of Liveblocks. Whether you use Storage, Text Editors, Threads, or Notifications.

If the client’s sync status is synchronized, it means all local pending changes have been persisted by our servers. If there are pending local changes in any part of Liveblocks you’re using, then the client’s sync status will be synchronizing.

Also, we’re introducing a way to prevent browser tabs from being closed while local changes are not yet synchronized. To opt-in to this protection, enable preventUnsavedChanges option on the client:

  • In React: <LiveblocksProvider preventUnsavedChanges />
  • Otherwise: createClient({ preventUnsavedChanges: true })

@liveblocks/client

  • Add new API client.getSyncStatus() method.
  • Add new client config option: preventUnsavedChanges.
  • Expose ToImmutable<T> helper type.

@liveblocks/react

  • Add new hook useSyncStatus that can be used to tell whether Liveblocks is synchronizing local changes to the server. Useful to display a "Saving..." spinner in your application, when used with useSyncStatus({ smooth: true }).
  • Deprecated APIs:
    • useStorageStatus is now deprecated in favor of useSyncStatus.

@liveblocks/react-ui

  • Take composers into account when the new preventUnsavedChanges option is set.

@liveblocks/react-lexical

  • Add new hook useIsEditorReady which can be used to show a skeleton UI before the editor has received the initial text from the server.
  • Deprecated APIs:
    • useEditorStatus is now deprecated in favor of useIsEditorReady (or useSyncStatus).
guillaumesalles
published 2.12.0-rc1 •

guillaumesalles
published 2.11.1 •

Changelog

Source

2.11.1

@liveblocks/react-lexical

  • Fix an issue with AnchoredThreads component not working correctly on certain React versions.

@liveblocks/react-tiptap

  • Fix an issue with AnchoredThreads component not working correctly on certain React versions.
  • Fix an issue where React components don’t update when shouldRerenderOnTransaction: false is set.

@liveblocks/yjs

  • Adds experimental offline support for LiveblocksYjsProvider.
guillaumesalles
published 2.11.0 •

Changelog

Source

2.11.0

@liveblocks/react-ui

  • Upgrade dependencies.
  • Fix minor appearance issues related to attachments.
  • Fix pasting issues introduced in 2.10.0.

@liveblocks/react

  • Fix regression with useThreads that caused the hook to return an error if its associated room did not exist.

@liveblocks/react-tiptap

  • Initial release.

@liveblocks/emails

  • Initial release.
guillaumesalles
published 2.10.2-tiptap1 •

guillaumesalles
published 2.10.3-emails1 •

guillaumesalles
published 2.10.2 •

Changelog

Source

2.10.2

@liveblocks/client

  • Internal refactorings and code cleanup across various parts of the client's inner workings.

@liveblocks/react

  • Implement automatic retry for initial load of inbox notifications, user threads, room threads, room versions, or room notification settings—except when encountering a 4xx error.
  • Background tabs will no longer poll threads, notification, room versions or room notification settings.
  • Fix incorrect suspense export for useRoomNotificationSettings hook.
  • Support for React 19 and Next.js 15.

@liveblocks/react-ui

  • Support for React 19 and Next.js 15.

@liveblocks/react-lexical

  • Support for React 19 and Next.js 15.
guillaumesalles
published 2.10.1-react19rc •

23
22
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc