Skip to content

Commit 8e18562

Browse files
authored
update version doc (#5106)
* update version doc * fix: provider * version doc * perf: provider
1 parent aafc0ce commit 8e18562

File tree

8 files changed

+40
-28
lines changed

8 files changed

+40
-28
lines changed

deploy/docker/docker-compose-milvus.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ services:
133133
# fastgpt
134134
sandbox:
135135
container_name: sandbox
136-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git
137-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云
136+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
137+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
138138
networks:
139139
- fastgpt
140140
restart: always
141141
fastgpt-mcp-server:
142142
container_name: fastgpt-mcp-server
143-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git
144-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云
143+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
144+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
145145
ports:
146146
- 3005:3000
147147
networks:
@@ -151,8 +151,8 @@ services:
151151
- FASTGPT_ENDPOINT=http://fastgpt:3000
152152
fastgpt:
153153
container_name: fastgpt
154-
image: ghcr.io/labring/fastgpt:v4.9.13 # git
155-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云
154+
image: ghcr.io/labring/fastgpt:v4.9.14 # git
155+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
156156
ports:
157157
- 3000:3000
158158
networks:

deploy/docker/docker-compose-oceanbase/docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ services:
109109
# fastgpt
110110
sandbox:
111111
container_name: sandbox
112-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git
113-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云
112+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
113+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
114114
networks:
115115
- fastgpt
116116
restart: always
117117
fastgpt-mcp-server:
118118
container_name: fastgpt-mcp-server
119-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git
120-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云
119+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
120+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
121121
ports:
122122
- 3005:3000
123123
networks:
@@ -127,8 +127,8 @@ services:
127127
- FASTGPT_ENDPOINT=http://fastgpt:3000
128128
fastgpt:
129129
container_name: fastgpt
130-
image: ghcr.io/labring/fastgpt:v4.9.13 # git
131-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云
130+
image: ghcr.io/labring/fastgpt:v4.9.14 # git
131+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
132132
ports:
133133
- 3000:3000
134134
networks:

deploy/docker/docker-compose-pgvector.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ services:
9696
# fastgpt
9797
sandbox:
9898
container_name: sandbox
99-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git
100-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云
99+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
100+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
101101
networks:
102102
- fastgpt
103103
restart: always
104104
fastgpt-mcp-server:
105105
container_name: fastgpt-mcp-server
106-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git
107-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云
106+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
107+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
108108
ports:
109109
- 3005:3000
110110
networks:
@@ -114,8 +114,8 @@ services:
114114
- FASTGPT_ENDPOINT=http://fastgpt:3000
115115
fastgpt:
116116
container_name: fastgpt
117-
image: ghcr.io/labring/fastgpt:v4.9.13 # git
118-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云
117+
image: ghcr.io/labring/fastgpt:v4.9.14 # git
118+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
119119
ports:
120120
- 3000:3000
121121
networks:

deploy/docker/docker-compose-zilliz.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ services:
7272

7373
sandbox:
7474
container_name: sandbox
75-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git
76-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云
75+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
76+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
7777
networks:
7878
- fastgpt
7979
restart: always
8080
fastgpt-mcp-server:
8181
container_name: fastgpt-mcp-server
82-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git
83-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云
82+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
83+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
8484
ports:
8585
- 3005:3000
8686
networks:
@@ -90,8 +90,8 @@ services:
9090
- FASTGPT_ENDPOINT=http://fastgpt:3000
9191
fastgpt:
9292
container_name: fastgpt
93-
image: ghcr.io/labring/fastgpt:v4.9.13 # git
94-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云
93+
image: ghcr.io/labring/fastgpt:v4.9.14 # git
94+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
9595
ports:
9696
- 3000:3000
9797
networks:

docSite/content/zh-cn/docs/development/upgrading/4914.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
---
2-
title: 'V4.9.14(进行中)'
2+
title: 'V4.9.14'
33
description: 'FastGPT V4.9.14 更新说明'
44
icon: 'upgrade'
55
draft: false
66
toc: true
77
weight: 786
88
---
99

10+
## 更新指南
11+
12+
### 1. 更新镜像:
13+
14+
- 更新 FastGPT 镜像 tag: v4.9.14
15+
- 更新 FastGPT 商业版镜像 tag: v4.9.14
16+
- mcp_server 无需更新
17+
- Sandbox 无需更新
18+
- AIProxy 无需更新
1019

1120
## 🚀 新增内容
1221

projects/app/src/pageComponents/login/LoginForm/FormLayout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const FormLayout = ({ children, setPageType, pageType }: Props) => {
127127
router.replace(redirectUrl, '_self');
128128
return;
129129
}
130+
130131
if (item.redirectUrl) {
131132
setLoginStore({
132133
provider: item.provider as OAuthEnum,

projects/app/src/pages/api/support/user/account/loginout.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { authCert } from '@fastgpt/service/support/permission/auth/common';
55
import { delUserAllSession } from '@fastgpt/service/support/user/session';
66

77
async function handler(req: NextApiRequest, res: NextApiResponse<any>) {
8-
const { userId } = await authCert({ req, authToken: true });
9-
await delUserAllSession(userId);
8+
try {
9+
const { userId } = await authCert({ req, authToken: true });
10+
await delUserAllSession(userId);
11+
} catch (error) {}
1012
clearCookie(res);
1113
}
1214

projects/app/src/pages/login/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const provider = () => {
3333
(res: ResLogin) => {
3434
setUserInfo(res.user);
3535

36-
router.push(
36+
router.replace(
3737
loginStore?.lastRoute ? decodeURIComponent(loginStore?.lastRoute) : '/dashboard/apps'
3838
);
3939
},

0 commit comments

Comments
 (0)