v4.14.3

labring/FastGPTv4.14.3Nov 27, 2025by FinleyGe

AI Summary

Migrates all knowledge base files from GridFS to S3 and adds global file upload variables.

Key Highlights

  • Comprehensive migration of knowledge base files from GridFS to S3
  • Global variables now support file uploads
  • Form input nodes support password, switch, time, and file inputs

Breaking Changes

  • Removal of GridFS system
  • Potential API changes regarding file storage location

New Features

  • Knowledge base migration to S3
  • Global file variables
  • Enhanced form input nodes
  • Plugin marketplace version checking

Full Release Notes

## 更新指南

### 1. 更新镜像:

- 更新 FastGPT 镜像tag: v4.14.3
- 更新 FastGPT 商业版镜像tag: v4.14.3
- 更新 fastgpt-plugin 镜像 tag: v0.3.3
- mcp_server 无需更新
- Sandbox 无需更新
- AIProxy 无需更新

### 2. 执行升级脚本

从任意终端,发起 1 个 HTTP 请求。其中 `{{rootkey}}` 替换成环境变量里的 `rootkey`;`{{host}}` 替换成**FastGPT 域名**。

```bash
curl --location --request POST 'https://{{host}}/api/admin/initv4143' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'
```

会将原系统 MongoDB 的 GridFS 中的所有知识库文件迁移到 S3 中,包含文本数据集和图片数据集,但不包括文档(如 .docx)里解析出来的图片。

## 🚀 新增内容

1. 知识库文件迁移至 S3(全部使用文件的地方均已迁移)。@xqvvu
2. 全局变量支持文件上传。@newfish-cmyk
3. 表单输入节点支持密码、开关、时间点、时间范围、文件上传、对话模型选择。@newfish-cmyk
4. 插件输入支持多选、时间点、时间范围、内部变量。@newfish-cmyk
5. 系统插件,插件市场中会提示是否有新版本,并提供更新按键。@FinleyGe
6. 工作流运行 QPM 限制。@FinleyGe

## ⚙️ 优化

1. 工作流工具,文件上传输入 UX 优化。@c121914yu
2. 添加权限表校验中间件,增强权限表鲁棒性。@FinleyGe

## 🐛 修复

1. 工作流调试预览窗口,重新渲染导致输入丢失。@newfish-cmyk
3. S3 服务与主服务相同 Origin 的域名会导致对 S3 的文件请求 URL 被错误替换,产生 404 报错。@xqvvu

## 插件

1. 工具更新逻辑,提供一个计算的 version 值来判断更新 @FinleyGe
2. 微信公众号工具集:允许同时上传多篇文档到草稿箱 @FinleyGe
3. 修复工具缓存没有被正确刷新 @FinleyGe
4. 修复开发模式下刷新缓存导致静态文件重新上传 @FinleyGe
5. 修复修复上传 pkg 后图片没有被正确上传的问题 @FinleyGe

## What's Changed
* deploy doc by @c121914yu in https://github.com/labring/FastGPT/pull/5953
* Update 4141.mdx by @c121914yu in https://github.com/labring/FastGPT/pull/5955
* fix: initv4141 script (#5967) by @c121914yu in https://github.com/labring/FastGPT/pull/5968
* feat: team rate limitation by @FinleyGe in https://github.com/labring/FastGPT/pull/5931
* feature: V4.14.3 by @c121914yu in https://github.com/labring/FastGPT/pull/5970
* chore: 4.14.3 doc by @FinleyGe in https://github.com/labring/FastGPT/pull/5997
* fix: limit s3 filename and metadata "origin-finename" max length to 50 by @xqvvu in https://github.com/labring/FastGPT/pull/6000


**Full Changelog**: https://github.com/labring/FastGPT/compare/v4.14.2...v4.14.3