Update dependency @liveblocks/client to v3.18.3#33
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency @liveblocks/client to v3.18.3#33renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
3ad328d to
ca8dc17
Compare
ca8dc17 to
9ca38bb
Compare
9ca38bb to
a820949
Compare
a820949 to
7c30835
Compare
7c30835 to
477b781
Compare
477b781 to
c8ab610
Compare
c8ab610 to
fcf2874
Compare
fcf2874 to
de35e85
Compare
de35e85 to
5a72cd7
Compare
5a72cd7 to
007ca44
Compare
007ca44 to
8370391
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
3.13.0→3.18.3Release Notes
liveblocks/liveblocks (@liveblocks/client)
v3.18.3: 3.18.3Compare Source
@liveblocks/*yjs,@tiptap/*, and@blocknote/*are now declared as peer dependencies instead of bundled dependencies across all packages that use them.v3.18.2: 3.18.2Compare Source
@liveblocks/clientroom.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.ToJsontype losing specific value types forRecord<string, T>fields in Storagev3.18.1: 3.18.1Compare Source
@liveblocks/react-ui@:!,.,(, etc. (e.g.Hello!@​,cc: the other team (@​)Hello 👋@​)v3.18.0: 3.18.0Compare Source
For full upgrade instructions, see the 3.18 upgrade guide.
@liveblocks/clientuseStoragenow returns plain objects forLiveMapvalues instead ofMapinstances. Legacy APIs have been removed:.toImmutable(),.toObject(),.toArray()..toJSON()on all Live structures, returning a cached JSON-compatible snapshot.JSON.stringify(root)now just works.LiveObject.from(obj)to create a LiveObject from plain JSON, recursively converting nested objects/arrays to Live structures..reconcile(obj)to efficiently reconcile a LiveObject tree to match a JSON snapshot, only mutating what changed.initialStorageacceptsLiveObject.from()result directly.@liveblocks/react-flow/nodemutateFlow()API for reading and mutating React Flow data from a Node.js backend. Install vianpm i @​liveblocks/react-flow, import from@liveblocks/react-flow/node. See the docs.@liveblocks/react-uiAvatarcomponent to complementAvatarStackfor more fine-grained customization.variantprop toAvatarStackto support outlined avatars.@liveblocks/zustandand@liveblocks/reduxv3.17.0: 3.17.0Compare Source
@liveblocks/react-flownpm install @​liveblocks/react-flow.Provides hooks and components that add collaboration to any React Flow diagram
using Liveblocks Storage:
useLiveblocksFlowhook to make React Flow synced andcollaborative.
Cursorscomponent to show other users' cursors inside React Flow.@liveblocks/react-uiCursorscomponent by passing acomponents={{ Cursor: MyCursor }}prop.v3.16.0: 3.16.0Compare Source
@liveblocks/chat-sdk-adapternpm install @​liveblocks/chat-sdk-adapter. Provides achat-sdk-compatible backend adapterbacked by Liveblocks Comments: webhooks, posting and editing messages,
reactions, paginated fetches, thread and channel helpers, and optional
resolveUsers/resolveGroupsInfohooks.@liveblocks/reactuseFeeds,useFeedMessages,useCreateFeed,useDeleteFeed,useUpdateFeedMetadata,useCreateFeedMessage,useDeleteFeedMessage, anduseUpdateFeedMessage.@liveblocks/nodegetFeeds,getFeed,createFeed,updateFeed,deleteFeed,getFeedMessages,createFeedMessage,updateFeedMessage, anddeleteFeedMessage.Python SDK
get_feeds,get_feed,create_feed,update_feed,delete_feed,get_feed_messages,create_feed_message,update_feed_message,delete_feed_message) withmatching request/response models.
@liveblocks/clientcreate, update, and delete feeds and messages (
fetchFeeds,fetchFeedMessages,addFeed,updateFeed,deleteFeed,addFeedMessage,updateFeedMessage,deleteFeedMessage).@liveblocks/react-uibodyprop toCommentto allow overriding only the default rich-textcomment body while still keeping attachments, reactions, and
additionalContentas is, unlike when using thechildrenprop.AvatarStacknegative margin breaking alignment.v3.15.5: 3.15.5Compare Source
@liveblocks/tiptappasted.
Python SDK
update_room_id,initialize_storage_documentincorrectly set as optional.v3.15.4: 3.15.4Compare Source
@liveblocks/nodeLiveblocks.getAttachment()method to get an attachment's metadata and apresigned download URL.
Python SDK
get_attachment()method to get an attachment's metadata and a presigneddownload URL.
v3.15.3: 3.15.3Compare Source
Python SDK
pip install liveblocks. Providessync and async clients for the full Liveblocks API (rooms, storage, threads,
comments, etc.) for backend use.
@liveblocks/react-uishowSubscriptionprop toThreadto control whether to show thethread’s subscription status.
v3.15.2: 3.15.2Compare Source
@liveblocks/clientengineoption onenterRoom(). This flag no longer has any effect.@liveblocks/reactengineprop onRoomProvider. This flag no longer has any effect.@liveblocks/nodeengineoption oncreateRoom(). This flag no longer has any effect.enginefield in the room creation request body.v3.15.1: 3.15.1Compare Source
@liveblocks/react-uigapprop toAvatarStackto control the--lb-avatar-stack-gapCSSvariable.
paddingprop toCommentPinto control the--lb-comment-pin-paddingCSS variable.
sizeprops onAvatarStackandCommentPinnot working as expectedwhen passing numbers.
autoFocusprop onFloatingComposer.maxlogic inAvatarStack.childrenprop onCommentPin.v3.15.0: 3.15.0Compare Source
@liveblocks/react-uiThreadandComment:Threadcan now be overridden or customized via thecomponentsprop.Comment(content, avatar, author, and date) can now beoverridden or customized via the
children,additionalContent,avatar,author, anddateprops.commentDropdownItemsprop onThreadnot working as expected in somecases.
@liveblocks/reactcreateRoomContext()invocation now creates its own isolated context toallow nesting independent room contexts and their
RoomProvidercomponents.@liveblocks/react-blocknotev0.43.0. (Thanks @nperez0111 for the contribution!)
@liveblocks/react-ui,@liveblocks/react-tiptap, and@liveblocks/react-lexicalcomponents={{ ... }}props arehandled by keeping them stable instead of re-mounting them on every render.
@radix-ui/*dependencies to theradix-uimono package.v3.14.1: 3.14.1Compare Source
@liveblocks/reactuseThreads,useInboxNotifications, anduseAiChats)stopping pagination after the first
fetchMore()call when auto-paginating ina
useEffect.v3.14.0: 3.14 🥧Compare Source
This release adds support for opting-in to the new storage engine on a per-room basis. The new storage engine can support larger documents, is more performant, is considered more stable, and will eventually become our default engine for all new rooms in the future.
As of this release, the default storage engine still remains engine version 1.
To give it a try, simply pass
engine: 2when entering a new room. After a room is created, you cannot change the engine it was created with anymore.For example:
or:
@liveblocks/clientclient.enterRoom("my-new-room", { engine: 2 })createClient({ baseUrl: "https://..." })to allow connecting to the Liveblocks dev serverLiveListperformance when processing large batches of operationsLiveList.push()efficiency to prevent unbounded position string growth over timelargeMessageStrategyclient option. The WebSocket message limit has been increased from 1 MB to 32 MB, making this setting obsolete.@liveblocks/react<RoomProvider id="my-new-room" engine={2}>...</RoomProvider><LiveblocksProvider baseUrl="https://..." />to allow connecting to the Liveblocks dev serverpreventUnsavedChangesis enabled.@liveblocks/react-tiptapand@liveblocks/react-lexicalportalContaineroption from@liveblocks/react-ui’sLiveblocksUiConfiginstead of always usingdocument.body.@liveblocks/zustandand@liveblocks/reduxenterRoom("my-new-room", { engine: 2 })@liveblocks/node.setPresence()method to set ephemeral presence for a user in a room via the REST API, without requiring a WebSocket connectiontenantIdparameter in client methods, useorganizationIdinstead.v3.13.5: 3.13.5Compare Source
y-tiptapwithy-prosemirrorto prevent plugin key conflict, which was causing change source to be incorrectly set in Blocknote.v3.13.4: 3.13.4Compare Source
@liveblocks/react-tiptapFloatingComposerwouldn’t auto-focus andFloatingToolbarwould conflict with it.v3.13.3: 3.13.3Compare Source
@liveblocks/clientenableDebugLoggingto better debug connection issues.@liveblocks/react-uiComposerandAiComposerwould throw an error when mounted/unmounted.v3.13.2: 3.13.2Compare Source
@liveblocks/nodealwaysUseKnowledgeoption when creating or updating copilots. Whenthis option is enabled, the copilot retrieves and uses the uploaded knowledge
sources on each user query. When disabled, the copilot will retrieve the
uploaded knowledge sources only when the user query relates to the knowledge
prompt set on the copilot.
v3.13.1: 3.13.1Compare Source
@liveblocks/clientLiveListstate in UI.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.