Release notes
Zed v1.7.2
This week's release includes automatic agent context compaction that you can also trigger manually with the new /compact command, cleaner and more legible Markdown preview styling, and support for running custom git commands on git graph branches and tags.
Features
AI
- Agent: Added auto-compaction and
/compactto Zed Agent. (#58931) - Agent: Improved agent skills management by moving it into the settings UI. (#58701)
- Agent: Improved how we communicate problems relative to skills, in both the agent panel and the settings UI. (#58838)
- Agent: Improved the UX of the thread import flow. (#57791)
- Agent: Improved auto scroll location when using read-file tool. (#58640; thanks liigo)
- Agent: Show context window usage and cost metrics for external agents that support it. (#58680)
- Agent: Allow deleting sessions from history for external agents that support it. (#58680)
- Agent: Allow loading skills whose descriptions exceed the 1024-byte limit by showing warnings instead of failing to load them. (#58356)
- Agent: Removed the misleading "Always allow" button from agent permission prompts for edits to the agent skills directory, since those edits always require confirmation. (#58463)
- Agent: Updated OpenCode models (added MiniMax M3, Qwen 3.7 Plus, DeepSeek V4 Flash, MiniMax M3 Free, and Nemotron 3 Ultra Free; removed Nemotron 3 Super Free, Qwen 3.5 Plus; updated MiniMax M2.7, MiniMax M2.5, Qwen 3.6 Plus). (#58743; thanks Vlaaaaaaad)
Git
- Added a context menu for ref labels (branches, remote refs, and tags) in the git graph that runs custom git commands against the clicked ref, available as
$ZED_GIT_REF(e.g.git checkout $ZED_GIT_REF). (#58781; thanks aobatact) - Improved commit details changed-file lists with an optional tree view. (#58198; thanks chirivelli)
- Added
Add to .git/info/excludeoption under a newGitsubmenu in the project panel and git panel context menus, alongside the existingAdd to .gitignoreaction. (#57044; thanks TomPlanche) - Added a button to the git worktree picker to remove an open worktree from the current window. (#58996)
- Improved worktree navigation UX when a given project has more than one loaded. (#58555)
- Warnings about the lengths of commit message titles are now disabled by default. (#58960)
- Reduced short commit SHAs in blame and commit tooltips from 8 to 7, consistent with the graph and history views. (#58741; thanks albertbogusz)
- Improved scrolling performance in diff views containing large hunks with many computed word diffs. (#58639)
- Improved the performance of the project diff, especially in the presence of merge conflicts. (#57859)
- Added icon for the Chromium code review remote provider. (#57713; thanks hferreiro)
- Added the SourceHut remote icon. (#58668; thanks medzernik)
Languages
- Improved markdown preview styles, making it more legible and easier to parse. (#58465)
- LSP: Improved Zed's memory usage when a language server emits messages faster than the foreground thread can handle them. (#58867)
- Improved
editor: go to definitionto avoid repeatedly querying the language server while moving the mouse over the same symbol or an unresolved position. (#58429) - Added a
markdown: toggle block quoteaction. (#58383) - Added support for surrounding selected Markdown text with
~by typing~. (#58614) - Improved indentation for C/C++ to be more consistent. (#58740; thanks Helmutt03)
- Added the ability to stylize built-in Python exceptions and warnings using the
type.class.builtinsyntax capture. (#58176; thanks allachance) - Detected
.envrcfiles as Shell Script. (#58573; thanks injust) - Dropped
fishfrommodeline_aliases, which forced the file to be detected as Shell Script instead of Fish. (#58550)
Terminal
Vim / Helix
Collaboration
- Improved call controls design, making it clearer what button shares the project vs. the screen. (#58691)
Other
- Improved the settings window: Sub-pages such as Skills and per-language settings now have a scope picker in the breadcrumb, so you can switch between User and project settings without leaving the page. (#58698)
- Improved the performance of applying edits to large buffers. (#58681)
- Added
default_open_behavior, which controls which action (add to sidebar/open in new window) should be the default when selecting a project from the recent projects menu. (#58805) - Improved dev extension installation times for language extensions with multiple grammars or language servers. (#55160)
- Outline: Improved symbol search with more consistent fuzzy matching and support for multi-term queries. (#56477; thanks feitreim)
Bug Fixes
- Agent: Fix for current agent not being selected when creating a new git worktree. (#58636)
- Agent: Fixed the scrollbar appearing on wrapped code blocks in the agent chat. (#58472; thanks albertbogusz)
- Sidebar: Fixed a bug where affordances to collapse the project header would appear when searching. (#58696)
…