diff --git a/CHANGELOG.md b/CHANGELOG.md index 430d330c6d..b7b0809aa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ ## vNEXT (not yet released) +## v3.14.1 + +### `@liveblocks/react` + +- Fix paginated hooks (`useThreads`, `useInboxNotifications`, and `useAiChats`) + stopping pagination after the first `fetchMore()` call when auto-paginating in + a `useEffect`. + ## v3.14.0 This release adds support for opting-in to the new storage engine on a per-room diff --git a/docs/routes.json b/docs/routes.json index d39717fa76..a0f0617a44 100644 --- a/docs/routes.json +++ b/docs/routes.json @@ -739,9 +739,8 @@ "href": "https://frimousse.liveblocks.io" }, { - "title": "How to set up CI testing", - "path": "/guides/how-to-set-up-continuous-integration-ci-testing", - "hidden": true + "title": "Zen Router", + "href": "https://zenrouter.liveblocks.io" } ] }, diff --git a/package-lock.json b/package-lock.json index 7c2ba3b405..7fdc3b20bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38440,10 +38440,10 @@ }, "packages/liveblocks-client": { "name": "@liveblocks/client", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.14.0" + "@liveblocks/core": "3.14.1" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -38452,7 +38452,7 @@ }, "packages/liveblocks-core": { "name": "@liveblocks/core", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "devDependencies": { "@liveblocks/eslint-config": "*", @@ -38470,11 +38470,11 @@ }, "packages/liveblocks-emails": { "name": "@liveblocks/emails", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.14.0", - "@liveblocks/node": "3.14.0" + "@liveblocks/core": "3.14.1", + "@liveblocks/node": "3.14.1" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -38493,10 +38493,10 @@ }, "packages/liveblocks-node": { "name": "@liveblocks/node", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.14.0", + "@liveblocks/core": "3.14.1", "@stablelib/base64": "^1.0.1", "fast-sha256": "^1.3.0", "node-fetch": "^2.6.1" @@ -38511,11 +38511,11 @@ }, "packages/liveblocks-node-lexical": { "name": "@liveblocks/node-lexical", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.14.0", - "@liveblocks/node": "3.14.0", + "@liveblocks/core": "3.14.1", + "@liveblocks/node": "3.14.1", "yjs": "^13.6.18" }, "devDependencies": { @@ -38532,11 +38532,11 @@ }, "packages/liveblocks-node-prosemirror": { "name": "@liveblocks/node-prosemirror", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/core": "3.14.0", - "@liveblocks/node": "3.14.0", + "@liveblocks/core": "3.14.1", + "@liveblocks/node": "3.14.1", "yjs": "^13.6.20" }, "devDependencies": { @@ -38556,11 +38556,11 @@ }, "packages/liveblocks-react": { "name": "@liveblocks/react", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0" + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -38590,15 +38590,15 @@ }, "packages/liveblocks-react-blocknote": { "name": "@liveblocks/react-blocknote", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", - "@liveblocks/react-tiptap": "3.14.0", - "@liveblocks/react-ui": "3.14.0", - "@liveblocks/yjs": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", + "@liveblocks/react-tiptap": "3.14.1", + "@liveblocks/react-ui": "3.14.1", + "@liveblocks/yjs": "3.14.1", "@tiptap/core": "^3.19.0", "vitest-tsconfig-paths": "^3.4.1" }, @@ -38635,15 +38635,15 @@ }, "packages/liveblocks-react-lexical": { "name": "@liveblocks/react-lexical", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.1.1", - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", - "@liveblocks/react-ui": "3.14.0", - "@liveblocks/yjs": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", + "@liveblocks/react-ui": "3.14.1", + "@liveblocks/yjs": "3.14.1", "@radix-ui/react-select": "^2.1.2", "@radix-ui/react-toggle": "^1.1.0", "yjs": "^13.6.18" @@ -39166,15 +39166,15 @@ }, "packages/liveblocks-react-tiptap": { "name": "@liveblocks/react-tiptap", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", - "@liveblocks/react-ui": "3.14.0", - "@liveblocks/yjs": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", + "@liveblocks/react-ui": "3.14.1", + "@liveblocks/yjs": "3.14.1", "@radix-ui/react-select": "^2.1.2", "@radix-ui/react-toggle": "^1.1.0", "@tiptap/core": "^3.19.0", @@ -39697,13 +39697,13 @@ }, "packages/liveblocks-react-ui": { "name": "@liveblocks/react-ui", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", "@radix-ui/react-dropdown-menu": "^2.1.2", "@radix-ui/react-popover": "^1.1.2", "@radix-ui/react-slot": "^1.1.0", @@ -41026,11 +41026,11 @@ }, "packages/liveblocks-redux": { "name": "@liveblocks/redux", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0" + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1" }, "devDependencies": { "@liveblocks/eslint-config": "*", @@ -41186,11 +41186,11 @@ }, "packages/liveblocks-yjs": { "name": "@liveblocks/yjs", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", "@noble/hashes": "^1.8.0", "js-base64": "^3.7.7", "y-indexeddb": "^9.0.12" @@ -41255,11 +41255,11 @@ }, "packages/liveblocks-zustand": { "name": "@liveblocks/zustand", - "version": "3.14.0", + "version": "3.14.1", "license": "Apache-2.0", "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0" + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1" }, "devDependencies": { "@liveblocks/eslint-config": "*", diff --git a/packages/liveblocks-client/package.json b/packages/liveblocks-client/package.json index 92fac05663..205185cf11 100644 --- a/packages/liveblocks-client/package.json +++ b/packages/liveblocks-client/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/client", - "version": "3.14.0", + "version": "3.14.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.", @@ -36,7 +36,7 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.14.0" + "@liveblocks/core": "3.14.1" }, "devDependencies": { "@liveblocks/eslint-config": "*", diff --git a/packages/liveblocks-core/package.json b/packages/liveblocks-core/package.json index dffff217e0..9244f94f5e 100644 --- a/packages/liveblocks-core/package.json +++ b/packages/liveblocks-core/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/core", - "version": "3.14.0", + "version": "3.14.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 77a5e837fe..d8bce51bf7 100644 --- a/packages/liveblocks-emails/package.json +++ b/packages/liveblocks-emails/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/emails", - "version": "3.14.0", + "version": "3.14.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.", @@ -37,8 +37,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.14.0", - "@liveblocks/node": "3.14.0" + "@liveblocks/core": "3.14.1", + "@liveblocks/node": "3.14.1" }, "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 22846aa70d..804e1501df 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.14.0", + "version": "3.14.1", "description": "A server-side utility that lets you modify lexical documents hosted in Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", @@ -36,8 +36,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.14.0", - "@liveblocks/node": "3.14.0", + "@liveblocks/core": "3.14.1", + "@liveblocks/node": "3.14.1", "yjs": "^13.6.18" }, "peerDependencies": { diff --git a/packages/liveblocks-node-prosemirror/package.json b/packages/liveblocks-node-prosemirror/package.json index 09a70467c8..3fed604ec4 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.14.0", + "version": "3.14.1", "description": "A server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", @@ -36,8 +36,8 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.14.0", - "@liveblocks/node": "3.14.0", + "@liveblocks/core": "3.14.1", + "@liveblocks/node": "3.14.1", "yjs": "^13.6.20" }, "peerDependencies": { diff --git a/packages/liveblocks-node/package.json b/packages/liveblocks-node/package.json index 8d36871531..c74efcfbfa 100644 --- a/packages/liveblocks-node/package.json +++ b/packages/liveblocks-node/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/node", - "version": "3.14.0", + "version": "3.14.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.", @@ -36,7 +36,7 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/core": "3.14.0", + "@liveblocks/core": "3.14.1", "@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 11e273cb96..1bde37f556 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.14.0", + "version": "3.14.1", "description": "An integration of BlockNote + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", @@ -44,12 +44,12 @@ "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest" }, "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", - "@liveblocks/react-tiptap": "3.14.0", - "@liveblocks/react-ui": "3.14.0", - "@liveblocks/yjs": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", + "@liveblocks/react-tiptap": "3.14.1", + "@liveblocks/react-ui": "3.14.1", + "@liveblocks/yjs": "3.14.1", "@tiptap/core": "^3.19.0", "vitest-tsconfig-paths": "^3.4.1" }, diff --git a/packages/liveblocks-react-lexical/package.json b/packages/liveblocks-react-lexical/package.json index 932508bf9f..2ebe2be498 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.14.0", + "version": "3.14.1", "description": "An integration of Lexical + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", @@ -45,11 +45,11 @@ }, "dependencies": { "@floating-ui/react-dom": "^2.1.1", - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", - "@liveblocks/react-ui": "3.14.0", - "@liveblocks/yjs": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", + "@liveblocks/react-ui": "3.14.1", + "@liveblocks/yjs": "3.14.1", "@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 0bb303cbd3..e3176c0268 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.14.0", + "version": "3.14.1", "description": "An integration of TipTap + React to enable collaboration, comments, live cursors, and more with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", @@ -45,11 +45,11 @@ }, "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", - "@liveblocks/react-ui": "3.14.0", - "@liveblocks/yjs": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", + "@liveblocks/react-ui": "3.14.1", + "@liveblocks/yjs": "3.14.1", "@radix-ui/react-select": "^2.1.2", "@radix-ui/react-toggle": "^1.1.0", "@tiptap/core": "^3.19.0", diff --git a/packages/liveblocks-react-ui/package.json b/packages/liveblocks-react-ui/package.json index 5aae47975f..f13be80445 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.14.0", + "version": "3.14.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.", @@ -78,9 +78,9 @@ }, "dependencies": { "@floating-ui/react-dom": "^2.1.2", - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", - "@liveblocks/react": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", + "@liveblocks/react": "3.14.1", "@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 ebd2193ff5..46cedd9813 100644 --- a/packages/liveblocks-react/package.json +++ b/packages/liveblocks-react/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/react", - "version": "3.14.0", + "version": "3.14.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.", @@ -63,8 +63,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.14.0", - "@liveblocks/core": "3.14.0" + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1" }, "peerDependencies": { "@types/react": "*", diff --git a/packages/liveblocks-redux/package.json b/packages/liveblocks-redux/package.json index 5598f39e5c..9e2a680908 100644 --- a/packages/liveblocks-redux/package.json +++ b/packages/liveblocks-redux/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/redux", - "version": "3.14.0", + "version": "3.14.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.", @@ -35,8 +35,8 @@ "test:watch": "vitest" }, "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0" + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1" }, "peerDependencies": { "redux": "^4 || ^5" diff --git a/packages/liveblocks-yjs/package.json b/packages/liveblocks-yjs/package.json index ab9edcc15d..aeadda1fa2 100644 --- a/packages/liveblocks-yjs/package.json +++ b/packages/liveblocks-yjs/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/yjs", - "version": "3.14.0", + "version": "3.14.1", "description": "Integrate your existing or new Yjs documents with Liveblocks.", "license": "Apache-2.0", "author": "Liveblocks Inc.", @@ -35,8 +35,8 @@ "test:watch": "vitest" }, "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0", + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1", "@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 5c53eb3e2e..4e94c68882 100644 --- a/packages/liveblocks-zustand/package.json +++ b/packages/liveblocks-zustand/package.json @@ -1,6 +1,6 @@ { "name": "@liveblocks/zustand", - "version": "3.14.0", + "version": "3.14.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.", @@ -36,8 +36,8 @@ "test:watch": "vitest" }, "dependencies": { - "@liveblocks/client": "3.14.0", - "@liveblocks/core": "3.14.0" + "@liveblocks/client": "3.14.1", + "@liveblocks/core": "3.14.1" }, "peerDependencies": { "zustand": "^5.0.1"