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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
## vNEXT (not yet released)

- ...

## 3.13.3

### @liveblocks/client

- Bump hardcoded client-side socket connection timeout from 10s to 20s
- Add more detailed timing info to `enableDebugLogging` to better debug
connection issues

### @liveblocks/react-ui

- Fix an issue where `Composer` and `AiComposer` would throw an error when
mounted/unmounted.

## v3.13.2

### @liveblocks/node
Expand Down
98 changes: 49 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/liveblocks-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@liveblocks/client",
"version": "3.13.3-rc1",
"version": "3.13.3",
"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",
Expand Down Expand Up @@ -34,7 +34,7 @@
"test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest"
},
"dependencies": {
"@liveblocks/core": "3.13.3-rc1"
"@liveblocks/core": "3.13.3"
},
"devDependencies": {
"@liveblocks/eslint-config": "*",
Expand Down
13 changes: 7 additions & 6 deletions packages/liveblocks-core/e2e/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ async function initializeRoomForTest<

const client = createClient<U>({
__DANGEROUSLY_disableThrottling: true,
enableDebugLogging: true,
publicApiKey,
polyfills: {
// @ts-expect-error fetch from Node isn't compatible?
Expand Down Expand Up @@ -222,8 +223,8 @@ export function prepareTestsConflicts<S extends LsonObject>(

await withTimeout(
beacon$,
4000,
"Client B did not receive beacon from Client A within 4s"
8000,
"Client B did not receive beacon from Client A within 8s"
);
},

Expand All @@ -241,8 +242,8 @@ export function prepareTestsConflicts<S extends LsonObject>(

await withTimeout(
beacon$,
2000,
"Client A did not receive beacon from Client B within 2s"
8000,
"Client A did not receive beacon from Client B within 8s"
);
},
};
Expand Down Expand Up @@ -379,7 +380,7 @@ async function waitUntilStatus(

await withTimeout(
room.events.status.waitUntil((status) => status === targetStatus),
10000,
`Room did not reach connection status "${targetStatus}" within 10s`
20000,
`Room did not reach connection status "${targetStatus}" within 20s`
);
}
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.13.3-rc1",
"version": "3.13.3",
"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-core/src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const AUTH_TIMEOUT = 10_000;
* Maximum amount of time that the socket connect delegate may take to return
* an opened WebSocket connection, or else we consider the attempt timed out.
*/
const SOCKET_CONNECT_TIMEOUT = 10_000;
const SOCKET_CONNECT_TIMEOUT = 20_000;

/**
* Special error class that can be thrown during authentication to stop the
Expand Down
6 changes: 3 additions & 3 deletions packages/liveblocks-emails/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@liveblocks/emails",
"version": "3.13.3-rc1",
"version": "3.13.3",
"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",
Expand Down Expand Up @@ -35,8 +35,8 @@
"test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest"
},
"dependencies": {
"@liveblocks/core": "3.13.3-rc1",
"@liveblocks/node": "3.13.3-rc1"
"@liveblocks/core": "3.13.3",
"@liveblocks/node": "3.13.3"
},
"peerDependencies": {
"react": "^18 || ^19 || ^19.0.0-rc"
Expand Down
6 changes: 3 additions & 3 deletions 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.13.3-rc1",
"version": "3.13.3",
"description": "A server-side utility that lets you modify lexical documents hosted in Liveblocks.",
"license": "Apache-2.0",
"type": "module",
Expand Down Expand Up @@ -34,8 +34,8 @@
"test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest"
},
"dependencies": {
"@liveblocks/core": "3.13.3-rc1",
"@liveblocks/node": "3.13.3-rc1",
"@liveblocks/core": "3.13.3",
"@liveblocks/node": "3.13.3",
"yjs": "^13.6.18"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions 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.13.3-rc1",
"version": "3.13.3",
"description": "A server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks.",
"license": "Apache-2.0",
"type": "module",
Expand Down Expand Up @@ -34,8 +34,8 @@
"test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest"
},
"dependencies": {
"@liveblocks/core": "3.13.3-rc1",
"@liveblocks/node": "3.13.3-rc1",
"@liveblocks/core": "3.13.3",
"@liveblocks/node": "3.13.3",
"yjs": "^13.6.20"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/liveblocks-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@liveblocks/node",
"version": "3.13.3-rc1",
"version": "3.13.3",
"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",
Expand Down Expand Up @@ -34,7 +34,7 @@
"test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest"
},
"dependencies": {
"@liveblocks/core": "3.13.3-rc1",
"@liveblocks/core": "3.13.3",
"@stablelib/base64": "^1.0.1",
"fast-sha256": "^1.3.0",
"node-fetch": "^2.6.1"
Expand Down
Loading
Loading