Claude Code 2.1.89
Released31 Mar 202631 Mar 2026. 52 items: 5 added, 30 fixed, 4 improved, 4 changed, 9 other notes.
- MCP
- 3
MCP3
-
ADD
Added
MCP_CONNECTION_NONBLOCKING=truefor-pmode to skip the MCP connection wait entirely, and bounded--mcp-configserver connections at 5s instead of blocking on the slowest server - FIX Fixed MCP tool errors truncating to only the first content block when the server returns multi-element error content
-
IMP
Improved
@-mention typeahead to rank source files above MCP resources with similar names
Hooks6
-
ADD
Added
"defer"permission decision toPreToolUsehooks — headless sessions can pause at a tool call and resume with-p --resumeto have the hook re-evaluate -
ADD
Added
PermissionDeniedhook that fires after auto mode classifier denials — return{retry: true}to tell the model it can retry -
FIX
Fixed PreToolUse/PostToolUse hooks to receive
file_pathas an absolute path for Write/Edit/Read tools, matching the documented behavior -
FIX
Fixed hooks
ifcondition filtering not matching compound commands (ls && git push) or commands with env-var prefixes (FOO=bar git push) - CHG Changed hook output over 10,000 characters to be saved to disk with a file path + a 2,000-character preview instead of being injected directly into context
-
NOTE
Documented
TaskCreatedhook event and its blocking behavior
Plugins and skills1
- FIX Fixed skill reminders and other system context being dropped when sending messages with images via the SDK
SDK and headless1
-
FIX
Fixed
-p --resumehangs when the deferred tool input exceeds 64KB or no deferred marker exists, and-p --continuenot resuming deferred tools
Agents2
-
ADD
Added named subagents to
@mention typeahead suggestions -
FIX
Fixed
/statsundercounting tokens by excluding subagent usage, and losing historical data beyond 30 days when the stats cache format changes
Commands4
-
NOTE
Auto mode: denied commands now show a notification and appear in
/permissions→ Recent tab where you can retry withr -
NOTE
/envnow applies to PowerShell tool commands (previously only affected Bash) -
NOTE
/usagenow hides redundant "Current week (Sonnet only)" bar for Pro and Enterprise plans -
NOTE
/buddyis here for April 1st — hatch a small creature that watches you code
Settings4
-
ADD
Added
CLAUDE_CODE_NO_FLICKER=1environment variable to opt into flicker-free alt-screen rendering with virtualized scrollback - FIX Fixed nested CLAUDE.md files being re-injected dozens of times in long sessions that read many files
-
CHG
Changed
cleanupPeriodDays: 0in settings.json to be rejected with a validation error — it previously silently disabled transcript persistence -
CHG
Changed thinking summaries to no longer be generated by default in interactive sessions — set
showThinkingSummaries: truein settings.json to restore
Permissions1
- FIX Fixed voice mode failing to request microphone permission on macOS Apple Silicon
Performance2
- FIX Fixed memory leak where large JSON inputs were retained as LRU cache keys in long-running sessions
- FIX Fixed a potential out-of-memory crash when the Edit tool was used on very large files (>1 GiB)
Terminal and input11
-
FIX
Fixed prompt history entries containing CJK or emoji being silently dropped when they fall on a 4KB boundary in
~/.claude/history.jsonl - FIX Fixed prompt cache misses in long sessions caused by tool schema bytes changing mid-session
- FIX Fixed collapsed search/read group badges duplicating in terminal scrollback during heavy parallel tool use
- FIX Fixed prompt briefly disappearing after submit when background messages arrived during processing
- FIX Fixed rendering artifacts on main-screen terminals after layout shifts
- FIX Fixed Shift+Enter submitting instead of inserting a newline on Windows Terminal Preview 1.25
- IMP Improved PowerShell tool prompt with version-appropriate syntax guidance (5.1 vs 7+)
- NOTE Preserved task notifications when backgrounding a running command with Ctrl+B
- NOTE PowerShell tool on Windows: external-command arguments containing both a double-quote and whitespace now prompt instead of auto-allowing (PS 5.1 argument-splitting hardening)
- NOTE Image paste no longer inserts a trailing space
-
NOTE
Pasting
!commandinto an empty prompt now enters bash mode, matching typed!behavior
Sessions and context4
- FIX Fixed a crash when removing a message from very large session files (over 50MB)
- FIX Fixed LSP server zombie state after crash — server now restarts on next request instead of failing until session restart
- FIX Fixed autocompact thrash loop — now detects when context refills to the limit immediately after compacting three times in a row and stops with an actionable error instead of burning API calls
-
FIX
Fixed
--resumecrash when transcript contains a tool result from an older CLI version or interrupted write
Built-in tools6
-
FIX
Fixed
Edit(//path/**)andRead(//path/**)allow rules to check the resolved symlink target, not just the requested path - FIX Fixed Edit/Write tools doubling CRLF on Windows and stripping Markdown hard line breaks (two trailing spaces)
-
FIX
Fixed PowerShell tool incorrectly reporting failures when commands like
git pushwrote progress to stderr on Windows PowerShell 5.1 -
IMP
Improved collapsed tool summary to show "Listed N directories" for
ls/tree/duinstead of "Read N files" - IMP Improved Bash tool to warn when a formatter/linter command modifies files you have previously read, preventing stale-edit errors
-
CHG
Changed
Editto work on files viewed viaBashwithsed -norcat, without requiring a separateReadcall first
Platforms2
- FIX Fixed voice push-to-talk not activating for some modifier-combo bindings, and voice mode on Windows failing with "WebSocket upgrade rejected with HTTP 101"
-
FIX
Fixed
claude-cli://deep links not opening on macOS
Everything else5
-
FIX
Fixed
StructuredOutputschema cache bug causing ~50% failure rate when using multiple schemas - FIX Fixed misleading "Rate limit reached" message when the API returned an entitlement error — now shows the actual error with actionable hints
-
FIX
Fixed notification
invalidatesnot clearing the currently-displayed notification immediately - FIX Fixed Devanagari and other combining-mark text being truncated in assistant output
- FIX Fixed periodic UI jitter during streaming in iTerm2 when running inside tmux