Zed v1.27.0:弃用 Agent Checkpoint,移除 macOS 11 支持
v1.27.0
推荐理由
macOS 11 用户必须升级或面临无法使用,所有开发者需立即适配 Agent Checkpoint 的移除(改用 Git 撤销),请检查系统版本并调整工作流。
This week's release includes syntax highlighting for Go 1.27 generic methods, an option to open README files by default, and AI commit messages that follow your repository's recent commit style.
本周的更新包括对 Go 1.27 泛型方法的语法高亮、默认打开 README 文件的选项,以及遵循仓库近期提交风格的 AI 提交信息。
Features
功能
AI
- Improved Agent Panel memory usage by loading tool-call diffs and parsing thread message Markdown only when first viewed, instead of when loading a thread. (#65444, #65470; thanks Vanuan)
- Improved AI commit message generation by using the three most recent repository commit messages as style examples. (#61528; thanks matheuslrd)
- Improved CPU usage and disk reads while the agent was working, especially with a long thread history. (#66015)
- 改进了 Agent 面板的内存使用:仅在首次查看时加载工具调用差异并解析线程消息的 Markdown,而不是在加载线程时加载。(#65444, #65470;感谢 Vanuan)
- 改进了 AI 提交信息的生成:使用最近三条仓库提交记录作为风格示例。(#61528;感谢 matheuslrd)
- 改进了 Agent 工作期间的 CPU 使用和磁盘读取,特别是在线程历史记录较长的情况下。(#66015)
Git
- Added missing tooltips to the close, commit message, and "View on" buttons in the Git Graph's commit details panel. (#66016; thanks skmanoj322)
- Improved Git Graph rendering performance. (#66180; thanks RemcoSmitsDev)
- Improved the Git Panel's error message when a push was rejected because the local branch was behind the remote, explaining that remote changes must be fetched and integrated before pushing again. (#47296; thanks Aladiah96)
- 为 Git Graph 提交详情面板中的关闭、提交信息和“在...中查看”按钮添加了缺失的工具提示。(#66016;感谢 skmanoj322)
- 改进了 Git Graph 的渲染性能。(#66180;感谢 RemcoSmitsDev)
- 改进了 Git 面板的错误提示信息:当推送被拒绝且本地分支落后于远程分支时,解释说明必须先获取并集成远程更改才能再次推送。(#47296;感谢 Aladiah96)
Languages
语言
- Added syntax highlighting for Go 1.27 generic methods. (#64562; thanks ndellosa95)
- 添加了对 Go 1.27 泛型方法的语法高亮支持。(#64562;感谢 ndellosa95)
Other
其他
- Added an option to open README files by default by setting on_new_window to "readme". (#65389)
- Improved the Project Panel error message when moving a file or folder onto a location where one with the same name already existed. (#64344; thanks zaugust4891)
- 通过设置 on_new_window 为 "readme",添加了默认打开 README 文件的选项。(#65389)
- 改进了项目面板的错误提示信息:当将文件或文件夹移动到已存在同名文件的位置时。(#64344;感谢 zaugust4891)
Bug Fixes
错误修复
- Fixed Solargraph completions crashing Zed in certain cases. (#66157)
- Fixed "Zed quit unexpectedly" appearing when quitting with cmd-q on macOS. (#66158)
- Fixed a crash when Tree-sitter syntax highlighting failed. (#66474)
- Fixed a crash when adding surrounding characters (m s) to adjacent selections in Helix mode. (#66107; thanks bugprone)
- Fixed a hang in Vim visual-block mode at the end of a wrapped file. (#66118)
- Fixed child filesystem watches losing events when a covering parent watch was removed. (#65998)
- Fixed collapsed inline diff hunks producing invalid word-diff highlights for multibyte UTF-8 text. (#65829; thanks Blazearth)
- Fixed external agents' tool call locations opening one line below the line the agent reported. (#66110)
- Fixed Git Graph rendering lagging behind when opening or closing the commit details panel. (#66132; thanks RemcoSmitsDev)
- Fixed inline review switching to a subagent's edits when the subagent started. (#66093)
- Fixed language server formatting requests sometimes applying incorrect changes. (#65856)
- Fixed language server setup failing with EBADDEVENGINES in Yarn and pnpm projects. (#65280; thanks latin-1)
- Fixed language servers receiving change and save notifications for files outside their dynamically registered document selectors, including unrelated files in the project. (#65253; thanks aviatesk)
- Fixed LLM credentials being read when disable_ai was set to true. (#66029)
- Fixed missed filesystem events for case-insensitive watches registered with trailing separators or equivalent path spellings. (#65995)
- Fixed missing Git repository, worktree, and branch names in the title bar for Windows remote projects opened in a repository subfolder. (#66142; thanks lingyaochu)
- Fixed missing thinking output from OpenAI-compatible Responses endpoints that emitted reasoning-text events. (#65938)
- Fixed on-type formatting after pressing enter being applied before the new line's indentation, which left the cursor after text inserted by language servers such as Ruby LSP. (#65769; thanks JacobNWolf)
- Fixed remote projects (SSH, WSL) becoming unresponsive when loading an agent thread that referred to many files outside the project. (#65189; thanks coinman-dev)
- Fixed renaming files, creating files, and renaming terminal tabs being cancelled when focus_follows_mouse was enabled and the mouse moved. (#66167)
- Fixed retryable provider failures in OpenAI-compatible chat streams not being recognized as retryable. (#66038)
- Fixed right-click menus and popup pickers closing when the mouse moved to another pane with focus_follows_mouse enabled. (#66173)
- Fixed sandboxed agent terminal commands incorrectly reporting failure under dash on Linux. (#64439; thanks NHendrickson9616)
- Fixed SSH connections failing when usernames containing / or \ were percent-encoded. (#64744; thanks ryanabx)
- Fixed status bar panel buttons doing nothing when another panel in the same dock was zoomed. (#66119; thanks ybelmach)
- Fixed streaming connection failures being classified as non-retryable errors for Google AI and OpenAI Responses model requests. (#65940)
- Fixed the automatically installed Delve debugger for Go not updating after its initial installation. (#66025)
- Fixed changes to focus_follows_mouse not applying to docks until Zed was restarted. (#66161)
- Fixed deleted files remaining in the File Finder's history. (#65660)
- Fixed duplicating files or folders in the Project Panel overwriting clipboard contents. (#60894; thanks shindgew)
- Fixed external stash renames not being reflected in the stash picker. (#55294)
- Fixed failed model-list fetches, such as those caused by invalid or expired API keys, being silently dropped instead of logged for Anthropic, Ollama, LM Studio, llama.cpp, OpenRouter, and Vercel AI Gateway. (#64171; thanks somtri)
- Fixed language servers' dynamically registered capabilities applying to files outside their document selector's pattern. (#65252; thanks aviatesk)
- Fixed long recent project names and the Open Project shortcut overflowing on the Welcome screen and in narrow panels. (#65531; thanks junkmailkeep)
- Fixed pasting in Helix select mode with shift-r, space p, or cmd-v not returning to normal mode. (#65492; thanks raum-dellamorte)
- Fixed project entries reappearing in Recent Projects after removal. (#66127; thanks EcutAtom336)
- Fixed project names in the title bar for repo.git bare clones on remote Windows hosts. (#66199; thanks lingyaochu)
- Fixed reordering a Markdown editor tab switching back to Markdown preview when "Open Markdown Files in Preview" was enabled. (#65795; thanks mateioprea)
- Fixed running Go tests on Windows failing with an invalid-directory error. (#65722; thanks giocld)
- Fixed scrollbar settings not applying to already open terminals, panels, and menus until they were reopened. (#66017)
- Fixed unnecessary-code dimming sometimes disappearing when code_lens and semantic_tokens: "full" were both enabled. (#56003)
- 修复了在某些情况下 Solargraph 补全导致 Zed 崩溃的问题。(#66157)
- 修复了在 macOS 上使用 cmd-q 退出时出现“Zed 意外退出”提示的问题。(#66158)
- 修复了 Tree-sitter 语法高亮失败时导致的崩溃。(#66474)
- 修复了在 Helix 模式下向相邻选择内容添加周围字符(m s)时导致的崩溃。(#66107;感谢 bugprone)
- 修复了在 Vim 可视块模式末尾处理换行文件时的挂起问题。(#66118)
- 修复了当覆盖性的父级文件监视被移除时,子级文件监视丢失事件的问题。(#65998)
- 修复了折叠的内联差异块在多字节 UTF-8 文本中产生无效的词级差异高亮的问题。(#65829;感谢 Blazearth)
- 修复了外部代理的工具调用位置比代理报告的行号低一行的问题。(#66110)
- 修复了打开或关闭提交详情面板时 Git Graph 渲染滞后于实际状态的问题。(#66132; 感谢 RemcoSmitsDev)
- 修复了在子代理启动时,内联审查切换到子代理编辑内容的问题。(#66093)
- 修复了语言服务器格式化请求有时应用错误更改的问题。(#65856)
- 修复了在 Yarn 和 pnpm 项目中因 EBADDEVENGINES 导致语言服务器设置失败的问题。(#65280; 感谢 latin-1)
- 修复了语言服务器接收动态注册文档选择器范围之外的文件(包括项目中无关的文件)的变更和保存通知的问题。(#65253; 感谢 aviatesk)
- 修复了在 disable_ai 设置为 true 时仍读取 LLM 凭据的问题。(#66029)
- 修复了对带有尾部分隔符或等效路径拼写的文件系统不敏感监视器遗漏事件的问题。(#65995)
- 修复了在仓库子文件夹中打开的 Windows 远程项目的标题栏中缺少 Git 仓库、工作树和分支名称的问题。(#66142; 感谢 lingyaochu)
- 修复了 OpenAI 兼容的 Responses 端点发出的 reasoning-text 事件未包含缺失的思维输出内容的问题。(#65938)
- 修复了按 Enter 键后的类型格式应用在换行缩进之前,导致光标停留在由 Ruby LSP 等语言服务器插入文本之后的问题。(#65769; 感谢 JacobNWolf)
- 修复了在加载引用了大量项目外文件的代理线程时,远程项目(SSH、WSL)变得无响应的问题。(#65189; 感谢 coinman-dev)
- 修复了在启用 focus_follows_mouse 且鼠标移动时,重命名文件、创建文件和重命名终端标签页操作被取消的问题。(#66167)
- 修复了 OpenAI 兼容聊天流中的可重试提供程序故障未被识别为可重试的问题。(#66038)
- 修复了在启用 focus_follows_mouse 时,右键菜单和弹出选择器在鼠标移动到另一个窗格时关闭的问题。(#66173)
- 修复了在 Linux 上使用 dash 时,沙盒代理终端命令错误报告失败的问题。(#64439; 感谢 NHendrickson9616)
- 修复了当用户名中包含 / 或 \ 并进行百分号编码时 SSH 连接失败的问题。(#64744; 感谢 ryanabx)
- 修复了在同一个停靠区中有其他窗格被放大时,状态栏面板按钮无效的问题。(#66119; 感谢 ybelmach)
- 修复了 Google AI 和 OpenAI Responses 模型请求中的流式连接故障被错误分类为非可重试错误的问题。(#65940)
- 修复了 Go 语言的自动安装 Delve 调试器在安装后未更新的问题。(#66025)
- 修复了 focus_follows_mouse 的更改未应用于停靠栏,直到重启 Zed 才生效的问题。(#66161)
- 修复了已删除文件仍保留在文件查找器历史记录中的问题。(#65660)
- 修复了在项目面板中复制文件或文件夹时覆盖剪贴板内容的问题。(#60894; 感谢 shindgew)
- 修复了外部暂存区的重命名未在暂存区选择器中反映的问题。(#55294)
- 修复了模型列表获取失败(例如由无效或过期的 API 密钥引起)被静默丢弃而非记录日志的问题,适用于 Anthropic、Ollama、LM Studio、llama.cpp、OpenRouter 和 Vercel AI Gateway。(#64171; 感谢 somtri)
- 修复了语言服务器动态注册的能力应用于其文档选择器模式之外的文件的问题。(#65252; 感谢 aviatesk)
- 修复了欢迎屏幕和窄面板上最近项目名称过长以及打开项目快捷键溢出显示的问题。(#65531; 感谢 junkmailkeep)
- 修复了在 Helix 选择模式下使用 shift-r、space p 或 cmd-v 粘贴后未返回正常模式的问题。(#65492; 感谢 raum-dellamorte)
- 修复了从最近项目中移除后条目重新出现于最近项目列表中的问题。(#66127; 感谢 EcutAtom336)
- 修复了远程 Windows 主机上 repo.git 裸克隆在标题栏中显示的项目名称问题。(#66199; 感谢 lingyaochu)
- 修复了在启用“在预览中打开 Markdown 文件”时,重新排序 Markdown 编辑器标签页会切换回 Markdown 预览的问题。(#65795; 感谢 mateioprea)
- 修复了在 Windows 上运行 Go 测试因无效目录错误而失败的问题。(#65722; 感谢 giocld)
- 修复了滚动条设置未应用于已打开的终端、面板和菜单,直到重新打开才生效的问题。(#66017)
- 修复了当 code_lens 和 semantic_tokens: "full" 同时启用时,不必要的代码变暗有时消失的问题。(#56003)
Breaking Changes and Notices
重大变更与通知
- Removed support for macOS Catalina and Big Sur. Zed now requires macOS 12.0 (Monterey) or later. (#65994)
- Removed agent checkpoints and the "Restore Checkpoint" button. Taking a checkpoint before every message made the agent slow to respond, or hang, in large Git repositories. To undo the agent's changes, reject its edits or use Git. (#65989)
- 移除了对 macOS Catalina 和 Big Sur 的支持。Zed 现在需要 macOS 12.0 (Monterey) 或更高版本。(#65994)
- 移除了代理检查点及“恢复检查点”按钮。在每条消息前创建检查点会导致代理在大型 Git 仓库中响应缓慢或挂起。若要撤销代理的更改,请拒绝其编辑或使用 Git。(#65989)
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力