Claude Code — June 2026 Releases
28 releases in June 2026.
What's new in Claude Code, June 2026
Claude Code adds Fable 5 and Sonnet 5, fallback models and stricter auto mode
Claude Code's June 2026 releases centered on new models and tighter control over what the agent can do. v2.1.170 introduced Claude Fable 5, and v2.1.197 made Claude Sonnet 5 the default model, with a native 1M-token context window and promotional pricing of $2/$10 per Mtok through August 31. Twenty-eight releases shipped, from v2.1.160 to v2.1.197.
On the model side, a fallbackModel setting accepts up to three fallback models, and enforceAvailableModels lets managed settings constrain the Default model. Sub-agents can now spawn their own sub-agents up to 5 levels deep. Auto mode got stricter: it blocks destructive git commands such as git reset --hard and git clean -fd unless you asked for them, and the new autoMode.classifyAllShell setting routes all shell commands through the classifier. Permission rules also gained Tool(param:value) syntax, and sandbox.credentials blocks sandboxed commands from reading credential files. Other additions include /config key=value, claude mcp login <name>, and --safe-mode. Several releases were bug-fix-only.
- Claude Sonnet 5 becomes the default model with a 1M-token context window and $2/$10 per Mtok pricing through August 31 (v2.1.197)
- Claude Fable 5 model introduced; update to v2.1.170 for access (v2.1.170)
- fallbackModel setting sets up to three fallback models; --fallback-model now applies to interactive sessions (v2.1.166)
- Auto mode blocks destructive git commands and terraform/pulumi/cdk destroy unless requested (v2.1.183)
- Tool(param:value) permission rules, e.g. Agent(model:opus) to block Opus subagents (v2.1.178)
- Sub-agents can spawn their own sub-agents up to 5 levels deep (v2.1.172)
Upgrading from v2.1.159? See every change through v2.1.197.
- v2.1.197 (June 30, 2026) — Claude Code 2.1.197 now uses Claude Sonnet 5 by default, giving you a massive 1M-token context window to work with longer files and projects. Plus, en
- v2.1.196 (June 29, 2026) — - Added support for organi
- v2.1.195 (June 26, 2026) — - Added CLAUDECODEDISABLEMOUSECLICKS to disable mouse click/drag/hover in fullscreen mode while keeping wheel scroll - Fixed hook matchers with hyphen
- v2.1.193 (June 25, 2026) — - Added autoMode.classifyAllShell setting to route all Bash/PowerShell commands through the auto-mode classifier instead of only arbitrary-code-execut
- v2.1.191 (June 24, 2026) — - Added /rewind support for resuming a conversation from before /clear was run - Fixed scroll position jumping to the bottom while reading earlier out
- v2.1.190 (June 24, 2026) — - Bug fixes and reliability improvements
- v2.1.187 (June 23, 2026) — - Added sandbox.credentials setting to block sandboxed commands from reading credential files and secret environment variables - Added org-configured
- v2.1.186 (June 22, 2026) — - Added claude mcp login <name> and claude mcp logout <name> to authenticate MCP servers from the CLI without opening the interactive /mcp menu, with
- v2.1.185 (June 20, 2026) — - The stream-stall hint now reads "Waiting for API response · will retry in …" instead of "No response from API · Retrying in …", and triggers after 2
- v2.1.183 (June 19, 2026) — - Improved auto mode safety: destructive git commands (git reset --hard, git checkout -- ., git clean -fd, git stash drop) are now blocked when you di
- v2.1.181 (June 17, 2026) — - Added /config key=value syntax to set any setting from the prompt (e.g. /config thinking=false) — works in interactive, -p, and Remote Control - Add
- v2.1.179 (June 16, 2026) — - Fixed mid-stream connection drops: partial responses are now preserved instead of showing a raw error, and the spinner no longer gets stuck at "runn
- v2.1.178 (June 15, 2026) — - Added Tool(param:value) syntax for permission rules to match a tool's input parameters (with wildcard), e.g. Agent(model:opus) to block Opus subagen
- v2.1.176 (June 12, 2026) — - Session titles are now generated in the language of your conversation (set the language setting to pin a specific language) - Added footerLinksRegex
- v2.1.175 (June 12, 2026) — - Added enforceAvailableModels managed setting — when enabled, the availableModels allowlist also constrains the Default model (a Default that would r
- v2.1.174 (June 11, 2026) — - Added wheelScrollAccelerationEnabled setting to disable mouse-wheel scroll acceleration in fullscreen mode - Fixed the /model picker hiding the mode
- v2.1.173 (June 11, 2026) — - Fixed Fable 5 model names with a [1m] suffix not being normali
- v2.1.172 (June 10, 2026) — - Sub-agents can now spawn their own sub-agents (up to 5 levels deep) - Ama
- v2.1.170 (June 9, 2026) — - Introducing Claude Fable 5: a Mythos-class model that we’ve made safe for general use. Fable’s capabilities exceed those of any model we’ve ever mad
- v2.1.169 (June 8, 2026) — - Added --safe-mode flag (and CLAUDECODESAFEMODE) to start Claude Code with all customi
- v2.1.168 (June 6, 2026) — - Bug fixes and reliability improvements
- v2.1.167 (June 6, 2026) — - Bug fixes and reliability improvements
- v2.1.166 (June 5, 2026) — - Added fallbackModel setting to configure up to three fallback models tried in order when the primary model is overloaded or unavailable; --fallback-
- v2.1.165 (June 5, 2026) — - Bug fixes and reliability improvements
- v2.1.163 (June 4, 2026) — - Added requiredMinimumVersion and requiredMaximumVersion managed settings — Claude Code refuses to start if its version is outside the allowed range
- v2.1.162 (June 3, 2026) — - claude agents --json now includes waitingFor showing what a waiting session is blocked on (e.g. permission prompt) - --tools: explicitly listing Gre
- v2.1.161 (June 2, 2026) — - OTELRESOURCEATTRIBUTES values are now included as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repo
- v2.1.160 (June 1, 2026) — - Added a prompt before writing to shell startup files (.