Tools / Qwen Code / v0.28.6

Qwen Code v0.28.6 release notes & breaking changes

breakingsecuritymodelpricing

Qwen Code v0.28.6 is a Alibaba release published 2026-11-26 with 398 listed changes, flagged for breaking changes, security fixes. Summary and full notes below, extracted from the official notes.

Get breaking changes for Qwen Code in your inbox every Monday

One free email: every breaking change, retirement and price change across 23 coding agents. No spam, unsubscribe anytime.

Subscribe free

← All Qwen Code releases and breaking changes

Summary

Full notes

<!-- qwen-release-notes:v2 -->

## Highlights

- Managed sessions can now suspend while awaiting tool approvals, questions, or background work, and resume after Harness crashes via cold recovery. ([#17953](https://github.com/QwenLM/qwen-code/pull/17953), [#18115](https://github.com/QwenLM/qwen-code/pull/18115), [#18164](https://github.com/QwenLM/qwen-code/pull/18164), [#18166](https://github.com/QwenLM/qwen-code/pull/18166), [#18170](https://github.com/QwenLM/qwen-code/pull/18170), [#18187](https://github.com/QwenLM/qwen-code/pull/18187), [#18194](https://github.com/QwenLM/qwen-code/pull/18194), [#18224](https://github.com/QwenLM/qwen-code/pull/18224), [#18236](https://github.com/QwenLM/qwen-code/pull/18236), [#18303](https://github.com/QwenLM/qwen-code/pull/18303))
- Headless sessions and the Ink TUI now run on the event-bus kernel by default, with cancelled runs settling within 10 seconds. ([#18154](https://github.com/QwenLM/qwen-code/pull/18154), [#18213](https://github.com/QwenLM/qwen-code/pull/18213))
- New general.displayLanguage setting (off, zh-CN, en) shows translated replies and thoughts in Ink, OpenTUI, and Web Shell while keeping originals stored. ([#18175](https://github.com/QwenLM/qwen-code/pull/18175))
- Send no longer stops a running shell command; it moves to the background and keeps running, with the model receiving its id, output location, and status. ([#17926](https://github.com/QwenLM/qwen-code/pull/17926))
- Web Shell submits prompts with idempotency keys, silently retries transient failures twice, and shows a message-level resend indicator instead of a blocking banner. ([#18177](https://github.com/QwenLM/qwen-code/pull/18177))
- Generated UI cards gain ui.state view persistence plus ui.copy and ui.download, letting clicks copy text or download a small text file via Web Shell. ([#17922](https://github.com/QwenLM/qwen-code/pull/17922), [#18158](https://github.com/QwenLM/qwen-code/pull/18158))

## Breaking Changes

- Removes MessageRewriteMiddleware, the extra model call that rewrote ACP replies; reply and thought rewriting now goes through the hook-based route in Ink, OpenTUI, and Web Shell. ([#18156](https://github.com/QwenLM/qwen-code/pull/18156)) by @qqqys
  - 移除 MessageRewriteMiddleware 这一额外模型调用;回复和思考的重写现在通过 Ink、OpenTUI 和 Web Shell 中基于 hook 的路径实现。

## Managed session parking & recovery

Turns can now park while awaiting approvals, questions, or background work, and recover after Harness restarts or crashes.

- Moves managed-agent background capture into the worker so Harness restarts no longer lose output, and sessions with live background work can suspend safely. ([#17953](https://github.com/QwenLM/qwen-code/pull/17953))
- Idle hosted sessions can now suspend while a recoverable tool-approval Action awaits a decision, resuming on approval, cancel, or mode change. ([#18115](https://github.com/QwenLM/qwen-code/pull/18115))
- Action parking now reports why a waiting Turn stays resident, and parking and cold recovery share one set of Session-shape checks. ([#18157](https://github.com/QwenLM/qwen-code/pull/18157))
- Approval waits whose Prompt contains only images or attachments can now park and survive a Harness crash via cold recovery. ([#18164](https://github.com/QwenLM/qwen-code/pull/18164))
- Approval waits requested by extension command steps, such as Shell commands inside extensions, can now park while awaiting a decision. ([#18166](https://github.com/QwenLM/qwen-code/pull/18166))
- A wake-started Turn waiting on tool approval now resumes that approval wait on the next Harness after a crash, instead of being settled as an error. ([#18170](https://github.com/QwenLM/qwen-code/pull/18170))
- Tool approval waits can now park while a certified background hold covers the Session's background runs, instead of keeping the Session resident until the human decides. ([#18187](https://github.com/QwenLM/qwen-code/pull/18187))
- Turns started by wake inputs such as monitor notifications, automation runs, loop fires, or child results can now park while awaiting tool approval and resume when due. ([#18194](https://github.com/QwenLM/qwen-code/pull/18194))
- managed-agent: park channel and pr_event Turns' approval waits ([#18203](https://github.com/QwenLM/qwen-code/pull/18203))
- Child Session Turns can now park while awaiting tool approval or a question, and cold recovery resumes them instead of keeping the Session resident. ([#18224](https://github.com/QwenLM/qwen-code/pull/18224))
- Managed agents can now park Hooks and MCP Session approval waits instead of blocking, landing alongside the Harness-side MCP plan. ([#18236](https://github.com/QwenLM/qwen-code/pull/18236))
- Prevent the parked-MCP reclamation job from retiring the MCP owner of a Session whose seal parks a Turn awaiting an Action. ([#18234](https://github.com/QwenLM/qwen-code/pull/18234))
- Fixes Managed Agent recovery after a turn is cancelled before Harness admission by requesting session-level evidence and rechecking cleanup when permitted. ([#18132](https://github.com/QwenLM/qwen-code/pull/18132))
- managed-agent: advance a crashed wake Turn's await_action wait ([#18172](https://github.com/QwenLM/qwen-code/pull/18172))
- Unadmitted cancellations now settle with their owed runtime cleanup preserved for retry, so earlier settled turns' cleanup obligations remain available. ([#18212](https://github.com/QwenLM/qwen-code/pull/18212))
- Version-0 public Shell Sessions now park approval waits on both Shell lanes, and public Shell profiles admit Shell calls into saved plans. ([#18303](https://github.com/QwenLM/qwen-code/pull/18303))
- Managed sessions now use the shared question card, adding draft persistence, multi-line text, and submit-only blocking for a consistent chat experience. ([#18273](https://github.com/QwenLM/qwen-code/pull/18273))
- The instance metrics route now reports suspension counts, including clean suspensions, reverted attempts, eligibility failures, and cold opens. ([#18173](https://github.com/QwenLM/qwen-code/pull/18173))
- Adds English and Chinese design docs for widening Action parking coverage and confirming its pre-start checks. ([#18151](https://github.com/QwenLM/qwen-code/pull/18151))
- Corrects the Action parking design so MCP reclamation skipping parked owners is assigned to S6 rather than described as existing behavior. ([#18186](https://github.com/QwenLM/qwen-code/pull/18186))
- Documents the design and pre-start checks for parking tool approvals on Sessions with Hooks; no production code changes. ([#18218](https://github.com/QwenLM/qwen-code/pull/18218))
- Adds English and Chinese design docs for S8a Shell approval parking plus the two pre-start check tests, both passing. ([#18279](https://github.com/QwenLM/qwen-code/pull/18279))
- Adds real-process Action parking acceptance tests covering Allow, Deny, cancellation, approval-mode change, and expiry, including control plane restarts. ([#18276](https://github.com/QwenLM/qwen-code/pull/18276))
- Restored Workspace registration for Action parking acceptance and aligned approval validation with durable Hooks and MCP formats. ([#18353](https://github.com/QwenLM/qwen-code/pull/18353))

## Reasoning effort & model routing

Adds xhigh effort for Gemini 4 models, automatic Kimi K3 effort inference, and fixes for Gemini and DashScope request schemas.

- Gemini 4 Neon and Hydrogen models now support xhigh reasoning effort (default high) across Gemini and Vertex routes, including dated, preview, and suffixed aliases. ([#18121](https://github.com/QwenLM/qwen-code/pull/18121))
- Kimi K3 models on custom OpenAI-compatible gateways now infer low/high/max reasoning effort with max as default and mandatory thinking, without per-route declarations. ([#18095](https://github.com/QwenLM/qwen-code/pull/18095))
- Moves text out of Gemini functionResponse nested parts into the tool response payload, omitting empty parts, so Gemini requests stay schema-valid. ([#18220](https://github.com/QwenLM/qwen-code/pull/18220))
  ![Gemini functionResponse.parts verification output](https://raw.githubusercontent.com/wenshao/qwen-code/800f2d37aa7d6d22086692b174c5eecc8af2ca6a/fix-gemini-function-response-parts/verification-output.png)
- DashScope tool schemas now send omitted additionalProperties as true at object levels with declared properties, while explicit false stays closed. ([#18256](https://github.com/QwenLM/qwen-code/pull/18256))
- Fixes compression deadlocks in long reasoning sessions by stripping unsigned reasoning blocks and retrying with reduced input when output is truncated. ([#18209](https://github.com/QwenLM/qwen-code/pull/18209))
- Streams that stall mid tool-call arguments now get a single retry instead of repeated replays, and the error explains the likely provider behavior. ([#18242](https://github.com/QwenLM/qwen-code/pull/18242))
- ACP sessions can opt in to replaying retryable transport cuts after reasoning and tool calls, and errors now retain their underlying cause. ([#18228](https://github.com/QwenLM/qwen-code/pull/18228))
- Context overflow errors worded as "is longer than the model's context length" are now recognized, triggering automatic compaction instead of failing. ([#18176](https://github.com/QwenLM/qwen-code/pull/18176))
  ![Before vs After reproduction and test verification on real Kimi 400 error](https://raw.githubusercontent.com/wenshao/qwen-code/09eeedfd567e5fbfaa3cb91fa74b983ebc7bceeb/kimi-context-length-verification.png)

## Web Shell & chat UI

Improves composer reliability, settings, history, and mobile layout across the shared chat surface.

- Web Shell now submits prompts with idempotency keys, silently retries transient failures twice, and shows a message-level resend indicator instead of a blocking banner. ([#18177](https://github.com/QwenLM/qwen-code/pull/18177))
  ![Before: blocking banner and locked composer](https://github.com/user-attachments/assets/6a74187f-f5f8-4daf-b315-ac62c346e564)
  ![After: uncertain delivery with left exclamation button and hover tooltip](https://github.com/user-attachments/assets/b760c283-3248-476f-9d83-af886d8ce60b)
- Generated UI cards gain ui.copy and ui.download, letting a click copy text or download a small text file via Web Shell. ([#18158](https://github.com/QwenLM/qwen-code/pull/18158))
  ![Copied](https://raw.githubusercontent.com/qqqys/qwen-code/b0a4ff099e7e4eed7d5e565ae2c63135d7b19a69/copied.png)
  ![Copy blocked, with the bar's Copy button](https://raw.githubusercontent.com/qqqys/qwen-code/b0a4ff099e7e4eed7d5e565ae2c63135d7b19a69/copy-pending.png)
- Generated UI cards can now persist view state via ui.state, with model guidance on restoring and saving values and acceptance tests measuring the result. ([#17922](https://github.com/QwenLM/qwen-code/pull/17922))
- The touch composer editing bar now stays on one compact row across phones and iPads while keeping all six editing controls. ([#18126](https://github.com/QwenLM/qwen-code/pull/18126))
- Narrow touch-session rows now wrap status metadata instead of covering it, keeping the More hit area clear and closing hover details while menus are open. ([#18092](https://github.com/QwenLM/qwen-code/pull/18092))
- Prevents Safari on iOS from zooming the page when focusing text inputs, textareas, editable content, and the composer, including inputs inside portaled dialogs. ([#17938](https://github.com/QwenLM/qwen-code/pull/17938))
- The floating environment panel in Web Shell now stops above a pending question and scrolls internally, updating its height on resize and returning to normal once answered. ([#18013](https://github.com/QwenLM/qwen-code/pull/18013))
- Clicking a single-task composer chip again now collapses its task detail, while multi-task chips still open their list and row selection switches tasks. ([#18128](https://github.com/QwenLM/qwen-code/pull/18128))
- Fix embedded Web Shell approval buttons losing theme colors, borders, and padding when a late scoped button reset loads. ([#18243](https://github.com/QwenLM/qwen-code/pull/18243))
- The Web Shell settings panel now shows a Not set badge for unset boolean settings, and the first click writes the schema's unsetToggleValue when present. ([#18301](https://github.com/QwenLM/qwen-code/pull/18301))
- Web Shell now stores composer prompt and shell command history on the local daemon per workspace, so desktop and mobile clients share history. ([#18120](https://github.com/QwenLM/qwen-code/pull/18120))
- Show short Skill names in the slash menu and /skills list, and highlight the owning Extension in the details tooltip. ([#18227](https://github.com/QwenLM/qwen-code/pull/18227))
  ![Before: slash menu shows extension:skill and tooltip extension blends into description](https://raw.githubusercontent.com/callmeYe/qwen-code/2213c3707ddc97eff3272b3d9ac2001342cd89e4/pr-18227/before-dark-en.png)
  ![After: slash menu shows skill name only and tooltip highlights owning extension](https://raw.githubusercontent.com/callmeYe/qwen-code/2213c3707ddc97eff3272b3d9ac2001342cd89e4/pr-18227/after-dark-en.png)
- Skips redundant root scope guards in Web Shell CSS, cutting median click-to-visible history from 1,308 ms to 815 ms. ([#18223](https://github.com/QwenLM/qwen-code/pull/18223))
- web-shell: scope library CSS with native @scope and remove :has() subtree wildcards ([#18239](https://github.com/QwenLM/qwen-code/pull/18239))
- Coalesce transcript bottom-follow into one resize observer after layout, skipping redundant scroll writes when already at the bottom. ([#18180](https://github.com/QwenLM/qwen-code/pull/18180))
- The shared chat surface can now render and operate a live Managed session, with host integrations defaulting to off when no daemon context is present. ([#18246](https://github.com/QwenLM/qwen-code/pull/18246))
- web-shell: add pure Managed SessionChatController adapter core (slice 3a) ([#18117](https://github.com/QwenLM/qwen-code/pull/18117))
- web-shell: bind Managed provider to SessionChatController (slice 3b) ([#18205](https://github.com/QwenLM/qwen-code/pull/18205))
- Adds older-history pagination state to the chat controllers and scopes ChatSurface cancel errors to the owning session and active turn. ([#18091](https://github.com/QwenLM/qwen-code/pull/18091))

## Hooks & permissions

Refines hook lifecycle, stop behavior, permission rules, and warning surfacing.

- A Stop or SubagentStop hook returning continue: false now ends the turn, and stopReason text is shown to users in terminal, headless, and ACP sessions. ([#18229](https://github.com/QwenLM/qwen-code/pull/18229))
- PermissionRequest hooks that allow a tool call can now return updatedPermissions rules, applied like Always allow in the terminal UI and ACP sessions. ([#18237](https://github.com/QwenLM/qwen-code/pull/18237))
- UserPromptSubmit hooks now run once per fresh user message, skipping tool-result requests, retries, and automated prompts to cut latency and stray context. ([#18266](https://github.com/QwenLM/qwen-code/pull/18266))
- Hooks that cannot run as written now surface warnings at session start, in headless stderr, and after /hooks reloads, identifying source, event, and position. ([#18299](https://github.com/QwenLM/qwen-code/pull/18299))
- A tool hook returning continue: false now ends the turn, keeping batch results in the conversation and showing the stop reason to the user. ([#18345](https://github.com/QwenLM/qwen-code/pull/18345))

## Agent runtime & kernel

Moves headless and Ink sessions onto the event-bus kernel and improves tool execution, cancellation, and load handling.

- Headless sessions (-p, stream-json, SDK) now run on the event-bus kernel by default, with an opt-out setting and env var; cancelled runs settle within 10 seconds. ([#18154](https://github.com/QwenLM/qwen-code/pull/18154))
- The Ink TUI now runs the shared agent loop on the event-bus kernel by default, with Esc-cancelled turns settling within 10 seconds. ([#18213](https://github.com/QwenLM/qwen-code/pull/18213))
- Send now no longer stops a running shell command: it moves to the background and keeps running, and the model receives the background id, output location, and status. ([#17926](https://github.com/QwenLM/qwen-code/pull/17926))
- cli: refuse new sessions under sustained host load ([#18052](https://github.com/QwenLM/qwen-code/pull/18052))
- Grep now prefers a healthy system rg on PATH and falls back to the bundled binary, avoiding slow first launches on macOS; useBuiltinRipgrep false still means system-only. ([#17698](https://github.com/QwenLM/qwen-code/pull/17698))
- Very large session transcripts now stay openable across daemon load and replay, with the streaming file limit raised to 1 GiB and new memory guards. ([#18111](https://github.com/QwenLM/qwen-code/pull/18111))
- Archiving a session now blocks stale recorders from recreating its live transcript or title, while newly loaded recorders resume normally. ([#18012](https://github.com/QwenLM/qwen-code/pull/18012))
- Deleting a live workspace session now waits for the recorder to flush and close, preserving files on timeout while other sessions keep running. ([#17707](https://github.com/QwenLM/qwen-code/pull/17707))
- Token usage in the daemon dashboard and /stats now comes from the per-request usage ledger, attributing usage to the day each response occurred. ([#17902](https://github.com/QwenLM/qwen-code/pull/17902))
- MCP approvals now persist after a session changes directory, so approved servers no longer appear disconnected or require re-approval. ([#18262](https://github.com/QwenLM/qwen-code/pull/18262))
- The Java SDK now allows lifecycle v2 requests for the Hosted Workspace files profile when the Harness advertises hosted-workspace-files/1. ([#18268](https://github.com/QwenLM/qwen-code/pull/18268))
- Managed Agent Runtime Broker now discovers providers using the application class loader, fixing provider lookup from threads that cannot see application providers. ([#18125](https://github.com/QwenLM/qwen-code/pull/18125))
- Clear all high and critical production dependency audit findings, including direct package bumps and workspace overrides for transitive advisories. ([#18075](https://github.com/QwenLM/qwen-code/pull/18075))

## Prompt & context efficiency

Reduces prompt size, speeds up transcript loading, and improves compaction behavior.

- Shortens the inline memory policy and first-request prompts, omits empty memory catalogs in fresh sessions, and trims repeated tool examples to cut prompt size. ([#17789](https://github.com/QwenLM/qwen-code/pull/17789))
- Session creation no longer loads saved workflow snapshots or recovers interrupted workflows until workflow history is requested, removing 30 snapshot reads with 30 saved runs. ([#17896](https://github.com/QwenLM/qwen-code/pull/17896))
- After Summary compaction, a runtime hint now points the model to the local transcript for older details, without adding a new tool or retaining more history. ([#18018](https://github.com/QwenLM/qwen-code/pull/18018))
- The daemon now builds transcript catalog summaries from single bounded reads and loads Goal metadata only for the selected page, speeding up the sidebar's first page. ([#18146](https://github.com/QwenLM/qwen-code/pull/18146))
- Serve now pins Skills and extensions for the duration of a prompt turn and refreshes them on the next prompt in the same session. ([#18179](https://github.com/QwenLM/qwen-code/pull/18179))
- Corrects two misleading comments and test titles in the managed DingTalk witness tests; no assertions, fixtures, or production code change. ([#18046](https://github.com/QwenLM/qwen-code/pull/18046))
- Aligns transcript history documentation with the implemented live-flush barrier and in-process liveness check, clarifying the security boundary in English and Chinese. ([#18094](https://github.com/QwenLM/qwen-code/pull/18094))

## PR review & CI security

Adds hardware-isolated execution for PR verification and hardens CI credentials and workflows.

- verify-pr now runs hardware-isolated m
← Older: v1.0.0-preview.2 (2026-11-25)Newer: v0.28.7 (2026-11-26)
Weekly digest: every breaking change, retirement and price change across 23 coding agents, one email.

Form not loading? Subscribe here.