Claude Code v2.1.74 Released - /context Improvements and Memory Leak Fixes
Anthropic releases Claude Code v2.1.74 with /context command enhancements, autoMemoryDirectory setting, and multiple memory leak fixes.
Anthropic released Claude Code v2.1.74 on March 12, 2026. This version includes improvements to the /context command, a new autoMemoryDirectory setting, multiple memory leak fixes, and various bug fixes.
Key Changes
/context Command Improvements
The /context command now provides actionable suggestions, identifying context-heavy tools, memory bloat, and capacity warnings with specific optimization tips.
New autoMemoryDirectory Setting
Users can now configure a custom directory for auto-memory storage using the autoMemoryDirectory setting.
Memory Leak Fixes
Several memory leaks have been addressed:
- Streaming API Response Buffers: Fixed memory leak where streaming API response buffers were not released when the generator was terminated early, causing unbounded RSS growth on Node.js/npm code path
- MCP OAuth: Fixed MCP OAuth authentication hanging when the callback port is already in use
- MCP OAuth Refresh: Fixed refresh token re-authentication prompts not appearing after refresh token expires (for OAuth servers that return errors with HTTP 200, e.g., Slack)
- Voice Mode: Fixed voice mode silently failing on macOS native binary when terminal had never been granted microphone permission
Managed Policy Ask Rules Fix
Fixed managed policy ask rules being bypassed by user allow rules or skill allowed-tools.
Full Model ID Support
Fixed full model IDs (e.g., claude-opus-4-5) being silently ignored in agent frontmatter model field and βagents JSON config. Agents now accept the same model values as βmodel.
SessionEnd Hooks Timeout Configuration
Fixed SessionEnd hooks being killed after 1.5 seconds on exit regardless of hook.timeout. Now configurable via CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS environment variable.
Other Improvements
- βplugin-dir: Local dev copies now override installed marketplace plugins with the same name
- RTL Text: Fixed Hebrew, Arabic, and other RTL text not rendering correctly in Windows Terminal, conhost, and VS Code integrated terminal
- LSP Servers: Fixed LSP servers not working on Windows due to malformed file URIs
- VSCode: Improved scroll wheel responsiveness, fixed delete button not working for Untitled sessions
Impact
Version 2.1.74 focuses on stability and performance. The multiple memory leak fixes will significantly improve memory usage in long-running sessions. The MCP OAuth authentication improvements are particularly important for enterprise environments.
Related Articles
Claude Code v2.1.70 Released - API Error Fixes and Performance Improvements
Anthropic releases Claude Code v2.1.70 with fixes for API 400 errors with third-party gateways, Windows/WSL clipboard improvements, and significant Remote Control polling optimizations.
Claude Code v2.1.71 Released - Claude API Skill and VS Code Integration Improvements
Anthropic releases Claude Code v2.1.71 with Claude API skill, expanded Voice STT language support, enhanced VS Code integration, and numerous improvements.
Claude Code v2.1.72 Released - Auto-Memory, /loop Command, and Cron Scheduling
Anthropic releases Claude Code v2.1.72 with auto-memory for context saving, /copy command, /loop command, Cron scheduling tools, Voice keybinding customization, and more.
Popular Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.84 Release - PowerShell Tool Preview and Environment Configuration Enhancements
Claude Code v2.1.84 introduces PowerShell tool for Windows, new environment variable overrides for model selection, idle session handling improvements, and various stability fixes.
Latest Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.91 Released - MCP Tool Result Persistence and Improved Edit Tool
Claude Code v2.1.91 introduces MCP tool result persistence override, improved shell execution controls, and enhanced Edit tool efficiency.