Component: zed · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-16.
Breaking-change evidence from the source
- Fixed task worktree variables resolving to the wrong project when the global `tasks.json` file was focused, and paths containing spaces breaking Windows tasks. ([#55727](https://github.com/zed-industries/zed/pull/55727); thanks [di404](https://github.com/di404))
Breaking Changes and Notices - Removed Stop controls from external-agent-managed terminals, which are controlled by the agent rather than a local process. ([#64544](https://github.com/zed-industries/zed/pull/64544))
Zed v1.22.0 introduces BYOK support for GPT-6.1 Sol, per-spawn model selection for subagents, inheritance syntax for glob and regex settings, and a unified/split toggle for CLI diffs. This release includes breaking changes, notably remapping active dock closure to `ctrl-alt-w`, changing terminal path hyperlink regex inheritance, and updating Threads Sidebar configuration keys.
Developers using custom settings or keybindings must adapt to the new `ctrl-alt-w` shortcut for docks, updated `terminal.path_hyperlink_regexes` behavior, and renamed `agent.threads_sidebar.*` options.
📊 Product & Engineering Leads
AI feature adoption expands with dynamic model selection in subagent spawns, automatic subagent compaction, BYOK GPT-6.1 Sol support, and Grok 4.7 integration.
⚙️ DevOps & Security
No CI/CD or build pipeline updates are required, but teams sharing editor configuration files should audit glob inheritance syntax and Watcher imports.
⚠️ Breaking Changes & Deprecations (2)
- Fixed task worktree variables resolving to the wrong project when the global `tasks.json` file was focused, and paths containing spaces breaking Windows tasks. ([#55727](https://github.com/zed-industries/zed/pull/55727); thanks [di404](https://github.com/di404))
Breaking Changes and Notices - Removed Stop controls from external-agent-managed terminals, which are controlled by the agent rather than a local process. ([#64544](https://github.com/zed-industries/zed/pull/64544))
✨ New Features & Capabilities (7)
Added optional `model` parameter to `spawn_agent` for selecting models per subagent spawn
Added BYOK support for GPT-6.1 Sol via OpenAI API keys
Added Grok 4.7 provider support and set it as default for SuperGrok and xAI
Added top-level `"..."` inheritance syntax to extend inherited settings in `edit_predictions.disabled_globs`, `terminal.path_hyperlink_regexes`, `file_scan_inclusions`, and `hidden_files`
Added unified/split view toggle to CLI diff views launched via `zed --diff`
Added `MicaBackdrop` and `MicaAltBackdrop` options for `background.appearance` on Windows
Added macOS three-finger Look Up and translation gesture support in Markdown previews
⚡ Performance & Enhancements (4)
Enabled automatic compaction for subagents
Improved OpenCode model availability by fetching Zen and Go model lists dynamically
Accelerated branch diff rendering when branches have drifted far from their base commit
Improved pending keystrokes indicator with scrollable grouped bindings and support for chords without timeouts
🔧 Bug Fixes & Patches (7)
Fixed `cmd-w`/`ctrl-w` incorrectly closing the active dock instead of the active pane item
Yes. The shortcut to close active docks changed from `cmd-w`/`ctrl-w` to `ctrl-alt-w`. Top-level `"..."` in `terminal.path_hyperlink_regexes` now inherits base regexes rather than matching literal dots. Additionally, VS Code `files.watcherInclude` is no longer imported as `file_scan_inclusions`, stop controls were removed from external-agent terminals, and Threads Sidebar settings were grouped into `agent.threads_sidebar.*`.
What is the primary highlight of v1.22.0?
The primary highlights center around expanded AI subagent workflows, including per-spawn model overrides via `spawn_agent`, BYOK support for GPT-6.1 Sol, Grok 4.7 defaults, dynamic OpenCode model fetching, and subagent compaction.
How should teams prepare to upgrade to v1.22.0?
Developers should adjust to the `ctrl-alt-w` keybinding for closing docks, review workspace settings for `agent.threads_sidebar` namespaces, and update `terminal.path_hyperlink_regexes` if literal `"..."` matching was previously intended.
📄 View Raw Release Notes (Original Developer Log)
This week's release includes BYOK support for GPT-6.1 Sol, on-the-fly model selection for new subagents, automatic subagent compaction, a unified/split toggle for diffs opened from the command line, and dynamically fetched OpenCode models.
## Features
### AI
- Added an optional `model` parameter to `spawn_agent` to choose a model for that spawn instead of using the configured subagent model or inheriting the parent model, with the active model shown in its card. ([#64498](https://github.com/zed-industries/zed/pull/64498); thanks [itsfuad](https://github.com/itsfuad))
- Added BYOK support for GPT-6.1 Sol with an OpenAI API key. ([#64968](https://github.com/zed-industries/zed/pull/64968); thanks [ktKongTong](https://github.com/ktKongTong))
- Added Grok 4.7 to the SuperGrok and xAI providers and made it their recommended default. ([#64567](https://github.com/zed-industries/zed/pull/64567); thanks [raphaelluethy](https://github.com/raphaelluethy))
- Added the `agent.threads_sidebar.auto_open` setting to control whether opening a folder in an existing window also opens the Threads Sidebar. ([#64259](https://github.com/zed-industries/zed/pull/64259), [#64395](https://github.com/zed-industries/zed/pull/64395); thanks [jackhwalters](https://github.com/jackhwalters) and [joshkent94](https://github.com/joshkent94))
- Added support for `"..."` in `edit_predictions.disabled_globs` and `edit_predictions_disabled_in` so settings can extend inherited edit prediction exclusions and scopes. ([#64540](https://github.com/zed-industries/zed/pull/64540), [#64546](https://github.com/zed-industries/zed/pull/64546); thanks [porada](https://github.com/porada))
- Enabled compaction for subagents. ([#64135](https://github.com/zed-industries/zed/pull/64135))
- Improved OpenCode model availability by fetching the Zen and Go model list dynamically instead of relying on one bundled with Zed. ([#64585](https://github.com/zed-industries/zed/pull/64585))
- Improved performance when resolving OpenCode models. ([#64666](https://github.com/zed-industries/zed/pull/64666))
- Improved Threads Sidebar sizing so changes to `agent.threads_sidebar.default_width` take effect even after manually resizing the sidebar. ([#64395](https://github.com/zed-industries/zed/pull/64395); thanks [joshkent94](https://github.com/joshkent94))
- Hid deprecated OpenCode models. ([#64666](https://github.com/zed-industries/zed/pull/64666))
### Git
- Added a unified/split toggle to the diff view opened with `zed --diff <old> <new>`. ([#64529](https://github.com/zed-industries/zed/pull/64529); thanks [rn23thakur](https://github.com/rn23thakur))
- Improved how quickly branch diffs show their first changes when a branch has drifted far from its base. ([#62536](https://github.com/zed-industries/zed/pull/62536); thanks [azeemshaik025](https://github.com/azeemshaik025))
### Terminal
- Added support for `"..."` in `terminal.path_hyperlink_regexes` to extend inherited regexes without repeating them. ([#64552](https://github.com/zed-industries/zed/pull/64552); thanks [porada](https://github.com/porada))
### macOS
- Added macOS three-finger Look Up and translation gestures for text in focused Markdown previews. ([#59297](https://github.com/zed-industries/zed/pull/59297); thanks [cppcoffee](https://github.com/cppcoffee))
### Windows
- Added `MicaBackdrop` and `MicaAltBackdrop` options for the `background.appearance` theme setting. ([#48340](https://github.com/zed-industries/zed/pull/48340); thanks [Marocco2](https://github.com/Marocco2))
### Other
- Added support for `"..."` in `file_scan_inclusions` and `hidden_files` so project settings can extend inherited inclusion and hidden-file patterns. ([#64440](https://github.com/zed-industries/zed/pull/64440), [#64484](https://github.com/zed-industries/zed/pull/64484); thanks [porada](https://github.com/porada))
- Added confirmation in the title bar when a manual update check found Zed was already up to date. ([#64106](https://github.com/zed-industries/zed/pull/64106); thanks [tahayvr](https://github.com/tahayvr))
- Improved the pending keystrokes indicator with grouped bindings, a scrollable list, and support for chords without a timeout, such as shortcuts starting with `cmd-k`. ([#64362](https://github.com/zed-industries/zed/pull/64362), [#64522](https://github.com/zed-industries/zed/pull/64522))
## Bug Fixes
- Fixed invalid file patterns discarding valid exclusion, hidden-file, read-only, and private-file rules or causing inclusion and file-type settings to panic. ([#64525](https://github.com/zed-industries/zed/pull/64525); thanks [porada](https://github.com/porada))
- Fixed `cmd-w` (macOS) and `ctrl-w` (Linux/Windows) closing the active dock instead of the active pane item. ([#64515](https://github.com/zed-industries/zed/pull/64515))
- Fixed ligatures being disabled on Windows unless `buffer_font_features` was set. ([#62338](https://github.com/zed-industries/zed/pull/62338); thanks [interkelstar](https://github.com/interkelstar))
- Fixed LSP completions without edit ranges ignoring the configured `completions.lsp_insert_mode`. ([#64139](https://github.com/zed-industries/zed/pull/64139))
- Fixed the Settings window opening with its header off-screen at high DPI scaling on Windows. ([#62073](https://github.com/zed-industries/zed/pull/62073); thanks [habisahmad](https://github.com/habisahmad))
- Fixed importing VS Code `files.exclude` into `file_scan_exclusions`. ([#64492](https://github.com/zed-industries/zed/pull/64492); thanks [porada](https://github.com/porada))
- Fixed “Add to .git/info/exclude” failing in secondary Git worktrees. ([#63967](https://github.com/zed-industries/zed/pull/63967); thanks [mateioprea](https://github.com/mateioprea))
- Fixed terminals retaining about 2 MB of memory per command after the command finished. ([#64405](https://github.com/zed-industries/zed/pull/64405); thanks [EcutAtom336](https://github.com/EcutAtom336))
- Fixed external-agent terminals completing prematurely or reporting the wrong exit status. ([#64544](https://github.com/zed-industries/zed/pull/64544))
- Fixed a memory leak when closing macOS windows with experimental accessibility enabled. ([#64143](https://github.com/zed-industries/zed/pull/64143); thanks [feigeCode](https://github.com/feigeCode))
- Fixed the terminal grid losing its top alignment when growing on Windows. ([#63699](https://github.com/zed-industries/zed/pull/63699); thanks [39ali](https://github.com/39ali))
- Fixed a crash on Linux (X11) when a window was redrawn immediately after GPU device recovery. ([#64570](https://github.com/zed-industries/zed/pull/64570))
- Fixed language servers not starting for files opened via UNC paths on Windows. ([#56553](https://github.com/zed-industries/zed/pull/56553); thanks [Joblen](https://github.com/Joblen))
- Fixed PowerShell installed by Scoop not being detected when Scoop uses a custom installation directory. ([#62473](https://github.com/zed-industries/zed/pull/62473); thanks [jliu666](https://github.com/jliu666))
- Fixed task worktree variables resolving to the wrong project when the global `tasks.json` file was focused, and paths containing spaces breaking Windows tasks. ([#55727](https://github.com/zed-industries/zed/pull/55727); thanks [di404](https://github.com/di404))
- Fixed adding the current line to an Agent thread when no text was selected using `cmd->` (macOS), `ctrl->` (Linux), or `ctrl-shift-.` (Windows). ([#64589](https://github.com/zed-industries/zed/pull/64589))
- Fixed a bug where the block cursor hid the character underneath until its animation completed. ([#64521](https://github.com/zed-industries/zed/pull/64521); thanks [linyisu](https://github.com/linyisu))
- Fixed columnar selections landing in the wrong column around non-ASCII text, tabs, soft wraps, and collapsed content. ([#63723](https://github.com/zed-industries/zed/pull/63723); thanks [itsfuad](https://github.com/itsfuad))
- Fixed the cursor drifting from the center of the editor when using a high `vertical_scroll_margin` for typewriter-style scrolling. ([#63944](https://github.com/zed-industries/zed/pull/63944); thanks [rn23thakur](https://github.com/rn23thakur))
- Fixed cursor animations when moving between characters of different widths and during keyboard-triggered autoscrolling. ([#64184](https://github.com/zed-industries/zed/pull/64184); thanks [tiny-paris](https://github.com/tiny-paris))
- Fixed excerpt expansion when the selection was on deleted text in unified diffs. ([#63946](https://github.com/zed-industries/zed/pull/63946); thanks [IbrahimKhan12](https://github.com/IbrahimKhan12))
- Fixed a bug where “Configure Excluded Files” selected the wrong list when a commented-out `disabled_globs` setting appeared before it. ([#64540](https://github.com/zed-industries/zed/pull/64540); thanks [porada](https://github.com/porada))
- Fixed diagnostic navigation not linking nearby related diagnostics back to the primary diagnostic. ([#64134](https://github.com/zed-industries/zed/pull/64134); thanks [GautamBytes](https://github.com/GautamBytes))
- Fixed missing editor underlines for language server diagnostics at positions without underlying text. ([#63933](https://github.com/zed-industries/zed/pull/63933); thanks [itsfuad](https://github.com/itsfuad))
- Fixed a bug where the Agent Panel created two terminals when starting a new terminal thread in a project with no existing terminals. ([#62151](https://github.com/zed-industries/zed/pull/62151); thanks [restlessronin](https://github.com/restlessronin))
- Fixed keyboard navigation and submission in ACP elicitation forms. ([#64193](https://github.com/zed-industries/zed/pull/64193))
- Fixed errors when ACP agents returned `null` for empty response payloads. ([#64457](https://github.com/zed-industries/zed/pull/64457))
- Fixed Markdown preview tabs not showing the source file path on hover. ([#64318](https://github.com/zed-industries/zed/pull/64318); thanks [GautamBytes](https://github.com/GautamBytes))
- Fixed Project Panel requiring two `left` presses to collapse opened files’ parent. ([#64733](https://github.com/zed-industries/zed/pull/64733))
- Fixed breadcrumb highlighting outside excerpts. ([#64738](https://github.com/zed-industries/zed/pull/64738))
- Fixed missing visual feedback when copying REPL output. ([#64276](https://github.com/zed-industries/zed/pull/64276); thanks [Yao0454](https://github.com/Yao0454))
- Fixed recording and searching for standalone modifier-key bindings in the Keymap Editor. ([#64537](https://github.com/zed-industries/zed/pull/64537))
- Fixed remote external-agent exit errors appearing before the agent's final response updates were applied. ([#64603](https://github.com/zed-industries/zed/pull/64603))
- Fixed the selection highlight flickering in the Threads Sidebar when clicking terminal threads. ([#64387](https://github.com/zed-industries/zed/pull/64387))
- Fixed snippets from different extensions canceling each other out for the same language. ([#58659](https://github.com/zed-industries/zed/pull/58659); thanks [LBF38](https://github.com/LBF38))
- Fixed syntax highlighting for Markdown emphasis, links, and code blocks when viewing a file at a historical commit. ([#64683](https://github.com/zed-industries/zed/pull/64683); thanks [Sudarsh1010](https://github.com/Sudarsh1010))
- Fixed Command-clicking a symbol opening a definitions multibuffer instead of the picker when `lsp_results_location` was set to `"picker"`. ([#64039](https://github.com/zed-industries/zed/pull/64039); thanks [v-shevtsov](https://github.com/v-shevtsov))
## Breaking Changes and Notices
- Removed Stop controls from external-agent-managed terminals, which are controlled by the agent rather than a local process. ([#64544](https://github.com/zed-industries/zed/pull/64544))
- Changed Threads Sidebar settings to `agent.threads_sidebar.position`, `agent.threads_sidebar.default_width`, and `agent.threads_sidebar.auto_open`, grouped together in the Settings Editor. Existing settings are migrated automatically. ([#64395](https://github.com/zed-industries/zed/pull/64395); thanks [joshkent94](https://github.com/joshkent94))
- Changed the shortcut for closing the active dock from `cmd-w` (macOS) or `ctrl-w` (Linux/Windows) to `ctrl-alt-w` on all platforms. ([#64515](https://github.com/zed-industries/zed/pull/64515))
- Changed `terminal.path_hyperlink_regexes` so a top-level `"..."` entry now inserts inherited regexes. To retain the previous three-character regex, replace that entry with `["..."]`. ([#64552](https://github.com/zed-industries/zed/pull/64552); thanks [porada](https://github.com/porada))
- Stopped importing VS Code’s `files.watcherInclude` as `file_scan_inclusions`; watch roots are not Git-ignore overrides. ([#64440](https://github.com/zed-industries/zed/pull/64440); thanks [porada](https://github.com/porada))