v1.21.0
d2lang/d2v1.21.0Sep 23, 2026by zed-zippy[bot]
Upgrading?
AI Summary
This release focuses on AI enhancements, including BYOK support for new Claude and GPT models, faster rendering performance, and improved Git and language server interactions.
Key Highlights
- BYOK support for Claude Opus 5.5 and GPT-6 models (Astra, Sol, Luna).
- Faster rendering for syntax-highlighted files and Markdown code blocks.
- New AI models: DeepSeek Flash 4.1 and Z.ai GLM.
- Agent setting to prevent idle system sleep during long-running tasks.
New Features
- SuperGrok sign-in integration
- agent.prevent_idle_sleep setting
- agent.threads_sidebar_default_width setting
- Rename selected thread action
- Cut, Copy, and Paste context menu actions in commit editor
- Language server command picker
- Emmet extension prompt
- comment_empty_lines parameter for ToggleComments (default changed to true)
- editor.code_lens.foreground customization
- read_only_files extension support using '...'
- Context menu shortcuts for Project Panel
Full Release Notes
This week's release includes faster rendering in syntax-highlighted files and Markdown code blocks, a language server command picker, a setting that keeps your system awake during long-running agent turns, and BYOK support for Claude Opus 5.5 (Anthropic) and GPT-6 Astra, Sol, and Luna (OpenAI). ## Features ### AI - Added SuperGrok sign-in so SuperGrok subscribers can use Grok models in the Agent Panel. ([#63248](https://github.com/zed-industries/zed/pull/63248); thanks [thibaudgg](https://github.com/thibaudgg)) - Added the `agent.prevent_idle_sleep` setting, enabled by default, to prevent idle system sleep while agent threads are running. ([#53130](https://github.com/zed-industries/zed/pull/53130); thanks [cppcoffee](https://github.com/cppcoffee)) - Added support for DeepSeek Flash 4.1. ([#64014](https://github.com/zed-industries/zed/pull/64014); thanks [cppcoffee](https://github.com/cppcoffee)) - Added the `agent.threads_sidebar_default_width` setting to configure the width of the Threads Sidebar. ([#62883](https://github.com/zed-industries/zed/pull/62883); thanks [porada](https://github.com/porada)) - Added the `agent: rename selected thread` action for renaming the active Terminal Thread from the Agent Panel. ([#63660](https://github.com/zed-industries/zed/pull/63660); thanks [mauriciord](https://github.com/mauriciord)) - Added BYOK support for Claude Opus 5.5 with an Anthropic API key. ([#64627](https://github.com/zed-industries/zed/pull/64627)) - Added BYOK support for GPT-6 Sol and GPT-6 Luna with an OpenAI API key. ([#64628](https://github.com/zed-industries/zed/pull/64628)) - Added BYOK support for GPT-6 Astra with an OpenAI API key. ([#64420](https://github.com/zed-industries/zed/pull/64420)) - Added Z.ai GLM to the Mistral provider. ([#63535](https://github.com/zed-industries/zed/pull/63535); thanks [ummon-v](https://github.com/ummon-v)) - Improved ACP compatibility and async task wakeup handling. ([#64077](https://github.com/zed-industries/zed/pull/64077)) ### Git - Added `Cut`, `Copy`, and `Paste` context menu actions to the commit message editor. ([#64142](https://github.com/zed-industries/zed/pull/64142); thanks [hooch](https://github.com/hooch)) ### Languages - Added a language server command picker and support for language servers to open files and URLs with `showDocument` requests. ([#63607](https://github.com/zed-industries/zed/pull/63607)) - Added a prompt to install the Emmet extension when opening files in Emmet-supported languages. ([#63750](https://github.com/zed-industries/zed/pull/63750)) - Added support for running language-server actions directly from actionable inlay hints. ([#63605](https://github.com/zed-industries/zed/pull/63605)) - Improved rendering performance for Markdown code blocks in the Agent Panel, hover popovers, and Markdown preview. ([#63138](https://github.com/zed-industries/zed/pull/63138)) - Improved development extension compilation by automatically replacing outdated WASI SDK installations. ([#63816](https://github.com/zed-industries/zed/pull/63816); thanks [jkbz64](https://github.com/jkbz64)) ### Other - Added a `comment_empty_lines` parameter to the `editor::ToggleComments` keybinding action for multiline selections. Set it to `true` to comment blank lines or `false` to skip them; Zed's default keymap now uses `true`, while the VS Code keymap uses `false`. ([#63961](https://github.com/zed-industries/zed/pull/63961); thanks [UdeshyaDhungana](https://github.com/UdeshyaDhungana)) - Added `editor.code_lens.foreground` for customizing CodeLens text independently. ([#64084](https://github.com/zed-industries/zed/pull/64084); thanks [giorgiopogliani](https://github.com/giorgiopogliani)) - Added support for `"..."` in `read_only_files` so project settings can extend inherited read-only patterns. ([#64222](https://github.com/zed-industries/zed/pull/64222); thanks [porada](https://github.com/porada)) - Added `menu` (Linux and Windows) and `shift-f10` (all platforms) shortcuts to open the context menu for the selected Project Panel entry. ([#46744](https://github.com/zed-industries/zed/pull/46744); thanks [CCXLV](https://github.com/CCXLV)) - Improved editor rendering performance in syntax-highlighted files, especially with the minimap enabled. ([#63145](https://github.com/zed-industries/zed/pull/63145)) ## Bug Fixes - Fixed a bug where folders remained highlighted after they stopped being dragged. ([#64038](https://github.com/zed-industries/zed/pull/64038); thanks [tidely](https://github.com/tidely)) - Fixed the macOS traffic light animation when exiting fullscreen. ([#64339](https://github.com/zed-industries/zed/pull/64339); thanks [tidely](https://github.com/tidely)) - Fixed a bug where restored macOS windows reopened on the currently active Space instead of their original Space. ([#58886](https://github.com/zed-industries/zed/pull/58886); thanks [tnayuki](https://github.com/tnayuki)) - Fixed auto-compaction thresholds for GitHub Copilot models with a prompt limit below their context window. ([#64195](https://github.com/zed-industries/zed/pull/64195)) - Fixed the Inline Assistant failing to select an available fallback model when no default model was configured. ([#63963](https://github.com/zed-industries/zed/pull/63963); thanks [hferreiro](https://github.com/hferreiro)) - Fixed a bug on macOS where moving the pointer over another app could trigger hover effects in a Zed window underneath it. ([#64234](https://github.com/zed-industries/zed/pull/64234)) - Fixed a bug where deleted files appeared outside the file tree in the Outline Panel when viewing a diff. ([#63570](https://github.com/zed-industries/zed/pull/63570); thanks [FrantisekGazo](https://github.com/FrantisekGazo)) - Fixed a crash during Python interpreter discovery when an executable emitted non-UTF-8 output. ([#64040](https://github.com/zed-industries/zed/pull/64040)) - Fixed a crash when pasting in an expanded deleted diff hunk in Helix mode. ([#64245](https://github.com/zed-industries/zed/pull/64245)) - Fixed a Linux startup crash when local XKB keyboard-definition files were unavailable. ([#64113](https://github.com/zed-industries/zed/pull/64113)) - Fixed Anthropic credit exhaustion being classified as a malformed request instead of a payment issue. ([#63988](https://github.com/zed-industries/zed/pull/63988)) - Fixed canceled external file drags on Linux Wayland sometimes remaining active and causing later clicks to copy the dragged file. ([#64122](https://github.com/zed-industries/zed/pull/64122); thanks [itsfuad](https://github.com/itsfuad)) - Fixed compilation of development extensions on Windows ARM64. ([#63816](https://github.com/zed-industries/zed/pull/63816); thanks [jkbz64](https://github.com/jkbz64)) - Fixed compilation of development extensions with large Tree-sitter grammars. ([#63816](https://github.com/zed-industries/zed/pull/63816); thanks [jkbz64](https://github.com/jkbz64)) - Fixed data-retention consent checks for hosted counting and compaction requests. ([#64194](https://github.com/zed-industries/zed/pull/64194)) - Fixed diff statistics to use the theme's version-control colors for added and deleted line counts. ([#64083](https://github.com/zed-industries/zed/pull/64083); thanks [kvechkanov](https://github.com/kvechkanov)) - Fixed font suggestions listing unavailable fallback fonts and internal font aliases. ([#64095](https://github.com/zed-industries/zed/pull/64095)) - Fixed intermittent "database is locked" errors when sharing a database across Zed instances. ([#63923](https://github.com/zed-industries/zed/pull/63923); thanks [whitecat1331](https://github.com/whitecat1331)) - Fixed Ollama being unable to access images returned by tool calls. ([#64121](https://github.com/zed-industries/zed/pull/64121); thanks [marius851000](https://github.com/marius851000)) - Fixed Python decorator syntax highlighting conflicting with the matrix multiplication operator. ([#58077](https://github.com/zed-industries/zed/pull/58077); thanks [allachance](https://github.com/allachance)) - Fixed remote server removal prompts not capturing keyboard focus. ([#60965](https://github.com/zed-industries/zed/pull/60965); thanks [cfiq](https://github.com/cfiq)) - Fixed terminal tool output in the Agent Panel to consistently use the theme's `terminal.background` color. ([#64163](https://github.com/zed-industries/zed/pull/64163); thanks [chrisdrackett](https://github.com/chrisdrackett)) - Fixed the gutter tooltip's modifier-click hint after holding Command. ([#64124](https://github.com/zed-industries/zed/pull/64124); thanks [GautamBytes](https://github.com/GautamBytes)) - Fixed the Project Panel failing to scroll to collapsed parent folders. ([#64207](https://github.com/zed-industries/zed/pull/64207)) - Fixed a crash when typing into an empty side of a merge conflict. ([#64604](https://github.com/zed-industries/zed/pull/64604)) - Fixed newly available ChatGPT subscription models not appearing in the model picker. ([#64625](https://github.com/zed-industries/zed/pull/64625)) - Fixed the Git Panel unexpectedly switching repositories when viewing changes in multi-repository projects. ([#58795](https://github.com/zed-industries/zed/pull/58795); thanks [mengh04](https://github.com/mengh04)) - Fixed deleted Git gutter markers disappearing at narrow custom widths. ([#64469](https://github.com/zed-industries/zed/pull/64469); thanks [rajin-khan](https://github.com/rajin-khan)) - Fixed a bug where a project root folder could not be renamed to match a child folder. ([#64268](https://github.com/zed-industries/zed/pull/64268); thanks [D4r3NPo](https://github.com/D4r3NPo)) - Fixed the thinking toggle for Mistral Small and Medium. ([#63535](https://github.com/zed-industries/zed/pull/63535); thanks [ummon-v](https://github.com/ummon-v))
Related Repositories
ollama/ollama★ 184,204
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frp★ 110,051
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
asheshgoplani/agent-deck★ 102,148
Terminal session manager for AI coding agents. One TUI for Claude, Gemini, OpenCode, Codex, and more.
infiniflow/ragflow★ 92,612
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugo★ 90,198
The world’s fastest framework for building websites.