Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 46cbef7

Browse files
committedMay 26, 2024
Merge branch 'main' of https://github.com/lobehub/lobe-chat
2 parents ab2ede2 + fe95f31 commit 46cbef7

File tree

3 files changed

+49
-22
lines changed

3 files changed

+49
-22
lines changed
 

‎CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
# Changelog
44

5+
### [Version 0.161.20](https://github.com/lobehub/lobe-chat/compare/v0.161.19...v0.161.20)
6+
7+
<sup>Released on **2024-05-26**</sup>
8+
9+
#### 🐛 Bug Fixes
10+
11+
- **misc**: Fix vercel build.
12+
13+
<br/>
14+
15+
<details>
16+
<summary><kbd>Improvements and Fixes</kbd></summary>
17+
18+
#### What's fixed
19+
20+
- **misc**: Fix vercel build, closes [#2666](https://github.com/lobehub/lobe-chat/issues/2666) ([cb70e4a](https://github.com/lobehub/lobe-chat/commit/cb70e4a))
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+
530
### [Version 0.161.19](https://github.com/lobehub/lobe-chat/compare/v0.161.18...v0.161.19)
631

732
<sup>Released on **2024-05-25**</sup>

‎package.json

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lobehub/chat",
3-
"version": "0.161.19",
3+
"version": "0.161.20",
44
"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.",
55
"keywords": [
66
"framework",
@@ -84,32 +84,32 @@
8484
"@ant-design/icons": "^5.3.7",
8585
"@anthropic-ai/sdk": "^0.20.9",
8686
"@auth/core": "0.28.0",
87-
"@aws-sdk/client-bedrock-runtime": "^3.577.0",
88-
"@aws-sdk/client-s3": "^3.577.0",
89-
"@aws-sdk/s3-request-presigner": "^3.577.0",
87+
"@aws-sdk/client-bedrock-runtime": "^3.583.0",
88+
"@aws-sdk/client-s3": "^3.583.0",
89+
"@aws-sdk/s3-request-presigner": "^3.583.0",
9090
"@azure/openai": "1.0.0-beta.12",
9191
"@cfworker/json-schema": "^1.12.8",
9292
"@clerk/localizations": "2.0.0",
93-
"@clerk/nextjs": "^5.0.12",
94-
"@clerk/themes": "^2.1.6",
95-
"@google/generative-ai": "^0.11.3",
93+
"@clerk/nextjs": "^5.1.2",
94+
"@clerk/themes": "^2.1.7",
95+
"@google/generative-ai": "^0.11.4",
9696
"@icons-pack/react-simple-icons": "^9.5.0",
9797
"@khmyznikov/pwa-install": "^0.3.9",
9898
"@lobehub/chat-plugin-sdk": "^1.32.3",
9999
"@lobehub/chat-plugins-gateway": "^1.9.0",
100-
"@lobehub/icons": "^1.22.0",
100+
"@lobehub/icons": "^1.22.1",
101101
"@lobehub/tts": "^1.24.1",
102-
"@lobehub/ui": "^1.139.0",
102+
"@lobehub/ui": "^1.141.2",
103103
"@microsoft/fetch-event-source": "^2.0.1",
104104
"@next/third-parties": "^14.2.3",
105105
"@sentry/nextjs": "^7.116.0",
106106
"@t3-oss/env-nextjs": "^0.10.1",
107107
"@trpc/client": "next",
108108
"@trpc/next": "next",
109109
"@trpc/server": "next",
110-
"@vercel/analytics": "^1.2.2",
111-
"@vercel/speed-insights": "^1.0.10",
112-
"ahooks": "^3.7.11",
110+
"@vercel/analytics": "^1.3.1",
111+
"@vercel/speed-insights": "^1.0.11",
112+
"ahooks": "^3.8.0",
113113
"ai": "3.0.19",
114114
"antd": "^5.17.3",
115115
"antd-style": "^3.6.2",
@@ -128,8 +128,8 @@
128128
"immer": "^10.1.1",
129129
"ip": "^2.0.1",
130130
"jose": "^5.3.0",
131-
"langfuse": "^3.11.0",
132-
"langfuse-core": "^3.11.0",
131+
"langfuse": "^3.11.1",
132+
"langfuse-core": "^3.11.1",
133133
"lodash-es": "^4.17.21",
134134
"lucide-react": "latest",
135135
"modern-screenshot": "^4.4.39",
@@ -143,18 +143,18 @@
143143
"openai": "^4.47.1",
144144
"pino": "^9.1.0",
145145
"polished": "^4.3.1",
146-
"posthog-js": "^1.131.4",
146+
"posthog-js": "^1.135.2",
147147
"pwa-install-handler": "^2.6.0",
148148
"query-string": "^9.0.0",
149149
"random-words": "^2.0.1",
150150
"react": "^18.3.1",
151151
"react-dom": "^18.3.1",
152152
"react-hotkeys-hook": "^4.5.0",
153-
"react-i18next": "^14.1.1",
153+
"react-i18next": "^14.1.2",
154154
"react-layout-kit": "^1.9.0",
155155
"react-lazy-load": "^4.0.1",
156-
"react-virtuoso": "^4.7.10",
157-
"react-wrap-balancer": "^1.1.0",
156+
"react-virtuoso": "^4.7.11",
157+
"react-wrap-balancer": "^1.1.1",
158158
"remark": "^14.0.3",
159159
"remark-gfm": "^3.0.1",
160160
"remark-html": "^15.0.2",
@@ -200,7 +200,7 @@
200200
"@types/lodash-es": "^4.17.12",
201201
"@types/node": "^20.12.12",
202202
"@types/numeral": "^2.0.5",
203-
"@types/react": "^18.3.2",
203+
"@types/react": "^18.3.3",
204204
"@types/react-dom": "^18.3.0",
205205
"@types/rtl-detect": "^1.0.3",
206206
"@types/semver": "^7.5.8",
@@ -216,12 +216,12 @@
216216
"eslint": "^8.57.0",
217217
"eslint-plugin-mdx": "^2.3.4",
218218
"fake-indexeddb": "^5.0.2",
219-
"glob": "^10.3.16",
219+
"glob": "^10.4.1",
220220
"gray-matter": "^4.0.3",
221221
"happy-dom": "^14.11.0",
222222
"husky": "^9.0.11",
223223
"just-diff": "^6.0.2",
224-
"lint-staged": "^15.2.4",
224+
"lint-staged": "^15.2.5",
225225
"lodash": "^4.17.21",
226226
"markdown-table": "^3.0.3",
227227
"node-fetch": "^3.3.2",
@@ -232,7 +232,7 @@
232232
"remark-parse": "^10.0.2",
233233
"semantic-release": "^21.1.2",
234234
"stylelint": "^15.11.0",
235-
"tsx": "^4.10.5",
235+
"tsx": "^4.11.0",
236236
"typescript": "^5.4.5",
237237
"unified": "^11.0.4",
238238
"unist-util-visit": "^5.0.0",

‎src/app/(main)/chat/_layout/Desktop/SessionPanel.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const SessionPanel = memo<PropsWithChildren>(({ children }) => {
4040
const handleSizeChange: DraggablePanelProps['onSizeChange'] = (_, size) => {
4141
if (!size) return;
4242
const nextWidth = typeof size.width === 'string' ? Number.parseInt(size.width) : size.width;
43+
if (!nextWidth) return;
44+
4345
if (isEqual(nextWidth, sessionsWidth)) return;
4446
setWidth(nextWidth);
4547
updatePreference({ sessionsWidth: nextWidth });

0 commit comments

Comments
 (0)
Please sign in to comment.