Claude Code v2.1.159 → v2.1.197: what changed
28 releases shipped between v2.1.159 (May 31, 2026) and v2.1.197 (June 30, 2026).
Changelog entries in this range
- v2.1.160 — June 1, 2026: - Added a prompt before writing to shell startup files (.
- 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 - claude
- 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 Grep/Glob now
- 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 and direct
- v2.1.165 — June 5, 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-model now
- v2.1.167 — June 6, 2026: - Bug fixes and reliability improvements
- v2.1.168 — June 6, 2026: - Bug fixes and reliability improvements
- v2.1.169 — June 8, 2026: - Added --safe-mode flag (and CLAUDECODESAFEMODE) to start Claude Code with all customi
- 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 made generall
- v2.1.172 — June 10, 2026: - Sub-agents can now spawn their own sub-agents (up to 5 levels deep) - Ama
- v2.1.173 — June 11, 2026: - Fixed Fable 5 model names with a [1m] suffix not being normali
- v2.1.174 — June 11, 2026: - Added wheelScrollAccelerationEnabled setting to disable mouse-wheel scroll acceleration in fullscreen mode - Fixed the /model picker hiding the model family t
- v2.1.175 — June 12, 2026: - Added enforceAvailableModels managed setting — when enabled, the availableModels allowlist also constrains the Default model (a Default that would resolve to
- 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 footerLinksRegexes setting
- 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 subagents - Skill
- 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 "running tool"
- 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 - Added sandbox
- 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 didn't ask t
- 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 20s of sile
- 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 --no-brows
- 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 model rest
- v2.1.190 — June 24, 2026: - Bug fixes and reliability improvements
- 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 output during
- 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-execution patter
- 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 hyphenated ident
- v2.1.196 — June 29, 2026: - Added support for organi
- 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, enjoy specia
All Claude Code releases · v2.1.159 release · v2.1.197 release