@lobehub/chat 1.87.4 → 1.87.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.87.5](https://github.com/lobehub/lobe-chat/compare/v1.87.4...v1.87.5)
6
+
7
+ <sup>Released on **2025-05-20**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix desktop open issue on linux like Fedora42.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix desktop open issue on linux like Fedora42, closes [#7883](https://github.com/lobehub/lobe-chat/issues/7883) ([5b0154f](https://github.com/lobehub/lobe-chat/commit/5b0154f))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.87.4](https://github.com/lobehub/lobe-chat/compare/v1.87.3...v1.87.4)
6
31
 
7
32
  <sup>Released on **2025-05-18**</sup>
@@ -186,6 +186,10 @@ export class App {
186
186
  }
187
187
  });
188
188
 
189
+ // refs: https://github.com/lobehub/lobe-chat/pull/7883
190
+ // https://github.com/electron/electron/issues/46538#issuecomment-2808806722
191
+ app.commandLine.appendSwitch('gtk-version', '3');
192
+
189
193
  app.commandLine.appendSwitch('enable-features', this.chromeFlags.join(','));
190
194
 
191
195
  logger.debug('Waiting for app to be ready');
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix desktop open issue on linux like Fedora42."
6
+ ]
7
+ },
8
+ "date": "2025-05-20",
9
+ "version": "1.87.5"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "fixes": [
@@ -19,7 +19,7 @@ tags:
19
19
  <Steps>
20
20
  ### 步骤一:准备工作
21
21
 
22
- vLLM 对于硬件和软件环境均有一定要求,请无比根据以下要求进行配置:
22
+ vLLM 对于硬件和软件环境均有一定要求,请务必根据以下要求进行配置:
23
23
 
24
24
  | 硬件需求 | |
25
25
  | --------- | ----------------------------------------------------------------------- |
@@ -95,4 +95,4 @@ tags:
95
95
  <Image alt={'选择 vLLM 模型'} inStep src={'https://github.com/user-attachments/assets/fcdfb9c5-819a-488f-b28d-0857fe861219'} />
96
96
  </Steps>
97
97
 
98
- 至此你已经可以在 LobeChat 中使用 vLLM 提供的模型进行对话了。
98
+ 至此你已经可以在 LobeChat 中使用 vLLM 提供的模型进行对话了。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.87.4",
3
+ "version": "1.87.5",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -121,26 +121,26 @@
121
121
  "dependencies": {
122
122
  "@ant-design/icons": "^5.6.1",
123
123
  "@ant-design/pro-components": "^2.8.7",
124
- "@anthropic-ai/sdk": "^0.50.3",
124
+ "@anthropic-ai/sdk": "^0.51.0",
125
125
  "@auth/core": "^0.38.0",
126
- "@aws-sdk/client-bedrock-runtime": "^3.779.0",
127
- "@aws-sdk/client-s3": "^3.779.0",
128
- "@aws-sdk/s3-request-presigner": "^3.779.0",
126
+ "@aws-sdk/client-bedrock-runtime": "^3.812.0",
127
+ "@aws-sdk/client-s3": "^3.812.0",
128
+ "@aws-sdk/s3-request-presigner": "^3.812.0",
129
129
  "@azure-rest/ai-inference": "1.0.0-beta.5",
130
130
  "@azure/core-auth": "^1.9.0",
131
131
  "@cfworker/json-schema": "^4.1.1",
132
- "@clerk/localizations": "^3.13.4",
133
- "@clerk/nextjs": "^6.12.12",
134
- "@clerk/themes": "^2.2.26",
132
+ "@clerk/localizations": "^3.16.0",
133
+ "@clerk/nextjs": "^6.19.4",
134
+ "@clerk/themes": "^2.2.45",
135
135
  "@codesandbox/sandpack-react": "^2.20.0",
136
136
  "@cyntler/react-doc-viewer": "^1.17.0",
137
137
  "@electric-sql/pglite": "0.2.17",
138
- "@google-cloud/vertexai": "^1.9.3",
139
- "@google/generative-ai": "^0.24.0",
138
+ "@google-cloud/vertexai": "^1.10.0",
139
+ "@google/generative-ai": "^0.24.1",
140
140
  "@huggingface/inference": "^2.8.1",
141
141
  "@icons-pack/react-simple-icons": "9.6.0",
142
142
  "@khmyznikov/pwa-install": "0.3.9",
143
- "@langchain/community": "^0.3.38",
143
+ "@langchain/community": "^0.3.43",
144
144
  "@lobechat/electron-client-ipc": "workspace:*",
145
145
  "@lobechat/electron-server-ipc": "workspace:*",
146
146
  "@lobechat/file-loaders": "workspace:*",
@@ -150,96 +150,96 @@
150
150
  "@lobehub/chat-plugins-gateway": "^1.9.0",
151
151
  "@lobehub/icons": "^2.0.0",
152
152
  "@lobehub/tts": "^2.0.1",
153
- "@lobehub/ui": "^2.1.3",
154
- "@modelcontextprotocol/sdk": "^1.11.0",
153
+ "@lobehub/ui": "^2.1.6",
154
+ "@modelcontextprotocol/sdk": "^1.11.4",
155
155
  "@neondatabase/serverless": "^1.0.0",
156
- "@next/third-parties": "^15.3.0",
156
+ "@next/third-parties": "^15.3.2",
157
157
  "@react-spring/web": "^9.7.5",
158
158
  "@sentry/nextjs": "^7.120.3",
159
- "@serwist/next": "^9.0.12",
159
+ "@serwist/next": "^9.0.14",
160
160
  "@t3-oss/env-nextjs": "^0.12.0",
161
- "@tanstack/react-query": "^5.71.3",
162
- "@trpc/client": "^11.0.1",
163
- "@trpc/next": "^11.0.1",
164
- "@trpc/react-query": "^11.0.1",
165
- "@trpc/server": "^11.0.1",
161
+ "@tanstack/react-query": "^5.76.1",
162
+ "@trpc/client": "^11.1.2",
163
+ "@trpc/next": "^11.1.2",
164
+ "@trpc/react-query": "^11.1.2",
165
+ "@trpc/server": "^11.1.2",
166
166
  "@vercel/analytics": "^1.5.0",
167
167
  "@vercel/edge-config": "^1.4.0",
168
- "@vercel/functions": "^2.0.0",
168
+ "@vercel/functions": "^2.1.0",
169
169
  "@vercel/speed-insights": "^1.2.0",
170
170
  "@xterm/xterm": "^5.5.0",
171
- "ahooks": "^3.8.4",
171
+ "ahooks": "^3.8.5",
172
172
  "ai": "^3.4.33",
173
- "antd": "^5.25.1",
173
+ "antd": "^5.25.2",
174
174
  "antd-style": "^3.7.1",
175
175
  "brotli-wasm": "^3.0.1",
176
176
  "chroma-js": "^3.1.2",
177
- "countries-and-timezones": "^3.7.2",
177
+ "countries-and-timezones": "^3.8.0",
178
178
  "dayjs": "^1.11.13",
179
- "debug": "^4.4.0",
179
+ "debug": "^4.4.1",
180
180
  "dexie": "^3.2.7",
181
181
  "diff": "^7.0.0",
182
182
  "drizzle-orm": "^0.41.0",
183
183
  "drizzle-zod": "^0.5.1",
184
184
  "epub2": "^3.0.2",
185
185
  "fast-deep-equal": "^3.1.3",
186
- "file-type": "^20.4.1",
187
- "framer-motion": "^12.6.3",
186
+ "file-type": "^20.5.0",
187
+ "framer-motion": "^12.12.1",
188
188
  "gpt-tokenizer": "^2.9.0",
189
189
  "html-to-text": "^9.0.5",
190
190
  "i18next": "^24.2.3",
191
- "i18next-browser-languagedetector": "^8.0.4",
191
+ "i18next-browser-languagedetector": "^8.1.0",
192
192
  "i18next-resources-to-backend": "^1.2.1",
193
- "idb-keyval": "^6.2.1",
193
+ "idb-keyval": "^6.2.2",
194
194
  "immer": "^10.1.1",
195
195
  "jose": "^5.10.0",
196
196
  "js-sha256": "^0.11.0",
197
197
  "jsonl-parse-stringify": "^1.0.3",
198
198
  "keyv": "^4.5.4",
199
- "langchain": "^0.3.19",
200
- "langfuse": "^3.37.1",
201
- "langfuse-core": "^3.37.1",
199
+ "langchain": "^0.3.26",
200
+ "langfuse": "^3.37.2",
201
+ "langfuse-core": "^3.37.2",
202
202
  "lodash-es": "^4.17.21",
203
203
  "lucide-react": "^0.509.0",
204
204
  "mammoth": "^1.9.0",
205
205
  "mdast-util-to-markdown": "^2.1.2",
206
206
  "modern-screenshot": "^4.6.0",
207
207
  "nanoid": "^5.1.5",
208
- "next": "^15.3.0",
208
+ "next": "^15.3.2",
209
209
  "next-auth": "5.0.0-beta.25",
210
210
  "next-mdx-remote": "^5.0.0",
211
211
  "nextjs-toploader": "^3.8.16",
212
212
  "numeral": "^2.0.6",
213
- "nuqs": "^2.4.1",
213
+ "nuqs": "^2.4.3",
214
214
  "officeparser": "^5.1.1",
215
- "oidc-provider": "^8.4.0",
216
- "ollama": "^0.5.14",
217
- "openai": "^4.91.1",
215
+ "oidc-provider": "^8.8.1",
216
+ "ollama": "^0.5.15",
217
+ "openai": "^4.100.0",
218
218
  "openapi-fetch": "^0.9.8",
219
219
  "partial-json": "^0.1.7",
220
220
  "path-browserify-esm": "^1.0.6",
221
221
  "pdf-parse": "^1.1.1",
222
222
  "pdfjs-dist": "4.8.69",
223
- "pg": "^8.14.1",
224
- "pino": "^9.6.0",
223
+ "pg": "^8.16.0",
224
+ "pino": "^9.7.0",
225
225
  "plaiceholder": "^3.0.0",
226
226
  "polished": "^4.3.1",
227
- "posthog-js": "^1.234.6",
227
+ "posthog-js": "^1.245.0",
228
228
  "pwa-install-handler": "^2.6.2",
229
- "query-string": "^9.1.1",
229
+ "query-string": "^9.1.2",
230
230
  "random-words": "^2.0.1",
231
231
  "react": "^19.1.0",
232
232
  "react-confetti": "^6.4.0",
233
233
  "react-dom": "^19.1.0",
234
234
  "react-fast-marquee": "^1.6.5",
235
- "react-hotkeys-hook": "^4.6.1",
236
- "react-i18next": "^15.4.1",
235
+ "react-hotkeys-hook": "^4.6.2",
236
+ "react-i18next": "^15.5.1",
237
237
  "react-layout-kit": "^1.9.1",
238
238
  "react-lazy-load": "^4.0.1",
239
239
  "react-pdf": "^9.2.1",
240
240
  "react-rnd": "^10.5.2",
241
- "react-scan": "^0.3.3",
242
- "react-virtuoso": "^4.12.6",
241
+ "react-scan": "^0.3.4",
242
+ "react-virtuoso": "^4.12.7",
243
243
  "react-wrap-balancer": "^1.1.1",
244
244
  "remark": "^15.0.1",
245
245
  "remark-gfm": "^4.0.1",
@@ -247,12 +247,12 @@
247
247
  "request-filtering-agent": "^2.0.1",
248
248
  "resolve-accept-language": "^3.1.11",
249
249
  "rtl-detect": "^1.1.2",
250
- "semver": "^7.7.1",
250
+ "semver": "^7.7.2",
251
251
  "sharp": "^0.33.5",
252
- "shiki": "^3.2.1",
252
+ "shiki": "^3.4.2",
253
253
  "stripe": "^16.12.0",
254
254
  "superjson": "^2.2.2",
255
- "svix": "^1.63.0",
255
+ "svix": "^1.65.0",
256
256
  "swr": "^2.3.3",
257
257
  "systemjs": "^6.15.1",
258
258
  "ts-md5": "^1.3.1",
@@ -262,24 +262,24 @@
262
262
  "use-merge-value": "^1.2.0",
263
263
  "utility-types": "^3.11.0",
264
264
  "uuid": "^11.1.0",
265
- "ws": "^8.18.1",
265
+ "ws": "^8.18.2",
266
266
  "y-protocols": "^1.0.6",
267
267
  "y-webrtc": "^10.3.0",
268
- "yaml": "^2.7.1",
269
- "yjs": "^13.6.24",
270
- "zod": "^3.24.2",
271
- "zustand": "^5.0.3",
268
+ "yaml": "^2.8.0",
269
+ "yjs": "^13.6.27",
270
+ "zod": "^3.25.7",
271
+ "zustand": "^5.0.4",
272
272
  "zustand-utils": "^2.1.0"
273
273
  },
274
274
  "devDependencies": {
275
- "@commitlint/cli": "^19.8.0",
275
+ "@commitlint/cli": "^19.8.1",
276
276
  "@edge-runtime/vm": "^5.0.0",
277
277
  "@huggingface/tasks": "^0.15.9",
278
278
  "@lobehub/i18n-cli": "^1.20.3",
279
279
  "@lobehub/lint": "^1.26.1",
280
280
  "@lobehub/seo-cli": "^1.4.3",
281
- "@next/bundle-analyzer": "^15.3.0",
282
- "@next/eslint-plugin-next": "^15.3.0",
281
+ "@next/bundle-analyzer": "^15.3.2",
282
+ "@next/eslint-plugin-next": "^15.3.2",
283
283
  "@peculiar/webcrypto": "^1.5.0",
284
284
  "@semantic-release/exec": "^6.0.3",
285
285
  "@testing-library/jest-dom": "^6.6.3",
@@ -294,12 +294,12 @@
294
294
  "@types/json-schema": "^7.0.15",
295
295
  "@types/lodash": "^4.17.16",
296
296
  "@types/lodash-es": "^4.17.12",
297
- "@types/node": "^22.13.17",
297
+ "@types/node": "^22.15.19",
298
298
  "@types/numeral": "^2.0.5",
299
299
  "@types/oidc-provider": "^8.8.1",
300
- "@types/pg": "^8.11.11",
301
- "@types/react": "^19.1.0",
302
- "@types/react-dom": "^19.1.1",
300
+ "@types/pg": "^8.15.2",
301
+ "@types/react": "^19.1.4",
302
+ "@types/react-dom": "^19.1.5",
303
303
  "@types/rtl-detect": "^1.0.3",
304
304
  "@types/semver": "^7.7.0",
305
305
  "@types/systemjs": "^6.15.3",
@@ -307,35 +307,35 @@
307
307
  "@types/unist": "^3.0.3",
308
308
  "@types/uuid": "^10.0.0",
309
309
  "@types/ws": "^8.18.1",
310
- "@vitest/coverage-v8": "^3.1.1",
310
+ "@vitest/coverage-v8": "^3.1.4",
311
311
  "ajv-keywords": "^5.1.0",
312
- "commitlint": "^19.8.0",
312
+ "commitlint": "^19.8.1",
313
313
  "consola": "^3.4.2",
314
314
  "cross-env": "^7.0.3",
315
315
  "crypto-js": "^4.2.0",
316
- "dbdocs": "^0.14.3",
317
- "dotenv": "^16.4.7",
316
+ "dbdocs": "^0.14.4",
317
+ "dotenv": "^16.5.0",
318
318
  "dpdm-fast": "^1.0.7",
319
319
  "drizzle-dbml-generator": "^0.10.0",
320
320
  "drizzle-kit": "^0.30.6",
321
321
  "eslint": "^8.57.1",
322
- "eslint-plugin-mdx": "^3.3.1",
323
- "fake-indexeddb": "^6.0.0",
322
+ "eslint-plugin-mdx": "^3.4.2",
323
+ "fake-indexeddb": "^6.0.1",
324
324
  "fs-extra": "^11.3.0",
325
- "glob": "^11.0.1",
325
+ "glob": "^11.0.2",
326
326
  "gray-matter": "^4.0.3",
327
- "happy-dom": "^17.4.4",
327
+ "happy-dom": "^17.4.7",
328
328
  "husky": "^9.1.7",
329
329
  "just-diff": "^6.0.2",
330
- "lint-staged": "^15.5.0",
330
+ "lint-staged": "^15.5.2",
331
331
  "lodash": "^4.17.21",
332
332
  "markdown-table": "^3.0.4",
333
333
  "markdown-to-txt": "^2.0.1",
334
334
  "mcp-hello-world": "^1.1.2",
335
- "mime": "^4.0.6",
335
+ "mime": "^4.0.7",
336
336
  "node-fetch": "^3.3.2",
337
337
  "node-gyp": "^11.2.0",
338
- "openapi-typescript": "^7.6.1",
338
+ "openapi-typescript": "^7.8.0",
339
339
  "p-map": "^7.0.3",
340
340
  "prettier": "^3.5.3",
341
341
  "remark-cli": "^12.0.1",
@@ -343,14 +343,14 @@
343
343
  "remark-mdx": "^3.1.0",
344
344
  "remark-parse": "^11.0.0",
345
345
  "semantic-release": "^21.1.2",
346
- "serwist": "^9.0.12",
346
+ "serwist": "^9.0.14",
347
347
  "stylelint": "^15.11.0",
348
- "tsx": "^4.19.3",
349
- "typescript": "^5.8.2",
348
+ "tsx": "^4.19.4",
349
+ "typescript": "^5.8.3",
350
350
  "unified": "^11.0.5",
351
351
  "unist-util-visit": "^5.0.0",
352
- "vite": "^5.4.16",
353
- "vitest": "^3.1.1",
352
+ "vite": "^5.4.19",
353
+ "vitest": "^3.1.4",
354
354
  "vitest-canvas-mock": "^0.3.3"
355
355
  },
356
356
  "packageManager": "pnpm@10.10.0",
@@ -85,9 +85,6 @@ const ErrorResult = memo<FailedModalProps>(({ children }) => {
85
85
  onCancel={() => {
86
86
  setOpen(false);
87
87
  }}
88
- onClose={() => {
89
- setOpen(false);
90
- }}
91
88
  open={open}
92
89
  title={t('clientDB.error.title')}
93
90
  >