Overview

Claude Code v2.1.49 introduces git worktree isolation for safer development, background agent management, and model upgrade to Sonnet 4.6 with 1M context. The release also includes numerous performance improvements and bug fixes for long-running sessions.

Breaking Changes

  • (v2.1.49) Sonnet 4.5 with 1M context is being removed from the Max plan in favor of Sonnet 4.6 model with 1M context

Changes by Version

v2.1.49

  • Added git worktree isolation with --worktree flag for safer development
  • Added background agent management with Ctrl+F keybinding to kill background agents
  • Added subagent worktree isolation support for temporary git environments
  • Added always-on background tasks via background: true in agent definitions
  • Added plugin default configuration via shipped settings.json
  • Added file editing in simple mode - CLAUDE_CODE_SIMPLE now includes file edit tool
  • Added permission suggestions when safety checks trigger
  • Added model capability discovery - SDK includes supportsEffort and thinking capabilities
  • Added configuration change auditing via ConfigChange hook for enterprise security
  • Fixed path correction suggestions when model drops repo folder from file paths
  • Fixed background agent interruption - Ctrl+C/ESC now properly kill agents with double-press
  • Fixed prompt cache performance regression that reduced hit rates
  • Fixed plugin scope auto-detection for enable/disable commands
  • Fixed verbose mode display not updating when toggled via /config
  • Fixed unbounded memory growth during long sessions by resetting tree-sitter parser
  • Fixed WASM memory leaks from stale yoga layout references
  • Fixed session picker display showing raw XML for command-starting sessions
  • Fixed managed settings hierarchy - non-managed settings can’t disable policy hooks
  • Improved startup performance by caching MCP auth failures and reducing HTTP calls
  • Improved non-interactive mode performance by skipping unnecessary API calls
  • Improved permission prompts to show context for restrictions