# Zed v0.166.2 - Release & Upgrade Intelligence
- **Product:** Zed (https://zed.dev)
- **Version:** v0.166.2
- **Released:** Jan 01, 2025
- **Impact Score:** 2/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/zed/updates/v0.166.2/

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

## Bug Fixes
- 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.
