@lobehub/chat 1.12.16 → 1.12.17
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.12.17](https://github.com/lobehub/lobe-chat/compare/v1.12.16...v1.12.17)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-08-25**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix multi file upload dupicate.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix multi file upload dupicate, closes [#3603](https://github.com/lobehub/lobe-chat/issues/3603) ([60dbed7](https://github.com/lobehub/lobe-chat/commit/60dbed7))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 1.12.16](https://github.com/lobehub/lobe-chat/compare/v1.12.15...v1.12.16)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-08-24**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.17",
|
|
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",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@aws-sdk/s3-request-presigner": "^3.637.0",
|
|
108
108
|
"@azure/core-rest-pipeline": "1.16.0",
|
|
109
109
|
"@azure/openai": "1.0.0-beta.12",
|
|
110
|
-
"@cfworker/json-schema": "^
|
|
110
|
+
"@cfworker/json-schema": "^2.0.0",
|
|
111
111
|
"@clerk/localizations": "2.0.0",
|
|
112
112
|
"@clerk/nextjs": "^5.3.3",
|
|
113
113
|
"@clerk/themes": "^2.1.21",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"@neondatabase/serverless": "^0.9.4",
|
|
125
125
|
"@next/third-parties": "^14.2.6",
|
|
126
126
|
"@sentry/nextjs": "^7.119.0",
|
|
127
|
-
"@t3-oss/env-nextjs": "^0.
|
|
127
|
+
"@t3-oss/env-nextjs": "^0.11.0",
|
|
128
128
|
"@tanstack/react-query": "^5.52.1",
|
|
129
129
|
"@trpc/client": "next",
|
|
130
130
|
"@trpc/next": "next",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"debug": "^4.3.6",
|
|
144
144
|
"dexie": "^3.2.7",
|
|
145
145
|
"diff": "^5.2.0",
|
|
146
|
-
"drizzle-orm": "^0.
|
|
146
|
+
"drizzle-orm": "^0.33.0",
|
|
147
147
|
"drizzle-zod": "^0.5.1",
|
|
148
148
|
"fast-deep-equal": "^3.1.3",
|
|
149
149
|
"file-type": "^19.4.1",
|
|
@@ -255,14 +255,14 @@
|
|
|
255
255
|
"consola": "^3.2.3",
|
|
256
256
|
"dotenv": "^16.4.5",
|
|
257
257
|
"dpdm": "^3.14.0",
|
|
258
|
-
"drizzle-kit": "^0.
|
|
258
|
+
"drizzle-kit": "^0.24.0",
|
|
259
259
|
"eslint": "^8.57.0",
|
|
260
260
|
"eslint-plugin-mdx": "^2.3.4",
|
|
261
261
|
"eslint-plugin-unused-imports": "4.0.1",
|
|
262
262
|
"fake-indexeddb": "^6.0.0",
|
|
263
263
|
"glob": "^11.0.0",
|
|
264
264
|
"gray-matter": "^4.0.3",
|
|
265
|
-
"happy-dom": "^
|
|
265
|
+
"happy-dom": "^15.0.0",
|
|
266
266
|
"husky": "^9.1.5",
|
|
267
267
|
"just-diff": "^6.0.2",
|
|
268
268
|
"lint-staged": "^15.2.9",
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"vitest": "~1.2.2",
|
|
285
285
|
"vitest-canvas-mock": "^0.3.3"
|
|
286
286
|
},
|
|
287
|
-
"packageManager": "pnpm@9.
|
|
287
|
+
"packageManager": "pnpm@9.8.0",
|
|
288
288
|
"publishConfig": {
|
|
289
289
|
"access": "public",
|
|
290
290
|
"registry": "https://registry.npmjs.org"
|
|
@@ -102,8 +102,8 @@ const EmptyStatus = ({ showKnowledgeBase, knowledgeBaseId }: EmptyStatusProps) =
|
|
|
102
102
|
</Flexbox>
|
|
103
103
|
)}
|
|
104
104
|
<Upload
|
|
105
|
-
beforeUpload={async (
|
|
106
|
-
await pushDockFileList(
|
|
105
|
+
beforeUpload={async (file) => {
|
|
106
|
+
await pushDockFileList([file], knowledgeBaseId);
|
|
107
107
|
|
|
108
108
|
return false;
|
|
109
109
|
}}
|
|
@@ -122,8 +122,8 @@ const EmptyStatus = ({ showKnowledgeBase, knowledgeBaseId }: EmptyStatusProps) =
|
|
|
122
122
|
</Flexbox>
|
|
123
123
|
</Upload>
|
|
124
124
|
<Upload
|
|
125
|
-
beforeUpload={async (
|
|
126
|
-
await pushDockFileList(
|
|
125
|
+
beforeUpload={async (file) => {
|
|
126
|
+
await pushDockFileList([file], knowledgeBaseId);
|
|
127
127
|
|
|
128
128
|
return false;
|
|
129
129
|
}}
|
|
@@ -30,8 +30,8 @@ const UploadFileButton = ({ knowledgeBaseId }: { knowledgeBaseId?: string }) =>
|
|
|
30
30
|
key: 'upload-file',
|
|
31
31
|
label: (
|
|
32
32
|
<Upload
|
|
33
|
-
beforeUpload={async (
|
|
34
|
-
await pushDockFileList(
|
|
33
|
+
beforeUpload={async (file) => {
|
|
34
|
+
await pushDockFileList([file], knowledgeBaseId);
|
|
35
35
|
|
|
36
36
|
return false;
|
|
37
37
|
}}
|
|
@@ -47,8 +47,8 @@ const UploadFileButton = ({ knowledgeBaseId }: { knowledgeBaseId?: string }) =>
|
|
|
47
47
|
key: 'upload-folder',
|
|
48
48
|
label: (
|
|
49
49
|
<Upload
|
|
50
|
-
beforeUpload={async (
|
|
51
|
-
await pushDockFileList(
|
|
50
|
+
beforeUpload={async (file) => {
|
|
51
|
+
await pushDockFileList([file], knowledgeBaseId);
|
|
52
52
|
|
|
53
53
|
return false;
|
|
54
54
|
}}
|