Releases

Keep up with the weekly Zed releases.

May 2026

1.4.2

May 27, 2026

macOS
Loading…
Loading…
Windows
Loading…
Loading…
Linux
Loading…
Loading…

This week's release includes support for agent skills, a global AGENTS.md file for user-wide agent instructions, the ability to choose a base branch in the branch diff view, and a new editor: toggle all diff hunks action.

Features

AI

  • Agent: Added support for skills.
  • Agent: Added support for a global AGENTS.md file alongside settings.json for user-wide instructions that are included in every project’s system prompt. (#56757)
  • Agent: Added commands to open global and project-specific AGENTS.md rules. (#57847)
  • Agent: Added agent: new terminal thread for defining custom shortcuts to launch an Agent Panel terminal thread. (#57400)
  • Agent: Added support for image output from MCP tools. (#57134)
  • Agent: Added support for OAuth client pre-registration with a client ID and client secret in the built-in MCP client. (#52900)
  • Agent: Improved file and skill mention disambiguation in the Agent Panel. (#50097; thanks jmg-duarte, #56926)
  • OpenCode: Updated available models and metadata, including reasoning support, image support, and token counts. (#57076; thanks Vlaaaaaaad)

Git

  • Added the ability to choose the base branch in the branch diff view. (#56569)
  • Added keyboard shortcuts for switching between the Changes and History tabs: cmd-1/cmd-2 on macOS and ctrl-1/ctrl-2 on Linux/Windows. (#56743)
  • Added editor: toggle all diff hunks to expand or collapse all diff hunks at once. (#56421)
  • Improved the display of user avatars in Git-related surfaces. (#56755)
  • Improved diff stats by formatting large line counts with thousand separators. (#56754)
  • Added the git.show_stage_restore_buttons setting to hide Stage/Restore buttons on diff hunks. (#56740)

Languages

Linux

  • Added support for buffer_font_fallbacks on Linux. (#54878; thanks Albab-Hasan)
  • Improved the first mouse-driven text copy action on Wayland. (#50406; thanks soundslocke)

Other

  • Added markdown_preview_code_font_family to override the code font in the markdown preview. (#56744; thanks wln)
  • Improved CSV preview with column pinning to keep identifiers visible while scrolling. (#56619; thanks HalavicH)
  • Improved restricted mode by making it more obvious and requiring immediate action when opening an untrusted project. (#57056)
  • Improved truncated text labels so they no longer show trailing spaces or punctuation before the ellipsis. (#57106)

Bug Fixes

  • Agent: Fixed image output from tools not being reloaded when restoring a thread. (#57143)
  • MCP OAuth: Fixed authentication failing when an MCP server returned a broken metadata URL. (#53502)
  • MCP OAuth: Fixed OAuth client registration failing with some MCP servers. (#53501)
  • Fixed AI completions from OpenAI-compatible providers failing when token usage details were missing. (#55919; thanks marius851000)
  • Git Graph: Fixed breakage that occurred when Git’s log.showSignature setting was enabled. (#55708; thanks toddlerer)
  • OpenAI: Fixed an issue where error messages would not appear properly. (#57750)
  • Fixed certain ACP registry agents not cleaning up old versions. (#55290; thanks cppcoffee)
  • Fixed some Gemini tool calls failing because Zed could send incomplete tool schemas. (#57160)
  • Fixed a bug where using Gemini with certain tools, especially via MCP, resulted in "Invalid JSON payload received" errors due to incompatible JSON schema formats. (#49292; thanks dastrobu)
  • Fixed zed --new ssh://host/path reusing an existing SSH window instead of opening a new one. This also applied to other URL-shaped path arguments. (#54408)
  • Fixed a bug where non-ASCII characters in diagnostic messages were incorrectly rendered with spurious \ characters. (#55782; thanks alkinun)
  • Fixed a crash in GPUI when typing into an Input widget inside a cached view (#50456). (#50665; thanks xcb3d)
  • Fixed a panic that could occur when streaming in text with the edit_file tool. (#57100)
  • Fixed a panic when loading certain Tree-sitter grammars containing supertypes. (#57183)
  • Fixed a rare panic that could occur when lines in the editor contained many invisible characters. (#57137)
  • Fixed agent edits sometimes not getting auto-accepted when they were committed. (#56892)
  • Fixed the agent erroring when using Copilot as a provider and switching between OpenAI and Anthropic models. (#56655)
  • Fixed bash syntax highlighting for conditional expressions, arithmetic expressions, and related operators. (#56484; thanks terror)
  • Fixed the activity indicator in the status bar not opening a menu with items to cancel running actions. (#56865)
  • Fixed commit title length checks miscounting multi-byte characters as multiple characters. (#57025; thanks koxya)
  • Fixed context server availability updates when a new worktree is added to or removed from a project. (#51244; thanks rioriost)
  • Fixed importing the VS Code setting files.simpleDialog.enable with the opposite value. (#55678; thanks Earlopain)
  • Fixed macOS Cmd-E/Cmd-G find behavior so Cmd-E seeds find from the cursor or selection and Cmd-G advances through the newly seeded matches. (#56681)
  • Fixed markdown preview content being clipped past the pane edge when the buffer search bar is open. (#55009; thanks tkilaker)
  • Fixed Mermaid diagrams not rendering with the default UI typeface. (#56695)
  • Fixed npm-backed tool installs to better respect npm release-age filters. (#56957)
  • Fixed pressing "New Thread" or cmd-n doing nothing when the Agent Panel's Settings view was open. (#56818)
  • Fixed running Zed on Ubuntu 20.04 installed via the installer by bundling the required libstdc++.so. (#57132)
  • Fixed Settings UI search returning unrelated results for multi-word queries. (#56835)
  • Fixed the agent: toggle profile selector keybinding being ignored while the agent was generating a response. (#56784; thanks Rfluid)
  • Fixed the Agent Panel’s @-mention menu not appearing when @ immediately follows (, [, or {. (#55504)
  • Fixed tool paths preferring files in subdirectories named after the project root. (#56230; thanks procr1337)
  • Fixed UI freezes on Linux (Wayland) with certain GPU/driver combinations. (#57077; thanks higorprado)
  • Fixed text selection not always matching the mouse position in markdown blocks in the Agent Panel. (#56861; thanks timvermeulen)
  • Fixed zed:// links focusing Zed and improved handling of zed://agent links. (#57047)
  • Fixed workspace: open files ignoring the Project Panel's sort_mode setting. (#56720; thanks hron)
  • Fixed undo behavior after accepting LSP completions, so completions and their additional edits are reverted together. (#53980; thanks HuaGu-Dragon)
  • Fixed the Python REPL UI not populating correctly in remote projects. (#54709; thanks MostlyKIGuess)
  • Removed code lens blocks from diff views to fix broken background highlights. (#56726)
  • Fixed "speed: Extra inputs are not permitted" errors for Opus 4.6 and 4.7 in the Anthropic API provider. (#57707)
  • Fixed code lens flickering when no commands were resolved. (#57790)

Breaking Changes and Notices

  • Removed the rules library and replaced it with skills support.
  • Replaced the @rule autocomplete entry with @skill in the agent chat input. (#56902)