Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
16 changes: 15 additions & 1 deletion docs/references/v2.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -10081,19 +10081,31 @@
"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"
},
"AnthropicModel": {
"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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-chat-sdk-adapter/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-client/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-emails/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-node-lexical/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-node-prosemirror/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-node/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
16 changes: 15 additions & 1 deletion packages/liveblocks-node/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-python-codegen/config.yaml
Original file line number Diff line number Diff line change
@@ -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 ."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 2 additions & 0 deletions packages/liveblocks-python/liveblocks/models/google_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions packages/liveblocks-python/liveblocks/models/open_ai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-react-blocknote/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-react-flow/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-react-lexical/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-react-tiptap/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-react-ui/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-react/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-redux/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-yjs/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/liveblocks-zustand/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
Loading