Claude Code 2.1.72
Released9 Mar 20269 Mar 2026. 51 items: 8 added, 33 fixed, 7 improved, 1 changed, 2 other notes.
Security3
- FIX Fixed bash security parsing edge cases
-
FIX
Fixed sandbox permission issues: certain file write operations incorrectly allowed without prompting, and output redirections to allowlisted directories (like
/tmp/claude/) prompting unnecessarily -
FIX
Fixed several permission rule matching issues: wildcard rules not matching commands with heredocs, embedded newlines, or no arguments;
sandbox.excludedCommandsfailing with env var prefixes; "always allow" suggesting overly broad prefixes for nested CLI tools; and deny rules not applying to all command forms
Hooks3
- FIX Fixed slow exits when background tasks or hooks were slow to respond
- FIX Fixed skill hooks firing twice per event when a hooks-enabled skill is invoked by the model
-
FIX
Fixed several hooks issues:
transcript_pathpointing to the wrong directory for resumed/forked sessions, agentpromptbeing silently deleted from settings.json on every settings write, PostToolUse block reason displaying twice, async hooks not receiving stdin with bashread -r, and validation error message showing an example that fails validation
Plugins and skills3
-
ADD
Added support for marketplace git URLs without
.gitsuffix (Azure DevOps, AWS CodeCommit) - IMP Improved marketplace clone failure messages to show diagnostic info even when git produces no stderr
-
FIX
Fixed several plugin issues: installation failing on Windows with
EEXISTerror in OneDrive folders, marketplace blocking user-scope installs when a project-scope install exists,CLAUDE_CODE_PLUGIN_CACHE_DIRcreating literal~directories, andplugin.jsonwith marketplace-only fields failing to load
SDK and headless2
-
FIX
Fixed prompt cache invalidation in SDK
query()calls, reducing input token costs up to 12x - FIX Fixed session crashes in Desktop/SDK when Read returned files containing U+2028/U+2029 characters
Agents6
-
NOTE
Restored the
modelparameter on the Agent tool for per-invocation model overrides - FIX Fixed agent task progress stuck on "Initializing…"
-
FIX
Fixed
/clearkilling background agent/bash tasks — only foreground tasks are now cleared -
FIX
Fixed worktree isolation issues: Task tool resume not restoring cwd, and background task notifications missing
worktreePathandworktreeBranch - FIX Fixed double Ctrl+C not exiting when background agents or tasks are running
- FIX Fixed team agents to inherit the leader's model
IDE and desktop4
- FIX VSCode: Fixed scroll speed in integrated terminals not matching native terminals
- FIX VSCode: Fixed Shift+Enter submitting input instead of inserting a newline for users with older keybindings
- ADD VSCode: Added effort level indicator on the input border
-
ADD
VSCode: Added
vscode://anthropic.claude-code/openURI handler to open a new Claude Code tab programmatically, with optionalpromptandsessionquery parameters
Commands6
-
ADD
Added
wkey in/copyto write the focused selection directly to a file, bypassing the clipboard (useful over SSH) -
ADD
Added optional description argument to
/plan(e.g.,/plan fix the auth bug) that enters plan mode and immediately starts -
NOTE
Simplified effort levels to low/medium/high (removed max) with new symbols (○ ◐ ●) and a brief notification instead of a persistent icon. Use
/effort autoto reset to default -
IMP
Improved
/config— Escape now cancels changes, Enter saves and closes, Space toggles settings -
FIX
Fixed backgrounded Ctrl+B queries losing their transcript or corrupting the new conversation after
/clear -
FIX
Fixed
/modelnot displaying results when run while Claude is working
Settings5
-
FIX
Fixed tool search to activate even with
ANTHROPIC_BASE_URLas long asENABLE_TOOL_SEARCHis set. -
ADD
Added
CLAUDE_CODE_DISABLE_CRONenvironment variable to immediately stop scheduled cron jobs mid-session -
CHG
Changed CLAUDE.md HTML comments (
<!-- ... -->) to be hidden from Claude when auto-injected. Comments remain visible when read with the Read tool -
FIX
Fixed
--effortCLI flag being reset by unrelated settings writes on startup -
FIX
Fixed terminal title being cleared on exit even when
CLAUDE_CODE_DISABLE_TERMINAL_TITLEwas set
Permissions3
-
ADD
Added
lsof,pgrep,tput,ss,fd, andfdfindto the bash auto-approval allowlist, reducing permission prompts for common read-only operations - FIX Fixed digit keys selecting menu options instead of typing in plan mode permission prompt's text input
- FIX Fixed "Always Allow" saving permission rules that never match again
Models and providers1
- FIX Fixed a crash when resuming sessions that contained Bedrock API errors
Performance3
- IMP Improved bash command parsing by switching to a native module — faster initialization and no memory leak
- FIX Fixed several voice mode issues: occasional input lag, false "No speech detected" errors after releasing push-to-talk, and stale transcripts re-filling the prompt after submission
- IMP Improved CPU utilization in long sessions
Terminal and input1
- FIX Fixed Escape key becoming unresponsive after cancelling a query
Sessions and context5
-
ADD
Added
ExitWorktreetool to leave anEnterWorktreesession - IMP Improved up-arrow history to show current session's messages first when running multiple concurrent sessions
-
FIX
Fixed
--continuenot resuming from the most recent point after--compact - FIX Fixed feedback survey appearing too frequently in long sessions
- FIX Fixed multi-line session titles when forking from a conversation whose first message contained newlines
Built-in tools3
- FIX Fixed oversized and truncated images from Bash data-URL output
- FIX Fixed intermittent "expected boolean, received string" validation errors on Edit, Bash, and Grep tool inputs
- FIX Fixed parallel tool calls where a failed Read/WebFetch/Glob would cancel its siblings — only Bash errors now cascade
Everything else3
- IMP Improved voice input transcription accuracy for repo names and common dev terms (regex, OAuth, JSON)
- IMP Reduced bundle size by ~510 KB
- FIX Fixed queued messages not showing attached images, and images being lost when pressing ↑ to edit a queued message