📦 升级指南
1. 修改环境变量
- 修改
fastgpt-plugin的环境变量AUTH_TOKEN,要求 32 位以上。 - 同时修改
fastgpt的环境变量PLUGIN_TOKEN,与fastgpt-plugin的AUTH_TOKEN一致。 - 修改
fastgpt-plugin的环境变量MONGODB_URI中的数据库名,不与fastgpt的 Mongo 数据库名重名即可,例如:mongodb://myusername:mypassword@fastgpt-mongo:27017/fastgpt-plugin?authSource=admin
2. 镜像变更
- 更新 fastgpt-app(fastgpt 主服务) 镜像 tag: v4.15.0-beta4
- 更新 fastgpt-pro(fastgpt 商业版) 镜像 tag: v4.15.0-beta4
- 更新 fastgpt-plugin 镜像 tag: v1.0.0-beta2
- 更新 aiproxy 镜像 tag: v0.6.1
3. 重装系统工具
- 下载所有系统工具的 zip 包
- 打开
fastgpt网页 - 点击管理员navbar - 点击添加插件 - 点击导入/更新插件- 上传 zip - 确认。即可重装旧的所有系统工具。
也可以打开插件市场逐个下载,正式版之前,插件市场地址为: https://v2.marketplace.fastgpt.cn
🚀 新增内容
- 重写插件系统架构。
- 重写 chatbox ui。
- 应用/知识库增加虚拟列表渲染。
- 增加单独的 openapi 文档,区分 devapi 文档。
- 导出工作流模板,同时导出名字和介绍。
⚙️ 优化
- 系统工具运行迁移到 local-pool,支持进程池、队列、超时、重试退避和运行指标。
- 支持插件级 runtime config。
- 插件运行入口支持从对象存储拉取,并缓存到本地文件目录。
- 输入引导配置增加校验,避免错误配置了自定义词库地址。
- 工作流数组引用类型增强校验,避免刚好与二维数据冲突。
- 知识库被删除后,应用编排时优雅提示。
- PDF 解析,将 PDFJs 替换成
liteparse,速度提高 3 倍。 - 工作流运行,nodeResponse 扁平化存储优化,避免大的嵌套工作流保存失败。
- xlsx 解析,自动去除空行空列,补充合并单元格。
🐛 修复
- 模型获取多模态文件链接异常。
- 修复 training 接口存在的潜在越权风险。
- HTTP tool parse 的 SSRF 风险。
- 交互节点后的工具调用,展开 MCP 工具异常。
🛠️ 代码优化
- 插件服务从旧
runtime结构调整为 pnpm workspace monorepo,拆分为 HTTP 服务入口、领域模型、用例、API adapter、基础设施、SDK 和 CLI。 - 将 app API 接口全部用 zod schema 编写并生成文档。
- 及时处理 worker 内图片,不再存留 base64,降低内存消耗。
What's Changed
- perf: remove concat by @c121914yu in #7013
- fix: network by @c121914yu in #7014
- feat: add context compression benchmark adapter by @YYH211 in #7015
- feat: add browser sandbox image packaging by @c121914yu in #7017
- fix: avoid disallowed browser sandbox workflow action by @c121914yu in #7018
- fix: repair browser sandbox image workflow by @c121914yu in #7019
- feat: add domestic browser sandbox search providers by @c121914yu in #7022
- fix: build browser sandbox SDK dependency in image workflow by @c121914yu in #7023
- perf: openapi doc by @c121914yu in #7025
- revert: rollback openapi app docs to previous version by @Copilot in #7026
- fix: team getTeamStandPlan mongo query lean by @FinleyGe in #7029
- fix: align dataset index modal layout by @YYH211 in #7032
- feat(app): Implement local virtual pagination for dashboard app lists by @shortlight5980 in #7021
- fix: input guide by @c121914yu in #7033
- app openapi by @c121914yu in #7031
- Update SSO service image version to v4.14.16 by @Deepturn in #7036
- feat: upgrade MiniMax default model to M3 by @octo-patch in #7046
- doc action by @c121914yu in #7048
- debug: workflow create knowledge base error by @shortlight5980 in #7050
- refactor: plugin by @FinleyGe in #7049
- fix: preserve two-column table workflow inputs by @YYH211 in #7051
- fix: stabilize agent sandbox mentions by @YYH211 in #7027
- perf: node type adapt by @c121914yu in #7054
- chore: plugin by @FinleyGe in #7056
- fix: app detail rewrite workaround by @FinleyGe in #7058
- perf: tool invoke log by @FinleyGe in #7061
- fix: file url in model by @c121914yu in #7060
- Deleted show by @shortlight5980 in #7043
- fix: filter workflow debug inputs by @YYH211 in #7062
- Refactor chat UI by @xqvvu in #7024
- feat(app): 支持导入导出应用名称与介绍 by @shortlight5980 in #7041
- [ImgBot] Optimize images by @imgbot[bot] in #7065
- chore: polish chat UI behavior by @xqvvu in #7068
- Doc by @c121914yu in #7063
- feat: add liteparse by @c121914yu in #7069
- perf: chatui by @c121914yu in #7070
- fix: bind dataset training operations to collection ownership by @c121914yu in #7071
- fix: guard OpenAPI schema refs during HTTP tool import by @c121914yu in #7073
- feat: upload parsed docx images from read file worker by @c121914yu in #7072
- feat: new tool node get the latest version rather than keep latest by @FinleyGe in #7064
- fix: polish chat UI interactions by @xqvvu in #7076
- fix: load agent runtime tool schemas by @c121914yu in #7077
- docs(plugin): docs for plugin intro and development by @FinleyGe in #7079
- chore: render tool readmes in v2 modals & fix multiselect schema in agent by @FinleyGe in #7082
- fix: move index action i18n to common by @YYH211 in #7088
- fix: preserve xlsx merged cells in read file worker by @YYH211 in #7083
- perf: virtualize plugin grid rendering & agent tool select modal by @FinleyGe in #7089
- perf: rewrite node response storage by @c121914yu in #7040
- fix: optimize chat ui behavior by @xqvvu in #7086
- Update marketplace by @c121914yu in #7093
Full Changelog: v4.15.0-beta3...v4.15.0-beta4