Component: zed · Channel: prerelease. Automated analysis, not a compatibility certification. How this works.
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-pre. Source highlight: This week's release includes BYOK support for Claude Opus 5.5 (Anthropic) and GPT-6 Astra, Sol, and Luna (OpenAI), on-the-fly model selection for new subagents, automatic subagent compaction, and dynamically fetched OpenCode models.
Check the source notes against the package and APIs you use before upgrading.
📊 Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
⚙️ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
⚠️ 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 (6)
Added BYOK support for GPT-6 Astra with an OpenAI API key. (#64420)
Added BYOK support for GPT-6 Sol and GPT-6 Luna with an OpenAI API key. (#64628)
Added BYOK support for Claude Opus 5.5 with an Anthropic API key. (#64627)
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; thanks itsfuad)
Added Grok 4.7 to the SuperGrok and xAI providers and made it their recommended default. (#64567; thanks raphaelluethy)
Added Z.ai GLM to the Mistral provider. (#63535; thanks ummon-v)
⚡ Performance & Enhancements (4)
Improved OpenCode model availability by fetching the Zen and Go model list dynamically instead of relying on one bundled with Zed. (#64585)
Improved Threads Sidebar sizing so changes to `agent.threads_sidebar.default_width` take effect even after manually resizing the sidebar. (#64395; thanks joshkent94)
Improved how quickly branch diffs show their first changes when a branch has drifted far from its base. (#62536; thanks azeemshaik025)
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, #64522)
🔧 Bug Fixes & Patches (6)
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; thanks porada)
Fixed `cmd-w` (macOS) and `ctrl-w` (Linux/Windows) closing the active dock instead of the active pane item. (#64515)
Fixed newly available ChatGPT subscription models not appearing in the model picker. (#64625)
Fixed a crash when typing into an empty side of a merge conflict. (#64604)
Fixed ligatures being disabled on Windows unless `buffer_font_features` was set. (#62338; thanks interkelstar)
Fixed LSP completions without edit ranges ignoring the configured `completions.lsp_insert_mode`. (#64139)
📄 View Raw Release Notes (Original Developer Log)
This week's release includes BYOK support for Claude Opus 5.5 (Anthropic) and GPT-6 Astra, Sol, and Luna (OpenAI), on-the-fly model selection for new subagents, automatic subagent compaction, and dynamically fetched OpenCode models.
## Features
### AI
- Added BYOK support for GPT-6 Astra with an OpenAI API key. ([#64420](https://github.com/zed-industries/zed/pull/64420))
- Added BYOK support for GPT-6 Sol and GPT-6 Luna with an OpenAI API key. ([#64628](https://github.com/zed-industries/zed/pull/64628))
- Added BYOK support for Claude Opus 5.5 with an Anthropic API key. ([#64627](https://github.com/zed-industries/zed/pull/64627))
- 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 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 Z.ai GLM to the Mistral provider. ([#63535](https://github.com/zed-industries/zed/pull/63535); thanks [ummon-v](https://github.com/ummon-v))
- 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 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))
### 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 newly available ChatGPT subscription models not appearing in the model picker. ([#64625](https://github.com/zed-industries/zed/pull/64625))
- Fixed a crash when typing into an empty side of a merge conflict. ([#64604](https://github.com/zed-industries/zed/pull/64604))
- 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 the Git Panel unexpectedly switching repositories when viewing changes in multi-repository projects. ([#58795](https://github.com/zed-industries/zed/pull/58795); thanks [mengh04](https://github.com/mengh04))
- 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 a project root folder could not be renamed to match a child folder. ([#64268](https://github.com/zed-industries/zed/pull/64268); thanks [D4r3NPo](https://github.com/D4r3NPo))
- 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 deleted Git gutter markers disappearing at narrow custom widths. ([#64469](https://github.com/zed-industries/zed/pull/64469); thanks [rajin-khan](https://github.com/rajin-khan))
- 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 the thinking toggle for Mistral Small and Medium. ([#63535](https://github.com/zed-industries/zed/pull/63535); thanks [ummon-v](https://github.com/ummon-v))
- 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 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 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))
- Fixed the macOS traffic light animation when exiting fullscreen. ([#64339](https://github.com/zed-industries/zed/pull/64339); thanks [tidely](https://github.com/tidely))
## 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))