Release notes
Zed v1.22.0
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
modelparameter tospawn_agentto 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 BYOK support for GPT-6.1 Sol with an OpenAI API key. (#64968; thanks ktKongTong)
- Added Grok 4.7 to the SuperGrok and xAI providers and made it their recommended default. (#64567; thanks raphaelluethy)
- Added the
agent.threads_sidebar.auto_opensetting to control whether opening a folder in an existing window also opens the Threads Sidebar. (#64259, #64395; thanks jackhwalters and joshkent94) - Added support for
"..."inedit_predictions.disabled_globsandedit_predictions_disabled_inso settings can extend inherited edit prediction exclusions and scopes. (#64540, #64546; thanks porada) - Enabled compaction for subagents. (#64135)
- Improved OpenCode model availability by fetching the Zen and Go model list dynamically instead of relying on one bundled with Zed. (#64585)
- Improved performance when resolving OpenCode models. (#64666)
- Improved Threads Sidebar sizing so changes to
agent.threads_sidebar.default_widthtake effect even after manually resizing the sidebar. (#64395; thanks joshkent94) - Hid deprecated OpenCode models. (#64666)
Git
- Added a unified/split toggle to the diff view opened with
zed --diff <old> <new>. (#64529; thanks rn23thakur) - Improved how quickly branch diffs show their first changes when a branch has drifted far from its base. (#62536; thanks azeemshaik025)
Terminal
- Added support for
"..."interminal.path_hyperlink_regexesto extend inherited regexes without repeating them. (#64552; thanks porada)
macOS
- Added macOS three-finger Look Up and translation gestures for text in focused Markdown previews. (#59297; thanks cppcoffee)
Windows
- Added
MicaBackdropandMicaAltBackdropoptions for thebackground.appearancetheme setting. (#48340; thanks Marocco2)
Other
- Added support for
"..."infile_scan_inclusionsandhidden_filesso project settings can extend inherited inclusion and hidden-file patterns. (#64440, #64484; thanks porada) - Added confirmation in the title bar when a manual update check found Zed was already up to date. (#64106; thanks 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, #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; thanks porada)
- Fixed
cmd-w(macOS) andctrl-w(Linux/Windows) closing the active dock instead of the active pane item. (#64515) - Fixed ligatures being disabled on Windows unless
buffer_font_featureswas set. (#62338; thanks interkelstar) - Fixed LSP completions without edit ranges ignoring the configured
completions.lsp_insert_mode. (#64139) - Fixed the Settings window opening with its header off-screen at high DPI scaling on Windows. (#62073; thanks habisahmad)
- Fixed importing VS Code
files.excludeintofile_scan_exclusions. (#64492; thanks porada) - Fixed “Add to .git/info/exclude” failing in secondary Git worktrees. (#63967; thanks mateioprea)
- Fixed terminals retaining about 2 MB of memory per command after the command finished. (#64405; thanks EcutAtom336)
- Fixed external-agent terminals completing prematurely or reporting the wrong exit status. (#64544)
- Fixed a memory leak when closing macOS windows with experimental accessibility enabled. (#64143; thanks feigeCode)
- Fixed the terminal grid losing its top alignment when growing on Windows. (#63699; thanks 39ali)
- Fixed a crash on Linux (X11) when a window was redrawn immediately after GPU device recovery. (#64570)
- Fixed language servers not starting for files opened via UNC paths on Windows. (#56553; thanks Joblen)
- Fixed PowerShell installed by Scoop not being detected when Scoop uses a custom installation directory. (#62473; thanks jliu666)
- Fixed task worktree variables resolving to the wrong project when the global
tasks.jsonfile was focused, and paths containing spaces breaking Windows tasks. (#55727; thanks di404) - Fixed adding the current line to an Agent thread when no text was selected using
cmd->(macOS),ctrl->(Linux), orctrl-shift-.(Windows). (#64589)
…