diff --git a/docs/pages/api-reference/liveblocks-react-ui.mdx b/docs/pages/api-reference/liveblocks-react-ui.mdx index 71a46f9c2e4..90a36435a12 100644 --- a/docs/pages/api-reference/liveblocks-react-ui.mdx +++ b/docs/pages/api-reference/liveblocks-react-ui.mdx @@ -4122,7 +4122,7 @@ Version history enables you to track and restore versions of your [Yjs](/docs/api-reference/liveblocks-yjs) document. Versions can be automatically created when enabled in your project settings, or manually created using the -[REST API](/docs/api-reference/rest-api-endpoints#post-rooms-roomId-version). +[REST API](/docs/api-reference/rest-api-endpoints#create-version-history-snapshot). These components aid in displaying a list of those versions. ### Default components [#Version-History-Components] diff --git a/docs/references/v2.openapi.json b/docs/references/v2.openapi.json index 4453e114889..def546850cf 100644 --- a/docs/references/v2.openapi.json +++ b/docs/references/v2.openapi.json @@ -780,7 +780,7 @@ } } }, - "/rooms/{roomId}/active_users": { + "/rooms/{roomId}/active-users": { "get": { "summary": "Get active users", "tags": ["Room"], @@ -907,7 +907,7 @@ } } }, - "/rooms/{roomId}/broadcast_event": { + "/rooms/{roomId}/broadcast-event": { "post": { "summary": "Broadcast event to a room", "description": "This endpoint enables the broadcast of an event to a room without having to connect to it via the `client` from `@liveblocks/client`. It takes any valid JSON as a request body. The `connectionId` passed to event listeners is `-1` when using this API. Corresponds to [`liveblocks.broadcastEvent`](https://liveblocks.io/docs/api-reference/liveblocks-node#post-broadcast-event).", @@ -1488,8 +1488,8 @@ "/rooms/{roomId}/versions": { "get": { "summary": "Get Version History", - "description": "This endpoint returns a list of version history snapshots for the room's Yjs document. The versions are returned sorted by creation date, from newest to oldest.", - "tags": ["Yjs"], + "description": "This endpoint returns a list of version history snapshots for the room. The versions are returned sorted by creation date, from newest to oldest.", + "tags": ["Version History"], "operationId": "get-version-history", "parameters": [ { @@ -1569,8 +1569,8 @@ }, "post": { "summary": "Create version history snapshot", - "description": "This endpoint creates a new version history snapshot for the room. Currently only works for Yjs.", - "tags": ["Yjs"], + "description": "This endpoint creates a new version history snapshot of the room, capturing both its Storage and Yjs documents.", + "tags": ["Version History"], "operationId": "create-version-history-snapshot", "parameters": [ { @@ -1620,7 +1620,7 @@ "get": { "summary": "Get Yjs document version", "description": "This endpoint returns a specific version of the room's Yjs document encoded as a binary Yjs update.", - "tags": ["Yjs"], + "tags": ["Version History"], "operationId": "get-yjs-version", "parameters": [ { @@ -1668,6 +1668,50 @@ } } }, + "/rooms/{roomId}/versions/{versionId}": { + "delete": { + "summary": "Delete a version", + "description": "This endpoint permanently deletes a version from the room's history.", + "tags": ["Version History"], + "operationId": "delete-version", + "parameters": [ + { + "name": "roomId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "description": "ID of the room", + "example": "my-room-id" + } + }, + { + "name": "versionId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "description": "ID of the version", + "example": "vh_abc123" + } + } + ], + "responses": { + "204": { + "description": "Success. The version was deleted." + }, + "401": { + "$ref": "#/components/responses/401" + }, + "403": { + "$ref": "#/components/responses/403" + }, + "404": { + "$ref": "#/components/responses/404" + } + } + } + }, "/rooms/{roomId}/threads": { "get": { "summary": "Get room threads", @@ -12012,6 +12056,9 @@ { "name": "Yjs" }, + { + "name": "Version History" + }, { "name": "Comments" }, diff --git a/packages/liveblocks-chat-sdk-adapter/package.json b/packages/liveblocks-chat-sdk-adapter/package.json index cef5fbcef29..9f876518309 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.21.0", + "version": "3.22.0-rc1", "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 2e64cc975b2..68a38d398ed 100644 --- a/packages/liveblocks-client/package.json +++ b/packages/liveblocks-client/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/client", - "version": "3.21.0", + "version": "3.22.0-rc1", "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 4e4a49c9005..cf0e9be6bd0 100644 --- a/packages/liveblocks-core/package.json +++ b/packages/liveblocks-core/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/core", - "version": "3.21.0", + "version": "3.22.0-rc1", "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 0fb9fb7f71b..570faf292b5 100644 --- a/packages/liveblocks-emails/package.json +++ b/packages/liveblocks-emails/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/emails", - "version": "3.21.0", + "version": "3.22.0-rc1", "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 3f4cb6351f6..7ac68639e44 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.21.0", + "version": "3.22.0-rc1", "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 e462cfed724..b77391592ef 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.21.0", + "version": "3.22.0-rc1", "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 2d6d8c57703..cb4e73ba545 100644 --- a/packages/liveblocks-node/package.json +++ b/packages/liveblocks-node/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/node", - "version": "3.21.0", + "version": "3.22.0-rc1", "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-python/README.md b/packages/liveblocks-python/README.md index 5175305e477..9ed24582221 100644 --- a/packages/liveblocks-python/README.md +++ b/packages/liveblocks-python/README.md @@ -578,9 +578,11 @@ print(result) --- +### Version_history + #### `get_version_history` -This endpoint returns a list of version history snapshots for the room's Yjs document. The versions are returned sorted by creation date, from newest to oldest. +This endpoint returns a list of version history snapshots for the room. The versions are returned sorted by creation date, from newest to oldest. **Example** ```python @@ -604,7 +606,7 @@ print(result) #### `create_version_history_snapshot` -This endpoint creates a new version history snapshot for the room. Currently only works for Yjs. +This endpoint creates a new version history snapshot of the room, capturing both its Storage and Yjs documents. **Example** ```python @@ -642,6 +644,27 @@ print(result) | `version_id` | `str` | Yes | ID of the version | +--- + +#### `delete_version` + +This endpoint permanently deletes a version from the room's history. + +**Example** +```python +client.delete_version( + room_id="my-room-id", + version_id="vh_abc123", +) +``` +**Parameters:** + +| Name | Type | Required | Description | +|------|------|----------|-------------| +| `room_id` | `str` | Yes | ID of the room | +| `version_id` | `str` | Yes | ID of the version | + + --- ### Comments diff --git a/packages/liveblocks-python/README.mdx b/packages/liveblocks-python/README.mdx index 336d4e634fc..a58f1b5127f 100644 --- a/packages/liveblocks-python/README.mdx +++ b/packages/liveblocks-python/README.mdx @@ -727,9 +727,11 @@ print(result) +## Version_history + ### get_version_history -This endpoint returns a list of version history snapshots for the room's Yjs document. The versions are returned sorted by creation date, from newest to oldest. +This endpoint returns a list of version history snapshots for the room. The versions are returned sorted by creation date, from newest to oldest. ```python result = client.get_version_history( @@ -765,7 +767,7 @@ print(result) ### create_version_history_snapshot -This endpoint creates a new version history snapshot for the room. Currently only works for Yjs. +This endpoint creates a new version history snapshot of the room, capturing both its Storage and Yjs documents. ```python result = client.create_version_history_snapshot( @@ -815,6 +817,35 @@ print(result) +### delete_version + +This endpoint permanently deletes a version from the room's history. + +```python +client.delete_version( + room_id="my-room-id", + version_id="vh_abc123", +) +``` + + + + ID of the room + + + + ID of the version + + + + + ## Comments ### get_threads diff --git a/packages/liveblocks-python/liveblocks/api/room/broadcast_event.py b/packages/liveblocks-python/liveblocks/api/room/broadcast_event.py index 669381cf61f..41997bbba2a 100644 --- a/packages/liveblocks-python/liveblocks/api/room/broadcast_event.py +++ b/packages/liveblocks-python/liveblocks/api/room/broadcast_event.py @@ -15,7 +15,7 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": "/v2/rooms/{room_id}/broadcast_event".format( + "url": "/v2/rooms/{room_id}/broadcast-event".format( room_id=quote(str(room_id), safe=""), ), } diff --git a/packages/liveblocks-python/liveblocks/api/room/get_active_users.py b/packages/liveblocks-python/liveblocks/api/room/get_active_users.py index 17f7c710911..c23f20be6a9 100644 --- a/packages/liveblocks-python/liveblocks/api/room/get_active_users.py +++ b/packages/liveblocks-python/liveblocks/api/room/get_active_users.py @@ -13,7 +13,7 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": "/v2/rooms/{room_id}/active_users".format( + "url": "/v2/rooms/{room_id}/active-users".format( room_id=quote(str(room_id), safe=""), ), } diff --git a/packages/liveblocks-python/liveblocks/api/version_history/__init__.py b/packages/liveblocks-python/liveblocks/api/version_history/__init__.py new file mode 100644 index 00000000000..2d7c0b23da3 --- /dev/null +++ b/packages/liveblocks-python/liveblocks/api/version_history/__init__.py @@ -0,0 +1 @@ +"""Contains endpoint functions for accessing the API""" diff --git a/packages/liveblocks-python/liveblocks/api/yjs/create_version_history_snapshot.py b/packages/liveblocks-python/liveblocks/api/version_history/create_version_history_snapshot.py similarity index 100% rename from packages/liveblocks-python/liveblocks/api/yjs/create_version_history_snapshot.py rename to packages/liveblocks-python/liveblocks/api/version_history/create_version_history_snapshot.py diff --git a/packages/liveblocks-python/liveblocks/api/version_history/delete_version.py b/packages/liveblocks-python/liveblocks/api/version_history/delete_version.py new file mode 100644 index 00000000000..991ae5e5591 --- /dev/null +++ b/packages/liveblocks-python/liveblocks/api/version_history/delete_version.py @@ -0,0 +1,64 @@ +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors + + +def _get_kwargs( + room_id: str, + version_id: str, +) -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "delete", + "url": "/v2/rooms/{room_id}/versions/{version_id}".format( + room_id=quote(str(room_id), safe=""), + version_id=quote(str(version_id), safe=""), + ), + } + + return _kwargs + + +def _parse_response(*, response: httpx.Response) -> None: + if response.status_code == 204: + return None + + raise errors.LiveblocksError.from_response(response) + + +def _sync( + room_id: str, + version_id: str, + *, + client: httpx.Client, +) -> None: + kwargs = _get_kwargs( + room_id=room_id, + version_id=version_id, + ) + + response = client.request( + **kwargs, + ) + return _parse_response(response=response) + + +async def _asyncio( + room_id: str, + version_id: str, + *, + client: httpx.AsyncClient, +) -> None: + kwargs = _get_kwargs( + room_id=room_id, + version_id=version_id, + ) + + response = await client.request( + **kwargs, + ) + + return _parse_response(response=response) diff --git a/packages/liveblocks-python/liveblocks/api/yjs/get_version_history.py b/packages/liveblocks-python/liveblocks/api/version_history/get_version_history.py similarity index 100% rename from packages/liveblocks-python/liveblocks/api/yjs/get_version_history.py rename to packages/liveblocks-python/liveblocks/api/version_history/get_version_history.py diff --git a/packages/liveblocks-python/liveblocks/api/yjs/get_yjs_version.py b/packages/liveblocks-python/liveblocks/api/version_history/get_yjs_version.py similarity index 100% rename from packages/liveblocks-python/liveblocks/api/yjs/get_yjs_version.py rename to packages/liveblocks-python/liveblocks/api/version_history/get_yjs_version.py diff --git a/packages/liveblocks-python/liveblocks/client.py b/packages/liveblocks-python/liveblocks/client.py index 31a0c520df5..8b676ca3253 100644 --- a/packages/liveblocks-python/liveblocks/client.py +++ b/packages/liveblocks-python/liveblocks/client.py @@ -935,8 +935,8 @@ def get_version_history( ) -> GetVersionHistoryResponse: """Get Version History - This endpoint returns a list of version history snapshots for the room's Yjs document. The versions - are returned sorted by creation date, from newest to oldest. + This endpoint returns a list of version history snapshots for the room. The versions are returned + sorted by creation date, from newest to oldest. Args: room_id (str): ID of the room Example: my-room-id. @@ -953,7 +953,7 @@ def get_version_history( GetVersionHistoryResponse """ - from .api.yjs import get_version_history + from .api.version_history import get_version_history return get_version_history._sync( room_id=room_id, @@ -968,7 +968,8 @@ def create_version_history_snapshot( ) -> CreateVersionHistorySnapshotResponse: """Create version history snapshot - This endpoint creates a new version history snapshot for the room. Currently only works for Yjs. + This endpoint creates a new version history snapshot of the room, capturing both its Storage and Yjs + documents. Args: room_id (str): ID of the room Example: my-room-id. @@ -981,7 +982,7 @@ def create_version_history_snapshot( CreateVersionHistorySnapshotResponse """ - from .api.yjs import create_version_history_snapshot + from .api.version_history import create_version_history_snapshot return create_version_history_snapshot._sync( room_id=room_id, @@ -1009,7 +1010,7 @@ def get_yjs_version( File """ - from .api.yjs import get_yjs_version + from .api.version_history import get_yjs_version return get_yjs_version._sync( room_id=room_id, @@ -1017,6 +1018,35 @@ def get_yjs_version( client=self._client, ) + def delete_version( + self, + room_id: str, + version_id: str, + ) -> None: + """Delete a version + + This endpoint permanently deletes a version from the room's history. + + Args: + room_id (str): ID of the room Example: my-room-id. + version_id (str): ID of the version Example: vh_abc123. + + Raises: + errors.LiveblocksError: If the server returns a response with non-2xx status code. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + None + """ + + from .api.version_history import delete_version + + return delete_version._sync( + room_id=room_id, + version_id=version_id, + client=self._client, + ) + def get_threads( self, room_id: str, @@ -4070,8 +4100,8 @@ async def get_version_history( ) -> GetVersionHistoryResponse: """Get Version History - This endpoint returns a list of version history snapshots for the room's Yjs document. The versions - are returned sorted by creation date, from newest to oldest. + This endpoint returns a list of version history snapshots for the room. The versions are returned + sorted by creation date, from newest to oldest. Args: room_id (str): ID of the room Example: my-room-id. @@ -4088,7 +4118,7 @@ async def get_version_history( GetVersionHistoryResponse """ - from .api.yjs import get_version_history + from .api.version_history import get_version_history return await get_version_history._asyncio( room_id=room_id, @@ -4103,7 +4133,8 @@ async def create_version_history_snapshot( ) -> CreateVersionHistorySnapshotResponse: """Create version history snapshot - This endpoint creates a new version history snapshot for the room. Currently only works for Yjs. + This endpoint creates a new version history snapshot of the room, capturing both its Storage and Yjs + documents. Args: room_id (str): ID of the room Example: my-room-id. @@ -4116,7 +4147,7 @@ async def create_version_history_snapshot( CreateVersionHistorySnapshotResponse """ - from .api.yjs import create_version_history_snapshot + from .api.version_history import create_version_history_snapshot return await create_version_history_snapshot._asyncio( room_id=room_id, @@ -4144,7 +4175,7 @@ async def get_yjs_version( File """ - from .api.yjs import get_yjs_version + from .api.version_history import get_yjs_version return await get_yjs_version._asyncio( room_id=room_id, @@ -4152,6 +4183,35 @@ async def get_yjs_version( client=self._client, ) + async def delete_version( + self, + room_id: str, + version_id: str, + ) -> None: + """Delete a version + + This endpoint permanently deletes a version from the room's history. + + Args: + room_id (str): ID of the room Example: my-room-id. + version_id (str): ID of the version Example: vh_abc123. + + Raises: + errors.LiveblocksError: If the server returns a response with non-2xx status code. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + None + """ + + from .api.version_history import delete_version + + return await delete_version._asyncio( + room_id=room_id, + version_id=version_id, + client=self._client, + ) + async def get_threads( self, room_id: str, diff --git a/packages/liveblocks-react-blocknote/package.json b/packages/liveblocks-react-blocknote/package.json index 2b08ca60d6e..b00f499e285 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.21.0", + "version": "3.22.0-rc1", "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 6194e4a5393..4764eac5710 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.21.0", + "version": "3.22.0-rc1", "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 b8f29562481..aad8a26e94b 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.21.0", + "version": "3.22.0-rc1", "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 e20b5ba2be0..cf561ae301d 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.21.0", + "version": "3.22.0-rc1", "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 eda35e477f5..3d619b98f11 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.21.0", + "version": "3.22.0-rc1", "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 4dfcb630893..1fde4e17af7 100644 --- a/packages/liveblocks-react/package.json +++ b/packages/liveblocks-react/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react", - "version": "3.21.0", + "version": "3.22.0-rc1", "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 3b0476e71d7..8dbf0698c8b 100644 --- a/packages/liveblocks-redux/package.json +++ b/packages/liveblocks-redux/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/redux", - "version": "3.21.0", + "version": "3.22.0-rc1", "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-server/CHANGELOG.md b/packages/liveblocks-server/CHANGELOG.md index 99a9b6d09b0..234ef3bc192 100644 --- a/packages/liveblocks-server/CHANGELOG.md +++ b/packages/liveblocks-server/CHANGELOG.md @@ -1,5 +1,9 @@ ## vNEXT (not yet released) +## v1.6.2 + +- Fix route parity + ## v1.6.1 - Fix a `LiveList` divergence after reconnects: when a client re-sends a pending diff --git a/packages/liveblocks-server/package.json b/packages/liveblocks-server/package.json index 9cc09b9c70b..9563580942b 100644 --- a/packages/liveblocks-server/package.json +++ b/packages/liveblocks-server/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/server", - "version": "1.6.1", + "version": "1.6.2", "description": "Liveblocks backend server foundation.", "type": "module", "main": "./dist/index.js", diff --git a/packages/liveblocks-yjs/package.json b/packages/liveblocks-yjs/package.json index ce71c69b8a2..8eb3d745331 100644 --- a/packages/liveblocks-yjs/package.json +++ b/packages/liveblocks-yjs/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/yjs", - "version": "3.21.0", + "version": "3.22.0-rc1", "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 8148548bf32..4ed22857e87 100644 --- a/packages/liveblocks-zustand/package.json +++ b/packages/liveblocks-zustand/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/zustand", - "version": "3.21.0", + "version": "3.22.0-rc1", "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.", diff --git a/tools/liveblocks-cli/package.json b/tools/liveblocks-cli/package.json index 45a429c8cc9..17b15535193 100644 --- a/tools/liveblocks-cli/package.json +++ b/tools/liveblocks-cli/package.json @@ -1,6 +1,6 @@ { "name": "liveblocks", - "version": "1.6.1", + "version": "1.6.2", "description": "Liveblocks command line interface", "type": "module", "bin": {