Zum Inhalt springen

Liveblocks Release Notes

Einträge
35
Quellen
1
Zuletzt aktualisiert

Folge Liveblocks, um die Release Notes in deinen Feed zu holen.

Liveblocks

Liveblocks 3.19.0

Neuer Helper markdownToCommentBody in @liveblocks/node, room.history.disable(fn) ist nun offiziell unterstützt, und in @liveblocks/react-tiptap wurden Fehler beim Strikethrough-Shortcut und bei Yjs Undo/Redo behoben.

@liveblocks/node

  • Add new markdownToCommentBody helper to convert Markdown strings into CommentBody objects.

@liveblocks/client

  • room.history.disable(fn) is now officially supported and no longer experimental. It allows running storage mutations without them appearing on the undo/redo stacks and it’s intended for background/async writes (e.g. writing back AI generation results) that should not be undoable.

@liveblocks/react-tiptap

  • Fix keyboard shortcut in strikethrough tooltip. (Thanks @HellBoy-OP for the contribution!)
  • Fix Yjs undo/redo silently breaking after editor.registerPlugin / unregisterPlugin is called (e.g. when Tiptap's BubbleMenu, DragHandle, or SlashCommand mount). The reattach restore() is now installed unconditionally on view destroy, matching upstream @tiptap/extension-collaboration. (Thanks @lucasmotta for the contribution!)

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.18.5

In @liveblocks/react-tiptap werden überlappende Comment-Marks unterstützt und erscheinen nun alle in AnchoredThreads und FloatingThreads.

@liveblocks/react-tiptap

  • Support overlapping comment marks, they now all appear in the AnchoredThreads and FloatingThreads components.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.18.3

Drittanbieter-Bibliotheken wie yjs, @tiptap/* und @blocknote/* sind nun in allen betroffenen Paketen als Peer Dependencies deklariert statt gebündelt.

@liveblocks/*

  • Third-party libraries like yjs, @tiptap/*, and @blocknote/* are now declared as peer dependencies instead of bundled dependencies across all packages that use them.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.18.2

Neue experimentelle API room.history.disable(fn) erlaubt Storage-Mutationen ohne Eintrag in den Undo/Redo-Stacks, zudem behält der ToJson-Typ nun spezifische Werttypen bei Record<string, T>-Feldern.

@liveblocks/client

  • New experimental room.history.disable(fn) API that allows running storage mutations without them appearing on the undo/redo stacks. Intended for background/async writes (e.g. writing back AI generation results) that should not be undoable.
  • Fix ToJson type losing specific value types for Record<string, T> fields in Storage

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.18.1

In @liveblocks/react-ui erscheinen Mention-Vorschläge nach Eingabe von @ nun in mehr Fällen, etwa nach Satzzeichen und nach Emojis.

@liveblocks/react-ui

  • Mentions suggestions now appear in more cases after typing @:
    • After punctuation like !, ., (, etc. (e.g. Hello!@, cc: the other team (@)
    • After emojis (e.g. Hello 👋@)

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.18.0

useStorage liefert für LiveMap-Werte nun einfache Objekte statt Map-Instanzen (Breaking, Legacy-APIs entfernt), dazu kommen .toJSON(), LiveObject.from(), .reconcile(), mutateFlow() für React Flow im Backend sowie neue Avatar-Komponenten.

For full upgrade instructions, see the 3.18 upgrade guide.

@liveblocks/client

  • Breaking: useStorage now returns plain objects for LiveMap values instead of Map instances. Legacy APIs have been removed: .toImmutable(), .toObject(), .toArray().
  • New .toJSON() on all Live structures, returning a cached JSON-compatible snapshot. JSON.stringify(root) now just works.
  • New LiveObject.from(obj) to create a LiveObject from plain JSON, recursively converting nested objects/arrays to Live structures.
  • New .reconcile(obj) to efficiently reconcile a LiveObject tree to match a JSON snapshot, only mutating what changed.
  • initialStorage accepts LiveObject.from() result directly.

@liveblocks/react-flow/node

  • New mutateFlow() API for reading and mutating React Flow data from a Node.js backend. Install via npm i @liveblocks/react-flow, import from @liveblocks/react-flow/node. See the docs.

@liveblocks/react-ui

  • Add standalone Avatar component to complement AvatarStack for more fine-grained customization.
  • Add variant prop to AvatarStack to support outlined avatars.

@liveblocks/zustand and @liveblocks/redux

  • Fix: Initial storage seeding no longer creates an undo frame.
  • Fix: Presence updates are now batched with storage updates.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.17.0

Neues Paket @liveblocks/react-flow bringt mit useLiveblocksFlow und der Cursors-Komponente Zusammenarbeit in React-Flow-Diagramme, und die Cursors in @liveblocks/react-ui lassen sich per components={{ Cursor: MyCursor }} anpassen.

@liveblocks/react-flow

  • Introduce the package. Install with npm install @liveblocks/react-flow. Provides hooks and components that add collaboration to any React Flow diagram using Liveblocks Storage:
    • Use the useLiveblocksFlow hook to make React Flow synced and collaborative.
    • Use the Cursors component to show other users' cursors inside React Flow.

@liveblocks/react-ui

  • Allow customizing cursors in the Cursors component by passing a components={{ Cursor: MyCursor }} prop.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.16.0: Feeds und neues chat-sdk-adapter-Paket

Version 3.16.0 führt das Paket @liveblocks/chat-sdk-adapter als chat-sdk-kompatiblen Backend-Adapter auf Basis von Liveblocks Comments ein und ergänzt Feeds mit Hooks in @liveblocks/react, REST-Methoden in @liveblocks/node, Unterstützung im Python SDK sowie Feeds-APIs in @liveblocks/client.

@liveblocks/chat-sdk-adapter

  • Introduce the package. Install with npm install @liveblocks/chat-sdk-adapter. Provides a chat-sdk-compatible backend adapter backed by Liveblocks Comments: webhooks, posting and editing messages, reactions, paginated fetches, thread and channel helpers, and optional resolveUsers / resolveGroupsInfo hooks.

@liveblocks/react

  • Add Feeds hooks: useFeeds, useFeedMessages, useCreateFeed, useDeleteFeed, useUpdateFeedMetadata, useCreateFeedMessage, useDeleteFeedMessage, and useUpdateFeedMessage.

@liveblocks/node

  • Add REST client methods for Feeds: getFeeds, getFeed, createFeed, updateFeed, deleteFeed, getFeedMessages, createFeedMessage, updateFeedMessage, and deleteFeedMessage.

Python SDK

  • Add Feeds REST API support on the sync and async clients (get_feeds, get_feed, create_feed, update_feed, delete_feed, get_feed_messages, create_feed_message, update_feed_message, delete_feed_message) with matching request/response models.

@liveblocks/client

  • Add Feeds: room-scoped feeds with metadata and messages and APIs to list, create, update, and delete feeds and messages (fetchFeeds, fetchFeedMessages, addFeed, updateFeed, deleteFeed, addFeedMessage, updateFeedMessage, deleteFeedMessage).

@liveblocks/react-ui …

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.15.5: Clipboard- und Python-SDK-Korrekturen

Version 3.15.5 verbessert in @liveblocks/tiptap das Kopieren und Einfügen von Textknoten mit Kommentaren und behebt im Python SDK fälschlich als optional gesetzte Request Bodies bei Endpunkten wie update_room_id und initialize_storage_document.

@liveblocks/tiptap

  • Improve clipboard handling when text nodes containing comments were copied or pasted.

Python SDK

  • Fix request body for certain endpoints, like update_room_id, initialize_storage_document incorrectly set as optional.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.15.4: Attachment-Metadaten abrufen

Version 3.15.4 ergänzt in @liveblocks/node die Methode Liveblocks.getAttachment() und im Python SDK get_attachment(), um Metadaten eines Attachments und eine vorsignierte Download-URL abzurufen.

@liveblocks/node

  • Add Liveblocks.getAttachment() method to get an attachment's metadata and a presigned download URL.

Python SDK

  • Add get_attachment() method to get an attachment's metadata and a presigned download URL.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.15.3: Python-Paket und showSubscription für Thread

Version 3.15.3 führt das Python-Paket liveblocks mit synchronen und asynchronen Clients für die gesamte Liveblocks API ein und fügt der Thread-Komponente die Prop showSubscription hinzu.

Python SDK

  • Introduce the Python package. Install with pip install liveblocks. Provides sync and async clients for the full Liveblocks API (rooms, storage, threads, comments, etc.) for backend use.

@liveblocks/react-ui

  • Add showSubscription prop to Thread to control whether to show the thread’s subscription status.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.15.2: Option engine ist veraltet

Version 3.15.2 markiert die Option bzw. Prop engine bei enterRoom(), RoomProvider und createRoom() als veraltet, da sie keine Wirkung mehr hat, und @liveblocks/node sendet das Feld beim Erstellen von Räumen nicht mehr.

@liveblocks/client

  • Deprecate the engine option on enterRoom(). This flag no longer has any effect.

@liveblocks/react

  • Deprecate the engine prop on RoomProvider. This flag no longer has any effect.

@liveblocks/node

  • Deprecate the engine option on createRoom(). This flag no longer has any effect.
  • Stop sending the engine field in the room creation request body.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.15.1: Neue Props und Korrekturen in react-ui

Version 3.15.1 fügt AvatarStack die Prop gap und CommentPin die Prop padding sowie children-Unterstützung hinzu, behebt size-Props mit Zahlen und autoFocus bei FloatingComposer und verbessert Reihenfolge und max-Logik der Avatare.

@liveblocks/react-ui

  • Add gap prop to AvatarStack to control the --lb-avatar-stack-gap CSS variable.
  • Add padding prop to CommentPin to control the --lb-comment-pin-padding CSS variable.
  • Fix size props on AvatarStack and CommentPin not working as expected when passing numbers.
  • Fix autoFocus prop on FloatingComposer.
  • Improve avatars’ ordering and max logic in AvatarStack.
  • Support children prop on CommentPin.

Originalquelle(öffnet in neuem Tab)Problem melden

Liveblocks

Liveblocks 3.15.0: Mehr Anpassung für Thread und Comment

Version 3.15.0 bringt neue Anpassungsmöglichkeiten für Thread und Comment, isolierte Kontexte pro createRoomContext(), Unterstützung neuerer BlockNote-Versionen (ab v0.43.0) und stabilere Inline-Komponenten sowie die Umstellung auf das radix-ui-Paket.

@liveblocks/react-ui

  • Add various new ways to customize Thread and Comment:
    • Comments in Thread can now be overridden or customized via the components prop.
    • New parts of Comment (content, avatar, author, and date) can now be overridden or customized via the children, additionalContent, avatar, author, and date props.
  • Fix commentDropdownItems prop on Thread not working as expected in some cases.

@liveblocks/react

  • Each createRoomContext() invocation now creates its own isolated context to allow nesting independent room contexts and their RoomProvider components.

@liveblocks/react-blocknote

  • Support newer BlockNote versions and bump the minimum required version to v0.43.0. (Thanks @nperez0111 for the contribution!)

@liveblocks/react-ui, @liveblocks/react-tiptap, and @liveblocks/react-lexical

  • Improve how inline components passed to components={{ ... }} props are handled by keeping them stable instead of re-mounting them on every render.
  • Move @radix-ui/* dependencies to the radix-ui mono package.

Originalquelle(öffnet in neuem Tab)Problem melden