Follow Discord

Claude Code v2.1.326

858 entries read Grouped into 773 v2.1.325 → v2.1.326 Mods API: +120 added · 3 removed · 30 changed · 64 docs only Markdown JSON Follow Unofficial

You can now post a message from a cloud session into a Claude Project with /send-to-project, after you check it and confirm. Agent SDK apps can send MCP server settings over stdin with the new mcpServersDelivery option. The old command-line way of passing them now shows a warning. The new CLAUDE_CODE_NEW_RENDERER environment variable chooses whether Claude Code draws the screen with a new terminal renderer. Self-hosted runners gain a --use-anthropic-gh flag that gives sessions a built-in gh api for GitHub, on by default. Headless start-up now also reads CLAUDE_CODE_MCP_PREWAIT_SERVERS_MS_BY_NAME, which appears to set a wait time for each named MCP server.

This release has 71 entries in the build that are not switched on yet, and a part of them is named here. Claude Code can refuse a prompt that is too big for the model's context window before it is sent. It can start uploading the unchanged start of a long conversation while you are still typing. Bash commands can be capped on how many processes they start, so a runaway command cannot fill the container. A message waiting in the queue can cut short work in progress. A reworked screen renderer with inline and fullscreen modes sits behind an option.

In headless mode, an interrupt now marks a cut-off turn as stopped instead of running it again. Apps that start Claude Code through the SDK now get the MCP servers that come with managed settings. Files attached to a prompt that is quietly resent are now fetched again. Session files now count checkpoints and can repair more than one partly written ending. The Workflow tool no longer accepts a runId to act on an existing run.

Written by our agent from the shipped bundle, not by Anthropic.

Five to try today

Picked from 25 you can use now
  1. PreToolUse hook matchers gain a whenUnanswered setting for SDK hosts

    SDK hosts can set whenUnanswered on a PreToolUse hook matcher to control what happens to a tool call nobody answers

    Sessions & agents
  2. Apps built on the SDK can send MCP servers at startup instead of on the command line

    SDK apps can hand MCP servers to Claude Code in the initialize request with mcpServersDelivery, and the SDK checks mcp_servers_applied in reply

    Sessions & agents
  3. Self-hosted runner offers a built-in gh api and renews tool-server tokens

    The self-hosted runner gains --use-anthropic-gh, on by default, which offers sessions a built-in gh api, and it can now keep tool-server tokens renewed

    Elsewhere
  4. Office file uploads can include a kept PDF preview in sandboxed deployments

    New SANDBOX_OFFICE_PDF_DIR and SANDBOX_OFFICE_PDF_SEND variables let .docx and .pptx uploads attach a kept PDF preview, and join the host-owned env var list

    Elsewhere
  5. A new terminal renderer can be chosen with CLAUDE_CODE_NEW_RENDERER

    A new environment variable, CLAUDE_CODE_NEW_RENDERER, chooses whether Claude Code draws the screen with a new terminal renderer

    Interface

Want the reasoning? Read walks the 55 entries that probably matter to you, each one opening to what changed and why.

Read this release → Every row →
712 of 773 shownClear
Reading as
Show only
Who it's for
Tier
Flag state
Names
Pick an entry · j / k steps through · rest on a row to peek
424 entries here

Improvementsopen

Continued from page 2

8 more of these are in What probably matters to you, on page 1.

↑Improved
You'll notice
Useful3 Signal1
Markdown unclear

Reworked markdown display, with better Windows paths and fewer links#

Claude Code's reworked markdown display skips tables, quotes and links, keeps Windows paths intact and makes fewer hyperlinks

Unclear It is not clear where the reworked display is used, so it may not apply to every reply.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal1
Loops unclear

Esc and Ctrl-C can now cancel a pending /loop wakeup or usage-limit wait#

Esc and Ctrl-C now follow a fixed set of rules that include cancelling a waiting /loop run or a wait for a usage limit to reset

Unclear It is not clear which of these Esc and Ctrl-C behaviours are different from the previous build.

Details 0 0 Feedback
/loop
↑Improved
You'll notice
Useful2 Signal1
Group of 2 Hooks unclear

HTTP hooks: managed-settings allowlist precedence and dropped length headers#

HTTP hook allowlists in other settings files no longer apply to managed hooks, and Content-Length and Transfer-Encoding headers are ignored with a warning

Unclear It is not clear whether Claude Code now behaves this way or only the setting descriptions changed.

Details 0 0 Feedback
httpHookAllowedUrlshttpHookAllowedEnvVars
↑Improved
You'll notice
Useful2 Signal1
Goals

A paused /goal now shows as paused#

The status line, panel and status text for /goal now show when a goal is paused, with Claude's reason and how to continue

