@lobehub/chat 0.132.0 → 0.132.1
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 +25 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/package.json +1 -1
- package/src/locales/create.ts +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.132.1](https://github.com/lobehub/lobe-chat/compare/v0.132.0...v0.132.1)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-03-06**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix hydration error while OAuth callback.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix hydration error while OAuth callback, closes [#1474](https://github.com/lobehub/lobe-chat/issues/1474) ([ff93825](https://github.com/lobehub/lobe-chat/commit/ff93825))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
## [Version 0.132.0](https://github.com/lobehub/lobe-chat/compare/v0.131.0...v0.132.0)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-03-05**</sup>
|
package/README.md
CHANGED
|
@@ -223,7 +223,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
|
|
|
223
223
|
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | Get realtime crypto price, BTC, ETH, BNB, and the latest insights.The latest coin news and airdrop opportunities.<br/>`crypto` `btc` `eth` `bnb` |
|
|
224
224
|
| [Bilibili](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | Dive into Bilibili's vast content with features like keyword video search, replay access, interactive danmaku, trending video recommendations, and hot-search insights, all at your fingertips.<br/>`video` `bilibili` `search` |
|
|
225
225
|
|
|
226
|
-
> 📊 Total plugins: [<kbd>**
|
|
226
|
+
> 📊 Total plugins: [<kbd>**58**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
227
227
|
|
|
228
228
|
<!-- PLUGIN LIST -->
|
|
229
229
|
|
package/README.zh-CN.md
CHANGED
|
@@ -215,7 +215,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
215
215
|
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | 获取实时加密货币价格,BTC,ETH,BNB 和最新见解。最新的币新闻和空投机会。<br/>`加密货币` `btc` `eth` `bnb` |
|
|
216
216
|
| [哔哩哔哩](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | 通过关键词视频搜索、回放访问、互动弹幕、热门视频推荐和热搜洞察等功能,深入体验哔哩哔哩丰富的内容,尽在您的指尖。<br/>`视频` `哔哩哔哩` `搜索` |
|
|
217
217
|
|
|
218
|
-
> 📊 Total plugins: [<kbd>**
|
|
218
|
+
> 📊 Total plugins: [<kbd>**58**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
219
219
|
|
|
220
220
|
<!-- PLUGIN LIST -->
|
|
221
221
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.132.
|
|
3
|
+
"version": "0.132.1",
|
|
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",
|
package/src/locales/create.ts
CHANGED
|
@@ -39,6 +39,15 @@ export const createI18nNext = (lang?: string) => {
|
|
|
39
39
|
detection: {
|
|
40
40
|
caches: ['cookie'],
|
|
41
41
|
cookieMinutes: 60 * 24 * COOKIE_CACHE_DAYS,
|
|
42
|
+
/**
|
|
43
|
+
Set `sameSite` to `lax` so that the i18n cookie can be passed to the
|
|
44
|
+
server side when returning from the OAuth authorization website.
|
|
45
|
+
ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value
|
|
46
|
+
discussion: https://github.com/lobehub/lobe-chat/pull/1474
|
|
47
|
+
*/
|
|
48
|
+
cookieOptions: {
|
|
49
|
+
sameSite: 'lax',
|
|
50
|
+
},
|
|
42
51
|
lookupCookie: LOBE_LOCALE_COOKIE,
|
|
43
52
|
},
|
|
44
53
|
fallbackLng: DEFAULT_LANG,
|