@lobehub/lobehub 2.0.0-next.80 → 2.0.0-next.81
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 2.0.0-next.81](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.80...v2.0.0-next.81)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2025-11-18**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Slove when logout always show loading.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Slove when logout always show loading, closes [#10284](https://github.com/lobehub/lobe-chat/issues/10284) ([d91fb73](https://github.com/lobehub/lobe-chat/commit/d91fb73))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
## [Version 2.0.0-next.80](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.79...v2.0.0-next.80)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2025-11-18**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/lobehub",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.81",
|
|
4
4
|
"description": "LobeHub - an open-source,comprehensive AI Agent 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",
|
|
@@ -36,27 +36,9 @@ const RootLayout = (props: { locale: Locales }) => {
|
|
|
36
36
|
);
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
// Hydration gate loader -
|
|
39
|
+
// Hydration gate loader -always return true to bypass hydration gate
|
|
40
40
|
const hydrationGateLoader: LoaderFunction = () => {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
// 如果状态已经就绪,直接放行
|
|
44
|
-
if (isAppHydrated) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// 否则,返回一个 Promise,"暂停" 渲染
|
|
49
|
-
return new Promise((resolve) => {
|
|
50
|
-
console.log('[HydrationGate] Waiting for client state...');
|
|
51
|
-
// 订阅 useGlobalStore 的变化
|
|
52
|
-
const unsubscribe = useGlobalStore.subscribe((state) => {
|
|
53
|
-
if (state.isAppHydrated) {
|
|
54
|
-
console.log('[HydrationGate] Client state ready. Gate opened!');
|
|
55
|
-
unsubscribe(); // 清理订阅
|
|
56
|
-
resolve(null); // Promise 完成,门卫放行
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
});
|
|
41
|
+
return true
|
|
60
42
|
};
|
|
61
43
|
|
|
62
44
|
// Create desktop router configuration
|
|
@@ -34,27 +34,9 @@ const RootLayout = (props: { locale: Locales }) => (
|
|
|
34
34
|
</>
|
|
35
35
|
);
|
|
36
36
|
|
|
37
|
-
// Hydration gate loader -
|
|
37
|
+
// Hydration gate loader -always return true to bypass hydration gate
|
|
38
38
|
const hydrationGateLoader: LoaderFunction = () => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
// 如果状态已经就绪,直接放行
|
|
42
|
-
if (isAppHydrated) {
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// 否则,返回一个 Promise,"暂停" 渲染
|
|
47
|
-
return new Promise((resolve) => {
|
|
48
|
-
console.log('[HydrationGate] Waiting for client state...');
|
|
49
|
-
// 订阅 useGlobalStore 的变化
|
|
50
|
-
const unsubscribe = useGlobalStore.subscribe((state) => {
|
|
51
|
-
if (state.isAppHydrated) {
|
|
52
|
-
console.log('[HydrationGate] Client state ready. Gate opened!');
|
|
53
|
-
unsubscribe(); // 清理订阅
|
|
54
|
-
resolve(null); // Promise 完成,门卫放行
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
});
|
|
39
|
+
return true
|
|
58
40
|
};
|
|
59
41
|
|
|
60
42
|
// Create mobile router configuration
|