@lobehub/lobehub 2.0.0-next.90 → 2.0.0-next.92

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,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 2.0.0-next.92](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.91...v2.0.0-next.92)
6
+
7
+ <sup>Released on **2025-11-19**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Remove debug console logs and add loading state.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Remove debug console logs and add loading state, closes [#10314](https://github.com/lobehub/lobe-chat/issues/10314) ([094cdff](https://github.com/lobehub/lobe-chat/commit/094cdff))
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
+
30
+ ## [Version 2.0.0-next.91](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.90...v2.0.0-next.91)
31
+
32
+ <sup>Released on **2025-11-19**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Fixed the hydrated false problem.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Fixed the hydrated false problem, closes [#10308](https://github.com/lobehub/lobe-chat/issues/10308) ([340aa2a](https://github.com/lobehub/lobe-chat/commit/340aa2a))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ## [Version 2.0.0-next.90](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.89...v2.0.0-next.90)
6
56
 
7
57
  <sup>Released on **2025-11-19**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Remove debug console logs and add loading state."
6
+ ]
7
+ },
8
+ "date": "2025-11-19",
9
+ "version": "2.0.0-next.92"
10
+ },
11
+ {
12
+ "children": {
13
+ "fixes": [
14
+ "Fixed the hydrated false problem."
15
+ ]
16
+ },
17
+ "date": "2025-11-19",
18
+ "version": "2.0.0-next.91"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "improvements": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lobehub",
3
- "version": "2.0.0-next.90",
3
+ "version": "2.0.0-next.92",
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",
@@ -0,0 +1,20 @@
1
+ 'use client';
2
+
3
+ import { RouterProvider } from 'react-router-dom';
4
+
5
+ import type { Locales } from '@/types/locale';
6
+
7
+ import { createDesktopRouter } from './desktopRouter.config';
8
+
9
+ interface ClientRouterProps {
10
+ locale: Locales;
11
+ }
12
+
13
+ const ClientRouter = ({ locale }: ClientRouterProps) => {
14
+ const router = createDesktopRouter(locale);
15
+ return <RouterProvider router={router} />;
16
+ };
17
+
18
+ ClientRouter.displayName = 'ClientRouter';
19
+
20
+ export default ClientRouter;
@@ -1,31 +1,11 @@
1
1
  'use client';
2
2
 
3
3
  import dynamic from 'next/dynamic';
4
- import { memo, useMemo } from 'react';
5
- import { RouterProvider } from 'react-router-dom';
6
4
 
7
- import BootErrorBoundary from '@/components/BootErrorBoundary';
8
5
  import Loading from '@/components/Loading/BrandTextLoading';
9
6
  import type { Locales } from '@/types/locale';
10
7
 
11
- import { createDesktopRouter } from './desktopRouter.config';
12
-
13
- interface ClientRouterProps {
14
- locale: Locales;
15
- }
16
-
17
- const ClientRouter = memo<ClientRouterProps>(({ locale }) => {
18
- const router = useMemo(() => createDesktopRouter(locale), [locale]);
19
- return (
20
- <BootErrorBoundary fallback={<Loading />}>
21
- <RouterProvider router={router} />
22
- </BootErrorBoundary>
23
- );
24
- });
25
-
26
- ClientRouter.displayName = 'ClientRouter';
27
-
28
- const DesktopRouterClient = dynamic(() => Promise.resolve(ClientRouter), {
8
+ const DesktopRouterClient = dynamic(() => import('./DesktopClientRouter'), {
29
9
  loading: () => <Loading />,
30
10
  ssr: false,
31
11
  });
@@ -0,0 +1,20 @@
1
+ 'use client';
2
+
3
+ import { RouterProvider } from 'react-router-dom';
4
+
5
+ import type { Locales } from '@/types/locale';
6
+
7
+ import { createMobileRouter } from './mobileRouter.config';
8
+
9
+ interface ClientRouterProps {
10
+ locale: Locales;
11
+ }
12
+
13
+ const ClientRouter = ({ locale }: ClientRouterProps) => {
14
+ const router = createMobileRouter(locale);
15
+ return <RouterProvider router={router} />;
16
+ };
17
+
18
+ ClientRouter.displayName = 'ClientRouter';
19
+
20
+ export default ClientRouter;
@@ -1,32 +1,11 @@
1
1
  'use client';
2
2
 
3
3
  import dynamic from 'next/dynamic';
4
- import { memo, useMemo } from 'react';
5
- import { RouterProvider } from 'react-router-dom';
6
4
 
7
- import BootErrorBoundary from '@/components/BootErrorBoundary';
8
5
  import Loading from '@/components/Loading/BrandTextLoading';
9
6
  import type { Locales } from '@/types/locale';
10
7
 
11
- import { createMobileRouter } from './mobileRouter.config';
12
-
13
- interface ClientRouterProps {
14
- locale: Locales;
15
- }
16
-
17
- const ClientRouter = memo<ClientRouterProps>(({ locale }) => {
18
- const router = useMemo(() => createMobileRouter(locale), [locale]);
19
-
20
- return (
21
- <BootErrorBoundary fallback={<Loading />}>
22
- <RouterProvider router={router} />
23
- </BootErrorBoundary>
24
- );
25
- });
26
-
27
- ClientRouter.displayName = 'ClientRouter';
28
-
29
- const MobileRouterClient = dynamic(() => Promise.resolve(ClientRouter), {
8
+ const MobileRouterClient = dynamic(() => import('./MobileClientRouter'), {
30
9
  loading: () => <Loading />,
31
10
  ssr: false,
32
11
  });