v4.14.8

labring/FastGPTv4.14.8Mar 6, 2026by FinleyGe

AI Summary

A major update featuring Next.js 16 upgrade, refactored sandbox with network support, and various bug fixes.

Key Highlights

  • Upgrade Next.js to version 16 with Rspack for 3-5x performance improvement
  • Refactor code sandbox to support network requests and built-in dependencies
  • Fix MCP JSON Schema compatibility when types are not in enums

New Features

  • Next.js 16 upgrade
  • Refactored Sandbox v2
  • Variable capture group replacement ($1)

Full Release Notes

## 更新指南

### 更新镜像

- 更新 FastGPT 镜像 tag: v4.14.8
- 更新 FastGPT 商业版镜像 tag: v4.14.8
- 更新 fastgpt-plugin 镜像 tag: 无需更新
- mcp_server 无需更新
- 更新 sandbox 镜像 tag: v4.14.8
- AIProxy 无需更新
- mongo 无需更新

## 🚀 新增内容

1. Next.js 版本升级到 16, 本地开发使用 rspacak,本地开发性能提高 3~5 倍。@xqvvu
2. 重构代码沙盒,统一隔离方案,支持网络请求以及内置依赖包。使用方法可参考: [代码运行节点文档](https://doc.fastgpt.io/zh-CN/docs/introduction/guide/dashboard/workflow/sandbox-v2)@c121914yu

## ⚙️ 优化

1. 兼容 MCP 中 JSON Schema type 类型不在枚举类型里。@c121914yu
2. 知识库搜索 变量引用文案修改为更直观的描述。@FinleyGe

## 🐛 修复

1. 新 SDK 兼容:连续调用同一个 MCP 服务时,多次连接导致报错。@c121914yu
2. 文本与工具同时输出时,保存后顺序异常。@c121914yu
3. 变量更新逻辑,如果输入中有 `$1` 会被替换为捕获组。@FinleyGe
4. API 知识库返回值返回传入的文件 title,若没有传入 title 则不返回内容。@xqvvu

## What's Changed
* deploy version by @c121914yu in https://github.com/labring/FastGPT/pull/6470
* docs(i18n): translate final 9 files in introduction directory by @archer-claw in https://github.com/labring/FastGPT/pull/6471
* feat(docs): add analytics tracking script support by @archer-claw in https://github.com/labring/FastGPT/pull/6473
* feat(sandbox): 重构代码沙盒,支持内置函数和网络请求  by @c121914yu in https://github.com/labring/FastGPT/pull/6479
* Doc by @c121914yu in https://github.com/labring/FastGPT/pull/6493
* fix: adapt sequence by @c121914yu in https://github.com/labring/FastGPT/pull/6496
* chore(deps): bump multer from 2.0.2 to 2.1.0 in /packages/service by @dependabot[bot] in https://github.com/labring/FastGPT/pull/6495
* sandbox version by @c121914yu in https://github.com/labring/FastGPT/pull/6497
* add test by @c121914yu in https://github.com/labring/FastGPT/pull/6498
* doc by @c121914yu in https://github.com/labring/FastGPT/pull/6503
* fix: keep title empty by @xqvvu in https://github.com/labring/FastGPT/pull/6505
* V4.14.8 dev by @FinleyGe in https://github.com/labring/FastGPT/pull/6517
* docs: upgrade v4.14.8 by @FinleyGe in https://github.com/labring/FastGPT/pull/6518
* docs: upgrade v4.14.8 by @FinleyGe in https://github.com/labring/FastGPT/pull/6520


**Full Changelog**: https://github.com/labring/FastGPT/compare/v4.14.7.2...v4.14.8