Repository navigation
v1.12.0 #2721
Replies: 2 comments
tRPC-Agent-Go v1.12.0 更新日志发布日期:2026-11-04。对比版本: 本版本扩展了工具、动态工作流、记忆、向量存储与评估能力,改善长输出流式处理、摘要诊断和会话可靠性。升级前请优先检查下方的默认行为、持久化时机与运行环境变化。 分类范围以下覆盖发布列表中的全部 125 项 PR,每项仅归入一个主分类;不兼容变更同时注明其原始性质。Enhancement 包括性能、可观测性、内部实现、文档、示例和 CI 改进。
其中 12 项已回补到 v1.11.1 或 v1.11.2,下文逐项标记。这些 PR 因分支提交历史仍出现在发布列表中,不应算作从 v1.11.2 升级时首次获得的能力;其余 113 项为本次列表中尚未在上述维护版本交付的变更。 不兼容变更与升级影响以下包括源码兼容性、默认行为、持久化时机及后端要求的变化;影响取决于使用的组件与配置。 工作区准备状态Bugfix — codeexecutor:按工作区代次隔离已准备状态,防止实例轮换后错误复用初始化缓存。 #2423 影响: 对实现 迁移: 确保 bootstrap 命令可以安全重放,并使用带字段名的结构体初始化; 文本切块空白保留Bugfix — knowledge/chunking:默认保留固定长度、递归和 Markdown 切块中的首尾空格及制表符。 #2434 影响: 默认 chunk 内容与 embedding 输入发生变化;依赖旧裁剪行为的快照、内容标识或检索结果可能改变。 迁移: 采用新默认值时,安排从源文档重新切块、生成 embedding 并重建受影响的向量索引。需要保留旧行为时,按切块器类型使用 Linux 沙箱网络限制Bugfix — codeexecutor/sandbox:收紧 Linux NetworkRestricted 模式,阻止 AF_UNIX 与 io_uring 绕过网络隔离。 #2426 影响: 迁移: 核查 Linux 内核、架构和 bubblewrap 的 seccomp 支持,以及工作负载对 Unix socket 的依赖。确需这些能力的可信工作负载需显式选择 AG-UI 历史持久化时机Enhancement — server/agui:将历史写入改为缓冲后批量刷写,降低流式路径上的存储压力。 #2466 影响: 后续 SSE 事件的交付不再等待每条历史事件写入。正数 flush interval 下,首次 SSE 事件前进行一次尽力而为的启动刷写,之后按周期及运行结束时刷写。 迁移: 若应用依赖逐事件持久化或跨实例即时读取,请重新核查该假设,配置合适的刷写间隔并监控持久化错误;收到后续 SSE 事件不代表对应历史已持久化。公开 模型上下文中的合成错误文本Bugfix — runner、agent:默认从后续模型上下文中排除框架合成的错误提示文本。 #2540 影响: LLMAgent 与 GraphAgent 默认不再把框架为原本无内容的错误事件生成的 Assistant 提示文本送入后续模型上下文;相关事件仍对外输出并持久化。 迁移: 依赖旧重放行为时,分别配置 遥测资源默认值Enhancement — telemetry:将框架名称与版本放入 instrumentation scope,调整 service.* 的默认资源属性。 #2597 影响: 未显式配置时, 迁移: 通过已有 E2B 工作区程序执行Enhancement — codeexecutor/e2b:工作区程序改用原生 envd Process RPC,保留准确输出、退出码与信号状态。 #2609 影响: 迁移: 自建 E2B 兼容服务需验证 Process RPC、版本元数据、认证与 HTTPS 配置;自定义模板需检查执行用户、HOME/PATH,以及 Feature 新功能
Bugfix 问题修复
Enhancement 改进
兼容性与升级补充
|
tRPC-Agent-Go v1.12.0 changelogReleased: 2026-11-04. Comparison: This release expands tools, dynamic workflows, memory, vector stores, and evaluation. It also improves long-output streaming, summary diagnostics, and session reliability. Review the changes to defaults, persistence timing, and runtime requirements before upgrading. Classification scopeAll 125 PRs in the published release list are classified below. Each has one primary category; compatibility-impacting entries also identify their underlying change type. Enhancements include performance, observability, internal implementation, documentation, examples, and CI improvements.
12 entries were already backported to v1.11.1 or v1.11.2 and are marked individually. They remain in the release list because of branch history and are not newly delivered when upgrading from v1.11.2. The other 113 entries were not delivered in those maintenance releases. Breaking changes and upgrade impactThese entries cover source compatibility, defaults, persistence timing, and backend requirements. Their impact depends on the components and configuration in use. Workspace preparation stateBugfix — codeexecutor: scope prepared state to workspace generations to prevent stale bootstrap-cache reuse after instance replacement. #2423 Impact: For managers implementing Migration: Make bootstrap commands safe to replay and use keyed struct literals. Whitespace preservation in chunkingBugfix — knowledge/chunking: preserve leading and trailing spaces and tabs by default in fixed, recursive, and Markdown chunking. #2434 Impact: Default chunk content and embedding input change. Snapshots, content identities, and retrieval results that depend on the former trimming behavior may differ. Migration: When adopting the new default, re-chunk source documents, regenerate embeddings, and rebuild affected vector indexes. To retain the previous behavior, use Linux sandbox network restrictionsBugfix — codeexecutor/sandbox: harden Linux NetworkRestricted against AF_UNIX and io_uring isolation bypasses. #2426 Impact: Migration: Check kernel, architecture, bubblewrap seccomp support, and workload dependencies on Unix sockets. Trusted workloads requiring these capabilities must explicitly select AG-UI history persistence timingEnhancement — server/agui: buffer history writes and persist batches to reduce storage pressure during streaming. #2466 Impact: Subsequent SSE delivery no longer waits for each history event to be stored. With a positive flush interval, one best-effort startup flush precedes the first SSE event, followed by periodic and post-run flushes. Migration: Reassess assumptions about per-event durability or immediate reads from another instance, configure an appropriate flush interval, and monitor persistence errors. Receiving a subsequent SSE event does not establish that its history is durable. The public Synthetic error text in model contextBugfix — runner, agent: omit framework-synthesized error text from subsequent model context by default. #2540 Impact: LLMAgent and GraphAgent no longer include framework-generated assistant fallback text for otherwise empty error events in subsequent model context by default. Those events are still emitted and persisted. Migration: Restore the previous replay behavior with Telemetry resource defaultsEnhancement — telemetry: move framework identity and version to instrumentation scopes and change default service.* resource attributes. #2597 Impact: Without explicit configuration, Migration: Set application identity explicitly with existing E2B workspace program executionEnhancement — codeexecutor/e2b: run workspace programs through native envd Process RPCs with exact output, exit codes, and signal status. #2609 Impact: Migration: Validate Process RPC support, version metadata, authentication, and HTTPS on self-hosted E2B-compatible services. Check the execution user, HOME/PATH, and Features
Bugfixes
Enhancements
Additional compatibility and upgrade notes
|
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
New Contributors
Full Changelog: v1.11.2...v1.12.0
This discussion was created from the release v1.12.0.
All reactions