Release history
Claude Code 2.1.308
Bug fixes and reliability improvements
Claude Code 2.1.302
Adds a model override for client-side auto mode classification and a toggle for idle compaction
Claude Code 2.1.296
Adds a code policy key enabling Claude Desktop gateway mode and new subagent frontmatter options for custom agents
Claude Code 2.1.295
Blocks failing hooks, adds upstream timeout limits and request tracking, fixes MCP reconnection issues and file extension handling, improves gateway failover and plugin validation
Claude Code 2.1.294
Fixes prompt/agent hooks written as natural-language instructions not being enforced correctly, including Stop and SubagentStop hooks
Claude Code 2.1.284
Adds Claude Sonnet 5.5 as default Sonnet model; 1M context, $2/$10 per Mtok with $0.20 cache reads
Claude Code 2.1.282
Adds maxProseWidth setting capping prose width in wide terminals
Claude Code 2.1.281
Adds Claude apps gateway support for newer desktop policy blocks and Bedrock assume-role on upstreams
Claude Code 2.1.277
Claude Code adds AGENTS.md project instruction support, fixes conversation failures from empty text blocks, resolves hangs in CLI sessions after errors, and patches multiple tool and state management bugs
Claude Code 2.1.268
Claude apps gateway pricing set in gateway.yaml flows to signed-in clients via managed settings so cost and telemetry match spend meter; Startup warning for gateways when access-control allow cidrs present
Claude Code 2.1.261
Plugin delivery over stdin to avoid Windows command-line length failures
Claude Code 2.1.248
Restricted mode removes built-in command and code tools, keeps file tools inside working directory, refuses bypassPermissions, ignores user and project settings
Claude Code 2.1.225
Claude Code 2.1.225 fixes OAuth token handling in headless sessions, MCP keychain timeouts, safety-filter retry loops, and Remote Control session resume breakage on large conversations
Claude Code 2.1.224
Claude Code adds self-hosted environments, cross-session messaging, archive plugin installation, and sandbox credential-masking for Team/Enterprise users
Claude Code 2.1.221
Claude Code 2.1.221 adds Focus view for cleaner chat UI, sandbox credential masking on Linux/WSL, permission-check security fixes for Bash and PowerShell, and MCP server connection reliability improvements
Claude Code 2.1.219
Claude Opus 5 now default with 1M context, sandbox network allowlist controls added, nested subagent forwarding in stream-json, and various fixes for permission handling and UI state
Claude Code 2.1.212
/fork separates conversation branches into background sessions, while /subtask replaces in-session subagents; Adds runaway-loop safeguards, long-running tool backgrounding, and session-resumption picker
Claude Code 2.1.209
Fixed dialog blocking in Claude agents background sessions that prevented /model and other commands from executing
Claude Code 2.1.206
Claude Code adds directory suggestions to /cd, auto-confirms git pushes to configured remotes, fixes MCP timeouts and OAuth re-authentication, and improves agents view usability
Claude Code 2.1.203
Claude Code 2.1.203 fixes session recovery, background agent stability, and context-usage performance regressions affecting multi-agent workflows and daemon reliability
Claude Code 2.1.198
Background agents now auto-commit, push, and open PRs on code completion; Extended thinking and model selection now propagate to subagents; Transient network errors retry instead of failing
Claude Code 2.1.197
Claude Sonnet 5 now default in Claude Code with 1M-token context window and reduced pricing through August
Claude Code 2.1.196
Organization admins can now set default models, sessions have readable names, file attachments are clickable, and numerous fixes improve security, reliability, and background job handling