Claude Code v2.1.222
Claude Code v2.1.222 was released on .
Summary
Claude Code 2.1.222 strengthens security by preventing destructive commands in isolated sessions and blocking tool restriction bypasses in background tasks. We've also improved reliability across connectivity, pull request linking, and usage tracking—check the full release not...
Release Context
- This was the 177th Claude Code release of 2026 tracked by Havoptic.
- It shipped 1 day after Claude Code v2.1.221 (August 3, 2026).
Shipped around the same time
Within 3 days of this release, other AI coding tools also shipped:
- OpenCode v1.18.15 (August 7, 2026)
- Gemini CLI v0.54.4 (August 7, 2026)
- Antigravity CLI v1.1.11 (August 7, 2026)
- OpenAI Codex CLI rust-v0.147.0 (August 7, 2026)
- Grok Build v1.0.0 (August 7, 2026)
Compare Claude Code
- Claude Code vs OpenAI Codex CLI
- Claude Code vs Cursor
- Claude Code vs Gemini CLI
- Claude Code vs Kiro CLI
- Claude Code vs GitHub Copilot CLI
- Claude Code vs Devin Desktop
- Claude Code vs Antigravity CLI
- Claude Code vs Grok Build
- Claude Code vs Cline
- Claude Code vs OpenCode
- Claude Code vs Zed
- Claude Code vs Factory Droid
- Claude Code vs Devin
- Claude Code vs Lovable
- Claude Code vs Amp
- Claude Code vs GitHub Copilot in VS Code
- Claude Code vs Replit Agent
- Claude Code vs Bolt
- Claude Code vs v0
Release Notes
- Fixed worktree-isolated sessions and their subagents being able to run destructive git commands against the main checkout; isolation now applies to file edits and Bash in every session type
- Fixed PreToolUse auto-allow hooks bypassing tool restrictions in background agent tasks (summaries, compaction, renames)
- Fixed /usage-credits on Team and Enterprise showing "you've already sent a usage credit request" for members whose earlier request was dismissed, blocking them from sending a new one
- Fixed the startup connectivity check hanging and then failing behind an HTTPS proxy; it now uses the same proxy-aware transport as API requests and times out with a clear message
- Fixed "Connection closed mid-response" errors being reported on responses that had actually completed
- Fixed /usage overattributing usage to MCP servers: a server's share now reflects only the requests that actually consumed its tool results, instead of every turn after any call to it
- Fixed sessions not linking to pull requests created after the branch was pushed, including through the GitHub REST API
- Fixed org-restricted model: opus-style subagent and teammate family aliases dropping to the parent model instead of stepping down to the newest org-allowed model in the family
- Fixed stream idle timeout firing on custom ANTHROPICBASEURL gateways despite server keep-alive pings arriving on the wire
- Fixed claude.ai connectors being falsely marked as needing authori
Other Recent Claude Code Releases
- v2.1.305 (October 20, 2026)
- v2.1.304 (October 19, 2026)
- v2.1.303 (October 18, 2026)
- v2.1.302 (October 16, 2026)
- v2.1.301 (October 15, 2026)
Upgrading from v2.1.222? See all 70 releases since.
All Claude Code releases · All AI coding tool releases on Havoptic