ReleasesClaude Code version history
Claude Code 2.1.166
Released
Claude Code 2.1.166 was released on June 6, 2026 with 21 documented changes.
What changed in Claude Code 2.1.166?
In our words, from the release notes — never copied.
- Users can now configure up to three fallback models that the system will automatically attempt to use if the primary model is unavailable.
- Cross-session security has been enhanced by preventing relayed messages from carrying user authority and blocking automatic mode permission requests.
- Several critical stability issues were resolved, including problems with remote session persistence, background processes, and unprocessable image handling.
- Terminal display issues across various IDEs and terminal emulators, such as flickering and character input problems, have been addressed.
- Tool access controls were improved with support for glob patterns in deny rules and enhanced validation for tool names.
- The system now retries interactions with a fallback model when non-retryable API errors occur, improving reliability for users.
Is this the latest version?
This page is frozen to Claude Code 2.1.166 and stays at this address. The Claude Code version history always lists the newest tracked version first.
Summarized by Claude Network from GitHub. Last verified .