Claude Code Changelog

An unofficial reader. Not made by or affiliated with Anthropic. The notes are quoted word for word from anthropics/claude-code.

Claude Code 2.1.118

Released22 Apr 2026

22 Apr 2026. 34 items: 4 added, 21 fixed, 9 other notes.

Security
2
MCP
7
Hooks
2
Plugins and skills
5
Agents
1
Commands
5
Settings
3
Permissions
3

Security2

  1. FIX Fixed credential save crash on Linux/Windows corrupting ~/.claude/.credentials.json
  2. FIX Fixed /login having no effect in a session launched with CLAUDE_CODE_OAUTH_TOKEN — the env token is now cleared so disk credentials take effect

MCP7

  1. NOTE Hooks can now invoke MCP tools directly via type: "mcp_tool"
  2. FIX Fixed /mcp menu hiding OAuth Authenticate/Re-authenticate actions for servers configured with headersHelper, and HTTP/SSE MCP servers with custom headers being stuck in "needs authentication" after a transient 401
  3. FIX Fixed MCP servers whose OAuth token response omits expires_in requiring re-authentication every hour
  4. FIX Fixed MCP step-up authorization silently refreshing instead of prompting for re-consent when the server's insufficient_scope 403 names a scope the current token already has
  5. FIX Fixed an unhandled promise rejection when an MCP server's OAuth flow times out or is cancelled
  6. FIX Fixed MCP OAuth refresh proceeding without its cross-process lock under contention
  7. FIX Fixed macOS keychain race where a concurrent MCP token refresh could overwrite a freshly-refreshed OAuth token, causing unexpected "Please run /login" prompts

Hooks2

  1. FIX Fixed agent-type hooks failing with "Messages are required for agent hooks" when configured for events other than Stop or SubagentStop
  2. FIX Fixed prompt hooks re-firing on tool calls made by an agent-hook verifier subagent

Plugins and skills5

  1. NOTE Create and switch between named custom themes from /theme, or hand-edit JSON files in ~/.claude/themes/; plugins can also ship themes via a themes/ directory
  2. ADD Added claude plugin tag to create release git tags for plugins with version validation
  3. NOTE When auto-update skips a plugin due to another plugin's version constraint, the skip now appears in /doctor and the /plugin Errors tab
  4. FIX Fixed unreadable text in the "new messages" scroll pill and /plugin badges
  5. FIX Fixed plugin install on an already-installed plugin not re-resolving a dependency installed at the wrong version

Agents1

  1. FIX Fixed subagents resumed via SendMessage not restoring the explicit cwd they were spawned with

Commands5

  1. NOTE Merged /cost and /stats into /usage — both remain as typing shortcuts that open the relevant tab
  2. NOTE --continue/--resume now find sessions that added the current directory via /add-dir
  3. NOTE /color now syncs the session accent color to claude.ai/code when Remote Control is connected
  4. NOTE The /model picker now honors ANTHROPIC_DEFAULT_*_MODEL_NAME/_DESCRIPTION overrides when using a custom ANTHROPIC_BASE_URL gateway
  5. FIX Fixed /fork writing the full parent conversation to disk per fork — now writes a pointer and hydrates on read

Settings3

  1. ADD Added DISABLE_UPDATES env var to completely block all update paths including manual claude update — stricter than DISABLE_AUTOUPDATER
  2. NOTE WSL on Windows can now inherit Windows-side managed settings via the wslInheritsWindowsSettings policy key
  3. FIX Fixed connecting to a remote session overwriting your local model setting in ~/.claude/settings.json

Permissions3

  1. NOTE Auto mode: include "$defaults" in autoMode.allow, autoMode.soft_deny, or autoMode.environment to add custom rules alongside the built-in list instead of replacing it
  2. ADD Added a "Don't ask again" option to the auto mode opt-in prompt
  3. FIX Fixed plan acceptance dialog offering "auto mode" instead of "bypass permissions" when running with --dangerously-skip-permissions

Models and providers1

  1. FIX Fixed OAuth token refresh failing when the server revokes a token before its local expiry time

Performance1

  1. FIX Fixed Alt+K / Alt+X / Alt+^ / Alt+_ freezing keyboard input

Terminal and input1

  1. ADD Added vim visual mode (v) and visual-line mode (V) with selection, operators, and visual feedback

Sessions and context1

  1. FIX Fixed Remote Control sessions getting archived on transient CCR initialization blips during JWT refresh

Everything else2

  1. FIX Fixed typeahead showing "No commands match" error when pasting file paths that start with /
  2. FIX Fixed unhandled errors from file watcher on invalid paths or fd exhaustion