Zed v0.166.2 - Release Notes & Engineering Impact
Component: zed · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-25.
Zed v0.166.2 resolves critical issues regarding shell environment loading in multi-worktree projects and suppresses erroneous direnv failure notifications. Users relying on environment-specific toolchains or direnv integrations will experience more reliable editor behavior.
💻 Software Engineers & Devs
Engineers working on complex projects with multiple worktrees or direnv integrations should upgrade to ensure language servers and terminals receive correct environment variables.
📊 Product & Engineering Leads
This update improves development workflow stability by fixing environment configuration errors that previously hindered editor performance.
⚙️ DevOps & Security
There is no impact on CI/CD or production infrastructure as this release is limited to local editor environment configuration.
🔧 Bug Fixes & Patches (2)
- Fixed incorrect shell environment loading for language servers and terminals in multi-worktree projects.
- Resolved false 'Failed to run direnv' errors when restoring windows containing single-file worktrees.
❓ Frequently Asked Questions
Does Zed v0.166.2 contain breaking changes?
No, there are no breaking changes reported in this release.
What is the primary highlight of v0.166.2?
The primary highlight is the resolution of environment loading bugs that affected terminals and language servers in multi-worktree workspaces.
How should teams prepare to upgrade to v0.166.2?
No specific preparation is required; teams can update normally to resolve the identified shell environment and direnv notification issues.