Repository navigation
[4.30.0] - 2026-12-01
升级说明
- 升级前建议备份数据与配置。本版涉及对话存储、Agent、会话设置、工具/技能设置和按钮回调的数据存储迁移。升级后如果回退到旧版本,会出现对话内容消失(但并未丢失,升级回 v4.30.0 即可恢复)等问题。
- 按照计划,AstrBot 在 v4.30.0 开始强制要求解释器版本 >= Python 3.12。(#11469)
- MCP 工具名称统一为
mcp__<server>__<tool>以防止和其他 tool 冲突。如果您之前修改了 MCP Tool 的权限、启停状态等配置,可能需要在升级后重新配置。(#11408, #11460)
Agent 相关主要更新
- 重构 Agent 的会话存储方式为事件溯源,以减少重复上下文写入和部分写放大,优化存储性能。(#10077, #11158, #11162)
- 引入新的 Agent 运行时模型。插件可通过
ctx.agent.run_turn()唤起 Agent turn。 (#10934, #10936, #11052, #11148, #11153) - 重构子代理为具有独立上下文的后台任务,支持通用与专用 Agent、追加指令和结果回传。入口由侧边栏移至 配置文件 → AI → 能力 → 子代理,按配置文件管理。 (#11053)
- 将自定义规则与会话管理统一至 配置文件 → 管理会话配置映射,支持基础配置与字段覆盖、批量编辑和恢复继承;模型指令与页面共用同一份设置。 (#11097)
- 移除默认的工具调用提示词。 (#11152)
- 新增 Windows AppContainer 本机沙盒,支持工作区隔离、代码执行与联网控制。 (#10466)
- 完善运行中追加输入(Steering)的保存与继续执行。 (#11141)
- AstrBot 管理员可编辑当前群组内的未来任务。 (#11242)
- 优化上下文压缩算法,按完整用户轮次截断上下文,保留相应工具调用与结果、系统消息和当前任务,避免拆断历史。 (#11316)
- 修复子代理在
skills_like模式下拿到不可执行工具的问题,保留主 Agent 选定的运行时工具。 (#11335, #11408) - 修复使用
/reset重置会话后重复发送分段回复的问题。 (#11373)
管理面板与 ChatUI 主要更新
- 新增系统语言设置,位于 配置文件 → 平台与消息 → 通用 → 系统语言。机器人的相关系统回复的语言将会随之切换。(也提供了
await ctx.get_locales()接口供插件进行国际化) (#11254) - 优化管理面板的 UI 效果。(#11107, #11090, #11102)
- 追踪页展示实际某个 UMO 路由到的实际配置文件名称。 (#11483)
- 新增首次启动的配置引导。(#10329)
- ChatUI 支持语音转写为可编辑草稿,也可直接录制并发送语音消息。(#11170)
- ChatUI 的模型配置页增加「对话 / 语音转文字 / 文字转语音」分类入口。 (#11170)
- 将聊天推理侧栏改为消息内可折叠的运行详情,分组展示思考、工具调用与中间回复。(#11166)
- 优化 ChatUI 的断网、刷新等情况的恢复稳定性。刷新或重连可恢复正在执行的对话并保留后续回复。(#11166, #11282)
- 修复切换聊天会话时欢迎页闪现的问题。 (#11182)
- 欢迎页 → 总览:展示每日用量、系统资源及机器人异常。 (#11100)
- 支持在外观设置中将 ChatUI 入口放入侧边栏。在 设置 → 外观中设置。放入侧栏后,打开 ChatUI 会有双侧栏效果。(#11090, #11192)
- 升级 Markdown 渲染,按需加载聊天与语法高亮资源。 (#11138)
- 修复 Firefox 浏览器中聊天历史滚动跳动的问题。 (#11036)
- 修复编辑模型配置时预览与能力标识不一致的问题。 (#10792)
- ChatUI 优化显示错误卡片,展示模型配置、连接及运行错误。 (#11259)
- 按钮回调数据库读写移至工作线程,避免阻塞各平台事件循环,并清理过期回调;修复分块上传清理产生未等待协程的问题。 (#11282)
- ChatUI 侧栏可拖动调整宽度,双击恢复默认;修正侧栏分隔线在工具栏下方的位置。 (#11485, #11489)
- 双击 ChatUI 顶栏对话标题可原地重命名;模型按钮只显示模型名,悬停查看提供商 ID。 (#11442, #11441)
- 日志页的时间戳增加日期。 (#9617)
插件相关
- 插件更新的对话框直接展示目标插件版本的更新日志(changelog)。(#11481, #11482, #11488, #11486)
- 插件支持通过
ctx.get_locales()获取当前系统语言,便于国际化。 (#11254) - 插件可在
metadata.yaml中声明views,用于声明视图的名字、类型等信息,详见开发文档。 (#11218) - 插件可在
metadata.yaml中声明category。在开发文档中明确了推荐的插件分类。 (#11094, #11376) - 插件可在
metadata.yaml中声明links,用于在插件详情页、插件市场中展示插件主页、issue 链接、捐款链接等信息。 (#11495) - 插件可在
metadata.yaml中声明contributors,用于在插件详情页、插件市场中展示多个贡献者的名字、邮箱和贡献者主页等信息。 (#11495) - 插件支持将可视化视图(Views)注册到 ChatUI 交互式消息组件、ChatUI 右侧工作台,详见开发文档。(#11218, #11179)
- 插件配置支持可折叠分组,并可声明默认收起状态。 (#11067)
- 插件页面可获取当前主题颜色及其变化。 (#11046)
- 重整 AI 开发文档,补充插件配置控件示例与截图。 (#11154)
- SSE 流关闭时通知插件页面,避免连接状态滞留。 (#10932)
- 现在可以在 插件市场 中通过点击「安装到 AstrBot」来直接跳转到你的 AstrBot 来安装插件。引入了相关的插件市场跳转规范。(#11375)
- 插件启停时在更新激活状态后解析视图,修复视图状态不同步。(#11306)
- 修复仅包含结构化内容的 MCP 工具结果被忽略的问题。(#11433)
平台、安全与稳定性
- 修复 QQ 官方群聊流式回复被合并的问题。 (#11229)
- QQ 官方适配器支持获取私聊用户名字,群聊显示名称优先使用群内用户昵称。 (#11184)
- 修复 QQ 按钮回复丢失图片、文件等媒体的问题。 (#10903)
- 避免 QQ 图片上传失败时记录完整图片载荷,减少日志对面板的影响。 (#10740)
- 保留模型上下文中的 @ 提及信息,纯 @ 消息也能注入群聊上下文。 (#10992, #11341, #11347)
- 优化 OneBot 流式分段,减少长文本的重复扫描。 (#10989)
- Telegram 发送者没有用户名时,使用显示名称。 (#10715)
- 保留 GIF 转换为拼图后的说明,避免历史上下文丢失动画信息。 (#10837)
- 完善 KOOK 媒体消息处理,并将语音卡片交给语音识别。 (#11115, #11307)
- 校验技能名称和压缩包路径,防止路径穿越。(#11399)
- 转义 Satori 文件属性。 (#11397)
- 微信公众号适配器正确返回平台客户端,发送未返回消息 ID 时报告失败。 (#11388, #11354)
模型与语音
- 新增 OpenAI Decisions 判断模型,支持选择、布尔判断与评分。 (#10968)
- 新增 DeepSeek 语音识别与语音合成提供商。 (#11118)
- 支持 Gemini 4 系列的推理强度配置,完善预览模型和请求参数兼容性,无需提高
google-genai依赖版本下限。 (#11219) - 保留 OpenRouter 非流式回复中的推理详情。 (#11168)
- 修复 Gemini 历史消息中的 URL 音频处理,并保留 SDK 3.4 下的自定义 User-Agent。 (#11143, #11196)
- DashScope TTS 支持 Qwen-Audio-TTS。 (#10495)
- System One 布尔判断支持可选的真假判定条件,修复部分兼容端点连接测试返回 HTTP 400 的问题。 (#11062)
- 修复模型最后一次重试成功仍被判定为失败的问题。 (#10922)
- 修复 Anthropic 非流式响应丢失多个文本块的问题。 (#11057)
- WebSearch 密钥失效或额度不足时,尝试其他已配置的密钥。 (#10877)
- 将 Gemini TTS 默认模型更新为
gemini-3.8-flash-tts。 (#10828) - 新增火山引擎 Embedding 和阶跃星辰(StepFun)TTS 提供商。 (#10886, #11326)
- 支持 Gemini 4 Neon 思考等级;Gemini 3/4 可组合内置工具与函数调用,保留服务端工具结果和思考签名。组合工具能力要求
google-genai>=1.68.0。 (#11251, #11078) - 规范 OpenAI 流式工具调用标识,避免分片中的名称或 ID 重复拼接。 (#10703)
- Whisper API 提供商默认模型改为
gpt-transcribe;FishAudio 支持选择 WAV / MP3 格式及 MP3 比特率。 (#10330, #11415) - 修复 Gemini 中转模型别名和带日期的 2.5 思考模型识别,保持函数响应的名称与 ID 配对,并将工具图片附着到对应函数响应。 (#10961, #9761, #11424)
- Gemini 用量将思考 Token 计入输出;上下文压缩不再计入模型内部思考 Token。修复客户端资源管理和流式并发,无法下载的历史图片会跳过而非中断整轮。 (#10826, #11087, #11475, #10894)
- 清理 OpenAI 系列提供商的历史工具调用记录,修复重复调用 ID 和缺失响应;Gemini OpenAI 兼容接口默认保留空工具参数,仅在旧接口返回相关 400 错误时适配回退。 (#11223, #11510)
- 知识库每次检索按 ID 解析 Rerank 提供商;遇到 401 / 402 / 403 时进入可恢复冷却,避免重复请求和日志刷屏。 (#10263, #11413)
- 回放工具调用参数时保留非 ASCII 文本,并调整默认回复分段行为。 (#11343, #11435)
English
Back up your data and configuration before upgrading. This release migrates conversation storage, Agents, session settings, tool/skill settings, and button callback storage. Downgrading requires restoring a pre-upgrade backup.
Upgrade notes
- As planned, AstrBot requires Python 3.12 or later starting with v4.30.0. (#11469)
- MCP tools now use the naming scheme
mcp__<server>__<tool>to avoid conflicts with other tools. If you previously customized MCP tool permissions, enabled/disabled states, or related settings, you may need to configure them again after upgrading. (#11408, #11460)
Agent highlights
- Rebuild Agent conversation storage around event sourcing to reduce duplicate context writes and some write amplification, improving storage performance. (#10077, #11158, #11162)
- Introduce a new Agent runtime model. Plugins can invoke an Agent turn through
ctx.agent.run_turn(). (#10934, #10936, #11052, #11148, #11153) - Rebuild subagents as background tasks with independent context, supporting general-purpose and specialized Agents, follow-up instructions, and result delivery. Move management from the sidebar to Config → AI → Capabilities → Subagents, with per-profile settings. (#11053)
- Merge Custom Rules and Session Management into Config → Manage session mappings, supporting base profiles, field overrides, batch editing, and restored inheritance. Model commands and the editor share the same settings. (#11097)
- Remove the default tool-call instructions. (#11152)
- Add a native Windows AppContainer sandbox with workspace isolation, code execution, and network controls. (#10466)
- Improve persistence and continuation of inputs added during execution (Steering). (#11141)
- Allow AstrBot administrators to edit upcoming tasks in the current group. (#11242)
- Improve context compression by truncating complete user turns, retaining their tool calls and results, system messages, and the current task without splitting history mid-turn. (#11316)
- Restore executable tools for subagents in
skills_likemode and preserve the parent Agent's selected runtime tools. (#11335, #11408) - Prevent duplicate segmented replies after resetting a conversation with
/reset. (#11373)
Dashboard and ChatUI highlights
- Add a system language setting under Config → Platforms & Messages → General → System language. The bot's system replies follow this setting. An
await ctx.get_locales()API is also provided for plugin internationalization. (#11254) - Refine the dashboard's visual appearance. (#11107, #11090, #11102)
- Show the actual configuration profile selected by routing for a UMO on the trace page. (#11483)
- Add a first-run setup guide. (#10329)
- Support voice transcription into editable ChatUI drafts, as well as recording and sending audio messages directly. (#11170)
- Add Conversation / Speech to Text / Text to Speech categories to ChatUI's model configuration page. (#11170)
- Replace the reasoning sidebar with collapsible inline run details that group thinking, tool calls, and intermediate replies. (#11166)
- Improve ChatUI recovery after connection loss and page refreshes. Refreshing or reconnecting can resume active conversations and preserve subsequent replies. (#11166, #11282)
- Prevent the welcome screen from flashing when switching chat sessions. (#11182)
- Welcome → Overview: show daily usage, system resources, and bot errors. (#11100)
- Add an option under Settings → Appearance to place ChatUI in the sidebar. Opening ChatUI in this mode displays a dual-sidebar layout. (#11090, #11192)
- Upgrade Markdown rendering and load chat and syntax-highlighting assets on demand. (#11138)
- Fix chat history scroll jumps in Firefox. (#11036)
- Preserve model previews and capability indicators while editing model configurations. (#10792)
- Improve ChatUI error cards for model configuration, connection, and execution errors. (#11259)
- Move button callback database reads and writes to worker threads to avoid blocking event loops across platforms, and clean up expired callbacks. Fix unawaited coroutines in chunked-upload cleanup. (#11282)
- Resize the ChatUI sidebar by dragging and restore its default width with a double-click; start the sidebar divider below the toolbar. (#11485, #11489)
- Rename conversations in place by double-clicking the ChatUI header title. Show only the model name on the model button, with the provider ID on hover. (#11442, #11441)
- Include dates in log-page timestamps. (#9617)
Plugins
- Show the target plugin version's changelog directly in the plugin update dialog. (#11481, #11482, #11488, #11486)
- Plugins can retrieve the current system language through
ctx.get_locales()for internationalization. (#11254) - Plugins can declare
viewsinmetadata.yamlto specify view names, types, and other information. See the developer documentation for details. (#11218) - Plugins can declare
categoryinmetadata.yaml. Recommended plugin categories are documented in the developer guides. (#11094, #11376) - Plugins can declare
linksinmetadata.yamlto show homepages, issue trackers, donation links, and other resources in plugin details and the marketplace. (#11495) - Plugins can declare
contributorsinmetadata.yamlto show multiple contributors' names, email addresses, homepages, and other information in plugin details and the marketplace. (#11495) - Plugins can register Views as interactive ChatUI message components or in the right-hand ChatUI workbench. See the developer documentation for details. (#11218, #11179)
- Add collapsible plugin configuration groups with configurable initial state. (#11067)
- Expose current theme colors and their updates to plugin pages. (#11046)
- Reorganize AI development guides and add plugin configuration control examples and screenshots. (#11154)
- Notify plugin pages when SSE streams close to avoid stale connection states. (#10932)
- Clicking Install to AstrBot in the Plugin Marketplace now opens your AstrBot instance to install the plugin. Add the corresponding marketplace installation-link specification. (#11375)
- Resolve plugin views after updating activation state so enabled and disabled views stay consistent. (#11306)
- Preserve MCP tool results that contain only structured content instead of ignoring them. (#11433)
Platform, security, and reliability
- Prevent QQ Official group streaming replies from being merged. (#11229)
- Support retrieving private-chat usernames in the QQ Official adapter and prefer group nicknames for group display names. (#11184)
- Preserve images, files, and other media in QQ button replies. (#10903)
- Stop logging full image payloads on QQ upload failures, reducing their impact on the dashboard. (#10740)
- Preserve mention information in model context and inject group context for bare mentions. (#10992, #11341, #11347)
- Improve OneBot streaming segmentation by avoiding repeated scans of long text. (#10989)
- Use Telegram display names when usernames are absent. (#10715)
- Retain GIF montage guidance in conversation history so animation context is preserved. (#10837)
- Improve KOOK media message handling and forward voice cards to speech recognition. (#11115, #11307)
- Validate skill names and archive paths against path traversal. (#11399)
- Escape Satori file attributes. (#11397)
- Return the WeChat Official Account platform client correctly and report send failures when no message ID is returned. (#11388, #11354)
Models and speech
- Add OpenAI Decisions models for choices, boolean questions, and scores. (#10968)
- Add DeepSeek speech recognition and synthesis providers. (#11118)
- Support Gemini 4 reasoning-effort configuration and improve preview-model and request-parameter compatibility without raising the minimum
google-genaiversion. (#11219) - Preserve reasoning details in non-streaming OpenRouter responses. (#11168)
- Fix URL audio handling in Gemini history and preserve the custom User-Agent with SDK 3.4. (#11143, #11196)
- Support Qwen-Audio-TTS in the DashScope TTS provider. (#10495)
- Support optional true/false criteria for System One boolean decisions and fix HTTP 400 connection-test failures on compatible endpoints that require them. (#11062)
- Fix successful final model retries being reported as failures. (#10922)
- Preserve all text blocks in non-streaming Anthropic responses. (#11057)
- Try other configured search keys when a key is invalid or its quota is exhausted. (#10877)
- Update the default Gemini TTS model to
gemini-3.8-flash-tts. (#10828) - Add Volcengine embedding and StepFun TTS providers. (#10886, #11326)
- Register Gemini 4 Neon thinking levels and support combining Gemini 3/4 built-in tools with function calling, preserving server-side tool results and thought signatures. Combined tools require
google-genai>=1.68.0. (#11251, #11078) - Normalize OpenAI streamed tool-call identities to avoid duplicate names or IDs across chunks. (#10703)
- Default the Whisper API provider to
gpt-transcribe; expose WAV / MP3 format and MP3 bitrate options for FishAudio. (#10330, #11415) - Support Gemini relay aliases and dated 2.5 thinking models, keep function-response names and IDs paired, and attach tool images to their corresponding function responses. (#10961, #9761, #11424)
- Count Gemini thinking tokens as output usage while excluding internal thinking tokens from context compression. Fix client resource handling and streaming concurrency, and skip undownloadable history images instead of failing the turn. (#10826, #11087, #11475, #10894)
- Sanitize legacy tool-call history across OpenAI providers, including duplicate IDs and missing responses. Preserve empty tool parameters for Gemini OpenAI-compatible APIs by default, falling back adaptively for relevant legacy HTTP 400 errors. (#11223, #11510)
- Resolve the rerank provider by ID on each retrieval. Apply a recoverable cooldown after HTTP 401 / 402 / 403 failures to avoid repeated requests and log noise. (#10263, #11413)
- Preserve non-ASCII text in replayed tool-call arguments and refine default reply splitting. (#11343, #11435)
What's Changed
- feat: add Project delivery synchronization by @zouyonghe in #10905
- fix: skip fork Project sync events by @zouyonghe in #10909
- fix: retry web searches after key-specific failures by @wozhenbang2004 in #10877
- fix: notify plugin views when SSE streams close by @Soulter in #10932
- fix: text_chat 最后一次重试成功时响应被误判为失败 by @sciman-top in #10922
- fix(logs): attribute plugin failure logs to the plugin by @mantoujun12 in #10904
- perf: speed up full Project reconciliation by @zouyonghe in #10935
- refactor: unify main agent construction and wakeup execution by @Soulter in #10934
- fix: deliver agent wakeup replies through the normal pipeline by @Soulter in #10936
- feat: trace Project sync ancestry by @zouyonghe in #10939
- perf: apply Project updates with four workers by @zouyonghe in #10941
- perf: allow eight Project sync workers and two hours by @zouyonghe in #10945
- fix: restore four Project sync workers by @zouyonghe in #10946
- feat: add native Windows AppContainer sandbox by @RC-CHN in #10466
- fix: improve responsive provider configuration layout by @RC-CHN in #10949
- feat: console 日志时间戳增加日期(YYYY-MM-DD) by @x1051445024 in #9617
- fix(config): clarify wake word dependency for built-in commands by @mantoujun12 in #10861
- fix(qqofficial): stop logging image payload on upload failure by @Zzzzzzouhang in #10740
- fix(webui): wrap long plugin commands by @wozhenbang2004 in #10860
- fix: preserve animation guidance with persistent montage images by @MindOfqc in #10837
- fix(provider): default Gemini TTS to gemini-3.8-flash-tts by @pcbeingused33 in #10828
- fix(telegram): fall back to display name for senders without a username by @rudycelekli in #10715
- chore: replace legacy AstrBot icons with new artwork by @mantoujun12 in #10997
- test: prune low-value and duplicate cases from audited suites by @RC-CHN in #11005
- chore(ci): remove duplicate test runs by @RC-CHN in #11007
- fix(scripts): honor --no-dashboard and align local coverage by @RC-CHN in #11009
- fix(dashboard): stop WebChat scroll jumps in Firefox by @mantoujun12 in #11036
- feat(dashboard): expose theme colors through the plugin bridge by @SXP-Simon in #11046
- fix: preserve inline anchor text when parsing EPUB files by @wcqqq1214 in #10794
- fix: preserve model previews when editing provider config by @wcqqq1214 in #10792
- fix: preserve media in QQ button replies by @wcqqq1214 in #10903
- refactor: reorganize built-in agent modules by @Soulter in #11051
- refactor: run built-in agents through runtime sessions by @Soulter in #11052
- feat: add profile-scoped subagent management by @Soulter in #11053
- fix(anthropic): concatenate multiple text blocks in non-streaming responses by @pcbeingused33 in #11057
- fix(dashboard): add spacing beside the settings scrollbar by @RC-CHN in #11070
- chore(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #11068
- feat(plugin-config): collapsible config groups with a collapsed schema flag by @XTsat in #11067
- docs: clarify bubblewrap version requirement for computer sandbox availability check by @mantoujun12 in #11061
- feat(provider): add OpenAI Decisions API decision provider by @wcqqq1214 in #10968
- fix(aiocqhttp): segment streaming replies incrementally by @sunrioa in #10989
- feat(dashboard): add sidebar chat navigation and fading scrollbars by @Soulter in #11090
- feat: unify session configuration mappings and overrides by @Soulter in #11097
- feat(dashboard): replace welcome page with overview by @Soulter in #11100
- fix(dashboard): soften ripples with Material You motion by @Soulter in #11102
- fix(dashboard): reorder AI capabilities by @Soulter in #11103
- fix(dashboard): center chat title and unify menu and dialog styling by @Soulter in #11107
- fix: skip subagents with unavailable runtimes by @Soulter in #11128
- refactor: migration to event log backend for conversation storage by @Soulter in #10077
- fix: allow removing unavailable agent configurations by @Soulter in #11147
- fix(dashboard): refine sidebar corners and chat hover color by @Soulter in #11149
- fix(dashboard): align command search box corner radius by @mantoujun12 in #11136
- fix: remove discontinued NapCat deployment guidance by @lingyun14beta in #11110
- feat(agent): add metadata to programmatic turns by @Soulter in #11148
- feat: add DeepSeek STT and TTS providers by @wcqqq1214 in #11118
- chore(dashboard): upgrade Markdown rendering dependencies by @Simon-He95 in #11138
- fix: remove default tool call prompt injection by @Soulter in #11152
- feat: expose prepared agent outputs and honor delivery policy by @Soulter in #11153
- docs: streamline guides updated since v4.29.4 by @Soulter in #11154
- fix: append steering input as user messages by @Soulter in #11141
- refactor: persist model usage with assistant messages by @Soulter in #11158
- fix: persist assistant tool calls before execution by @Soulter in #11162
- chore: bump version to 4.30.0-alpha.1 by @Soulter in #11140
- fix: handle URL audio in Gemini history by @wcqqq1214 in #11143
- feat(chat): add inline run details and preserve replies after refresh by @Soulter in #11166
- feat(chat): add voice transcription and audio messages by @Soulter in #11170
- docs(plugin-new): change QQ Group by @mantoujun12 in #11178
- fix(chat): prevent welcome screen flash when switching sessions by @Soulter in #11182
- fix: support Qwen-Audio-TTS in DashScope provider by @C10H14N2O5 in #10495
- perf(context): reduce repeated work in token estimation and truncation by @whatevertogo in #11167
- fix: preserve Gemini user agent with SDK 3.4 by @wcqqq1214 in #11196
- fix: suppress automatic replies for cron and background wakeups by @RC-CHN in #11198
- perf(conversation): merge metadata and idempotency lookups by @RC-CHN in #11199
- feat(plugin): add interactive plugin message views by @Soulter in #11179
- feat(chatui): add tabbed workbench and resident plugin views by @Soulter in #11218
- fix(dashboard): Remove legacy VoceChat logo reference by @Sha1rholder in #11186
- feat: gemini 4 model series reasoning effort support without bumping google-genai by @Sha1rholder in #11219
- choe: remove project delivery test by @Sha1rholder in #11222
- feat: background pending tools when steering arrives by @Soulter in #11142
- fix: preserve OpenRouter reasoning details in non-streaming replies by @123XieC in #11168
- fix: prevent QQ official group streaming replies from being merged by @Soulter in #11229
- feat(qqofficial): support sender profiles and prefer group nicknames by @clown145 in #11184
- fix(provider): support optional System One boolean criteria by @mothieras in #11062
- fix: isolate test configuration from local AstrBot data by @Soulter in #11231
- chore: bump version to 4.30.0-beta.1 by @Soulter in #11233
- feat(cron): let AstrBot admins edit tasks in the current group by @RC-CHN in #11242
- fix MDI font scanning; bump MDI font version by @Sha1rholder in #11193
- perf(ci): simplify CI and speed it up by @Sha1rholder in #11226
- test(dashboard): speed up login and rate limit tests by mocking the failed login delay by @Sha1rholder in #11228
- feat: register Gemini 4 Neon thinking levels by @Sha1rholder in #11251
- chore: stop tracking generated MDI font assets by @Sha1rholder in #11250
- fix: handle KOOK media messages by @wcqqq1214 in #11115
- feat: add system language for core and built-in replies by @Soulter in #11254
- fix: collapse advanced platform message options by @Soulter in #11255
- feat: show actionable ChatUI error cards by @Soulter in #11259
- hotfix: CI broken by #11254 by @Sha1rholder in #11260
- feat(webui): add animated dual sidebars for chat by @Soulter in #11192
- chore: remove NapCat related content by @mantoujun12 in #11312
- fix(plugin): resolve views after updating the activated flag by @kawayiYokami in #11306
- fix: preserve mention info in llm context by @Sisyphbaous-DT-Project in #10992
- fix: keep quoted voice transcripts in replies by @Soulter in #11341
- Add Volcengine embedding provider by @Sha1rholder in #10886
- chore: Adopts the SPDX license expression syntax as the means of expressing license by @Sha1rholder in #11262
- chore: remove a redundant Windows PowerShell fallback test by @Sha1rholder in #11263
- test(dashboard): remove duplicate route fixtures and config save cases by @Sha1rholder in #11268
- test: mock sleep in the process_buffer split test by @Sha1rholder in #11269
- test: remove Shipyard Neo cold start readiness test to speed up tests by @Sha1rholder in #11270
- chore: fix FUNDING.yml syntax by @Sha1rholder in #11292
- ci(tests): merge smoke and unit tests and make Windows failures blocking by @Sha1rholder in #11295
- fix: forward KOOK voice cards to speech-to-text by @wcqqq1214 in #11307
- fix: resolve executable builtin tools for delegated sessions by @Yukari-Lily in #11335
- fix: wake session waiter timeout task on stop by @icyaaaww in #11349
- chore(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #11345
- fix(context): truncate history by complete user turns by @zzz27578 in #11316
- fix(event_bus): finish traces for messages dropped without a scheduler by @shuohui-air-technology in #11342
- refactor: make plugin locale and agent session lookups async by @Soulter in #11355
- fix(trace): use indexed state and flags in trace history responses by @Big-Sh0t114 in #11339
- fix: inject group chat context for bare @ mentions by @OMSociety in #11347
- fix(webui): surface backend error message when a command alias conflicts by @VanillaNahida in #11302
- feat(agent): add conversation_id to run_turn by @Soulter in #11357
- refactor(agent): store subagent conversations in ConversationStore by @Soulter in #11364
- fix: prevent duplicate segmented replies after reset by @Soulter in #11373
- feat(plugin): let plugins declare their marketplace category in metadata by @XTsat in #11094
- fix(provider): support combining Gemini built-in tools with function calling by @DOTBave in #11078
- fix(openai): normalize streamed tool call identity by @OMSociety in #10703
- fix(mcp): reject unsupported mcp SDK major versions by @OMSociety in #10825
- fix(mcp): decode subprocess stderr robustly by @OMSociety in #10982
- fix(webui): keep the All marketplace filter visible by @Soulter in #11376
- fix(mcp): recover broken sessions and initial connections by @OMSociety in #10838
- feat(webui): support marketplace plugin install links by @Soulter in #11375
- refactor(qqofficial)!: remove the use_markdown platform option by @OMSociety in #11378
- fix: keep WebChat turns in one history record and stop blocking the loop on button callbacks by @liquidtoy001 in #11282
- refactor: decouple interactive message views from WebChat by @Soulter in #11380
- test: remove the timing dependency from the EventBus origin routing test by @RC-CHN in #11382
- feat: add StepFun TTS provider by @Sha1rholder in #11326
- fix: preserve attachment filenames when sending captions by @RC-CHN in #11379
- fix(agent): interrupt model generation on steer by @Soulter in #11384
- chore: bump version to 4.30.0-beta.2 by @Soulter in #11385
- fix(weixin_oc): return the platform client by @Golden007-prog in #11388
- fix(weixin_oc): fail sends without message IDs by @laoyyu in #11354
- fix: escape Satori file attributes by @RC-CHN in #11397
- fix(skills): validate skill names and archive paths against traversal by @RC-CHN in #11399
- fix(dashboard): restore sticky header background on plugin detail page by @wcqqq1214 in #11396
- fix(stt): default the Whisper API provider to gpt-transcribe by @he-yufeng in #10330
- feat: track chat token usage per request by @Soulter in #11392
- fix: group WebChat conversations in the data workspace by @Soulter in #11404
- perf(db): bound SQLite cache_size and disable default mmap_size by @TTTornado in #11371
- perf(media): avoid caching inline base64 refs in urllib.parse by @RC-CHN in #11406
- perf(db): apply per-connection SQLite PRAGMAs in connect hook by @RC-CHN in #11407
- perf(config): avoid duplicate config_binding lookup per message by @RC-CHN in #11409
- fix: discard pending group messages when deleting the active conversation by @snowflake-yezi in #11401
- fix: keep MP3 payloads when encoding outbound records (avoid WAV inflation) by @JosephTian876 in #10927
- fix(backup): skip rebuildable plugin cache directories and aggregate unreadable file skips by @JosephTian876 in #11416
- fix(provider): support Gemini relay aliases and dated 2.5 thinking models by @JosephTian876 in #10961
- fix(provider): sanitize legacy tool-call history across OpenAI providers by @JosephTian876 in #11223
- fix: keep Gemini functionResponse name/id paired by @wcqqq1214 in #9761
- fix(aiocqhttp): log unsupported
inline_keyboardsegments at debug level by @JosephTian876 in #11414 - feat(tts): expose FishAudio audio format (
wav/mp3) andmp3_bitrateoptions by @JosephTian876 in #11415 - fix(db): return aggregated PlatformStat rows from SQLiteDatabase.get_platform_stats by @icyaaaww in #11421
- fix: report WebChat preprocessing errors by @wcqqq1214 in #10482
- fix: isolate button callback storage from main database by @wcqqq1214 in #10908
- fix: attach Gemini tool images to their function responses by @wcqqq1214 in #11424
- fix(webchat): preserve reasoning in non-streaming replies by @wcqqq1214 in #10458
- fix(gemini): exclude internal thinking tokens from context compression by @wcqqq1214 in #11087
- fix: prevent broken image flash when closing chat previews by @wcqqq1214 in #11436
- fix(webui): let a queued toast time out by @liquidtoy001 in #11438
- fix: shut down gracefully on SIGTERM by @orshih6 in #11290
- feat(dashboard): add usage data opt-out toggle to general settings by @lingyun14beta in #11091
- feat(chatui): show only the model name on the model button by @liquidtoy001 in #11441
- feat(chatui): rename the conversation in place from the header title by @liquidtoy001 in #11442
- fix(settings): remove unused group subtitle translations by @lingyun14beta in #11111
- docs: remove homepage, redirect / to /what-is-astrbot by @mantoujun12 in #11464
- feat: improve MCP server setup and namespace tools by @Soulter in #11408
- fix: enforce Python 3.12 at startup and align Ruff by @Soulter in #11469
- feat: scope persona selections and global settings by source by @Soulter in #11460
- fix: preserve Gemini client resources and stream concurrency by @Aoi-Karlin in #11475
- fix(gemini): count thinking tokens as output tokens in usage by @pcbeingused33 in #10826
- feat: preview plugin changelogs before updating by @Soulter in #11481
- fix(dashboard): show changelogs directly in plugin update dialogs by @Soulter in #11482
- fix: show routed profile names in traces by @Soulter in #11483
- fix: keep structured-only MCP results in model context by @he-yufeng in #11433
- fix(webui): start the chat sidebar divider below the toolbar by @Soulter in #11489
- fix(dashboard): streamline plugin updates by @Soulter in #11488
- docs(community): add Tencent Channel, and Questionnaire (zh only) by @mantoujun12 in #11492
- docs(README): change Gitcode badge link by @mantoujun12 in #11493
- feat(dashboard): list plugins with available updates first by @XTsat in #11486
- perf(provider): defer heavyweight SDK imports in entities to TYPE_CHECKING by @whatevertogo in #11496
- perf(dashboard): avoid reading and parsing plugins.json twice on cache check by @whatevertogo in #11498
- refactor(db): deduplicate PRAGMA table_info column checks on startup by @whatevertogo in #11499
- perf(core): simplify hot-path lookups and allocations in pipeline, logging, and sparse retrieval by @whatevertogo in #11500
- fix: preserve local message stats when metrics uploads are disabled by @Soulter in #11504
- fix(docs): 404 home button navigate to localized homepage by @mantoujun12 in #11506
- test: prune redundant and ineffective legacy regression tests by @RC-CHN in #11511
- fix: resolve rerank provider by ID on every retrieval by @JosephTian876 in #10263
- fix(plugin): bound the git clone timeout and stop credential helpers from hanging it by @JosephTian876 in #10855
- fix: actually delete attachments via REST API by @wcqqq1214 in #11473
- fix(provider): keep empty tool parameters by default for Gemini OpenAI-compat and fallback adaptively on legacy 400 by @JosephTian876 in #11510
- fix(subagent): deduplicate subagent-owned tools from main agent while keeping them delegable by @JosephTian876 in #11507
- feat(context): add configurable historical image aging and hysteresis truncation guards by @JosephTian876 in #11509
- chore(deps): bump github/codeql-action from 4.39.4 to 4.39.5 in the github-actions group by @dependabot[bot] in #11530
- fix(gemini): skip undownloadable history images instead of failing the turn by @JosephTian876 in #10894
- fix: preserve wakeup event identity by @he-yufeng in #10965
- fix(context): calibrate post-compression token counts for fallback truncation by @JosephTian876 in #11297
- fix(kb): add recoverable cooldown circuit breaker for rerank HTTP 401/402/403 errors by @JosephTian876 in #11413
- feat(chatui): drag to resize the sidebar by @liquidtoy001 in #11485
- Revert "fix(subagent): deduplicate subagent-owned tools from main agent while keeping them delegable" by @mantoujun12 in #11537
- revert: historical image aging and hysteresis truncation guards (#11509, #11297) by @mantoujun12 in #11540
- Refine default reply splitting by @Sha1rholder in #11435
- fix: keep non-ASCII text in replayed tool-call arguments by @thejesh23 in #11343
- test(shell): make Windows shell timeout cleanup test deterministic by @RC-CHN in #11545
- feat(dashboard): add a first-run setup guide by @camera-2018 in #10329
- fix(dashboard): inset onboarding toolbar on macOS by @Soulter in #11553
- feat: show plugin contributors and project links in details by @Soulter in #11495
- fix: prevent password prompts for dashboard API keys by @Soulter in #11555
- test: use real plugin metadata in dashboard API tests by @Soulter in #11558
- fix: avoid duplicate byte and token measurement for full document reads by @wuli-wa in #11559
- fix: reuse knowledge base vector database resources by @icyaaaww in #11544
- fix(provider): fail fast on health checks and honor request_max_retries by @whatevertogo in #11562
- docs: document isolated session impact on session_id and unified_msg_origin by @lingyun14beta in #10538
- fix(dashboard): prevent mobile menu icon clipping by @Soulter in #11565
- fix: restore legacy conversation and plugin view compatibility by @Soulter in #11568
- chore: bump version to 4.30.0 by @Soulter in #11564
New Contributors
- @wozhenbang2004 made their first contribution in #10877
- @sciman-top made their first contribution in #10922
- @pcbeingused33 made their first contribution in #10828
- @rudycelekli made their first contribution in #10715
- @sunrioa made their first contribution in #10989
- @Sha1rholder made their first contribution in #11186
- @123XieC made their first contribution in #11168
- @mothieras made their first contribution in #11062
- @Yukari-Lily made their first contribution in #11335
- @shuohui-air-technology made their first contribution in #11342
- @Big-Sh0t114 made their first contribution in #11339
- @liquidtoy001 made their first contribution in #11282
- @Golden007-prog made their first contribution in #11388
- @laoyyu made their first contribution in #11354
- @TTTornado made their first contribution in #11371
- @snowflake-yezi made their first contribution in #11401
- @orshih6 made their first contribution in #11290
- @Aoi-Karlin made their first contribution in #11475
- @thejesh23 made their first contribution in #11343
- @wuli-wa made their first contribution in #11559
Full Changelog: v4.29.4...v4.30.0