v4.15.5
kroko-ai/kroko-onnxv4.15.5Jul 30, 2026by c121914yu
AI Summary
Introduces Cloudflare R2 storage support and SoMark PDF provider, optimizes dependency management, and fixes OSS/S3 adapter errors.
Key Highlights
- Added Cloudflare R2 object storage support
- Added SoMark PDF provider support
- Unified workspace dependency management
- Fixed OSS `getObjectMetadata` ETag reading error
New Features
- Cloudflare R2 object storage support
- SoMark PDF provider support
- Agent Sandbox font improvements
- S3 SDK integration tests
- OSS adapter string upload support
Full Release Notes
## 🚀 新增内容 1. 新增 Cloudflare R2 对象存储支持,兼容 R2 S3 API、预签名访问和公开 bucket 自定义域名。 2. 新增 SoMark PDF 增强解析提供商,支持通过 `SOMARK_API_KEY` 配置;多个 PDF 服务同时配置时,调用优先级为自定义 PDF 解析服务、SoMark、TextIn、Doc2x。具体配置见[环境变量配置](../../config/env)。 ## ⚙️ 优化 1. 统一工作区依赖版本管理,将更多子项目依赖迁移到 pnpm catalog,并刷新锁定文件。 2. Agent Sandbox 镜像补充中英文运行时字体,改善文本和图像相关任务的字体可用性。 3. OSS 适配器支持 `IStorage` 契约中的字符串上传,并在无法覆盖响应 `Content-Type` 的 OSS 场景下沿用对象原始类型。 4. COS 适配器对缺失对象下载进行预检,确保符合统一下载错误契约。 ## 🐛 修复 1. 修复阿里云 OSS `getObjectMetadata` 从错误字段读取 ETag,导致 ETag 缺失并触发下游元数据校验失败的问题。 2. 修复 S3/MinIO 源文件不存在时 API 返回 `Unknown` 的问题,改为返回文件找不到并使用 HTTP 404。 3. 修复旧插件节点升级后输入框消失的问题。 4. 修复头像 URL 被重复编码的问题。 ## 🛠️ 代码优化 1. S3 SDK 增加跨 MinIO、AWS S3、Cloudflare R2、OSS 和 COS 的通用集成测试,覆盖 private/public bucket、公开 URL 和预签名 URL 的真实访问。 ## What's Changed * docs: standardize upgrade title labels by @c121914yu in https://github.com/labring/FastGPT/pull/7376 * fix: 修复oss读取etag时读取异常 by @shikaiwei1 in https://github.com/labring/FastGPT/pull/7362 * chore: refresh dependencies and complete object storage compatibility by @c121914yu in https://github.com/labring/FastGPT/pull/7379 * fix(certification): certification form performance optimization by @shortlight5980 in https://github.com/labring/FastGPT/pull/7385 * fix: avoid double-encoding avatar URLs by @xqvvu in https://github.com/labring/FastGPT/pull/7388 * doc by @c121914yu in https://github.com/labring/FastGPT/pull/7391 * fix(workflow): 修复插件节点合并时 selectedTypeIndex 与 renderTypeList 错配导致输入框消失 by @shikaiwei1 in https://github.com/labring/FastGPT/pull/7378 * feat: add SoMark PDF provider and clear missing-file errors by @c121914yu in https://github.com/labring/FastGPT/pull/7398 * Update SSO service image version comment by @Deepturn in https://github.com/labring/FastGPT/pull/7401 * chore: compatitivity for v4.16 by @FinleyGe in https://github.com/labring/FastGPT/pull/7399 * fix(skill): replace image import with static URL path by @DigHuang in https://github.com/labring/FastGPT/pull/7403 * chore:compatibility fix by @FinleyGe in https://github.com/labring/FastGPT/pull/7402 **Full Changelog**: https://github.com/labring/FastGPT/compare/v4.15.4...v4.15.5