Details 0 0 Feedback
/goal
↑Improved
You'll notice
Useful2 Signal1
Settings

Failed settings edits now show the valid keys#

When Claude makes an invalid settings edit, the error now lists the schema for the keys it changed and the valid top-level keys

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Elsewhere unclear

Web search shows progress while it retries#

While a web search is retrying, Claude Code can now show its retry status and the query being searched

Unclear Under which condition Claude Code leaves the retry status out is not known.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
PowerShell unclear

PowerShell commands that can load code while being read are refused#

Claude Code now refuses PowerShell commands with using module, using assembly, #requires or Import-DscResource instead of analysing them

Unclear This sits behind a remote switch whose default is not known, so whether the refusal applies to you is unclear.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Bash Safety unclear

More shell commands now ask for permission instead of running automatically#

Commands that set a variable which can make git run a program, or that use a variable or loop that can't be checked, now ask first

Unclear It is not clear whether the check for variables and loops that can't be checked is switched on for anyone.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Models

Model and effort picker gets a new layout#

The model and effort picker now has scroll indicators and a footer showing what Enter does, and drops its "(not saved)" title text

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Terminal UI unclear

Scroll speed is now set with a slider#

The scroll speed dialog now uses a Speed slider, with Enter to save, r to reset and Esc to cancel

Unclear Which keys move the slider is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Internals

More addresses count as local or private network#

Claude Code now counts more web addresses as local or private network, including names without a dot and more private address ranges

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Permissions

You are told when a permission rule could not be saved#

If Claude Code cannot save a permission rule you chose, it now tells you, with its own message when your organization allows only managed rules

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
API

Cloudflare 520 to 524 errors are now retried#

Requests that fail with HTTP status 520, 521, 522, 523 or 524 are now retried, alongside 502, 503, 504 and 507

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Input Box unclear

Very long input can be turned into a pasted block#

Input longer than a set length can now be converted into pasted content instead of being kept as full text in the prompt

Unclear The length that triggers this, and whether it is switched on for everyone, is not known.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
CLI unclear

A warning for when your prompt is taken as an option's value#

A new warning shows a problem and a fix when your prompt appears to have been read as the value of a command-line option

Unclear It is not clear what makes this warning appear or whether every user gets it.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Auth unclear

The --issuer check for plain http addresses has changed#

The rule for which --issuer addresses may use plain http instead of https is now decided differently

Unclear Which addresses the new check allows to use plain http is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Elsewhere unclear

Workspace change summaries are now size-limited#

Claude Code's workspace diff now caps its size and time, sets aside large files, and refuses oversized permission details

Unclear It is not known what uses this diff or whether readers can reach it at all.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Sandbox unclear

One start-up path now turns off commands that run outside the sandbox#

In one start-up path, Claude Code now disables running commands outside the sandbox, along with the other things it already disables there

Unclear It is not clear which way of starting Claude Code takes this path.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Elsewhere

Grep no longer follows symbolic links#

Claude's Grep search no longer follows symbolic links, so matches reached only through a link are left out

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Sandbox unclear

Claude is told about private networks for sandboxed commands on Linux#

On Linux, Claude is now told each sandboxed command has its own network, so a server it starts can't be reached by later commands or your browser

Unclear When the Windows sandbox instructions are now left out.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Permissions unclear

New startup warnings about allowed and disallowed tool lists#

At startup, Claude Code now checks your allowed and disallowed tool lists and may print warnings to the error output

Unclear It is unclear what in a tool list triggers these warnings or what they say.

Details 0 0 Feedback

Continues on page 4 →

Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.326. Text is unmodified from the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

Of these 367 bullets, 107 name something an entry on this page also names, 76 name something no entry here does, and 184 name nothing specific enough to line up either way. The pairings are made on names both sides wrote down, a flag or a setting or a slash command, so read one as probably the same thing rather than as a fact, and read the middle number as candidates rather than as a miss count.

A model matched these bullets to the GitHub issues they fix, so a link can be wrong.

System prompt

2 of 30 tool descriptions changed. 2 of 28 tool schemas changed.

Claude Code, interactive mode

No prompt capture for v2.1.326, so this release's prompt surface is unknown.

Documentation

What the docs did around this release

528 documentation changes were recorded within 24 hours either side of this release, nearest first. The closest 12 are below. They're here because they happened near this release in time. That's not a claim that this release caused the edit, or that the page documents anything in it.

Switches

Every name in this release

The 290 literal strings found in the bundle, with the number of entries that name each one. Picking one searches for it. A name is here because this build's code mentions it, which is not the same as it working or being finished.

Slash commands

CLI flags

Environment variables

Settings and names in the code

Feedback