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.98

Released9 Apr 2026

9 Apr 2026. 57 items: 7 added, 38 fixed, 9 improved, 1 changed, 1 removed or reverted, 1 other notes.

Security
3
MCP
3
Hooks
2
Agents
4
Commands
6
Settings
8
Permissions
8
Terminal and input
6
Everything else
6

Security3

  1. ADD Added interactive Google Vertex AI setup wizard accessible from the login screen when selecting "3rd-party platform", guiding you through GCP authentication, project and region configuration, credential verification, and model pinning
  2. ADD Added subprocess sandboxing with PID namespace isolation on Linux when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is set, and CLAUDE_CODE_SCRIPT_CAPS env var to limit per-session script invocations
  3. FIX Fixed sandbox.network.allowMachLookup not taking effect on macOS

MCP3

  1. FIX Fixed MCP OAuth oauth.authServerMetadataUrl config override not being honored on token refresh after restart, affecting ADFS and similar IdPs
  2. FIX Fixed a crash in fullscreen mode when hovering over MCP tool results
  3. FIX Fixed MCP tools with _meta["anthropic/maxResultSizeChars"] not bypassing the token-based persist layer

Hooks2

  1. FIX Fixed prompt-type Stop/SubagentStop hooks failing on long sessions, and hook evaluator API errors showing "JSON validation failed" instead of the real message
  2. IMP Improved hook errors in the transcript to include the first line of stderr for self-diagnosis without --debug

Plugins and skills3

  1. FIX Fixed slash command picker breaking when a plugin's frontmatter name is a YAML boolean keyword
  2. IMP Improved /reload-plugins to pick up plugin-provided skills without requiring a restart
  3. CHG Updated the /claude-api skill to cover Managed Agents alongside Claude API

SDK and headless1

  1. IMP Improved OTEL tracing: interaction spans now correctly wrap full turns under concurrent SDK calls, and headless turns end spans per-turn

Agents4

  1. FIX Fixed agent team members not inheriting the leader's permission mode when using --dangerously-skip-permissions
  2. FIX Fixed background subagents that fail with an error not reporting partial progress to the parent agent
  3. FIX Fixed stale subagent worktree cleanup removing worktrees that contain untracked files
  4. IMP Improved /agents with a tabbed layout: a Running tab shows live subagents, and the Library tab adds Run agent and View running instance actions

IDE and desktop2

  1. FIX Fixed capital letters being dropped to lowercase on xterm and VS Code integrated terminal when the kitty keyboard protocol is active
  2. FIX [VSCode] Fixed false-positive "requires git-bash" error on Windows when CLAUDE_CODE_GIT_BASH_PATH is set or Git is installed at a default location

Commands6

  1. FIX Fixed redirects to /dev/tcp/... or /dev/udp/... not prompting instead of auto-allowing
  2. FIX Fixed several /resume picker issues: --resume <name> opening uneditable, filter reload wiping search state, empty list swallowing arrow keys, cross-project staleness, and transient task-status text replacing conversation summaries
  3. FIX Fixed /export not honoring absolute paths and ~, and silently rewriting user-supplied extensions to .txt
  4. FIX Fixed /effort max being denied for unknown or future model IDs
  5. IMP Improved /resume filter hint labels and added project/worktree/branch names in the filter indicator
  6. REM Dropped /compact hints when DISABLE_COMPACT is set.

Settings8

  1. ADD Added CLAUDE_CODE_PERFORCE_MODE env var: when set, Edit/Write/NotebookEdit fail on read-only files with a p4 edit hint instead of silently overwriting them
  2. ADD Added W3C TRACEPARENT env var to Bash tool subprocesses when OTEL tracing is enabled, so child-process spans correctly parent to Claude Code's trace tree
  3. FIX Fixed read-only commands with env-var prefixes not prompting unless the var is known-safe (LANG, TZ, NO_COLOR, etc.)
  4. FIX Fixed managed-settings allow rules remaining active after an admin removed them, until process restart
  5. FIX Fixed permission rules with names matching JavaScript prototype properties (e.g. toString) causing settings.json to be silently ignored
  6. FIX Fixed DISABLE_AUTOUPDATER not fully suppressing the npm registry version check and symlink modification on npm-based installs
  7. IMP Improved Accept Edits mode to auto-approve filesystem commands prefixed with safe env vars or process wrappers
  8. FIX Fixed CLAUDE_CODE_MAX_CONTEXT_TOKENS to honor DISABLE_COMPACT when it is set.

Permissions8

  1. FIX Fixed a Bash tool permission bypass where a backslash-escaped flag could be auto-allowed as read-only and lead to arbitrary code execution
  2. FIX Fixed compound Bash commands bypassing forced permission prompts for safety checks and explicit ask rules in auto and bypass-permissions modes
  3. FIX Fixed --dangerously-skip-permissions being silently downgraded to accept-edits mode after approving a write to a protected path via Bash
  4. FIX Fixed permissions.additionalDirectories changes not applying mid-session — removed directories lose access immediately and added ones work without restart
  5. FIX Fixed Bash(cmd:*) and Bash(git commit *) wildcard permission rules failing to match commands with extra spaces or tabs
  6. FIX Fixed Bash(...) deny rules being downgraded to a prompt for piped commands that mix cd with other segments
  7. FIX Fixed false Bash permission prompts for cut -d /, paste -d /, column -s /, awk '{print $1}' file, and filenames containing %
  8. FIX Fixed a memory leak where Remote Control permission handler entries were retained for the lifetime of the session

Models and providers1

  1. IMP Improved transcript entries to carry final token usage instead of streaming placeholders

Terminal and input6

  1. ADD Added --exclude-dynamic-system-prompt-sections flag to print mode for improved cross-user prompt caching
  2. ADD Added workspace.git_worktree to the status line JSON input, set whenever the current directory is inside a linked git worktree
  3. FIX Fixed voice mode leaking dozens of space characters into the input when re-holding the push-to-talk key while the previous transcript is still processing
  4. FIX Fixed feedback survey rendering when dismissed
  5. IMP Improved footer indicators (Focus, notifications) to stay on the mode-indicator row instead of wrapping at narrow terminal widths
  6. IMP Improved Vim mode: j/k in NORMAL mode now navigate history and select the footer pill at the input boundary

Sessions and context1

  1. FIX Fixed file-edit diffs disappearing from the UI on --resume when the edited file was larger than 10KB

Built-in tools2

  1. ADD Added Monitor tool for streaming events from background scripts
  2. FIX Fixed Bash grep -f FILE / rg -f FILE not prompting when reading a pattern file outside the working directory

Platforms1

  1. FIX Fixed macOS text replacements deleting the trigger word instead of inserting the substitution

Everything else6

  1. NOTE LSP: Claude Code now identifies itself to language servers via clientInfo in the initialize request
  2. FIX Fixed stalled streaming responses timing out instead of falling back to non-streaming mode
  3. FIX Fixed 429 retries burning all attempts in ~13s when the server returns a small Retry-After — exponential backoff now applies as a minimum
  4. FIX Fixed removing a directory from additionalDirectories revoking access to the same directory passed via --add-dir
  5. FIX Fixed copying wrapped URLs in fullscreen mode inserting spaces at line breaks
  6. FIX Fixed rate-limit upsell text being hidden after message remounts