From 7368ab1f205b7aa859363edfa3106ec0684440bf Mon Sep 17 00:00:00 2001 From: Marc Bouchenoire Date: Wed, 27 Aug 2025 16:08:32 +0200 Subject: [PATCH 1/2] Fix partial Markdown not enabled in text parts (#2622) --- CHANGELOG.md | 7 +++++++ .../src/components/internal/AiChatAssistantMessage.tsx | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2830eb858a..628abf384bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ ## vNEXT (not yet published) +## v3.4.2 + +### `@liveblocks/react-ui` + +- Fix improved Markdown streaming in `AiChat` only being enabled in reasoning + blocks, it’s now enabled for all Markdown. + ## v3.4.1 ### `@liveblocks/core` diff --git a/packages/liveblocks-react-ui/src/components/internal/AiChatAssistantMessage.tsx b/packages/liveblocks-react-ui/src/components/internal/AiChatAssistantMessage.tsx index dbc6d5c7c44..06a8b7441a6 100644 --- a/packages/liveblocks-react-ui/src/components/internal/AiChatAssistantMessage.tsx +++ b/packages/liveblocks-react-ui/src/components/internal/AiChatAssistantMessage.tsx @@ -173,12 +173,13 @@ function AssistantMessageContent({ /* ------------------------------------------------------------------------------------------------- * TextPart * -----------------------------------------------------------------------------------------------*/ -function TextPart({ part, components }: TextPartProps) { +function TextPart({ part, components, isStreaming }: TextPartProps) { return ( ); } From ef7ec428a91b441d61c5a684ccaaf84ff974286b Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Wed, 27 Aug 2025 14:15:17 +0000 Subject: [PATCH 2/2] Bump to 3.4.2 --- package-lock.json | 98 +++++++++---------- packages/liveblocks-client/package.json | 4 +- packages/liveblocks-core/package.json | 2 +- packages/liveblocks-emails/package.json | 6 +- packages/liveblocks-node-lexical/package.json | 6 +- .../liveblocks-node-prosemirror/package.json | 6 +- packages/liveblocks-node/package.json | 4 +- .../liveblocks-react-blocknote/package.json | 14 +-- .../liveblocks-react-lexical/package.json | 12 +-- packages/liveblocks-react-tiptap/package.json | 12 +-- packages/liveblocks-react-ui/package.json | 8 +- packages/liveblocks-react/package.json | 6 +- packages/liveblocks-redux/package.json | 6 +- packages/liveblocks-yjs/package.json | 6 +- packages/liveblocks-zustand/package.json | 6 +- 15 files changed, 98 insertions(+), 98 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87028274b6f..d59dbf75e10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37111,10 +37111,10 @@ }, "packages/liveblocks-client": { "name": "@liveblocks/client", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.4.1" + "@liveblocks/core": "3.4.2" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -37123,7 +37123,7 @@ }, "packages/liveblocks-core": { "name": "@liveblocks/core", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "devDependencies": { "@liveblocks/eslint-config": "*", @@ -37141,11 +37141,11 @@ }, "packages/liveblocks-emails": { "name": "@liveblocks/emails", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.4.1", - "@liveblocks/node": "3.4.1" + "@liveblocks/core": "3.4.2", + "@liveblocks/node": "3.4.2" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -37164,10 +37164,10 @@ }, "packages/liveblocks-node": { "name": "@liveblocks/node", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.4.1", + "@liveblocks/core": "3.4.2", "@stablelib/base64": "^1.0.1", "fast-sha256": "^1.3.0", "node-fetch": "^2.6.1" @@ -37182,11 +37182,11 @@ }, "packages/liveblocks-node-lexical": { "name": "@liveblocks/node-lexical", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.4.1", - "@liveblocks/node": "3.4.1", + "@liveblocks/core": "3.4.2", + "@liveblocks/node": "3.4.2", "yjs": "^13.6.18" }, "devDependencies": { @@ -37203,11 +37203,11 @@ }, "packages/liveblocks-node-prosemirror": { "name": "@liveblocks/node-prosemirror", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.4.1", - "@liveblocks/node": "3.4.1", + "@liveblocks/core": "3.4.2", + "@liveblocks/node": "3.4.2", "yjs": "^13.6.20" }, "devDependencies": { @@ -37227,11 +37227,11 @@ }, "packages/liveblocks-react": { "name": "@liveblocks/react", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1" + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -37261,15 +37261,15 @@ }, "packages/liveblocks-react-blocknote": { "name": "@liveblocks/react-blocknote", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", - "@liveblocks/react-tiptap": "3.4.1", - "@liveblocks/react-ui": "3.4.1", - "@liveblocks/yjs": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", + "@liveblocks/react-tiptap": "3.4.2", + "@liveblocks/react-ui": "3.4.2", + "@liveblocks/yjs": "3.4.2", "@tiptap/core": "^2.7.2", "vitest-tsconfig-paths": "^3.4.1" }, @@ -37306,15 +37306,15 @@ }, "packages/liveblocks-react-lexical": { "name": "@liveblocks/react-lexical", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.1.1", - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", - "@liveblocks/react-ui": "3.4.1", - "@liveblocks/yjs": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", + "@liveblocks/react-ui": "3.4.2", + "@liveblocks/yjs": "3.4.2", "@radix-ui/react-select": "^2.1.2", "@radix-ui/react-toggle": "^1.1.0", "yjs": "^13.6.18" @@ -37843,15 +37843,15 @@ }, "packages/liveblocks-react-tiptap": { "name": "@liveblocks/react-tiptap", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", - "@liveblocks/react-ui": "3.4.1", - "@liveblocks/yjs": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", + "@liveblocks/react-ui": "3.4.2", + "@liveblocks/yjs": "3.4.2", "@radix-ui/react-select": "^2.1.2", "@radix-ui/react-toggle": "^1.1.0", "@tiptap/core": "^2.7.2", @@ -38376,13 +38376,13 @@ }, "packages/liveblocks-react-ui": { "name": "@liveblocks/react-ui", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", "@radix-ui/react-dropdown-menu": "^2.1.2", "@radix-ui/react-popover": "^1.1.2", "@radix-ui/react-slot": "^1.1.0", @@ -39710,11 +39710,11 @@ }, "packages/liveblocks-redux": { "name": "@liveblocks/redux", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1" + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -39871,10 +39871,10 @@ }, "packages/liveblocks-yjs": { "name": "@liveblocks/yjs", - "version": "3.4.1", + "version": "3.4.2", "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", "@noble/hashes": "^1.8.0", "js-base64": "^3.7.7", "y-indexeddb": "^9.0.12" @@ -39940,11 +39940,11 @@ }, "packages/liveblocks-zustand": { "name": "@liveblocks/zustand", - "version": "3.4.1", + "version": "3.4.2", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1" + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2" }, "devDependencies": { "@liveblocks/eslint-config": "*", diff --git a/packages/liveblocks-client/package.json b/packages/liveblocks-client/package.json index b0bd354d772..01ee0d02942 100644 --- a/packages/liveblocks-client/package.json +++ b/packages/liveblocks-client/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/client", - "version": "3.4.1", + "version": "3.4.2", "description": "A client that lets you interact with Liveblocks servers. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "type": "module", @@ -34,7 +34,7 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.4.1" + "@liveblocks/core": "3.4.2" }, "devDependencies": { "@liveblocks/eslint-config": "*", diff --git a/packages/liveblocks-core/package.json b/packages/liveblocks-core/package.json index f937385766f..f45a2b90915 100644 --- a/packages/liveblocks-core/package.json +++ b/packages/liveblocks-core/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/core", - "version": "3.4.1", + "version": "3.4.2", "description": "Private internals for Liveblocks. DO NOT import directly from this package!", "type": "module", "main": "./dist/index.cjs", diff --git a/packages/liveblocks-emails/package.json b/packages/liveblocks-emails/package.json index 73a5f2288cb..7b7d9db890b 100644 --- a/packages/liveblocks-emails/package.json +++ b/packages/liveblocks-emails/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/emails", - "version": "3.4.1", + "version": "3.4.2", "description": "A set of functions and utilities to make sending emails based on Liveblocks notification events easy. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "type": "module", @@ -35,8 +35,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.4.1", - "@liveblocks/node": "3.4.1" + "@liveblocks/core": "3.4.2", + "@liveblocks/node": "3.4.2" }, "peerDependencies": { "react": "^18 || ^19 || ^19.0.0-rc" diff --git a/packages/liveblocks-node-lexical/package.json b/packages/liveblocks-node-lexical/package.json index 85bdf796d5c..b4b6d2f7f07 100644 --- a/packages/liveblocks-node-lexical/package.json +++ b/packages/liveblocks-node-lexical/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/node-lexical", - "version": "3.4.1", + "version": "3.4.2", "description": "A server-side utility that lets you modify lexical documents hosted in Liveblocks.", "license": "Apache-2.0", "type": "module", @@ -34,8 +34,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.4.1", - "@liveblocks/node": "3.4.1", + "@liveblocks/core": "3.4.2", + "@liveblocks/node": "3.4.2", "yjs": "^13.6.18" }, "peerDependencies": { diff --git a/packages/liveblocks-node-prosemirror/package.json b/packages/liveblocks-node-prosemirror/package.json index edb4cd44d8b..6d4fcd6c5f5 100644 --- a/packages/liveblocks-node-prosemirror/package.json +++ b/packages/liveblocks-node-prosemirror/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/node-prosemirror", - "version": "3.4.1", + "version": "3.4.2", "description": "A server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks.", "license": "Apache-2.0", "type": "module", @@ -34,8 +34,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.4.1", - "@liveblocks/node": "3.4.1", + "@liveblocks/core": "3.4.2", + "@liveblocks/node": "3.4.2", "yjs": "^13.6.20" }, "peerDependencies": { diff --git a/packages/liveblocks-node/package.json b/packages/liveblocks-node/package.json index a28e42ed7e2..aeca076bab2 100644 --- a/packages/liveblocks-node/package.json +++ b/packages/liveblocks-node/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/node", - "version": "3.4.1", + "version": "3.4.2", "description": "A server-side utility that lets you set up a Liveblocks authentication endpoint. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "type": "module", @@ -34,7 +34,7 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.4.1", + "@liveblocks/core": "3.4.2", "@stablelib/base64": "^1.0.1", "fast-sha256": "^1.3.0", "node-fetch": "^2.6.1" diff --git a/packages/liveblocks-react-blocknote/package.json b/packages/liveblocks-react-blocknote/package.json index d1dfaf10e58..c0b7384d7ff 100644 --- a/packages/liveblocks-react-blocknote/package.json +++ b/packages/liveblocks-react-blocknote/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react-blocknote", - "version": "3.4.1", + "version": "3.4.2", "description": "An integration of BlockNote + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "type": "module", @@ -42,12 +42,12 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", - "@liveblocks/react-tiptap": "3.4.1", - "@liveblocks/react-ui": "3.4.1", - "@liveblocks/yjs": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", + "@liveblocks/react-tiptap": "3.4.2", + "@liveblocks/react-ui": "3.4.2", + "@liveblocks/yjs": "3.4.2", "@tiptap/core": "^2.7.2", "vitest-tsconfig-paths": "^3.4.1" }, diff --git a/packages/liveblocks-react-lexical/package.json b/packages/liveblocks-react-lexical/package.json index 22ea0d66935..258ce52a4c4 100644 --- a/packages/liveblocks-react-lexical/package.json +++ b/packages/liveblocks-react-lexical/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react-lexical", - "version": "3.4.1", + "version": "3.4.2", "description": "An integration of Lexical + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "type": "module", @@ -43,11 +43,11 @@ }, "dependencies": { "@floating-ui/react-dom": "^2.1.1", - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", - "@liveblocks/react-ui": "3.4.1", - "@liveblocks/yjs": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", + "@liveblocks/react-ui": "3.4.2", + "@liveblocks/yjs": "3.4.2", "@radix-ui/react-select": "^2.1.2", "@radix-ui/react-toggle": "^1.1.0", "yjs": "^13.6.18" diff --git a/packages/liveblocks-react-tiptap/package.json b/packages/liveblocks-react-tiptap/package.json index f9ddd661e41..15d94d7a57d 100644 --- a/packages/liveblocks-react-tiptap/package.json +++ b/packages/liveblocks-react-tiptap/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react-tiptap", - "version": "3.4.1", + "version": "3.4.2", "description": "An integration of TipTap + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "type": "module", @@ -43,11 +43,11 @@ }, "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", - "@liveblocks/react-ui": "3.4.1", - "@liveblocks/yjs": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", + "@liveblocks/react-ui": "3.4.2", + "@liveblocks/yjs": "3.4.2", "@radix-ui/react-select": "^2.1.2", "@radix-ui/react-toggle": "^1.1.0", "@tiptap/core": "^2.7.2", diff --git a/packages/liveblocks-react-ui/package.json b/packages/liveblocks-react-ui/package.json index 66fdceca123..476b5a9bf19 100644 --- a/packages/liveblocks-react-ui/package.json +++ b/packages/liveblocks-react-ui/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react-ui", - "version": "3.4.1", + "version": "3.4.2", "description": "A set of React pre-built components for the Liveblocks products. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "type": "module", @@ -76,9 +76,9 @@ }, "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", - "@liveblocks/react": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", + "@liveblocks/react": "3.4.2", "@radix-ui/react-dropdown-menu": "^2.1.2", "@radix-ui/react-popover": "^1.1.2", "@radix-ui/react-slot": "^1.1.0", diff --git a/packages/liveblocks-react/package.json b/packages/liveblocks-react/package.json index e7aa796f6be..daa47ea1760 100644 --- a/packages/liveblocks-react/package.json +++ b/packages/liveblocks-react/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react", - "version": "3.4.1", + "version": "3.4.2", "description": "A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "type": "module", @@ -61,8 +61,8 @@ "showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg" }, "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1" + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2" }, "peerDependencies": { "@types/react": "*", diff --git a/packages/liveblocks-redux/package.json b/packages/liveblocks-redux/package.json index fb6fa610288..3eab4a37f83 100644 --- a/packages/liveblocks-redux/package.json +++ b/packages/liveblocks-redux/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/redux", - "version": "3.4.1", + "version": "3.4.2", "description": "A store enhancer to integrate Liveblocks into Redux stores. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "type": "module", @@ -33,8 +33,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1" + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2" }, "peerDependencies": { "redux": "^4 || ^5" diff --git a/packages/liveblocks-yjs/package.json b/packages/liveblocks-yjs/package.json index 4bd58f3b5f1..610aa10b311 100644 --- a/packages/liveblocks-yjs/package.json +++ b/packages/liveblocks-yjs/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/yjs", - "version": "3.4.1", + "version": "3.4.2", "description": "Integrate your existing or new Yjs documents with Liveblocks.", "icense": "Apache-2.0", "type": "module", @@ -33,8 +33,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1", + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2", "@noble/hashes": "^1.8.0", "js-base64": "^3.7.7", "y-indexeddb": "^9.0.12" diff --git a/packages/liveblocks-zustand/package.json b/packages/liveblocks-zustand/package.json index 13db400ca46..d1df089f044 100644 --- a/packages/liveblocks-zustand/package.json +++ b/packages/liveblocks-zustand/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/zustand", - "version": "3.4.1", + "version": "3.4.2", "description": "A middleware for Zustand to automatically synchronize your stores with Liveblocks. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "type": "module", @@ -34,8 +34,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/client": "3.4.1", - "@liveblocks/core": "3.4.1" + "@liveblocks/client": "3.4.2", + "@liveblocks/core": "3.4.2" }, "peerDependencies": { "zustand": "^5.0.1"