Zed v0.166.2stable Released Jan 01, 2025
Impact Score: 2/10

Zed v0.166.2 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: zed · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-25.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

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.

Who Does This Impact? (Role-Based Analysis)

💻 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.

📄 View Raw Release Notes (Original Developer Log)
## Bug Fixes - Fixed shell environments not being loaded properly to be used by language servers and terminals in case a project had multiple worktrees. - Fixed `Failed to run direnv` messages showing up in case Zed restored a window that contained a worktree with a single file. https://github.com/zed-industries/zed/issues/21972