github zed-industries/zed v0.225.0-pre

latest releases: v0.224.6, v0.225.1-pre, nightly...
pre-release8 hours ago

This week's release includes session history for external agents, agent panel restoration (so your threads survive editor restarts), thinking effort level controls for supported models, mermaid diagram support in markdown preview, and the option to include LSP document symbols in breadcrumbs and outline UI ("document_symbols": "on").

Features

AI

  • ACP: Exposed session history for the following external agents: Auggie, Claude Agent, Codex, Factory Droid, Junie, Kimi CLI, Mistral Vibe, and OpenCode. (#49449)
  • Agent: Added support for controlling thinking effort levels with supported models using the Zed provider. (#49274)
  • Agent: Added support for installing ACP agents via ACP registry in remote projects. (#48935)
  • Agent: Added agent panel restoration. Now restarting your editor won't cause your thread to be forgotten. (#48800)
  • Agent: Changed "Always allow" suggestions for terminal commands to be subcommand-specific (e.g. "Always allow for cargo build commands" instead of "Always allow for cargo commands"). (#49148)
  • Agent: Added allow_extended_context to the Bedrock settings which enables 1M context windows on models that support it. (#48542; thanks 5herlocked)
  • Agent: Added image input support for Amazon Bedrock models with vision capabilities. (#47673; thanks Gitarth)
  • Agent: Improved Bedrock error messages: region-locked models ask the user to try a different region, rate limits and access errors are reported cleanly instead of as raw API responses. (#49287; thanks 5herlocked)
  • Agent: Streamlined Bedrock model list to 39 curated models. (#49287; thanks 5herlocked)
  • Agent: Added prompt caching for Mistral AI. (#48584; thanks vianney)
  • Agent: Changed the way context window is set for Ollama at the provider level instead of per model. (#44506; thanks sbe-arg)
  • Agent: Added a prompt for permission if the agent tries to access files whose symlinks resolve outside the current workspace. (#49255)
  • Agent: Improved context window usage display with a circular progress indicator. (#49138)
  • Agent: Added a disable_ai project setting to allow disabling AI for a specific project via .zed/settings.json. (#47902; thanks oliverbarnes)
  • Agent: Added cost multiplier display for GitHub Copilot models in the model selector. (#44800; thanks Sathiyaraman-M)

Git

  • Added a git init button to the Git panel to initialize a new Git repository. (#49203; thanks cppcoffee)
  • Improved the visual display for spacers in the split diff view. (#49478)
  • Changed diff hunk controls to stick to the top of the editor viewport if the top part of the hunk is outside the viewport. (#49260)
  • Improved performance with large diffs when toggling between diff views. (#49400)
  • Improved project diff performance when opening very large diffs/repositories. (#49278)

Languages

  • Bash: Added runnable support. (#48807; thanks ozacod)
  • Bash: Added shebang highlight support. (#48064; thanks ozacod)
  • Bash: Improved function parameter highlighting. (#48067; thanks ozacod)
  • Bash: Added highlighting support for case statement items (via string.regex) and special variables (via variable.special). (#48200; thanks colemcanelly)
  • Go: Improved language detection to now recognize executable Go scripts with first-line 'go run' comments. (#48913; thanks dastrobu)
  • Added automatic syntax highlighting for GeoJSON files. (#49261; thanks flother)

Vim / Helix

  • Vim: Added :bd / :bdelete command, which closes the file in all panes where it's open. (#48988)

Collaboration

  • Added ability to select audio input/output devices as part of the Collaboration page in Settings. Added ability to test selected devices with a simple playback loop routing input directly into output for easier debugging of your audio devices. (#49015)

REPL

  • Added Python Environments to REPL kernel selection. (#48763; thanks rgbkrk)
  • Added active toolchain/python environment as the recommended kernel for REPL usage. (#48763; thanks rgbkrk)
  • Added STDIN support (input / raw_input) to REPL. (#48851; thanks rgbkrk)

Other

  • Added mermaid diagram rendering support to the markdown preview panel. (#49064)
  • Added toggle actions to all panels to toggle visibility. (#49395)
  • Workspace: Added the ability to quickly add a recent project to the current workspace. (#49094)
  • Workspace: Improved the recent projects picker by making it also display active projects in case of a multi-project workspace. (#48989)
  • Improved zed --add command to prefer the window it was run from. (#45073; thanks cglwn)
  • Improved performance of different building blocks within the MultiBuffer. (#49465)
  • Improved the invisible character color in the One themes by muting it. (#46247; thanks MJohnson459)
  • Added LSP document symbols support in breadcrumbs and outline UI, enabled with "document_symbols": "on" in language settings. (#48780)
  • Added workspace::CloseItemInAllPanes action to close a file across all panes. (#48988)
  • Added support for {a,b} glob syntax in project search include/exclude filters. (#47860; thanks eureka928)

Bug Fixes

  • ACP: Fixed a bug where ACP terminal titles were not always being updated to reflect their latest value. (#49456)
  • Agent: Fixed thread titles being overridden even when manually edited. (#49028)
  • Agent: Fixed agent panel unexpectedly closing when zoomed and the window regains focus. (#49037)
  • Agent: Fixed agent sometimes sending invalid messages to Mistral API. (#47579; thanks ian-h-chamberlain)
  • Agent: Fixed an "Error Loading Zed Agent" error that could appear when opening a workspace where the previous agent thread was empty. (#49045)
  • Agent: Fixed an issue where "Add to Agent Thread" was missing from the terminal context menu in windows without open folders. (#49084; thanks OmChillure)
  • Agent: Fixed an issue where errors could occur in the agent panel if an LLM emitted a tool call with an invalid JSON payload. (#48002; thanks dastrobu)
  • Agent: Fixed an issue where no error was shown when an LLM request exceeded the maximum tokens supported by the model. (#49098)
  • Agent: Fixed assistant commands (Copy Code, Insert Into Editor, etc.) remaining visible in the command palette when the agent is disabled in settings. (#48951; thanks OmChillure)
  • Agent: Fixed Bedrock thread summarization failing when conversation had tools. (#48863; thanks dsturnbull)
  • Agent: Fixed long error messages (e.g. rate limit errors) being clipped instead of wrapping in the agent panel. (#49370)
  • Agent: Fixed MCP tool results not displaying after restarting Zed. (#47654; thanks oliverbarnes)
  • Agent: Fixed tool calls with no arguments failing when using certain LLM providers. (#48958; thanks dastrobu)
  • Agent: Fixed OpenRouter to use the user's default model for comments and thread summaries. (#47475; thanks zapp88)
  • Agent: Fixed API errors when using non-tool models in agent threads. (#49287; thanks 5herlocked)
  • Agent: Fixed missing syntax highlighting for multiline strings in agent panel diffs. (#49101; thanks chenwuji2000-cyber)
  • Agent: Fixed an issue where a request could fail if an MCP server with names containing whitespace was used. (#45789; thanks kung-foo)
  • Fixed an issue where the ACP registry would fail to load. (#48957)
  • Copilot: Fixed incorrect context window size displayed for GitHub Copilot Chat models in the agent panel. (#47557; thanks anilpai)
  • Fixed Copilot starting when disabled_ai: true. (#48495; thanks oliverbarnes)
  • Fixed an issue where relative paths starting with .. would not resolve correctly when clicking the link in the terminal. (thanks Thanh Nguyen)
  • Fixed editor::NewlineBelow adding a newline to the next multibuffer excerpt when selection is at the end of an excerpt. (#49132; thanks austincummings)
  • Fixed a crash on macOS caused by thermal or keyboard layout state changes occurring during UI updates. (#49187)
  • Fixed a panic that could occur when editing files while the project diff or branch diff was open. (#49122)
  • Fixed a panic when opening the dev container modal via the OpenDevContainer action. (#49058; thanks oliverbarnes)
  • Fixed a possible crash when updating excerpts in multibuffers. (#49047)
  • Fixed an incorrect hover label for read-only file lock buttons. (#48998)
  • Fixed an issue where not all LSP adapters would be suggested for completion, or recognized as valid in settings.json. (#46766; thanks baeseokjae)
  • Fixed an issue where the active project would not be opened in the settings UI with zed: open project settings. (#47338; thanks mattermoran)
  • Fixed an issue where hyperlinks would not be properly detected in the terminal if they were preceded by box-drawing characters (like ─, │, ┌, ┐). (#48447; thanks Charlie-XIAO)
  • Fixed collapse/expand all button in buffer search and project search not syncing correctly when toggling individual file sections. (#48773; thanks bnjjj)
  • Fixed conda activation error appearing during task execution. (#48736; thanks feeiyu)
  • Fixed extension category filter not applying to dev extensions in the extensions panel. (#48954; thanks chenwuji2000-cyber)
  • Fixed file changes not being discarded when closing a tab with "Don't Save" or "Discard all". (#48936; thanks TomPlanche)
  • Fixed indentation problem with multi-line declarations and assignments in C++. (#47447; thanks ozacod)
  • Fixed inlay hints being rendered as new inserted words in word-based diff highlighting. (#49007)
  • Fixed panels losing their fullscreen state when switching between workspaces. (#49069)
  • Fixed paths inside the WSL filesystem failing to open when using "open folder in wsl". (#49156; thanks maximxlss)
  • Fixed performance spawning child processes on macOS by always forcing posix_spawn no matter what. (#49090)
  • Fixed project panel mixed sort mode ordering incorrectly when a file and folder share the same name with different casing. (#47863; thanks f1729)
  • Fixed regression in editor paragraph navigation to treat whitespace-only lines as paragraph boundaries again. (#48024; thanks lex00)
  • Fixed soft wrap prematurely wrapping with certain fonts. (#45206; thanks errmayank)
  • Fixed sticky headers sometimes disappearing when dealing with expanded deleted diff hunks. (#49296)
  • Fixed SVG preview always opening a new tab instead of reusing an existing one for the same file. (#49250)
  • Fixed title of the release notes local preview. (#49153; thanks KuSh)
  • Fixed Welcome page remote projects not responding correctly when clicked. (#49096; thanks lingyaochu)
  • Fixed a bug where VSCode tasks.json files with tasks missing explicit label fields would fail to parse. Labels are now auto-generated to match VSCode's behavior (e.g., "npm: start"). (#47754; thanks dastrobu)
  • Fixed the file finder not respecting the project_panel.hide_root setting. (#46957; thanks CCXLV)
  • Fixed terminal order and pinned count on workspace restore. (#44464; thanks vampik33)
  • Fixed occasional stuttering caused by inlay hints in large multibuffers. (#49444)
  • Fixed language queries not respecting combined injection sub-ranges. (#48522; thanks vitallium)
  • Fixed extension search not respecting the category filter for already-installed extensions. (#49183)
  • Fixed the project panel selection not remaining on the last visible collapsed directory when selected. (#49283; thanks errmayank)
  • Fixed the missing right border on pinned tabs when show_pinned_tabs_in_separate_row is enabled. (#46952; thanks yaroslavrick)
  • Fixed drop target at the end of the pinned tabs row. (#46952; thanks yaroslavrick)
  • Fixed pinning behavior when dropping unpinned tabs to the pinned area. (#46952; thanks yaroslavrick)
  • Fixed case when the dragged tab was not active after drop (when "tab_bar": { "show_pinned_tabs_in_separate_row": true } is enabled in settings). (#46952; thanks yaroslavrick)
  • Python: Fixed a potential shell command injection vulnerability in conda environment activation. (#49160; thanks cppcoffee)
  • Fixed a race condition that could prevent settings.json from opening correctly, causing settings changes to not persist. (#47199; thanks cppcoffee)
  • Fixed a bug where relative path JSON schemas for YAML validation failed to load. (#44794; thanks belltoy)
  • Fixed Create New in the file picker targeting the wrong directory when a non-project file was focused. (#42076; thanks CLoaKY233)

Breaking Changes and Notices

  • Agent: Removed deprecated GPT-4o, GPT-4.1, GPT-4.1-mini, and o4-mini models from OpenAI BYOK provider. (#49082)
  • Agent: Removed the thinking tool from the Agent, as models now have their own first-class thinking APIs. (#48952)
  • Agent: Changed the default value of agent.single_file_review to false. Agent diffs will no longer override the git diff in your buffer. You can still review the agent's changes via the action log review button, or by setting this back to true. (#48619)

Don't miss a new zed release

NewReleases is sending notifications on new releases.