Claude Code Changelog

An unofficial reader. Not made by or affiliated with Anthropic. The notes are quoted word for word from anthropics/claude-code.

Claude Code 2.1.50

Released20 Feb 2026

20 Feb 2026. 25 items: 6 added, 14 fixed, 3 improved, 2 other notes.

MCP
2
Hooks
2
Agents
3
Settings
2
Performance
9

MCP2

  1. NOTE CLAUDE_CODE_SIMPLE mode now also disables MCP tools, attachments, hooks, and CLAUDE.md file loading for a fully minimal experience.
  2. 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

  1. ADD Added WorktreeCreate and WorktreeRemove hook events, enabling custom VCS setup and teardown when agent worktree isolation creates or removes worktrees.
  2. 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

  1. FIX Fixed CLAUDE_CODE_SIMPLE to fully strip down skills, session memory, custom agents, and CLAUDE.md token counting

SDK and headless1

  1. IMP Improved startup performance for headless mode (-p flag) by deferring Yoga WASM and UI component imports

Agents3

  1. FIX Fixed memory leak in agent teams where completed teammate tasks were never garbage collected from session state
  2. ADD Added support for isolation: worktree in agent definitions, allowing agents to declaratively run in isolated git worktrees.
  3. ADD Added claude agents CLI command to list all configured agents

IDE and desktop1

  1. ADD VSCode: Added /extra-usage command support in VS Code sessions

Commands1

  1. FIX Fixed /mcp reconnect freezing the CLI when given a server name that doesn't exist

Settings2

  1. ADD Added support for startupTimeout configuration for LSP servers
  2. ADD Added CLAUDE_CODE_DISABLE_1M_CONTEXT environment variable to disable 1M context window support

Models and providers1

  1. NOTE Opus 4.6 (fast mode) now includes the full 1M context window

Performance9

  1. FIX Fixed memory leak where completed task state objects were never removed from AppState
  2. IMP Improved memory usage during long sessions by clearing internal caches after compaction
  3. IMP Improved memory usage during long sessions by clearing large tool results after they have been processed
  4. FIX Fixed a memory leak where LSP diagnostic data was never cleaned up after delivery, causing unbounded memory growth in long sessions
  5. FIX Fixed a memory leak where completed task output was not freed from memory, reducing memory usage in long sessions with many tasks
  6. FIX Fixed unbounded memory growth in long sessions by capping file history snapshots
  7. FIX Fixed memory leak where TaskOutput retained recent lines after cleanup
  8. FIX Fixed memory leak in CircularBuffer where cleared items were retained in the backing array
  9. FIX Fixed memory leak in shell command execution where ChildProcess and AbortController references were retained after cleanup

Terminal and input1

  1. FIX Fixed prompt suggestion cache regression that reduced cache hit rates

Platforms1

  1. FIX Linux: Fixed native modules not loading on systems with glibc older than 2.30 (e.g., RHEL 8)