diff --git a/CHANGELOG.md b/CHANGELOG.md index 1308bbf52a2..891bb034352 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ ## vNEXT (not yet released) +## v3.19.1 + +### `@liveblocks/node` and Python SDK + +- Update providers to support newer models up to GPT-5.5 variants, Sonnet 4.6, + Opus 4.7, and Gemini 3/3.1 variants. + ## v3.19.0 ### `@liveblocks/node` diff --git a/docs/references/v2.openapi.json b/docs/references/v2.openapi.json index 0497b68ca3d..2250270c11c 100644 --- a/docs/references/v2.openapi.json +++ b/docs/references/v2.openapi.json @@ -10081,12 +10081,20 @@ "gpt-4-turbo", "gpt-4", "gpt-5", + "gpt-5-pro", "gpt-5-mini", "gpt-5-nano", "gpt-5-chat-latest", "gpt-5.1", "gpt-5.1-mini", - "gpt-5.1-chat-latest" + "gpt-5.1-chat-latest", + "gpt-5.2", + "gpt-5.2-pro", + "gpt-5.4", + "gpt-5.4-pro", + "gpt-5.4-mini", + "gpt-5.4-nano", + "gpt-5.5" ], "example": "gpt-4o" }, @@ -10094,6 +10102,10 @@ "title": "AnthropicModel", "type": "string", "enum": [ + "claude-opus-4-7", + "claude-sonnet-4-6", + "claude-opus-4-6", + "claude-opus-4-5-20251101", "claude-sonnet-4-5-20250929", "claude-haiku-4-5-20251001", "claude-opus-4-1-20250805", @@ -10110,6 +10122,8 @@ "title": "GoogleModel", "type": "string", "enum": [ + "gemini-3-flash-preview", + "gemini-3.1-pro-preview", "gemini-2.5-flash", "gemini-2.5-pro", "gemini-2.0-flash-001", diff --git a/packages/liveblocks-chat-sdk-adapter/package.json b/packages/liveblocks-chat-sdk-adapter/package.json index 80f3537da3f..9c5862c6e35 100644 --- a/packages/liveblocks-chat-sdk-adapter/package.json +++ b/packages/liveblocks-chat-sdk-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/chat-sdk-adapter", - "version": "3.19.0", + "version": "3.19.1", "description": "Liveblocks adapter for the Chat SDK.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-client/package.json b/packages/liveblocks-client/package.json index 8279f84be76..676af38822e 100644 --- a/packages/liveblocks-client/package.json +++ b/packages/liveblocks-client/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/client", - "version": "3.19.0", + "version": "3.19.1", "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", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-core/package.json b/packages/liveblocks-core/package.json index d7077c58e7c..a49b6cc2082 100644 --- a/packages/liveblocks-core/package.json +++ b/packages/liveblocks-core/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/core", - "version": "3.19.0", + "version": "3.19.1", "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 5ec966e30dd..b11e2f43ed6 100644 --- a/packages/liveblocks-emails/package.json +++ b/packages/liveblocks-emails/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/emails", - "version": "3.19.0", + "version": "3.19.1", "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", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-node-lexical/package.json b/packages/liveblocks-node-lexical/package.json index e493a0ace40..ede422b91c9 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.19.0", + "version": "3.19.1", "description": "A server-side utility that lets you modify lexical documents hosted in Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-node-prosemirror/package.json b/packages/liveblocks-node-prosemirror/package.json index 6d77e02ad0d..296fbb8012d 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.19.0", + "version": "3.19.1", "description": "A server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-node/package.json b/packages/liveblocks-node/package.json index bc577caab26..90363df5a54 100644 --- a/packages/liveblocks-node/package.json +++ b/packages/liveblocks-node/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/node", - "version": "3.19.0", + "version": "3.19.1", "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", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-node/src/client.ts b/packages/liveblocks-node/src/client.ts index 1e258f04138..5020e8ea217 100644 --- a/packages/liveblocks-node/src/client.ts +++ b/packages/liveblocks-node/src/client.ts @@ -227,12 +227,20 @@ type OpenAiModel = | "gpt-4-turbo" | "gpt-4" | "gpt-5" + | "gpt-5-pro" | "gpt-5-mini" | "gpt-5-nano" | "gpt-5-chat-latest" | "gpt-5.1" | "gpt-5.1-mini" - | "gpt-5.1-chat-latest"; + | "gpt-5.1-chat-latest" + | "gpt-5.2" + | "gpt-5.2-pro" + | "gpt-5.4" + | "gpt-5.4-pro" + | "gpt-5.4-mini" + | "gpt-5.4-nano" + | "gpt-5.5"; type OpenAiProviderOptions = { openai: { @@ -244,6 +252,10 @@ type OpenAiProviderOptions = { }; type AnthropicModel = + | "claude-opus-4-7" + | "claude-sonnet-4-6" + | "claude-opus-4-6" + | "claude-opus-4-5-20251101" | "claude-sonnet-4-5-20250929" | "claude-haiku-4-5-20251001" | "claude-opus-4-1-20250805" @@ -270,6 +282,8 @@ type AnthropicProviderOptions = { }; type GoogleModel = + | "gemini-3-flash-preview" + | "gemini-3.1-pro-preview" | "gemini-2.5-flash" | "gemini-2.5-pro" | "gemini-2.0-flash-001" diff --git a/packages/liveblocks-python-codegen/config.yaml b/packages/liveblocks-python-codegen/config.yaml index 4700594b389..8b0328e3177 100644 --- a/packages/liveblocks-python-codegen/config.yaml +++ b/packages/liveblocks-python-codegen/config.yaml @@ -1,7 +1,7 @@ project_name_override: liveblocks package_name_override: liveblocks -package_version_override: 3.16.0 +package_version_override: 3.19.1 post_hooks: - "uvx ruff check --fix-only ." diff --git a/packages/liveblocks-python/liveblocks/models/anthropic_model.py b/packages/liveblocks-python/liveblocks/models/anthropic_model.py index 2353e913eff..826c13ab426 100644 --- a/packages/liveblocks-python/liveblocks/models/anthropic_model.py +++ b/packages/liveblocks-python/liveblocks/models/anthropic_model.py @@ -10,4 +10,8 @@ class AnthropicModel(StrEnum): CLAUDE_4_SONNET_20250514 = "claude-4-sonnet-20250514" CLAUDE_HAIKU_4_5_20251001 = "claude-haiku-4-5-20251001" CLAUDE_OPUS_4_1_20250805 = "claude-opus-4-1-20250805" + CLAUDE_OPUS_4_5_20251101 = "claude-opus-4-5-20251101" + CLAUDE_OPUS_4_6 = "claude-opus-4-6" + CLAUDE_OPUS_4_7 = "claude-opus-4-7" CLAUDE_SONNET_4_5_20250929 = "claude-sonnet-4-5-20250929" + CLAUDE_SONNET_4_6 = "claude-sonnet-4-6" diff --git a/packages/liveblocks-python/liveblocks/models/google_model.py b/packages/liveblocks-python/liveblocks/models/google_model.py index d0c22740410..f85baf7c6e1 100644 --- a/packages/liveblocks-python/liveblocks/models/google_model.py +++ b/packages/liveblocks-python/liveblocks/models/google_model.py @@ -7,3 +7,5 @@ class GoogleModel(StrEnum): GEMINI_2_0_FLASH_001 = "gemini-2.0-flash-001" GEMINI_2_5_FLASH = "gemini-2.5-flash" GEMINI_2_5_PRO = "gemini-2.5-pro" + GEMINI_3_1_PRO_PREVIEW = "gemini-3.1-pro-preview" + GEMINI_3_FLASH_PREVIEW = "gemini-3-flash-preview" diff --git a/packages/liveblocks-python/liveblocks/models/open_ai_model.py b/packages/liveblocks-python/liveblocks/models/open_ai_model.py index c251bdc0ea5..40fe22c3f19 100644 --- a/packages/liveblocks-python/liveblocks/models/open_ai_model.py +++ b/packages/liveblocks-python/liveblocks/models/open_ai_model.py @@ -13,9 +13,17 @@ class OpenAiModel(StrEnum): GPT_5_1 = "gpt-5.1" GPT_5_1_CHAT_LATEST = "gpt-5.1-chat-latest" GPT_5_1_MINI = "gpt-5.1-mini" + GPT_5_2 = "gpt-5.2" + GPT_5_2_PRO = "gpt-5.2-pro" + GPT_5_4 = "gpt-5.4" + GPT_5_4_MINI = "gpt-5.4-mini" + GPT_5_4_NANO = "gpt-5.4-nano" + GPT_5_4_PRO = "gpt-5.4-pro" + GPT_5_5 = "gpt-5.5" GPT_5_CHAT_LATEST = "gpt-5-chat-latest" GPT_5_MINI = "gpt-5-mini" GPT_5_NANO = "gpt-5-nano" + GPT_5_PRO = "gpt-5-pro" O1 = "o1" O1_MINI = "o1-mini" O3 = "o3" diff --git a/packages/liveblocks-python/pyproject.toml b/packages/liveblocks-python/pyproject.toml index 5de36bb790c..beb3444ed7b 100644 --- a/packages/liveblocks-python/pyproject.toml +++ b/packages/liveblocks-python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "liveblocks" -version = "3.16.0" +version = "3.19.1" description = "A client library for accessing Liveblocks API" authors = [] requires-python = ">=3.11" diff --git a/packages/liveblocks-react-blocknote/package.json b/packages/liveblocks-react-blocknote/package.json index 221cba26606..573dae62492 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.19.0", + "version": "3.19.1", "description": "An integration of BlockNote + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-react-flow/package.json b/packages/liveblocks-react-flow/package.json index def0bc775d4..8fa35646533 100644 --- a/packages/liveblocks-react-flow/package.json +++ b/packages/liveblocks-react-flow/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react-flow", - "version": "3.19.0", + "version": "3.19.1", "description": "An integration of React Flow to enable collaboration and realtime cursors with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-react-lexical/package.json b/packages/liveblocks-react-lexical/package.json index 473ff1f43df..d0fc59c9ae1 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.19.0", + "version": "3.19.1", "description": "An integration of Lexical + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-react-tiptap/package.json b/packages/liveblocks-react-tiptap/package.json index d652066a738..566620bbb63 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.19.0", + "version": "3.19.1", "description": "An integration of TipTap + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-react-ui/package.json b/packages/liveblocks-react-ui/package.json index 2d3b05616c0..cac7063f23d 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.19.0", + "version": "3.19.1", "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", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-react/package.json b/packages/liveblocks-react/package.json index 172ee6c4f38..404502e124b 100644 --- a/packages/liveblocks-react/package.json +++ b/packages/liveblocks-react/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react", - "version": "3.19.0", + "version": "3.19.1", "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", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-redux/package.json b/packages/liveblocks-redux/package.json index c1583c137e0..69bc187c369 100644 --- a/packages/liveblocks-redux/package.json +++ b/packages/liveblocks-redux/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/redux", - "version": "3.19.0", + "version": "3.19.1", "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", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-yjs/package.json b/packages/liveblocks-yjs/package.json index dbb191c9a4e..d8e14f502e8 100644 --- a/packages/liveblocks-yjs/package.json +++ b/packages/liveblocks-yjs/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/yjs", - "version": "3.19.0", + "version": "3.19.1", "description": "Integrate your existing or new Yjs documents with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", diff --git a/packages/liveblocks-zustand/package.json b/packages/liveblocks-zustand/package.json index e9890334071..bf28e2325f8 100644 --- a/packages/liveblocks-zustand/package.json +++ b/packages/liveblocks-zustand/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/zustand", - "version": "3.19.0", + "version": "3.19.1", "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", "author": "Liveblocks Inc.",