@lobehub/chat 1.45.7 → 1.45.9

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 1.45.9](https://github.com/lobehub/lobe-chat/compare/v1.45.8...v1.45.9)
6
+
7
+ <sup>Released on **2025-01-14**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix pin package manager to pnpm\@9 for docker.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix pin package manager to pnpm\@9 for docker, closes [#5436](https://github.com/lobehub/lobe-chat/issues/5436) ([00dc29b](https://github.com/lobehub/lobe-chat/commit/00dc29b))
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 1.45.8](https://github.com/lobehub/lobe-chat/compare/v1.45.7...v1.45.8)
31
+
32
+ <sup>Released on **2025-01-14**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Refactor dynamic import in RSC.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Refactor dynamic import in RSC, closes [#5434](https://github.com/lobehub/lobe-chat/issues/5434) ([6a663a7](https://github.com/lobehub/lobe-chat/commit/6a663a7))
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 1.45.7](https://github.com/lobehub/lobe-chat/compare/v1.45.6...v1.45.7)
6
56
 
7
57
  <sup>Released on **2025-01-13**</sup>
package/Dockerfile CHANGED
@@ -82,7 +82,7 @@ RUN \
82
82
  # Enable corepack
83
83
  && corepack enable \
84
84
  # Use pnpm for corepack
85
- && corepack use pnpm \
85
+ && corepack use pnpm@9 \
86
86
  # Install the dependencies
87
87
  && pnpm i \
88
88
  # Add sharp dependencies
@@ -89,7 +89,7 @@ RUN \
89
89
  # Enable corepack
90
90
  && corepack enable \
91
91
  # Use pnpm for corepack
92
- && corepack use pnpm \
92
+ && corepack use pnpm@9 \
93
93
  # Install the dependencies
94
94
  && pnpm i \
95
95
  # Add sharp and db migration dependencies
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix pin package manager to pnpm@9 for docker."
6
+ ]
7
+ },
8
+ "date": "2025-01-14",
9
+ "version": "1.45.9"
10
+ },
11
+ {
12
+ "children": {
13
+ "fixes": [
14
+ "Refactor dynamic import in RSC."
15
+ ]
16
+ },
17
+ "date": "2025-01-14",
18
+ "version": "1.45.8"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.45.7",
3
+ "version": "1.45.9",
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",
@@ -315,7 +315,7 @@
315
315
  "vitest": "~1.2.2",
316
316
  "vitest-canvas-mock": "^0.3.3"
317
317
  },
318
- "packageManager": "pnpm@9.15.2",
318
+ "packageManager": "pnpm@9.15.3",
319
319
  "publishConfig": {
320
320
  "access": "public",
321
321
  "registry": "https://registry.npmjs.org"
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,4 +1,3 @@
1
- import dynamic from 'next/dynamic';
2
1
  import { redirect } from 'next/navigation';
3
2
  import urlJoin from 'url-join';
4
3
 
@@ -10,20 +9,10 @@ import { translation } from '@/server/translation';
10
9
  import { PageProps } from '@/types/next';
11
10
  import { isMobileDevice } from '@/utils/server/responsive';
12
11
 
13
- import { ListLoadingWithoutBanner } from '../components/ListLoading';
14
-
15
- const AssistantsResult = dynamic(() => import('./features/AssistantsResult'), {
16
- loading: () => <ListLoadingWithoutBanner />,
17
- });
18
- const PluginsResult = dynamic(() => import('./features/PluginsResult'), {
19
- loading: () => <ListLoadingWithoutBanner />,
20
- });
21
- const ModelsResult = dynamic(() => import('./features/ModelsResult'), {
22
- loading: () => <ListLoadingWithoutBanner />,
23
- });
24
- const ProvidersResult = dynamic(() => import('./features/ProvidersResult'), {
25
- loading: () => <ListLoadingWithoutBanner />,
26
- });
12
+ import AssistantsResult from './features/AssistantsResult';
13
+ import ModelsResult from './features/ModelsResult';
14
+ import PluginsResult from './features/PluginsResult';
15
+ import ProvidersResult from './features/ProvidersResult';
27
16
 
28
17
  type Props = PageProps<
29
18
  undefined,
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,5 +1,3 @@
1
- import { Skeleton } from 'antd';
2
- import dynamic from 'next/dynamic';
3
1
  import { notFound } from 'next/navigation';
4
2
 
5
3
  import { enableClerk } from '@/const/auth';
@@ -7,13 +5,7 @@ import { metadataModule } from '@/server/metadata';
7
5
  import { translation } from '@/server/translation';
8
6
  import { isMobileDevice } from '@/utils/server/responsive';
9
7
 
10
- const ClerkProfile = dynamic(() => import('../features/ClerkProfile'), {
11
- loading: () => (
12
- <div style={{ flex: 1 }}>
13
- <Skeleton paragraph={{ rows: 8 }} title={false} />
14
- </div>
15
- ),
16
- });
8
+ import ClerkProfile from '../features/ClerkProfile';
17
9
 
18
10
  export const generateMetadata = async () => {
19
11
  const { t } = await translation('auth');
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';
@@ -1,3 +1 @@
1
- import dynamic from 'next/dynamic';
2
-
3
- export default dynamic(() => import('@/components/404'));
1
+ export { default } from '@/components/404';