版本发布 8
- Fix crash that could occur when unsplitting a side by side diff view ([#58694](https://github.com/zed-industries/zed/pull/58694)) - Fixed symlinked files showing the entire file as changed in the git diff/gutter. ([#58679](https://github.com/zed-industries/zed/pull/58679)) - acp: Fix for certain ACP Registry agent downloads not starting ([#58632](https://github.com/zed-industries/zed/pull/58632)) - Fixed high CPU usage when using Zeta in some cases (thanks @clupprich!) ([#58590](https://github.com/zed-industries/zed/pull/58590)) - Fixed a crash that could occur while streaming agent edits containing multibyte characters. ([#58451](https://github.com/zed-industries/zed/pull/58451))
- Fixed npm-backed tool installs to better respect npm release-age filters. ([#57439](https://github.com/zed-industries/zed/pull/57439)) - google: Support thinking levels for Google models. ([#57394](https://github.com/zed-industries/zed/pull/57394)) - Added support for Gemini 3.5 Flash in the Google AI model provider. ([#57392](https://github.com/zed-industries/zed/pull/57392))
- Added ChatGPT subscription provider, allowing users to use their ChatGPT Plus/Pro subscription with the Zed agent. ([#56811](https://github.com/zed-industries/zed/pull/56811)) - Removed deprecated OpenAI models. - Added support for gpt-5.4-nano/mini models for the OpenAI provider. - Improved output quality when using OpenAI models. ([#56809](https://github.com/zed-industries/zed/pull/56809)) - Added support for specifying effort level when using OpenAI models. ([#56808](https://github.com/zed-industries/zed/pull/56808)) - Fixed an issue where file system events or language server events that resulted in Zed unwatching many paths would cause high CPU usage. ([#56806](https://github.com/zed-industries/zed/pull/56806)) - Agent: Fixed squashed message editor when `limit_content_width=false`. ([#56687](https://github.com/zed-industries/zed/pull/56687))
- Added support for GPT 5.5 and GPT 5.5 Pro via the OpenAI provider ([#54828](https://github.com/zed-industries/zed/pull/54828)) - agent: Fixed an issue where sessions would not immediately be cleaned up when archiving ([#54775](https://github.com/zed-industries/zed/pull/54775))
- git: Fix remote branch picker ([#54576](https://github.com/zed-industries/zed/pull/54576))
This week's release includes bookmarks support, a new `git: view commit` command palette action, and GIF animation support in the Markdown preview. ## Shipped by the Zed Guild 🛡️ - Added bookmarks: Toggle bookmarks on lines with `editor: toggle bookmark`, navigate with `editor: go to next bookmark` / `editor: go to previous bookmark`, view all bookmarks with `editor: view bookmarks`, and clear with `workspace: clear bookmarks`. Bookmarks are shown in the gutter and persisted across sessions. ([#51404](https://github.com/zed-industries/zed/pull/51404); thanks [austincummings](https://github.com/austincummings)) - Fuzzy Nucleo: Improved the performance of path matching. ([#54112](https://github.com/zed-industries/zed/pull/54112); thanks [feitreim](https://github.com/feitreim)) - Improved fuzzy matching in the command palette, branch picker, tab switcher, and recent projects picker to support multi-word queries. ([#54123](https://github.com/zed-industries/zed/pull/54123); thanks [feitreim](https://github.com/feitreim)) - Vim: Fixed screen flickering during motions. ([#52270](https://github.com/zed-industries/zed/pull/52270); thanks [feitreim](https://github.com/feitreim)) - Fixed a bug where Copilot wouldn't use the thinking level the user had set. ([#53313](https://github.com/zed-industries/zed/pull/53313); thanks [TwistingTwists](https://github.com/TwistingTwists)) - Fixed an issue where the `cs` Vim operator incorrectly identified symmetric quotes in certain contexts. ([#52321](https://github.com/zed-industries/zed/pull/52321); thanks [lingyaochu](https://github.com/lingyaochu)) - Fixed debugger not saving files before running a build task when `"save": "all"` is set in the task definition. ([#53353](https://github.com/zed-industries/zed/pull/53353); thanks [OmChillure](https://github.com/OmChillure)) - Fixed file watching of symlinks that point outside of the project/watched directory. Zed should now properly respond to changes in files in symlinked directories. ([#50746](https://github.com/zed-industries/zed/pull/50746); thanks [prayanshchh](https://github.com/prayanshchh)) - Fixed nested object methods not appearing in the Outline panel for JavaScript and TypeScript files. ([#50754](https://github.com/zed-industries/zed/pull/50754); thanks [emamulandalib](https://github.com/emamulandalib)) - Fixed the Inline Assist button showing in the Project Diagnostics toolbar when the agent is disabled. ([#52706](https://github.com/zed-industries/zed/pull/52706); thanks [OmChillure](https://github.com/OmChillure)) - Fixed true-color rendering in the terminal. ([#52162](https://github.com/zed-industries/zed/pull/52162); thanks [nihalxkumar](https://github.com/nihalxkumar)) - Fixed unsaved scratch buffers being lost across restarts and an occasional error when opening a recent project. ([#54224](https://github.com/zed-industries/zed/pull/54224); thanks [transitoryangel](https://github.com/transitoryangel)) - Fixed Windows path handling in extension manifests to ensure extensions upload correctly to remote environments like WSL. ([#50653](https://github.com/zed-industries/zed/pull/50653); thanks [th0jensen](https://github.com/th0jensen)) --- *Learn about the [Zed Guild](https://zed.dev/community/zed-guild).* ## Features ### AI - (Preview only) Agent: Added an action to the command palette that imports threads from other Zed release channels into the current one. ([#54002](https://github.com/zed-industries/zed/pull/54002)) - (Preview only) Agent: Agent favorite models now remember and restore per-model thinking, effort level, and fast mode preferences. ([#54318](https://github.com/zed-industries/zed/pull/54318)) - (Preview only) Agent: Agent sidebar now shows worktree and branch names only for linked worktrees. ([#54067](https://github.com/zed-industries/zed/pull/54067)) - Agent: Automatically select a default model based on environment when there's no selected model. ([#54125](https://github.com/zed-industries/zed/pull/54125)) - (Preview only) Agent: Improved the scrollbar overlap with the thread item icon buttons in the threads sidebar. ([#54469](https://github.com/zed-industries/zed/pull/54469)) - Added configure provider menu item to Copilot and Codestral. ([#53691](https://github.com/zed-industries/zed/pull/53691); thanks [npv12](https://github.com/npv12)) - (Preview only) Renamed the threads Archive view to Thread History and updated its icon to a clock. ([#54075](https://github.com/zed-industries/zed/pull/54075)) - Added `interleaved_reasoning` option to OpenAI-compatible models. ([#54016](https://github.com/zed-industries/zed/pull/54016); thanks [guiopen](https://github.com/guiopen)) ### Git - Added a `git: view commit` command palette action that opens a commit in the commit view by git ref (e.g. `HEAD`, a SHA, a branch, or a tag). ([#39009](https://github.com/zed-industries/zed/pull/39009); thanks [schpet](https://github.com/schpet)) - Added loading the commit message template from the file set in `git config commit.template` when starting a commit in the git panel. ([#42827](https://github.com/zed-industries/zed/pull/42827); thanks [jackjen](https://github.com/jackjen)) - Added git panel support for select all and deselect all check boxes. ([#41565](https://github.com/zed-industries/zed/pull/41565); thanks [cppcoffee](https://github.com/cppcoffee)) ### Languages - Added association of `.mlx` extensions with OCaml. ([#54197](https://github.com/zed-industries/zed/pull/54197); thanks [gf3](https://github.com/gf3)) ### Terminal - Added "New Center Terminal" button to the window context menu. ([#53702](https://github.com/zed-industries/zed/pull/53702); thanks [svdragster](https://github.com/svdragster)) ### Remote Development - Changed Zed to reuse existing SSH ControlMaster sessions instead of prompting for credentials again. ([#51604](https://github.com/zed-industries/zed/pull/51604); thanks [nicosalm](https://github.com/nicosalm)) - Improved dev container remote script execution to more closely align with the reference implementation. ([#54020](https://github.com/zed-industries/zed/pull/54020); thanks [KyleBarton](https://github.com/KyleBarton)) - Improved the Dev Container suggestion notification to include the project name, with the full path shown as a tooltip. ([#54297](https://github.com/zed-industries/zed/pull/54297)) - Changed all `PortAttributes` fields to be optional according to the Dev Container spec. ([#53799](https://github.com/zed-industries/zed/pull/53799)) ### Other - Added GIF animation support for Markdown Preview. ([#53459](https://github.com/zed-industries/zed/pull/53459); thanks [davidalecrim1](https://github.com/davidalecrim1)) - Added "Copy Link" to the right-click context menu when clicking on a link in Markdown views (agent panel and Markdown preview). ([#53758](https://github.com/zed-industries/zed/pull/53758); thanks [saberoueslati](https://github.com/saberoueslati)) - Improved the `editor: format selections` action so that it is only shown in the command palette when the active formatter supports range formatting (e.g. Prettier, or LSPs like `clangd` that advertise the capability). ([#53178](https://github.com/zed-industries/zed/pull/53178); thanks [prertik](https://github.com/prertik)) - Added support for PNM image previews (`.pbm`, `.ppm`, `.pgm`). ([#54256](https://github.com/zed-industries/zed/pull/54256); thanks [viniciusdutra314](https://github.com/viniciusdutra314)) - Added support for auto-completing action names in the `command_aliases` setting. ([#54496](https://github.com/zed-industries/zed/pull/54496)) - Added action to copy installed extensions to clipboard. ([#48664](https://github.com/zed-industries/zed/pull/48664); thanks [mchisolm0](https://github.com/mchisolm0)) - Enabled diagnostic underlining in the split editor views. ([#54295](https://github.com/zed-industries/zed/pull/54295)) - Improved tab tooltip for multi buffers. ([#54060](https://github.com/zed-industries/zed/pull/54060)) ## Bug Fixes - ACP: Fixed some replay events getting dropped when loading a previous session. ([#54431](https://github.com/zed-industries/zed/pull/54431)) - Agent: Fixed worktree and branch labels not showing up in the thread switcher. ([#54126](https://github.com/zed-industries/zed/pull/54126)) - Agent: Fixed the thread switcher not selecting on hover. ([#54126](https://github.com/zed-industries/zed/pull/54126)) - Fixed dev container builds failing on Docker installations without the buildx plugin. ([#53910](https://github.com/zed-industries/zed/pull/53910); thanks [krisswee](https://github.com/krisswee)) - Dev Container: Fixed environment variables without an equals sign being treated as fatal parsing errors. ([#53864](https://github.com/zed-industries/zed/pull/53864); thanks [pigletfly](https://github.com/pigletfly)) - Fixed dev container startup failing for docker-compose configs whose service Dockerfile uses build-arg substitution in the FROM line (for example, `FROM ${BASE_IMAGE}`). ([#54270](https://github.com/zed-industries/zed/pull/54270); thanks [fechu](https://github.com/fechu)) - Fixed gap where `runArgs` were not respected when specified in `devcontainer.json`. ([#53931](https://github.com/zed-industries/zed/pull/53931); thanks [KyleBarton](https://github.com/KyleBarton)) - Fixed an image aliasing bug; respect build context and build args in dev containers. ([#54210](https://github.com/zed-industries/zed/pull/54210); thanks [KyleBarton](https://github.com/KyleBarton)) - Fixed docker-compose `dockerfile` path being resolved relative to the compose file instead of the build `context` directory. ([#53860](https://github.com/zed-industries/zed/pull/53860); thanks [antont](https://github.com/antont)) - Fixed issues with Windows pathing when calculating target workspace directory for dev containers. ([#53829](https://github.com/zed-industries/zed/pull/53829); thanks [KyleBarton](https://github.com/KyleBarton)) - Fixed substitution of `${localEnv:VARNAME}` and `${containerEnv:VARNAME}` in `devcontainer.json` when the variable is not defined. ([#53728](https://github.com/zed-industries/zed/pull/53728); thanks [im-0](https://github.com/im-0)) - Fixed Helix `vgl` to correctly select to end of line without including the newline character in the selection. ([#54238](https://github.com/zed-industries/zed/pull/54238); thanks [cavebatsofware](https://github.com/cavebatsofware)) - Fixed `zed --wait --diff <left> <right>` blocking until the entire window was closed instead of just until the diff was closed. ([#54367](https://github.com/zed-industries/zed/pull/54367); thanks [timvermeulen](https://github.com/timvermeulen)) - Git Graph: Fixed misalignment issues between the graph canvas and the graph table. ([#54429](https://github.com/zed-industries/zed/pull/54429)) - Fixed blank git diff view on Windows when working in a subfolder. ([#52234](https://github.com/zed-industries/zed/pull/52234); thanks [HiteshRohira](https://github.com/HiteshRohira)) - Agent: Fixed a bug where `cmd-click`ing on the project header wouldn't actually take you to the last active workspace. ([#54128](https://github.com/zed-industries/zed/pull/54128)) - Fixed `ctrl-n` / `cmd-n` (New File) not working on the Welcome tab. ([#52463](https://github.com/zed-industries/zed/pull/52463); thanks [Dnreikronos](https://github.com/Dnreikronos)) - Fixed a bug in the branch picker where the buttons wouldn't properly get activated. ([#54117](https://github.com/zed-industries/zed/pull/54117)) - Fixed a panic when using the split diff view. ([#54352](https://github.com/zed-industries/zed/pull/54352)) - Fixed a visual glitch where the git blame popover could briefly appear empty while its markdown content was being parsed. ([#52231](https://github.com/zed-industries/zed/pull/52231); thanks [timvermeulen](https://github.com/timvermeulen)) - Fixed ACP agent and other breakage when `terminal.shell` was set to a non-shell program like `tmux`. ([#51741](https://github.com/zed-industries/zed/pull/51741); thanks [oliverbarnes](https://github.com/oliverbarnes)) - Fixed Agent menu shortcut context handling so Alt-Shift-L consistently resolves to Rules (and displays correctly) when the Toggle Agent Menu is open, while preserving existing global/context-specific shortcuts such as Language Servers and onboarding bindings outside Agent menu context. ([#54420](https://github.com/zed-industries/zed/pull/54420); thanks [galuis116](https://github.com/galuis116)) - Fixed Alt modifier key stuck after Alt-Tab on Windows. Modifier state is now synchronized when the window regains focus, ensuring correct key interpretation after window switching. ([#52220](https://github.com/zed-industries/zed/pull/52220); thanks [HuaGu-Dragon](https://github.com/HuaGu-Dragon)) - Fixed an issue where committing agent-written code would sometimes not mark edits as accepted. ([#53884](https://github.com/zed-industries/zed/pull/53884)) - Fixed an issue where holding the modifiers used in `editor::AcceptEditPrediction` would cause the code action menu to disappear. ([#54194](https://github.com/zed-industries/zed/pull/54194)) - Fixed an issue where incorrect project paths would be displayed on the welcome tab. ([#54056](https://github.com/zed-industries/zed/pull/54056)) - Fixed an issue where token estimation would be incorrect in cases where the thread contained downscaled images. ([#54357](https://github.com/zed-industries/zed/pull/54357); thanks [dastrobu](https://github.com/dastrobu)) - Fixed an outline panel issue where the pin/unpin tooltip could show stale text after toggling. ([#54310](https://github.com/zed-industries/zed/pull/54310); thanks [galuis116](https://github.com/galuis116)) - Fixed archiving an agent thread deleting linked git worktrees the user created outside of Zed's managed worktrees directory. ([#53991](https://github.com/zed-industries/zed/pull/53991)) - Fixed auto indent leaving trailing whitespace on blank indented lines when creating new lines. ([#52628](https://github.com/zed-industries/zed/pull/52628); thanks [GoncaloAleixo4](https://github.com/GoncaloAleixo4)) - Fixed `cmd-e` on macOS to work when `seed_search_query_from_cursor` has been changed. ([#54451](https://github.com/zed-industries/zed/pull/54451)) - Fixed completion ordering when two items are otherwise tied and only differ by case, so typing `a` now prefers `abc` over `ABC` (and typing `A` prefers `ABC` over `abc`). ([#54072](https://github.com/zed-industries/zed/pull/54072); thanks [foretoo](https://github.com/foretoo)) - Fixed creating a new file from the project panel context menu in empty local projects. ([#53947](https://github.com/zed-industries/zed/pull/53947); thanks [DevDonzo](https://github.com/DevDonzo)) - Fixed Ctrl+Right and related word movement shortcuts failing to skip over folded ranges and `@mention` chips. ([#53979](https://github.com/zed-industries/zed/pull/53979)) - Fixed `ctrl-delete` keybinding in the terminal. ([#51726](https://github.com/zed-industries/zed/pull/51726); thanks [injust](https://github.com/injust)) - Fixed extension language servers not starting when Zed launches with files already open from a restored session. ([#51308](https://github.com/zed-industries/zed/pull/51308); thanks [Dnreikronos](https://github.com/Dnreikronos)) - Fixed heading sizes in the markdown preview to correctly reflect the H1–H6 size hierarchy, matching standard markdown renderers. ([#54374](https://github.com/zed-industries/zed/pull/54374); thanks [saberoueslati](https://github.com/saberoueslati)) - Fixed hover popovers sometimes briefly appearing after the hover already ended. ([#53168](https://github.com/zed-industries/zed/pull/53168); thanks [timvermeulen](https://github.com/timvermeulen)) - Fixed inconsistent keybinding hint casing in the outline panel ("Toggle Panel With …") by using standard keybinding rendering. ([#54307](https://github.com/zed-industries/zed/pull/54307); thanks [galuis116](https://github.com/galuis116)) - Fixed inlay hints navigating to the wrong position. ([#54048](https://github.com/zed-industries/zed/pull/54048); thanks [van-sprundel](https://github.com/van-sprundel)) - Fixed issue on Linux X11 where you couldn't input the space key in some cases. ([#53903](https://github.com/zed-industries/zed/pull/53903)) - Fixed issue where Mistral models errored out with "Tool call id has to be defined" when using tools. ([#54058](https://github.com/zed-industries/zed/pull/54058)) - Fixed JSON schema downloads ignoring Zed's proxy setting. ([#53954](https://github.com/zed-industries/zed/pull/53954); thanks [DevDonzo](https://github.com/DevDonzo)) - Fixed kernel discovery in the Python notebook editor. ([#50978](https://github.com/zed-industries/zed/pull/50978); thanks [raideno](https://github.com/raideno)) - Fixed Node.js language servers failing with `--user-data-dir` on Windows. ([#50767](https://github.com/zed-industries/zed/pull/50767)) - Fixed onboarding UI scrollbar placement so the vertical scrollbar now appears at the right edge of the onboarding pane, while keeping onboarding content centered. ([#54392](https://github.com/zed-industries/zed/pull/54392); thanks [galuis116](https://github.com/galuis116)) - Fixed One Dark `link_text` not being italic. ([#53220](https://github.com/zed-industries/zed/pull/53220); thanks [0x5ea000000](https://github.com/0x5ea000000)) - Fixed outline panel becoming empty when switching focus to a Markdown Preview pane. ([#54301](https://github.com/zed-industries/zed/pull/54301)) - Fixed play button appearing in gutter for unsaved buffers where clicking it was a no-op. ([#53195](https://github.com/zed-industries/zed/pull/53195); thanks [Dnreikronos](https://github.com/Dnreikronos)) - Fixed Python LSP servers (Pyright, Ruff, etc.) using the wrong workspace folder in uv/Poetry/PDM workspaces with multiple subprojects. ([#53781](https://github.com/zed-industries/zed/pull/53781); thanks [space192](https://github.com/space192)) - Fixed remote terminals incorrectly trying to change to a local home directory. ([#53071](https://github.com/zed-industries/zed/pull/53071); thanks [pepyakin](https://github.com/pepyakin)) - Fixed save dialog defaulting to dependency directories (e.g. `.venv/`, `node_modules/`) after using Go to Definition, when those directories are configured as `read_only_files`. ([#53100](https://github.com/zed-industries/zed/pull/53100); thanks [pdrgds](https://github.com/pdrgds)) - Fixed shortcut label alignment in the Recent Projects quick-switch footer by rendering action rows with a consistent two-column layout (label left, keybinding right) for "Add Local Folders" and "Add Remote Folder". ([#54325](https://github.com/zed-industries/zed/pull/54325); thanks [galuis116](https://github.com/galuis116)) - Fixed sticky headers sometimes obscuring the current row. ([#53165](https://github.com/zed-industries/zed/pull/53165); thanks [timvermeulen](https://github.com/timvermeulen)) - Fixed system clipboard being overwritten when pasting over a visual selection with Cmd-V/Ctrl-V in vim mode. ([#52948](https://github.com/zed-industries/zed/pull/52948); thanks [Dnreikronos](https://github.com/Dnreikronos)) - Fixed terminal bar and underline cursors set via escape sequences not visually distinguishing between focused and unfocused states. ([#53713](https://github.com/zed-industries/zed/pull/53713); thanks [Dnreikronos](https://github.com/Dnreikronos)) - Fixed terminal child processes surviving after closing Zed by sending SIGTERM synchronously on terminal drop. ([#53107](https://github.com/zed-industries/zed/pull/53107); thanks [Dnreikronos](https://github.com/Dnreikronos)) - Fixed terminal path detection for paths inside parentheses without preceding space (e.g. `Update(path)` or `Write(path)` patterns from CLI tool output). ([#52222](https://github.com/zed-industries/zed/pull/52222); thanks [butvinm](https://github.com/butvinm)) - Fixed the inline Git blame popover sometimes appearing after opening a modal. ([#52525](https://github.com/zed-industries/zed/pull/52525); thanks [timvermeulen](https://github.com/timvermeulen)) - Fixed `tsgo` LSP. ([#54201](https://github.com/zed-industries/zed/pull/54201); thanks [neo773](https://github.com/neo773)) - Fixed various instances of hint-level diagnostics using the color designated for info. ([#54046](https://github.com/zed-industries/zed/pull/54046); thanks [vonEdfa](https://github.com/vonEdfa)) - Fixed vim search (`/`) stealing focus from the Agent panel when a file is open in the editor. ([#54012](https://github.com/zed-industries/zed/pull/54012)) - Fixed YAML language server settings (like `customTags`) being ignored, causing valid tags to show as errors. ([#54148](https://github.com/zed-industries/zed/pull/54148)) - Fixed Git graph commit detail header to now use "1 Changed File" when exactly one file changed, and "N Changed Files" otherwise, instead of always saying "Changed Files". ([#54284](https://github.com/zed-industries/zed/pull/54284); thanks [galuis116](https://github.com/galuis116)) - Fixed editor rendering behind sticky scroll headers while using a transparent theme. ([#54465](https://github.com/zed-industries/zed/pull/54465)) - Fixed `menu::SecondaryConfirm` doing nothing when executing a command generated by the terminal inline assistant. ([#48764](https://github.com/zed-industries/zed/pull/48764)) - Fixed edit predictions polluting the completions menu with unrelated snippets (e.g. Unicode symbols) when `show_in_completions_menu` is disabled. ([#50403](https://github.com/zed-industries/zed/pull/50403); thanks [Dnreikronos](https://github.com/Dnreikronos)) - Fixed rules files (`AGENTS.md`, `CLAUDE.md`, `.rules`, etc.) sometimes not being applied in agent threads. ([#53659](https://github.com/zed-industries/zed/pull/53659); thanks [AJenbo](https://github.com/AJenbo)) - Fixed GitHub Copilot re-prompting for authentication after filesystem rescan events. ([#53659](https://github.com/zed-industries/zed/pull/53659); thanks [AJenbo](https://github.com/AJenbo)) - Fixed git commits editor not respecting soft wrap boundaries. ([#54051](https://github.com/zed-industries/zed/pull/54051)) - Fixed a crash in certain scenarios when opening Markdown Preview with GIFs. ([#53459](https://github.com/zed-industries/zed/pull/53459); thanks [davidalecrim1](https://github.com/davidalecrim1)) ## Breaking Changes and Notices - Settings: Removed `"soft_wrap": "preferred_line_length"` in favor of `"soft_wrap": "bounded"`. Soft wrap now always respects editor width when it's enabled. ([#54051](https://github.com/zed-industries/zed/pull/54051))
- Fixed tsgo LSP ([#54258](https://github.com/zed-industries/zed/pull/54258)) - Various parallel agent improvements
- copilot_chat: Fix invalid reasoning effort for some models. ([#54105](https://github.com/zed-industries/zed/pull/54105))