Claude Code 2.1.50
Released20 Feb 202620 Feb 2026. 25 items: 6 added, 14 fixed, 3 improved, 2 other notes.
- MCP
- 2
MCP2
-
NOTE
CLAUDE_CODE_SIMPLEmode now also disables MCP tools, attachments, hooks, and CLAUDE.md file loading for a fully minimal experience. - FIX Fixed bug where MCP tools were not discovered when tool search is enabled and a prompt is passed in as a launch argument
Hooks2
-
ADD
Added
WorktreeCreateandWorktreeRemovehook events, enabling custom VCS setup and teardown when agent worktree isolation creates or removes worktrees. - FIX Fixed a bug where resumed sessions could be invisible when the working directory involved symlinks, because the session storage path was resolved at different times during startup. Also fixed session data loss on SSH disconnect by flushing session data before hooks and analytics in the graceful shutdown sequence.
Plugins and skills1
-
FIX
Fixed
CLAUDE_CODE_SIMPLEto fully strip down skills, session memory, custom agents, and CLAUDE.md token counting
SDK and headless1
-
IMP
Improved startup performance for headless mode (
-pflag) by deferring Yoga WASM and UI component imports
Agents3
- FIX Fixed memory leak in agent teams where completed teammate tasks were never garbage collected from session state
-
ADD
Added support for
isolation: worktreein agent definitions, allowing agents to declaratively run in isolated git worktrees. -
ADD
Added
claude agentsCLI command to list all configured agents
IDE and desktop1
-
ADD
VSCode: Added
/extra-usagecommand support in VS Code sessions
Commands1
-
FIX
Fixed
/mcp reconnectfreezing the CLI when given a server name that doesn't exist
Settings2
-
ADD
Added support for
startupTimeoutconfiguration for LSP servers -
ADD
Added
CLAUDE_CODE_DISABLE_1M_CONTEXTenvironment variable to disable 1M context window support
Models and providers1
- NOTE Opus 4.6 (fast mode) now includes the full 1M context window
Performance9
- FIX Fixed memory leak where completed task state objects were never removed from AppState
- IMP Improved memory usage during long sessions by clearing internal caches after compaction
- IMP Improved memory usage during long sessions by clearing large tool results after they have been processed
- FIX Fixed a memory leak where LSP diagnostic data was never cleaned up after delivery, causing unbounded memory growth in long sessions
- FIX Fixed a memory leak where completed task output was not freed from memory, reducing memory usage in long sessions with many tasks
- FIX Fixed unbounded memory growth in long sessions by capping file history snapshots
- FIX Fixed memory leak where TaskOutput retained recent lines after cleanup
- FIX Fixed memory leak in CircularBuffer where cleared items were retained in the backing array
- FIX Fixed memory leak in shell command execution where ChildProcess and AbortController references were retained after cleanup
Terminal and input1
- FIX Fixed prompt suggestion cache regression that reduced cache hit rates
Platforms1
- FIX Linux: Fixed native modules not loading on systems with glibc older than 2.30 (e.g., RHEL 8)