Claude Code 2.1.2
Released8 Jan 20268 Jan 2026. 22 items: 6 added, 8 fixed, 3 improved, 4 changed, 1 removed or reverted.
- MCP
- 1
Security1
- FIX Fixed a command injection vulnerability in bash command processing where malformed input could execute arbitrary commands
MCP1
- FIX Fixed MCP tool names being exposed in analytics events by sanitizing user-specific server configurations
Hooks1
-
ADD
Added
agent_typeto SessionStart hook input, populated if--agentis specified
Plugins and skills2
-
ADD
Added
FORCE_AUTOUPDATE_PLUGINSenvironment variable to allow plugin autoupdate even when the main auto-updater is disabled -
CHG
Changed
/pluginsinstalled tab to unify plugins and MCPs with scope-based grouping
SDK and headless1
- CHG [SDK] Changed minimum zod peer dependency to ^4.0.0
IDE and desktop1
- FIX [VSCode] Fixed usage display not updating after manual compact
Commands1
-
FIX
Fixed remote session URL and teleport being broken when using
/taskscommand
Settings2
-
FIX
Fixed binary files (images, PDFs, etc.) being accidentally included in memory when using
@includedirectives in CLAUDE.md files -
REM
Deprecated Windows managed settings path
C:\ProgramData\ClaudeCode\managed-settings.json- administrators should migrate toC:\Program Files\ClaudeCode\managed-settings.json
Permissions1
- IMP Improved permission explainer to not flag routine dev workflows (git fetch/rebase, npm install, tests, PRs) as medium risk
Performance1
- FIX Fixed a memory leak where tree-sitter parse trees were not being freed, causing WASM memory to grow unbounded over long sessions
Terminal and input4
- ADD Added source path metadata to images dragged onto the terminal, helping Claude understand where images originated
- ADD Added Shift+Tab keyboard shortcut in plan mode to quickly select "auto-accept edits" option
- IMP Improved Option-as-Meta hint on macOS to show terminal-specific instructions for native CSIu terminals like iTerm2, Kitty, and WezTerm
-
IMP
Improved error message when pasting images over SSH to suggest using
scpinstead of the unhelpful clipboard shortcut hint
Built-in tools2
- ADD Added clickable hyperlinks for file paths in tool output in terminals that support OSC 8 (like iTerm)
- CHG Changed large tool outputs to be persisted to disk instead of truncated, providing full output access via file references
Platforms1
- ADD Added support for Windows Package Manager (winget) installations with automatic detection and update instructions
Everything else3
- FIX Fixed updates incorrectly claiming another installation is in progress
- FIX Fixed crash when socket files exist in watched directories (defense-in-depth for EOPNOTSUPP errors)
- CHG Changed large bash command outputs to be saved to disk instead of truncated, allowing Claude to read the full content