4.12.x
V4.12.0 (Includes Migration Script)
FastGPT V4.12.0 Update Notes, released on 2025-8-11
Upgrade Guide
1. Update Images:
- Update FastGPT image tag: v4.12.0
- Update FastGPT commercial edition image tag: v4.12.0
- Update fastgpt-plugin image tag: v0.1.9
- mcp_server: no update required
- Sandbox: no update required
- AIProxy: no update required
2. Update Environment Variables
Update the FastGPT commercial edition (fastgpt-pro) environment variables:
# Secret key for file reading, must match the environment variable in the fastgpt image
FILE_TOKEN_KEY=filetokenkey3. Run the Migration Script
This script only needs to be run by commercial edition users.
From any terminal, send an HTTP request. Replace {{rootkey}} with the rootkey from your environment variables, and {{host}} with your FastGPT domain.
curl --location --request POST 'https://{{host}}/api/admin/initv4120' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'Script Functions
- Initializes chat log permissions for team members.
New Features
- Commercial edition: app log data dashboard.
- Commercial edition: simple chat page — select a model and preset tools to chat directly without building an app.
- Chat page: quick team app switching.
- Permission table restructured to use a Role-to-Permission mapping model.
- Apps can now have chat log viewing permissions assigned individually.
Improvements
- Fixed 3 potential memory leak issues in the code.
- Optimized workflow recursion checks to prevent infinite recursion.
- Optimized the document reading Worker to use SharedBuffer, avoiding data copying.
- Batch vector generation and storage to reduce network operations.
- Knowledge base search: multi-query merged computation to reduce database operations.
- Improved knowledge base selection UX.
- Login page UI adjustments.
- Stricter validation in workflows for whether a toolset can be added.
- Chat log export now only exports selected columns, and fixed an issue where some columns could not be exported.
Bug Fixes
- Doc2x API update caused parsing failures.
- Workflow: team app directories could be incorrectly added to workflows.
- Workflow: array selector UI defect.
- Member sync had incomplete permission deletion issues.
Tool Updates
- System tools can now return
citeLinksin their response, enabling citation link display in the chat interface.
Edit on GitHub
File Updated