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.
関連記事
Claude Code v2.1.74 リリース - /context改善とメモリリーク修正
AnthropicはClaude Code v2.1.74を公開。/contextコマンドの改善、autoMemoryDirectory設定、複数のメモリリーク修正を含む。
Claude Code v2.1.70 リリース - APIエラー修正とパフォーマンス改善
AnthropicがClaude Code v2.1.70をリリース。第三方ゲートウェイでのAPI 400エラー修正、Windows/WSLのクリップボード問題対応、Remote Controlポーリング頻度大幅削減など多数の改善点を含む。
Claude Code v2.1.71 リリース - Claude APIスキル追加と機能強化
AnthropicがClaude Code v2.1.71をリリース。Claude APIスキル、Voice STT対応言語拡大、VS Code統合強化、多数の改善と修正を含む。
人気記事
Claude Code v2.1.93 リリース - PreToolUseフック延期決定やフリッカーFREE渲染など
AnthropicがClaude Code v2.1.93をリリース。PreToolUseフックの延期決定機能、フリッカー-freeレンダリングオプション、PermissionDeniedフック、名前付きサブエージェントのタイプアヘッド対応などを含む。
Claude Code v2.1.92 リリース - forceRemoteSettingsRefreshやBedrockセットアップウィザードなど
AnthropicがClaude Code v2.1.92をリリース。forceRemoteSettingsRefreshポリシー設定、Bedrockセットアップウィザード、costコマンドの改善など多数の機能追加とバグ修正を含む。
Claude Code v2.1.84 リリース - PowerShellツールプレビューと環境設定の強化
Claude Code v2.1.84がリリース。Windows向けのPowerShellツール、環境変数によるモデル選択のカスタマイズアイドルセッション処理の改善などが含まれる。
最新記事
Claude Code v2.1.93 リリース - PreToolUseフック延期決定やフリッカーFREE渲染など
AnthropicがClaude Code v2.1.93をリリース。PreToolUseフックの延期決定機能、フリッカー-freeレンダリングオプション、PermissionDeniedフック、名前付きサブエージェントのタイプアヘッド対応などを含む。
Claude Code v2.1.92 リリース - forceRemoteSettingsRefreshやBedrockセットアップウィザードなど
AnthropicがClaude Code v2.1.92をリリース。forceRemoteSettingsRefreshポリシー設定、Bedrockセットアップウィザード、costコマンドの改善など多数の機能追加とバグ修正を含む。
Claude Code v2.1.91 リリース - MCPツール結果の永続化とEditツールの最適化
Claude Code v2.1.91ではMCPツールの結果サイズの上書き、シェル実行の制御強化、Editツールの効率改善などが行われた。