mirror of
https://github.com/anthropics/claude-code.git
synced 2026-06-10 14:03:36 +00:00
Compare commits
9 Commits
v2.1.152
...
add-readme
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86b40c72f8 | ||
|
|
625c04c335 | ||
|
|
bdb04fc524 | ||
|
|
8bae02d531 | ||
|
|
295dee881d | ||
|
|
8d0fbf451a | ||
|
|
2d5c3c6c85 | ||
|
|
1696f22294 | ||
|
|
3bb44552af |
189
CHANGELOG.md
189
CHANGELOG.md
@@ -1,5 +1,194 @@
|
||||
# Changelog
|
||||
|
||||
## 2.1.161
|
||||
|
||||
- `OTEL_RESOURCE_ATTRIBUTES` values are now included as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repo
|
||||
- `claude agents` rows now show `done/total` before the detail when work is fanned out; peek shows the longest-running item
|
||||
- `/mcp` now collapses claude.ai connectors you've never signed in to behind a "Show unused connectors" row
|
||||
- Parallel tool calls: a failed Bash command no longer cancels other calls in the same batch — each tool returns its own result independently
|
||||
- Fullscreen mode: clipboard now uses `wl-copy`/`xclip`/`xsel` on Linux when available, copies to both the clipboard and PRIMARY selection for middle-click paste, and the "hold {key} for native selection" hint now shows the correct key per terminal
|
||||
- Fixed the `/effort` dialog, workflow animations, and prompt keyword shimmer not honoring the "Reduce motion" setting
|
||||
- Fixed `forceLoginOrgUUID`/`forceLoginMethod` managed-settings policies blocking third-party provider sessions (Bedrock, Vertex, Foundry, Mantle) alongside the org pin (regression in 2.1.146)
|
||||
- Fixed background subagent output corrupting `claude -p` stdout when using `--output-format text` or `json`
|
||||
- Fixed `/usage-credits` starting a re-login for Team and Enterprise admins instead of pointing to the organization's usage settings page
|
||||
- Fixed `/autofix-pr` reporting "cannot run on the default branch" when the session is inside a git worktree or another repository
|
||||
- Fixed `--resume` picker not showing sessions from the current directory when it isn't a git worktree (e.g., jj workspaces)
|
||||
- Fixed Windows hooks that invoke bash explicitly (e.g., `/usr/bin/bash script.sh`) failing with "command not found" or "cannot execute binary file"
|
||||
- Fixed OpenTelemetry log events (`user_prompt`, `api_request`, `tool_result`, `tool_decision`) being silently dropped when emitted before telemetry initialization completed
|
||||
- Fixed `claude mcp` list/get/add printing secrets to the terminal: `${VAR}` references are no longer expanded, and credential headers and URL secrets are redacted
|
||||
- Fixed Workflow agents spawned with `isolation: "worktree"` in background sessions being blocked from editing files inside their own worktree
|
||||
- Fixed background sessions dispatched from `claude agents` booting on a stale model from the daemon's environment instead of the model in `settings.json`
|
||||
- Fixed a potential crash when rendering Write tool results after resuming a session
|
||||
- Fixed completed subagents getting stuck showing as running when an error occurs while finalizing their result
|
||||
- Fixed `EADDRINUSE` errors from tools that bind Unix sockets under `$TMPDIR` when `CLAUDE_CODE_TMPDIR` is set to a deep path
|
||||
- Improved terminal rendering performance by stabilizing the layout engine's JIT compilation profile
|
||||
- Improved rendering performance for large file writes
|
||||
- [VSCode] Added a tip suggesting disabling terminal GPU acceleration (or running `/terminal-setup`) to fix garbled glyphs
|
||||
|
||||
## 2.1.160
|
||||
|
||||
- Added a prompt before writing to shell startup files (`.zshenv`, `.zlogin`, `.bash_login`) and `~/.config/git/`, which could otherwise lead to unintended command execution
|
||||
- `acceptEdits` mode now prompts before writing build-tool config files that grant code execution (`.npmrc`, `.yarnrc*`, `bunfig.toml`, `.bazelrc`, `.pre-commit-config.yaml`, `.devcontainer/`, etc.)
|
||||
- Edit no longer requires a separate Read after viewing a file with `grep`: single-file `grep`/`egrep`/`fgrep` commands now satisfy the read-before-edit check
|
||||
- Fixed copy-on-select not writing to the Windows clipboard on WSL — now uses PowerShell interop instead of OSC 52, which terminals like MobaXterm don't support
|
||||
- Fixed restoring a completed session from `claude agents` dropping chat history and re-running the original prompt
|
||||
- Fixed background sessions re-attached after overnight retire losing their conversation and re-running the original prompt
|
||||
- Fixed `claude --bg` occasionally failing with "socket missing" when the background daemon was cold-starting on a loaded machine
|
||||
- Fixed an issue on Windows where the directory a background session was started in could not be deleted after `claude rm` until the background daemon exited
|
||||
- Fixed background agents that resumed work being shown under Completed in the agents list
|
||||
- Fixed `claude agents` freezing for several seconds when returning to the session list due to the auto-updater re-checking on every exit
|
||||
- Fixed Esc, arrow keys, and typing becoming unresponsive on Windows when attached to a background session or in the agent view while the host is under heavy CPU load
|
||||
- Fixed background agents emitting terminal sync-output markers to terminals that don't support them (Apple Terminal, tmux), causing render artifacts when entering a running agent
|
||||
- Fixed mouse wheel scrolling prompt history instead of the transcript right after opening a session from the agents list
|
||||
- Fixed CJK IME composition appearing at the bottom-left of the screen instead of at the input caret in the `claude agents` view
|
||||
- Fixed valid `file:///C:/...` links being rewritten to a broken path on Windows terminals with hyperlink support
|
||||
- Fixed voice mode failing to connect when the project directory or branch name contains non-ASCII or special characters
|
||||
- Fixed the auto mode unavailability message on third-party providers (Bedrock/Vertex/Foundry) to point to the `CLAUDE_CODE_ENABLE_AUTO_MODE` opt-in instead of incorrectly blaming the model
|
||||
- Fixed `/effort ultracode` incorrectly blaming the dynamic workflows setting when the model cannot run xhigh; ultracode is no longer offered on models that do not support it
|
||||
- Fixed model-not-found errors suggesting `--model` when running via the SDK or other hosts where the CLI flag doesn't apply
|
||||
- Fixed Claude's past replies disappearing from scrollback when resuming a brief mode session with brief mode turned off
|
||||
- Fixed vim mode `p` pasting on the line below instead of at the cursor when the register was yanked with `v$`
|
||||
- Improved performance of opening recently-inactive background agent sessions in `claude agents`
|
||||
- Improved auto mode classifier latency by reducing reasoning on routine actions, lowering the chance of "could not evaluate this action" blocks
|
||||
- Improved background-session teardown (`claude rm`/`stop`, idle reap) to send SIGTERM to running shell subprocesses before SIGKILL, so cleanup handlers run
|
||||
- Removed `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE`; the environment variable is now a no-op
|
||||
- Removed the JetBrains plugin install suggestion from startup
|
||||
- Renamed the dynamic-workflow trigger keyword from `workflow` to `ultracode`. The word "workflow" no longer triggers a run; asking for one in your own words still works. The trigger keyword is highlighted in violet in the prompt input
|
||||
|
||||
## 2.1.159
|
||||
|
||||
- Internal infrastructure improvements (no user-facing changes)
|
||||
|
||||
## 2.1.158
|
||||
|
||||
- Auto mode is now available on Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8. Opt in by setting `CLAUDE_CODE_ENABLE_AUTO_MODE=1`
|
||||
|
||||
## 2.1.157
|
||||
|
||||
- Plugins in `.claude/skills` directories are now automatically loaded, no marketplace required
|
||||
- Added `claude plugin init <name>` to scaffold a new plugin in `.claude/skills`
|
||||
- Added autocomplete for `/plugin` arguments: subcommands, installed plugin names, and plugins from known marketplaces
|
||||
- `claude agents`: the `agent` field in `settings.json` is now honored for dispatched sessions, with `--agent <name>` to override it
|
||||
- `EnterWorktree` can now switch between Claude-managed worktrees mid-session
|
||||
- `tool_decision` telemetry events now include `tool_parameters` (bash commands, MCP/skill names) when `OTEL_LOG_TOOL_DETAILS=1`
|
||||
- Worktrees managed by Claude are now left unlocked when the agent finishes, so `git worktree remove`/`prune` can clean them up
|
||||
- Fixed unprocessable images (zero-byte, corrupt) attached via paste, MCP, or dialog crashing the request instead of becoming a text placeholder
|
||||
- Fixed sandbox network permission prompts appearing in auto and bypass-permissions mode when using the desktop app, IDE extensions, or SDK
|
||||
- Fixed `claude agents` completed sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell
|
||||
- Fixed `claude agents` pressing Esc not cancelling a slow "opening…", leaving the list unresponsive
|
||||
- Fixed background agent worktrees under `.claude/worktrees/` being orphaned after the 30-day job retention sweep
|
||||
- Fixed background sessions re-attached after a sleep/wake not telling the model the correct date
|
||||
- Fixed copy-on-select in `claude agents` not reaching the system clipboard inside tmux with `set-clipboard on` (regression in 2.1.153)
|
||||
- Fixed `--resume` not reporting background subagents that were running when the previous Claude Code process exited
|
||||
- Fixed the `--resume` session picker leaving its contents on the terminal after exiting in fullscreen mode
|
||||
- Fixed `--worktree` and `--worktree --tmux` returning to the canonical repo root instead of the current linked worktree
|
||||
- Fixed the `/model` picker showing an incorrect "Newer version available" hint when the selected model is already the newest in its family; the pinned-model row now shows the model's description instead of its raw ID
|
||||
- Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode
|
||||
- Fixed the terminal freezing after approving the managed-settings security dialog at startup
|
||||
- Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws
|
||||
- Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals
|
||||
- WSL: fixed image paste (`alt+v` keybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer
|
||||
- Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations
|
||||
- `/terminal-setup` now disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering
|
||||
- The Feature of the Week credit-claim status now appears as a notification in the status area instead of a line above the prompt
|
||||
- `claude agents`: slash-command autocomplete in the dispatch input now matches substrings
|
||||
- Removed the "bash commands will be sandboxed" startup banner — sandbox status still shows in `/status` and when a command is blocked
|
||||
- Removed the "/ide for …" startup hint toast
|
||||
- [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it
|
||||
- [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8
|
||||
- Pressing backspace right after a workflow trigger keyword now dismisses the workflow request (same as alt+w) instead of deleting a character
|
||||
- Added a "Workflow keyword trigger" setting in /config to stop the word "workflow" in a prompt from triggering a dynamic workflow
|
||||
|
||||
## 2.1.156
|
||||
|
||||
- Fixed an issue when using Opus 4.8 where thinking blocks were modified, leading to API errors.
|
||||
|
||||
## 2.1.154
|
||||
|
||||
- Opus 4.8 is here! Now defaults to high effort · /effort xhigh for your hardest tasks
|
||||
- Introducing dynamic workflows: ask Claude to create a workflow and it orchestrates work across tens to hundreds of agents in the background, so you can take on larger, more complex tasks. Run `/workflows` to view your runs
|
||||
- Fast mode on Opus 4.8 is now available at a fraction of its previous cost: 2x the standard rate for 2.5x the speed
|
||||
- The lean system prompt is now the default for all models except Haiku, Sonnet, and Opus 4.7 and earlier
|
||||
- Claude now reserves the multiple-choice question prompt for decisions it genuinely cannot make itself, instead of asking when it already has enough context to proceed
|
||||
- `/simplify` now runs a cleanup-only review (reuse, simplification, efficiency, altitude) and applies the fixes, instead of running the full `/code-review --fix` bug-hunting review
|
||||
- Renamed the `/effort` slider labels from "Speed"/"Intelligence" to "Faster"/"Smarter" for clarity
|
||||
- `claude agents`: type `! <command>` to run a shell command as a background session you can attach to and detach from. Also available as `claude --bg --exec '<command>'`
|
||||
- `claude agents`: `/logout` now signs you out instead of being sent to a background session
|
||||
- `←←` to open the agents view now works on Bedrock, Vertex, Foundry, and with telemetry disabled
|
||||
- Claude in Chrome: pick which connected browser to use via `/chrome` → "Select browser…", or in-chat when a browser action runs with multiple connected
|
||||
- Plugins can now declare `defaultEnabled: false` in `plugin.json` or a marketplace entry; enable them with `/plugin` or `claude plugin enable`. Dependencies of enabled plugins are still enabled automatically
|
||||
- The `/plugin` Discover tab now pins plugins whose relevance signals match the current directory with a "suggested for this directory" annotation
|
||||
- Streaming tool execution is now always enabled, including when telemetry is disabled or on Bedrock/Vertex/Foundry (previously behind a feature flag)
|
||||
- Stdio MCP server subprocesses now receive `CLAUDE_CODE_SESSION_ID` and `CLAUDECODE=1` in their environment
|
||||
- `claude mcp list`/`get` now show unapproved `.mcp.json` servers as `⏸ Pending approval` instead of auto-approving and connecting when output is piped
|
||||
- `/remote-control` autocomplete now shows "Disconnect Remote Control" when Remote Control is already active
|
||||
- Added Claude Opus 4.8 support and 4.7 → 4.8 migration guidance to the `/claude-api` skill
|
||||
- Deprecated `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE` (will be removed on 06/01). To use fast mode on Opus 4.6, switch with `/model claude-opus-4-6[1m]` and then `/fast on`
|
||||
- Improved the auto-mode classifier's detection of data exfiltration, particularly bulk transfers of repository contents
|
||||
- Fixed `rm -rf $HOME` not being blocked as a dangerous path when `HOME` has a trailing slash
|
||||
- Fixed `$TMPDIR` resolving to different directories in sandboxed vs unsandboxed Bash commands within the same session
|
||||
- Fixed unreadable highlighted-row text in `claude agents` when the Claude Code theme doesn't match the terminal background
|
||||
- Fixed background-agent completion notifications triggering premature "out of context" behavior on some 1M-context models
|
||||
- Fixed background-session classifier losing the user's goal when a scheduled `/command` fires
|
||||
- Fixed pinned background sessions respawning every minute after a Claude Code update, causing repeated agent-start notifications and process churn at idle
|
||||
- Fixed background sessions stuck at "blocked", "running", or "working" not retiring after the idle grace period
|
||||
- Fixed subagents in background sessions bypassing the worktree-isolation guard and writing to the shared checkout
|
||||
- Fixed orphaned `claude --bg-pty-host` processes spinning at 100% CPU after the daemon exits on macOS
|
||||
- Fixed number key shortcuts not working for options shown below the divider in option dialogs
|
||||
- Fixed `worktree.baseRef: "head"` resolving to the main checkout's HEAD instead of the current worktree's HEAD when spawning subagents or calling `EnterWorktree` from inside a linked worktree
|
||||
- Fixed a stray leading space on wrapped lines when the previous line ended exactly at the terminal width
|
||||
- Fixed intermittent terminal rendering corruption in VS Code by capping the number of distinct colors the thinking spinner produces
|
||||
- Fixed plan file names including `[Image #N]` / `[Pasted text #N]` placeholders when a plan-mode prompt starts with pasted images or text
|
||||
- Fixed a phantom expand/click affordance on colored tool output: short ANSI-colored lines that fit on screen no longer show a "ctrl+o to expand" hint
|
||||
- Fixed a single invalid `allowedMcpServers`/`deniedMcpServers` entry in managed settings discarding all managed-settings policy; the bad entry is now dropped with a `claude doctor` warning
|
||||
- Fixed API 400 errors on models that don't support the effort parameter when `CLAUDE_CODE_ALWAYS_ENABLE_EFFORT` is set
|
||||
- Windows: Fixed update failures caused by `claude.exe` being in use showing a generic error instead of telling you to close other sessions and retry
|
||||
- Removed the stale "& for background" hint from the shortcuts help panel
|
||||
- [VSCode] Auto mode no longer requires the bypass-permissions setting to appear in the mode picker, and a dismissable notice on the new-session screen explains auto mode the first time it's active
|
||||
- Fixed the task panel below the prompt showing a stray unselectable "main" row when only a workflow is running
|
||||
- Fixed /mcp tools list and tool detail rendering when MCP servers have long or multi-line tool names or long descriptions
|
||||
- Fixed the /model picker not showing fast mode pricing on the Default option for API (pay-as-you-go) users when fast mode is on
|
||||
- Fixed auto mode incorrectly blocking actions with "could not evaluate this action" when the safety classifier ran out of output tokens while reasoning
|
||||
|
||||
## 2.1.153
|
||||
|
||||
- Added `skipLfs` option to `github`/`git` plugin marketplace sources to skip Git LFS downloads during clone and update
|
||||
- Claude Code now shows a one-time notice when your npm global install can't auto-update; `/doctor` lists the fixes
|
||||
- Status line commands now receive `COLUMNS` and `LINES` environment variables so scripts can size output to the terminal width
|
||||
- `claude agents`: autocomplete in the dispatch input now suggests native slash commands and bundled skills, not just project skills
|
||||
- `claude agents`: PR column now shows `PR #N` for a single PR or `N PRs` for multiple
|
||||
- `claude doctor` now shows the result of your last update attempt
|
||||
- Combined the separate "needs authentication" startup notifications for MCP servers and connectors into a single message
|
||||
- macOS: background agents now appear as "Claude Code" in Privacy & Security and keep their permission grants across upgrades
|
||||
- Fixed stateful MCP servers without the optional GET SSE stream reconnect-looping on `tools/list` (regression in v2.1.147)
|
||||
- Fixed a regression where a custom API gateway could receive the user's Anthropic OAuth credential instead of the gateway's own token
|
||||
- Fixed subagent (Agent tool) frontmatter MCP servers ignoring `--strict-mcp-config`, `--bare`, remote mode, enterprise managed MCP config, and managed-settings MCP server allow/deny policies
|
||||
- `--strict-mcp-config` no longer strips inline `mcpServers` from explicitly-passed agent definitions (`--agents` / SDK `agents`), and blocked subagent MCP servers now surface a visible warning
|
||||
- Fixed the Windows PowerShell installer reporting "Installation complete!" when installation actually failed
|
||||
- Fixed `claude update` installing the latest version instead of the configured release channel's version for npm installations
|
||||
- Fixed excessive memory usage (multiple GB) when resuming a session by transcript file path on machines with many stored sessions
|
||||
- Fixed `claude agents` and `claude --bg` running on a stale daemon started before binary-takeover support, even after upgrading
|
||||
- Fixed a hang where the CLI could fail to exit when stdin was closed without EOF in stream-json mode, leaving a stale session marker behind
|
||||
- Fixed malformed `file://` links in Claude's responses not being clickable in the terminal
|
||||
- Fixed `claude --help` rendering unwrapped output on terminals narrower than 92 columns
|
||||
- Fixed MCP tool progress notifications not rendering in the collapsed tool view
|
||||
- Fixed `Agent` tool with `subagent_type: 'claude'` running in an undocumented temporary worktree, which could silently discard outputs written to gitignored paths
|
||||
- `/bg` while Claude is responding now continues the response in the background session instead of dropping it
|
||||
- Fixed `/btw` keyboard shortcuts becoming unresponsive in background sessions while a task is running
|
||||
- Fixed background sessions writing temp files to `$CLAUDE_JOB_DIR` triggering a "sensitive file" permission prompt
|
||||
- Fixed recovering a background agent whose working directory was deleted showing a truncated stack trace instead of a clear error message
|
||||
- Fixed `EnterWorktree` not being available immediately in background sessions (previously required `ToolSearch` first)
|
||||
- Fixed `cmd+k` in iTerm2/Terminal.app not repainting attached background sessions
|
||||
- Fixed the IME candidate window appearing at the bottom of the screen instead of next to the input caret in attached background sessions on Windows
|
||||
- Fixed background-color bleed when attaching to a background agent from 256-color-only terminals after the agent had rendered file diffs
|
||||
- Fixed `/copy` and copy-on-select silently failing to update the system clipboard when attached to a background session inside tmux
|
||||
- Fixed opening `claude agents` with Remote Control enabled leaving zombie session entries on the Code tab after exiting
|
||||
- Fixed `/rename` in background sessions not updating the session banner immediately
|
||||
- Fixed Windows update rollback: if a Windows update fails, Claude Code now restores the original executable by copy and tells you how to recover
|
||||
- [VSCode] Fixed Claude Code processes not shutting down cleanly when VS Code closed on Windows, causing false "unclean exit" reports and orphaned MCP servers
|
||||
- `/model` now saves your selection as the default for new sessions (matching the IDE). Press `s` in the picker to switch models for the current session only.
|
||||
- If you customized the `modelPicker:setAsDefault` keybinding, rename it to `modelPicker:thisSessionOnly` in keybindings.json (the `d` action was replaced by `s`)
|
||||
|
||||
## 2.1.152
|
||||
|
||||
- `/code-review --fix` now applies review findings to your working tree after the review, surfacing reuse, simplification, and efficiency suggestions; `/simplify` now invokes `/code-review --fix`
|
||||
|
||||
@@ -70,3 +70,7 @@ See our [data usage policies](https://code.claude.com/docs/en/data-usage).
|
||||
We have implemented several safeguards to protect your data, including limited retention periods for sensitive information, restricted access to user session data, and clear policies against using feedback for model training.
|
||||
|
||||
For full details, please review our [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms) and [Privacy Policy](https://www.anthropic.com/legal/privacy).
|
||||
|
||||
---
|
||||
|
||||
*Why do programmers love pair programming with Claude Code? Because it's the only colleague that reads the entire codebase before commenting on your PR.*
|
||||
|
||||
428
feed.xml
428
feed.xml
@@ -6,7 +6,220 @@
|
||||
<author><name>Anthropic</name></author>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://raw.githubusercontent.com/anthropics/claude-code/main/feed.xml"/>
|
||||
<updated>2026-05-27T01:30:52Z</updated>
|
||||
<updated>2026-06-02T21:58:16Z</updated>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.161</id>
|
||||
<title>Claude Code v2.1.161</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.161"/>
|
||||
<updated>2026-06-02T21:58:16Z</updated>
|
||||
<content type="html"><p>• OTEL_RESOURCE_ATTRIBUTES values are now included as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repo</p>
|
||||
<p>• claude agents rows now show done/total before the detail when work is fanned out; peek shows the longest-running item</p>
|
||||
<p>• /mcp now collapses claude.ai connectors you've never signed in to behind a "Show unused connectors" row</p>
|
||||
<p>• Parallel tool calls: a failed Bash command no longer cancels other calls in the same batch — each tool returns its own result independently</p>
|
||||
<p>• Fullscreen mode: clipboard now uses wl-copy/xclip/xsel on Linux when available, copies to both the clipboard and PRIMARY selection for middle-click paste, and the "hold {key} for native selection" hint now shows the correct key per terminal</p>
|
||||
<p>• Fixed the /effort dialog, workflow animations, and prompt keyword shimmer not honoring the "Reduce motion" setting</p>
|
||||
<p>• Fixed forceLoginOrgUUID/forceLoginMethod managed-settings policies blocking third-party provider sessions (Bedrock, Vertex, Foundry, Mantle) alongside the org pin (regression in 2.1.146)</p>
|
||||
<p>• Fixed background subagent output corrupting claude -p stdout when using --output-format text or json</p>
|
||||
<p>• Fixed /usage-credits starting a re-login for Team and Enterprise admins instead of pointing to the organization's usage settings page</p>
|
||||
<p>• Fixed /autofix-pr reporting "cannot run on the default branch" when the session is inside a git worktree or another repository</p>
|
||||
<p>• Fixed --resume picker not showing sessions from the current directory when it isn't a git worktree (e.g., jj workspaces)</p>
|
||||
<p>• Fixed Windows hooks that invoke bash explicitly (e.g., /usr/bin/bash script.sh) failing with "command not found" or "cannot execute binary file"</p>
|
||||
<p>• Fixed OpenTelemetry log events (user_prompt, api_request, tool_result, tool_decision) being silently dropped when emitted before telemetry initialization completed</p>
|
||||
<p>• Fixed claude mcp list/get/add printing secrets to the terminal: ${VAR} references are no longer expanded, and credential headers and URL secrets are redacted</p>
|
||||
<p>• Fixed Workflow agents spawned with isolation: "worktree" in background sessions being blocked from editing files inside their own worktree</p>
|
||||
<p>• Fixed background sessions dispatched from claude agents booting on a stale model from the daemon's environment instead of the model in settings.json</p>
|
||||
<p>• Fixed a potential crash when rendering Write tool results after resuming a session</p>
|
||||
<p>• Fixed completed subagents getting stuck showing as running when an error occurs while finalizing their result</p>
|
||||
<p>• Fixed EADDRINUSE errors from tools that bind Unix sockets under $TMPDIR when CLAUDE_CODE_TMPDIR is set to a deep path</p>
|
||||
<p>• Improved terminal rendering performance by stabilizing the layout engine's JIT compilation profile</p>
|
||||
<p>• Improved rendering performance for large file writes</p>
|
||||
<p>• [VSCode] Added a tip suggesting disabling terminal GPU acceleration (or running /terminal-setup) to fix garbled glyphs</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.160</id>
|
||||
<title>Claude Code v2.1.160</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.160"/>
|
||||
<updated>2026-06-02T02:10:17Z</updated>
|
||||
<content type="html"><p>• Added a prompt before writing to shell startup files (.zshenv, .zlogin, .bash_login) and ~/.config/git/, which could otherwise lead to unintended command execution</p>
|
||||
<p>• acceptEdits mode now prompts before writing build-tool config files that grant code execution (.npmrc, .yarnrc*, bunfig.toml, .bazelrc, .pre-commit-config.yaml, .devcontainer/, etc.)</p>
|
||||
<p>• Edit no longer requires a separate Read after viewing a file with grep: single-file grep/egrep/fgrep commands now satisfy the read-before-edit check</p>
|
||||
<p>• Fixed copy-on-select not writing to the Windows clipboard on WSL — now uses PowerShell interop instead of OSC 52, which terminals like MobaXterm don't support</p>
|
||||
<p>• Fixed restoring a completed session from claude agents dropping chat history and re-running the original prompt</p>
|
||||
<p>• Fixed background sessions re-attached after overnight retire losing their conversation and re-running the original prompt</p>
|
||||
<p>• Fixed claude --bg occasionally failing with "socket missing" when the background daemon was cold-starting on a loaded machine</p>
|
||||
<p>• Fixed an issue on Windows where the directory a background session was started in could not be deleted after claude rm until the background daemon exited</p>
|
||||
<p>• Fixed background agents that resumed work being shown under Completed in the agents list</p>
|
||||
<p>• Fixed claude agents freezing for several seconds when returning to the session list due to the auto-updater re-checking on every exit</p>
|
||||
<p>• Fixed Esc, arrow keys, and typing becoming unresponsive on Windows when attached to a background session or in the agent view while the host is under heavy CPU load</p>
|
||||
<p>• Fixed background agents emitting terminal sync-output markers to terminals that don't support them (Apple Terminal, tmux), causing render artifacts when entering a running agent</p>
|
||||
<p>• Fixed mouse wheel scrolling prompt history instead of the transcript right after opening a session from the agents list</p>
|
||||
<p>• Fixed CJK IME composition appearing at the bottom-left of the screen instead of at the input caret in the claude agents view</p>
|
||||
<p>• Fixed valid file:///C:/... links being rewritten to a broken path on Windows terminals with hyperlink support</p>
|
||||
<p>• Fixed voice mode failing to connect when the project directory or branch name contains non-ASCII or special characters</p>
|
||||
<p>• Fixed the auto mode unavailability message on third-party providers (Bedrock/Vertex/Foundry) to point to the CLAUDE_CODE_ENABLE_AUTO_MODE opt-in instead of incorrectly blaming the model</p>
|
||||
<p>• Fixed /effort ultracode incorrectly blaming the dynamic workflows setting when the model cannot run xhigh; ultracode is no longer offered on models that do not support it</p>
|
||||
<p>• Fixed model-not-found errors suggesting --model when running via the SDK or other hosts where the CLI flag doesn't apply</p>
|
||||
<p>• Fixed Claude's past replies disappearing from scrollback when resuming a brief mode session with brief mode turned off</p>
|
||||
<p>• Fixed vim mode p pasting on the line below instead of at the cursor when the register was yanked with v$</p>
|
||||
<p>• Improved performance of opening recently-inactive background agent sessions in claude agents</p>
|
||||
<p>• Improved auto mode classifier latency by reducing reasoning on routine actions, lowering the chance of "could not evaluate this action" blocks</p>
|
||||
<p>• Improved background-session teardown (claude rm/stop, idle reap) to send SIGTERM to running shell subprocesses before SIGKILL, so cleanup handlers run</p>
|
||||
<p>• Removed CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE; the environment variable is now a no-op</p>
|
||||
<p>• Removed the JetBrains plugin install suggestion from startup</p>
|
||||
<p>• Renamed the dynamic-workflow trigger keyword from workflow to ultracode. The word "workflow" no longer triggers a run; asking for one in your own words still works. The trigger keyword is highlighted in violet in the prompt input</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.159</id>
|
||||
<title>Claude Code v2.1.159</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.159"/>
|
||||
<updated>2026-05-31T19:42:41Z</updated>
|
||||
<content type="html"><p>• Internal infrastructure improvements (no user-facing changes)</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.158</id>
|
||||
<title>Claude Code v2.1.158</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.158"/>
|
||||
<updated>2026-05-30T02:42:09Z</updated>
|
||||
<content type="html"><p>• Auto mode is now available on Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8. Opt in by setting CLAUDE_CODE_ENABLE_AUTO_MODE=1</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.157</id>
|
||||
<title>Claude Code v2.1.157</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.157"/>
|
||||
<updated>2026-05-29T20:20:32Z</updated>
|
||||
<content type="html"><p>• Plugins in .claude/skills directories are now automatically loaded, no marketplace required</p>
|
||||
<p>• Added claude plugin init &lt;name&gt; to scaffold a new plugin in .claude/skills</p>
|
||||
<p>• Added autocomplete for /plugin arguments: subcommands, installed plugin names, and plugins from known marketplaces</p>
|
||||
<p>• claude agents: the agent field in settings.json is now honored for dispatched sessions, with --agent &lt;name&gt; to override it</p>
|
||||
<p>• EnterWorktree can now switch between Claude-managed worktrees mid-session</p>
|
||||
<p>• tool_decision telemetry events now include tool_parameters (bash commands, MCP/skill names) when OTEL_LOG_TOOL_DETAILS=1</p>
|
||||
<p>• Worktrees managed by Claude are now left unlocked when the agent finishes, so git worktree remove/prune can clean them up</p>
|
||||
<p>• Fixed unprocessable images (zero-byte, corrupt) attached via paste, MCP, or dialog crashing the request instead of becoming a text placeholder</p>
|
||||
<p>• Fixed sandbox network permission prompts appearing in auto and bypass-permissions mode when using the desktop app, IDE extensions, or SDK</p>
|
||||
<p>• Fixed claude agents completed sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell</p>
|
||||
<p>• Fixed claude agents pressing Esc not cancelling a slow "opening…", leaving the list unresponsive</p>
|
||||
<p>• Fixed background agent worktrees under .claude/worktrees/ being orphaned after the 30-day job retention sweep</p>
|
||||
<p>• Fixed background sessions re-attached after a sleep/wake not telling the model the correct date</p>
|
||||
<p>• Fixed copy-on-select in claude agents not reaching the system clipboard inside tmux with set-clipboard on (regression in 2.1.153)</p>
|
||||
<p>• Fixed --resume not reporting background subagents that were running when the previous Claude Code process exited</p>
|
||||
<p>• Fixed the --resume session picker leaving its contents on the terminal after exiting in fullscreen mode</p>
|
||||
<p>• Fixed --worktree and --worktree --tmux returning to the canonical repo root instead of the current linked worktree</p>
|
||||
<p>• Fixed the /model picker showing an incorrect "Newer version available" hint when the selected model is already the newest in its family; the pinned-model row now shows the model's description instead of its raw ID</p>
|
||||
<p>• Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode</p>
|
||||
<p>• Fixed the terminal freezing after approving the managed-settings security dialog at startup</p>
|
||||
<p>• Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws</p>
|
||||
<p>• Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals</p>
|
||||
<p>• WSL: fixed image paste (alt+v keybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer</p>
|
||||
<p>• Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations</p>
|
||||
<p>• /terminal-setup now disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering</p>
|
||||
<p>• The Feature of the Week credit-claim status now appears as a notification in the status area instead of a line above the prompt</p>
|
||||
<p>• claude agents: slash-command autocomplete in the dispatch input now matches substrings</p>
|
||||
<p>• Removed the "bash commands will be sandboxed" startup banner — sandbox status still shows in /status and when a command is blocked</p>
|
||||
<p>• Removed the "/ide for …" startup hint toast</p>
|
||||
<p>• [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it</p>
|
||||
<p>• [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8</p>
|
||||
<p>• Pressing backspace right after a workflow trigger keyword now dismisses the workflow request (same as alt+w) instead of deleting a character</p>
|
||||
<p>• Added a "Workflow keyword trigger" setting in /config to stop the word "workflow" in a prompt from triggering a dynamic workflow</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.156</id>
|
||||
<title>Claude Code v2.1.156</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.156"/>
|
||||
<updated>2026-05-29T01:42:17Z</updated>
|
||||
<content type="html"><p>• Fixed an issue when using Opus 4.8 where thinking blocks were modified, leading to API errors.</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.154</id>
|
||||
<title>Claude Code v2.1.154</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.154"/>
|
||||
<updated>2026-05-28T18:00:47Z</updated>
|
||||
<content type="html"><p>• Opus 4.8 is here! Now defaults to high effort · /effort xhigh for your hardest tasks</p>
|
||||
<p>• Introducing dynamic workflows: ask Claude to create a workflow and it orchestrates work across tens to hundreds of agents in the background, so you can take on larger, more complex tasks. Run /workflows to view your runs</p>
|
||||
<p>• Fast mode on Opus 4.8 is now available at a fraction of its previous cost: 2x the standard rate for 2.5x the speed</p>
|
||||
<p>• The lean system prompt is now the default for all models except Haiku, Sonnet, and Opus 4.7 and earlier</p>
|
||||
<p>• Claude now reserves the multiple-choice question prompt for decisions it genuinely cannot make itself, instead of asking when it already has enough context to proceed</p>
|
||||
<p>• /simplify now runs a cleanup-only review (reuse, simplification, efficiency, altitude) and applies the fixes, instead of running the full /code-review --fix bug-hunting review</p>
|
||||
<p>• Renamed the /effort slider labels from "Speed"/"Intelligence" to "Faster"/"Smarter" for clarity</p>
|
||||
<p>• claude agents: type ! &lt;command&gt; to run a shell command as a background session you can attach to and detach from. Also available as claude --bg --exec '&lt;command&gt;'</p>
|
||||
<p>• claude agents: /logout now signs you out instead of being sent to a background session</p>
|
||||
<p>• ←← to open the agents view now works on Bedrock, Vertex, Foundry, and with telemetry disabled</p>
|
||||
<p>• Claude in Chrome: pick which connected browser to use via /chrome → "Select browser…", or in-chat when a browser action runs with multiple connected</p>
|
||||
<p>• Plugins can now declare defaultEnabled: false in plugin.json or a marketplace entry; enable them with /plugin or claude plugin enable. Dependencies of enabled plugins are still enabled automatically</p>
|
||||
<p>• The /plugin Discover tab now pins plugins whose relevance signals match the current directory with a "suggested for this directory" annotation</p>
|
||||
<p>• Streaming tool execution is now always enabled, including when telemetry is disabled or on Bedrock/Vertex/Foundry (previously behind a feature flag)</p>
|
||||
<p>• Stdio MCP server subprocesses now receive CLAUDE_CODE_SESSION_ID and CLAUDECODE=1 in their environment</p>
|
||||
<p>• claude mcp list/get now show unapproved .mcp.json servers as ⏸ Pending approval instead of auto-approving and connecting when output is piped</p>
|
||||
<p>• /remote-control autocomplete now shows "Disconnect Remote Control" when Remote Control is already active</p>
|
||||
<p>• Added Claude Opus 4.8 support and 4.7 → 4.8 migration guidance to the /claude-api skill</p>
|
||||
<p>• Deprecated CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE (will be removed on 06/01). To use fast mode on Opus 4.6, switch with /model claude-opus-4-6[1m] and then /fast on</p>
|
||||
<p>• Improved the auto-mode classifier's detection of data exfiltration, particularly bulk transfers of repository contents</p>
|
||||
<p>• Fixed rm -rf $HOME not being blocked as a dangerous path when HOME has a trailing slash</p>
|
||||
<p>• Fixed $TMPDIR resolving to different directories in sandboxed vs unsandboxed Bash commands within the same session</p>
|
||||
<p>• Fixed unreadable highlighted-row text in claude agents when the Claude Code theme doesn't match the terminal background</p>
|
||||
<p>• Fixed background-agent completion notifications triggering premature "out of context" behavior on some 1M-context models</p>
|
||||
<p>• Fixed background-session classifier losing the user's goal when a scheduled /command fires</p>
|
||||
<p>• Fixed pinned background sessions respawning every minute after a Claude Code update, causing repeated agent-start notifications and process churn at idle</p>
|
||||
<p>• Fixed background sessions stuck at "blocked", "running", or "working" not retiring after the idle grace period</p>
|
||||
<p>• Fixed subagents in background sessions bypassing the worktree-isolation guard and writing to the shared checkout</p>
|
||||
<p>• Fixed orphaned claude --bg-pty-host processes spinning at 100% CPU after the daemon exits on macOS</p>
|
||||
<p>• Fixed number key shortcuts not working for options shown below the divider in option dialogs</p>
|
||||
<p>• Fixed worktree.baseRef: "head" resolving to the main checkout's HEAD instead of the current worktree's HEAD when spawning subagents or calling EnterWorktree from inside a linked worktree</p>
|
||||
<p>• Fixed a stray leading space on wrapped lines when the previous line ended exactly at the terminal width</p>
|
||||
<p>• Fixed intermittent terminal rendering corruption in VS Code by capping the number of distinct colors the thinking spinner produces</p>
|
||||
<p>• Fixed plan file names including [Image #N] / [Pasted text #N] placeholders when a plan-mode prompt starts with pasted images or text</p>
|
||||
<p>• Fixed a phantom expand/click affordance on colored tool output: short ANSI-colored lines that fit on screen no longer show a "ctrl+o to expand" hint</p>
|
||||
<p>• Fixed a single invalid allowedMcpServers/deniedMcpServers entry in managed settings discarding all managed-settings policy; the bad entry is now dropped with a claude doctor warning</p>
|
||||
<p>• Fixed API 400 errors on models that don't support the effort parameter when CLAUDE_CODE_ALWAYS_ENABLE_EFFORT is set</p>
|
||||
<p>• Windows: Fixed update failures caused by claude.exe being in use showing a generic error instead of telling you to close other sessions and retry</p>
|
||||
<p>• Removed the stale "&amp; for background" hint from the shortcuts help panel</p>
|
||||
<p>• [VSCode] Auto mode no longer requires the bypass-permissions setting to appear in the mode picker, and a dismissable notice on the new-session screen explains auto mode the first time it's active</p>
|
||||
<p>• Fixed the task panel below the prompt showing a stray unselectable "main" row when only a workflow is running</p>
|
||||
<p>• Fixed /mcp tools list and tool detail rendering when MCP servers have long or multi-line tool names or long descriptions</p>
|
||||
<p>• Fixed the /model picker not showing fast mode pricing on the Default option for API (pay-as-you-go) users when fast mode is on</p>
|
||||
<p>• Fixed auto mode incorrectly blocking actions with "could not evaluate this action" when the safety classifier ran out of output tokens while reasoning</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.153</id>
|
||||
<title>Claude Code v2.1.153</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.153"/>
|
||||
<updated>2026-05-28T00:52:02Z</updated>
|
||||
<content type="html"><p>• Added skipLfs option to github/git plugin marketplace sources to skip Git LFS downloads during clone and update</p>
|
||||
<p>• Claude Code now shows a one-time notice when your npm global install can't auto-update; /doctor lists the fixes</p>
|
||||
<p>• Status line commands now receive COLUMNS and LINES environment variables so scripts can size output to the terminal width</p>
|
||||
<p>• claude agents: autocomplete in the dispatch input now suggests native slash commands and bundled skills, not just project skills</p>
|
||||
<p>• claude agents: PR column now shows PR #N for a single PR or N PRs for multiple</p>
|
||||
<p>• claude doctor now shows the result of your last update attempt</p>
|
||||
<p>• Combined the separate "needs authentication" startup notifications for MCP servers and connectors into a single message</p>
|
||||
<p>• macOS: background agents now appear as "Claude Code" in Privacy &amp; Security and keep their permission grants across upgrades</p>
|
||||
<p>• Fixed stateful MCP servers without the optional GET SSE stream reconnect-looping on tools/list (regression in v2.1.147)</p>
|
||||
<p>• Fixed a regression where a custom API gateway could receive the user's Anthropic OAuth credential instead of the gateway's own token</p>
|
||||
<p>• Fixed subagent (Agent tool) frontmatter MCP servers ignoring --strict-mcp-config, --bare, remote mode, enterprise managed MCP config, and managed-settings MCP server allow/deny policies</p>
|
||||
<p>• --strict-mcp-config no longer strips inline mcpServers from explicitly-passed agent definitions (--agents / SDK agents), and blocked subagent MCP servers now surface a visible warning</p>
|
||||
<p>• Fixed the Windows PowerShell installer reporting "Installation complete!" when installation actually failed</p>
|
||||
<p>• Fixed claude update installing the latest version instead of the configured release channel's version for npm installations</p>
|
||||
<p>• Fixed excessive memory usage (multiple GB) when resuming a session by transcript file path on machines with many stored sessions</p>
|
||||
<p>• Fixed claude agents and claude --bg running on a stale daemon started before binary-takeover support, even after upgrading</p>
|
||||
<p>• Fixed a hang where the CLI could fail to exit when stdin was closed without EOF in stream-json mode, leaving a stale session marker behind</p>
|
||||
<p>• Fixed malformed file:// links in Claude's responses not being clickable in the terminal</p>
|
||||
<p>• Fixed claude --help rendering unwrapped output on terminals narrower than 92 columns</p>
|
||||
<p>• Fixed MCP tool progress notifications not rendering in the collapsed tool view</p>
|
||||
<p>• Fixed Agent tool with subagent_type: 'claude' running in an undocumented temporary worktree, which could silently discard outputs written to gitignored paths</p>
|
||||
<p>• /bg while Claude is responding now continues the response in the background session instead of dropping it</p>
|
||||
<p>• Fixed /btw keyboard shortcuts becoming unresponsive in background sessions while a task is running</p>
|
||||
<p>• Fixed background sessions writing temp files to $CLAUDE_JOB_DIR triggering a "sensitive file" permission prompt</p>
|
||||
<p>• Fixed recovering a background agent whose working directory was deleted showing a truncated stack trace instead of a clear error message</p>
|
||||
<p>• Fixed EnterWorktree not being available immediately in background sessions (previously required ToolSearch first)</p>
|
||||
<p>• Fixed cmd+k in iTerm2/Terminal.app not repainting attached background sessions</p>
|
||||
<p>• Fixed the IME candidate window appearing at the bottom of the screen instead of next to the input caret in attached background sessions on Windows</p>
|
||||
<p>• Fixed background-color bleed when attaching to a background agent from 256-color-only terminals after the agent had rendered file diffs</p>
|
||||
<p>• Fixed /copy and copy-on-select silently failing to update the system clipboard when attached to a background session inside tmux</p>
|
||||
<p>• Fixed opening claude agents with Remote Control enabled leaving zombie session entries on the Code tab after exiting</p>
|
||||
<p>• Fixed /rename in background sessions not updating the session banner immediately</p>
|
||||
<p>• Fixed Windows update rollback: if a Windows update fails, Claude Code now restores the original executable by copy and tells you how to recover</p>
|
||||
<p>• [VSCode] Fixed Claude Code processes not shutting down cleanly when VS Code closed on Windows, causing false "unclean exit" reports and orphaned MCP servers</p>
|
||||
<p>• /model now saves your selection as the default for new sessions (matching the IDE). Press s in the picker to switch models for the current session only.</p>
|
||||
<p>• If you customized the modelPicker:setAsDefault keybinding, rename it to modelPicker:thisSessionOnly in keybindings.json (the d action was replaced by s)</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.152</id>
|
||||
<title>Claude Code v2.1.152</title>
|
||||
@@ -424,217 +637,4 @@
|
||||
<p>• Fixed claude plugin update not preserving cross-plugin symlinks inside a marketplace</p>
|
||||
<p>• [VSCode] Press Cmd/Ctrl+Shift+T to reopen the most recently closed session tab, configurable via claudeCode.enableReopenClosedSessionShortcut</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.138</id>
|
||||
<title>Claude Code v2.1.138</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.138"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• Internal fixes</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.137</id>
|
||||
<title>Claude Code v2.1.137</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.137"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• [VSCode] Fixed extension failing to activate on Windows</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.136</id>
|
||||
<title>Claude Code v2.1.136</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.136"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• Added CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL to re-enable the session quality survey for enterprises capturing responses through OpenTelemetry</p>
|
||||
<p>• Added settings.autoMode.hard_deny for auto mode classifier rules that block unconditionally regardless of user intent or allow exceptions</p>
|
||||
<p>• Fixed MCP servers configured in .mcp.json, plugins, and claude.ai connectors silently disappearing after /clear in the VS Code extension, JetBrains plugin, and Agent SDK</p>
|
||||
<p>• Fixed a rare login loop where a concurrent credential write could overwrite a freshly-rotated OAuth token and force re-login</p>
|
||||
<p>• Fixed MCP OAuth refresh tokens being lost when multiple servers refresh concurrently — users with several remote MCP servers should no longer need daily re-authentication</p>
|
||||
<p>• Fixed an API error (400) when extended thinking emitted a redacted thinking block after a tool call</p>
|
||||
<p>• Fixed --resume / --continue not finding sessions when the project path contains underscores</p>
|
||||
<p>• Fixed plan mode not blocking file writes when a matching Edit(...) allow rule exists</p>
|
||||
<p>• WSL2: image paste from Windows clipboard now works via a PowerShell fallback when xclip/wl-paste cannot read image data</p>
|
||||
<p>• Fixed plugin Stop/UserPromptSubmit hooks failing when cache cleanup deletes a version still in use by a running session</p>
|
||||
<p>• Improved visual consistency across slash command dialogs: standardized footer hints, dialog spacing, and arrow-key styling, and the dialog frame now appears immediately during loading instead of popping in after</p>
|
||||
<p>• Fixed colors appearing at wrong positions in bash command output and markdown code blocks</p>
|
||||
<p>• Fixed ReasonML diffs rendering corrupted "undefined" text artifacts at word-diff boundaries</p>
|
||||
<p>• Fixed worktree exit dialog warning about uncommitted files in the wrong directory after worktree removal</p>
|
||||
<p>• Fixed @ file picker not matching files created mid-session in small non-git directories</p>
|
||||
<p>• Fixed @-mention file picker not finding files in directories with more than 100 entries</p>
|
||||
<p>• Fixed failed tool calls not being click-to-expand in fullscreen mode when their output was truncated</p>
|
||||
<p>• Fixed Backspace and Ctrl+Backspace getting swapped after using Ctrl+G to open an external editor on terminals with persistent extended-key modes</p>
|
||||
<p>• Fixed /usage weekly reset showing time of day instead of the calendar date</p>
|
||||
<p>• Fixed welcome banner ellipsis causing column overflow on CJK terminals</p>
|
||||
<p>• Fixed /insights crash when session history contains tool calls with malformed input fields</p>
|
||||
<p>• Fixed a renderer crash when a tool's collapsibility classification changes mid-session</p>
|
||||
<p>• Fixed a skills entry in plugin.json hiding the plugin's default skills/ directory, and listing a file path now shows an error instead of failing silently</p>
|
||||
<p>• Fixed IDE shell-integration lock files not respecting CLAUDE_CONFIG_DIR</p>
|
||||
<p>• Fixed trailing whitespace in copied terminal output during streaming</p>
|
||||
<p>• Fixed plugin uninstall and enable/disable not matching slugs case-insensitively</p>
|
||||
<p>• Fixed tool error truncation marker showing a negative count for surrogate-pair strings</p>
|
||||
<p>• Fixed env vars from CLAUDE_ENV_FILE SessionStart hooks going stale after /resume or /clear</p>
|
||||
<p>• Fixed /branch saving a multi-line session title when given a pasted multi-line name</p>
|
||||
<p>• Fixed a stray leading space on the second line of wrapped text at the column boundary</p>
|
||||
<p>• Fixed Esc not dismissing dialogs in /install-github-app, /desktop, /resume, and /web-setup</p>
|
||||
<p>• Fixed /doctor MCP schema errors not naming the missing field or showing the source file path</p>
|
||||
<p>• Fixed Bash permission prompts showing an internal parser diagnostic instead of a user-readable explanation</p>
|
||||
<p>• Fixed plugin slash commands with spaces (e.g. /myplugin review) not resolving to their namespaced form</p>
|
||||
<p>• Fixed AskUserQuestion discarding multi-select answers when supplied as an array</p>
|
||||
<p>• Fixed /clear &lt;name&gt; not labeling the cleared session for /resume</p>
|
||||
<p>• Fixed CronList output missing qualifiers and the scheduled prompt</p>
|
||||
<p>• Fixed "Jump to bottom" overlay leaving color artifacts on CJK characters in fullscreen mode</p>
|
||||
<p>• Fixed wide markdown tables leaving a stale bordered render in terminal scrollback while streaming</p>
|
||||
<p>• Fixed pasted text being silently dropped when a long prompt with a pasted-text placeholder was auto-truncated</p>
|
||||
<p>• Fixed /release-notes getting stuck on an old version after a failed changelog refresh</p>
|
||||
<p>• Fixed /mcp server list not scrolling when there are more servers than fit in the terminal</p>
|
||||
<p>• Fixed mid-input slash command autocomplete not working after an initial slash command</p>
|
||||
<p>• Fixed scrolling to bottom re-engaging auto-follow with autoScrollEnabled: false</p>
|
||||
<p>• Fixed prompt suggestions being auto-submitted by Enter on an empty input instead of requiring Tab or arrow to accept</p>
|
||||
<p>• Fixed keyboard shortcut hints not reflecting rebound keys from keybindings.json</p>
|
||||
<p>• Fixed /settings language change being reverted on Escape after confirming</p>
|
||||
<p>• Fixed /terminal-setup only appearing in autocomplete on exact name match instead of partial prefixes</p>
|
||||
<p>• Fixed "Chat about this" on an AskUserQuestion dialog erasing the question text</p>
|
||||
<p>• Fixed MCP tool results being invisible when the server returns content blocks</p>
|
||||
<p>• Improved error message when --worktree collides with an existing or stale worktree</p>
|
||||
<p>• Changed plugin marketplace removal key to d (matching delete elsewhere) instead of r which collided with retry</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.133</id>
|
||||
<title>Claude Code v2.1.133</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.133"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• Added worktree.baseRef setting (fresh | head) to choose whether --worktree, EnterWorktree, and agent-isolation worktrees branch from origin/&lt;default&gt; or local HEAD. Note: the default fresh changes EnterWorktree's base back to origin/&lt;default&gt; (it has been local HEAD since 2.1.128) — set worktree.baseRef: "head" to keep unpushed commits in new worktrees</p>
|
||||
<p>• Added sandbox.bwrapPath and sandbox.socatPath managed settings (Linux/WSL) to specify custom bubblewrap and socat binary locations</p>
|
||||
<p>• Added parentSettingsBehavior admin-tier key ('first-wins' | 'merge') to let admins opt SDK managedSettings (parent tier) into the policy merge</p>
|
||||
<p>• Hooks now receive the active effort level via the effort.level JSON input field and the $CLAUDE_EFFORT environment variable, and Bash tool commands can read $CLAUDE_EFFORT</p>
|
||||
<p>• Improved focus mode behavior</p>
|
||||
<p>• Improved memory usage by releasing warm-spare background workers under memory pressure</p>
|
||||
<p>• Fixed parallel sessions all dead-ending at 401 after a refresh-token race wiped shared credentials</p>
|
||||
<p>• Fixed Edit/Write allow rules scoped to a drive root (C:\) or POSIX / matching incorrectly and always prompting</p>
|
||||
<p>• Fixed an unhandled rejection (ECOMPROMISED) when a history or session-log file lock is compromised by clock skew or slow disk</p>
|
||||
<p>• Fixed pressing Esc during conversation compaction showing a spurious "Error compacting conversation" notification</p>
|
||||
<p>• Fixed HTTP(S)_PROXY / NO_PROXY / mTLS not being respected for the full MCP OAuth flow including discovery, dynamic client registration, token exchange, and token refresh</p>
|
||||
<p>• Fixed Read/Write/Edit being denied on mapped network drives passed via --add-dir / SDK additionalDirectories</p>
|
||||
<p>• Fixed Remote Control stop/interrupt from claude.ai not fully canceling the CLI session the same way local Esc does, causing queued messages to never advance after interrupting a stuck tool or prompt</p>
|
||||
<p>• Fixed /effort in one session unexpectedly changing the effort level of other concurrent sessions, and a related issue where an IDE effort change could be silently dropped</p>
|
||||
<p>• Fixed subagents not discovering project, user, or plugin skills via the Skill tool</p>
|
||||
<p>• claude --help now lists --remote-control alongside --remote-control-session-name-prefix</p>
|
||||
<p>• [VSCode] Fixed claudeCode.claudeProcessWrapper failing with "Unsupported platform" when the extension build doesn't bundle a Claude binary</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.132</id>
|
||||
<title>Claude Code v2.1.132</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.132"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• Added CLAUDE_CODE_SESSION_ID environment variable to the Bash tool subprocess environment, matching the session_id passed to hooks</p>
|
||||
<p>• Added CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 env var to opt out of the fullscreen alternate-screen renderer and keep the conversation in the terminal's native scrollback</p>
|
||||
<p>• Added a "Pasting…" footer hint while a Ctrl+V image paste is being read from the clipboard</p>
|
||||
<p>• Fixed external SIGINT (e.g. IDE stop button, kill -INT) not running graceful shutdown — terminal modes are now restored and the --resume hint is printed instead of an abrupt exit</p>
|
||||
<p>• Fixed an uncaught exception when the terminal is closed or SSH disconnects mid-session under the native build</p>
|
||||
<p>• Fixed --resume failing with no low surrogate in string when a tool error truncation split an emoji; pre-corrupted sessions are sanitized on load</p>
|
||||
<p>• Fixed --permission-mode flag being ignored when resuming a plan-mode session with -p --continue/--resume, and plan mode not being re-applied after ExitPlanMode within the same session</p>
|
||||
<p>• Fixed fullscreen mode showing a blank screen after laptop sleep/wake or Ctrl+Z/fg until the next keystroke or stream output</p>
|
||||
<p>• Fixed cursor landing mid-grapheme on Ctrl+E/A/K/U/arrow keys when an Indic conjunct or ZWJ emoji wraps across lines</p>
|
||||
<p>• Fixed vim operators corrupting text containing decomposed (NFD) accented characters</p>
|
||||
<p>• Fixed pasting text starting with / silently swallowing the input or triggering an unknown-command reply</p>
|
||||
<p>• Fixed pasting dumping stray escape sequences into the prompt when focus events or mouse-tracking reports interleave with the bracketed paste</p>
|
||||
<p>• Fixed mouse wheel scrolling being too fast in Cursor and VS Code 1.92–1.104 due to an upstream xterm.js bug</p>
|
||||
<p>• Fixed scroll-wheel handling in JetBrains IDE 2025.2 terminals (spurious arrow keys, wrong-direction events, runaway acceleration)</p>
|
||||
<p>• Fixed /usage Ctrl+S hanging when copying the stats screenshot to the clipboard on Linux/X11</p>
|
||||
<p>• Fixed /terminal-setup showing a contradictory error in Windows Terminal — Shift+Enter is natively supported there</p>
|
||||
<p>• Fixed /effort picker not reflecting the CLAUDE_CODE_EFFORT_LEVEL env var override</p>
|
||||
<p>• Fixed /status showing the wrong default model for some users</p>
|
||||
<p>• Fixed slash command autocomplete popup being capped at ~3–5 visible commands instead of scaling with terminal height</p>
|
||||
<p>• Fixed statusline context_window token counts reflecting cumulative session totals instead of current context usage</p>
|
||||
<p>• Fixed Alt+T (thinking toggle) not working on macOS terminals without "Option as Meta" enabled (iTerm2, Terminal.app defaults)</p>
|
||||
<p>• Fixed dead keyboard input on Windows after re-opening a background session from claude agents</p>
|
||||
<p>• Fixed unbounded memory growth (10GB+ RSS) when a stdio MCP server writes non-protocol data to stdout</p>
|
||||
<p>• Fixed MCP servers that connect but fail tools/list silently showing 0 tools — they now retry once and show "connected · tools fetch failed" in /mcp</p>
|
||||
<p>• Fixed unauthorized claude.ai MCP connectors showing as "failed" instead of "needs auth", and headless -p mode retrying non-transient 4xx connection failures</p>
|
||||
<p>• Improved visual consistency in slash command dialogs and /login, /upgrade, /extra-usage dialog spacing</p>
|
||||
<p>• Updated the /tui fullscreen startup banner to describe additional renderer benefits (lower memory usage, mouse support, auto-copy on select)</p>
|
||||
<p>• Fixed Bedrock and Vertex 400 errors when ENABLE_PROMPT_CACHING_1H is set</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.131</id>
|
||||
<title>Claude Code v2.1.131</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.131"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• Fixed VS Code extension failing to activate on Windows due to a hardcoded build path in the bundled SDK (createRequire polyfill bug)</p>
|
||||
<p>• Fixed Mantle endpoint authentication failing with missing x-api-key header</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.129</id>
|
||||
<title>Claude Code v2.1.129</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.129"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• Added --plugin-url &lt;url&gt; flag to fetch a plugin .zip archive from a URL for the current session</p>
|
||||
<p>• Added CLAUDE_CODE_FORCE_SYNC_OUTPUT=1 env var to force-enable synchronized output on terminals that auto-detection misses (e.g. Emacs eat)</p>
|
||||
<p>• Added CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE: when set on Homebrew or WinGet installations, Claude Code runs the upgrade command in the background and prompts to restart</p>
|
||||
<p>• Plugin manifests: themes and monitors should now be declared under "experimental": { ... }. Top-level declarations still work but claude plugin validate will warn</p>
|
||||
<p>• Gateway /v1/models discovery for the /model picker is now opt-in via CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1 (was automatic in 2.1.126–2.1.128)</p>
|
||||
<p>• Ctrl+R history picker now defaults to searching all prompts across all projects, matching pre-2.1.124 behavior. Press Ctrl+S to narrow to the current project or session</p>
|
||||
<p>• Third-party deployments (Bedrock, Vertex, Foundry, or ANTHROPIC_BASE_URL gateway) no longer see spinner tips pointing at first-party Anthropic surfaces</p>
|
||||
<p>• skillOverrides setting now works: off hides from model and /, user-invocable-only hides from model only, name-only collapses description</p>
|
||||
<p>• The claude_code.pull_request.count OTel metric now counts PRs/MRs created via MCP tools, not just shell commands</p>
|
||||
<p>• Policy refusal error messages now include the API Request ID for easier support debugging</p>
|
||||
<p>• Fixed API errors with unrecognized 400 status codes showing raw JSON instead of the underlying error message</p>
|
||||
<p>• Fixed /clear not resetting the terminal tab title after a conversation</p>
|
||||
<p>• Fixed session title chip from /rename disappearing while a permission or other dialog is active</p>
|
||||
<p>• Fixed agent panel below the prompt being hidden when subagents are running (regression in 2.1.122)</p>
|
||||
<p>• Fixed external-editor handoff (Ctrl+G) blanking the conversation history above the prompt</p>
|
||||
<p>• Fixed /context dumping its rendered ASCII visualization grid into the conversation, wasting ~1.6k tokens per call</p>
|
||||
<p>• Fixed /agents Library list arrow-key navigation: the highlighted agent now stays visible when the list exceeds the viewport</p>
|
||||
<p>• Fixed /branch success message not including the new branch's session id for /resume</p>
|
||||
<p>• Fixed bold headers with keycap/ZWJ/skin-tone emoji losing trailing characters in fullscreen mode</p>
|
||||
<p>• Fixed server-managed settings policy not applying for enterprise/team users whose stored OAuth credentials lacked the user:inference scope</p>
|
||||
<p>• Fixed OAuth refresh race after wake-from-sleep that could log out all running sessions</p>
|
||||
<p>• Fixed 1-hour prompt cache TTL being silently downgraded to 5 minutes</p>
|
||||
<p>• Fixed cache-miss warning appearing spuriously after /clear or compaction when changing /effort or /model</p>
|
||||
<p>• Fixed Bash(mkdir *), Bash(touch *) and similar allow rules not being honored for in-project paths</p>
|
||||
<p>• Fixed deniedMcpServers patterns with a *:// scheme wildcard not matching mixed-case hostnames</p>
|
||||
<p>• Fixed harmless WebSocket warning being logged as an error in --debug during voice mode</p>
|
||||
<p>• [VSCode] Fixed /clear not clearing the conversation context and displayed transcript</p></content>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>https://github.com/anthropics/claude-code/releases/tag/v2.1.128</id>
|
||||
<title>Claude Code v2.1.128</title>
|
||||
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.128"/>
|
||||
<updated>2026-05-18T01:52:01Z</updated>
|
||||
<content type="html"><p>• Bare /color (no args) now picks a random session color</p>
|
||||
<p>• /mcp now shows the tool count for connected servers and flags servers that connected with 0 tools</p>
|
||||
<p>• --plugin-dir now accepts .zip plugin archives in addition to directories</p>
|
||||
<p>• --channels now works with console (API key) authentication — console orgs with managed settings must set channelsEnabled: true to enable</p>
|
||||
<p>• Updated /model picker: collapsed duplicate Opus 4.7 entries, and current Opus now shows as "Opus" instead of "Opus 4.7"</p>
|
||||
<p>• Subprocesses (Bash, hooks, MCP, LSP) no longer inherit OTEL_* environment variables, so OTEL-instrumented apps run via the Bash tool no longer pick up the CLI's own OTLP endpoint</p>
|
||||
<p>• MCP: workspace is now a reserved server name — existing servers with that name will be skipped with a warning</p>
|
||||
<p>• Reconnecting MCP servers no longer flood the conversation with full tool-name lists on every reconnect — re-announced tools are summarized by server prefix</p>
|
||||
<p>• SDK hosts now receive a persistent localSettings suggestion for Bash permission prompts, so "Always allow" writes to .claude/settings.local.json</p>
|
||||
<p>• EnterWorktree now creates the new branch from local HEAD as documented, instead of origin/&lt;default-branch&gt; — unpushed commits are no longer dropped</p>
|
||||
<p>• Auto mode: when the classifier can't evaluate an action, the error now includes a hint (retry, /compact, or run with --debug)</p>
|
||||
<p>• Fixed focus mode briefly dimming the previous response when submitting a new prompt</p>
|
||||
<p>• Fixed stray "4;0;" desktop notification on every /exit in Kitty and other terminals that interpret OSC 9 as a notification</p>
|
||||
<p>• Fixed Remote Control showing an empty "Opening your options…" message on rate limit instead of actionable upsell options</p>
|
||||
<p>• Fixed drag-and-drop image upload hanging on "Pasting text…" when the image read fails</p>
|
||||
<p>• Fixed crash loop when piping very large input (&gt;10 MB) to claude -p via stdin</p>
|
||||
<p>• Fixed long URLs not being individually clickable on every wrapped row in fullscreen mode</p>
|
||||
<p>• Fixed /plugin Components panel showing "Marketplace 'inline' not found" for plugins loaded via --plugin-dir</p>
|
||||
<p>• Fixed MCP tool results dropping images when the server returns both structured content and content blocks</p>
|
||||
<p>• Fixed fenced code blocks inside list items carrying leading whitespace into the clipboard on copy-paste</p>
|
||||
<p>• Fixed tab navigation in /config stranding focus — the tab header now stays focused so arrows and Esc keep working</p>
|
||||
<p>• Fixed markdown link labels being lost on terminals without OSC 8 hyperlink support — links now render as label (url) instead of just the URL</p>
|
||||
<p>• Fixed sessions on 1M-context models with a smaller autocompact window being falsely blocked with "Prompt is too long" before reaching the actual API limit</p>
|
||||
<p>• Fixed parallel shell tool calls: a failing read-only command (grep, git diff, ls) no longer cancels sibling calls</p>
|
||||
<p>• Fixed banner showing "with X effort" on models that don't support effort</p>
|
||||
<p>• Fixed /fast on 3P providers fuzzy-matching to an unrelated skill instead of showing "not available"</p>
|
||||
<p>• Fixed Bedrock default model resolving to global.* instead of the region-appropriate prefix</p>
|
||||
<p>• Fixed vim mode: Space in NORMAL mode now moves the cursor right, matching standard vi/vim behavior</p>
|
||||
<p>• Fixed terminal progress indicator (OSC 9;4) flickering off between tool calls — stays visible across the full turn</p>
|
||||
<p>• Fixed /rename without args failing on resumed sessions whose last entry is a compact boundary</p>
|
||||
<p>• Fixed stale "remote-control is active" status lines from prior sessions appearing after --resume/--continue</p>
|
||||
<p>• Fixed stale installed_plugins.json entries pointing at deleted cache directories polluting PATH</p>
|
||||
<p>• Fixed MCP stdio servers receiving corrupted arguments when CLAUDE_CODE_SHELL_PREFIX is set and an argument contains spaces or shell metacharacters</p>
|
||||
<p>• Fixed sub-agent progress summaries missing the prompt cache (~3× cache_creation reduction)</p>
|
||||
<p>• Fixed /plugin update never detecting new versions of npm-sourced plugins</p>
|
||||
<p>• Fixed sub-agent summaries firing repeatedly while a sub-agent's transcript is static, capping worst-case token cost on idle sub-agents</p>
|
||||
<p>• Headless --output-format stream-json: init.plugin_errors now includes --plugin-dir load failures in addition to dependency demotions</p></content>
|
||||
</entry>
|
||||
</feed>
|
||||
|
||||
Reference in New Issue
Block a user