← Back
Anthropic
Claude Code 2.1.52 fixes extension crash on Windows, ships with 50+ improvements in recent versions
Claude Code · releasebugfixfeatureperformancesecurity · github.com ↗

Bug Fix

Claude Code 2.1.52 resolves a crash affecting VS Code users on Windows where the claude-vscode.editor.openLast command was not found, preventing the extension from functioning properly.

Recent Improvements (2.1.50-2.1.52)

The latest releases include substantial stability and performance enhancements:

Agent & Isolation Improvements

  • Added isolation: "worktree" support for agents to run in temporary git worktrees, improving sandbox isolation
  • New --worktree flag to launch Claude in an isolated environment
  • Agent background task execution with background: true configuration
  • New claude agents CLI command to list configured agents

Memory & Performance Optimizations

  • Fixed multiple memory leaks affecting long sessions (LSP diagnostics, task output, circular buffers, ChildProcess references)
  • Tool results larger than 50K characters now persist to disk, reducing context window usage
  • Improved startup performance for headless mode by deferring non-essential imports
  • Cleared internal caches and file history snapshots to prevent unbounded memory growth

Developer Experience

  • Enhanced MCP OAuth with step-up auth support and discovery caching
  • Added startupTimeout configuration for LSP servers
  • Support for custom npm registries and version pinning when installing plugins
  • Improved error messages suggesting corrected file paths
  • /model picker now shows human-readable labels (e.g., "Sonnet 4.5") with upgrade hints

Security & Reliability

  • Fixed security issue where statusLine and fileSuggestion hook commands could execute without workspace trust
  • Fixed WebSocket reconnect bug causing duplicate control_response messages and API 400 errors
  • Fixed session visibility issues with symlinked working directories
  • Added environment variables (CLAUDE_CODE_ACCOUNT_UUID, CLAUDE_CODE_USER_EMAIL, CLAUDE_CODE_ORGANIZATION_UUID) for SDK callers

Plugin & Tool System

  • WorktreeCreate and WorktreeRemove hook events for custom VCS setup/teardown
  • Plugins can now ship settings.json for default configuration
  • Fixed slash command autocomplete crash with YAML array descriptions in plugin SKILL.md
  • BashTool skips login shell by default when snapshots are available, improving command execution performance

Linux Compatibility

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