Follow Discord

Claude Code v2.1.315

next 288 entries read Grouped into 237 v2.1.314 → v2.1.315 Mods API: +0 added · 0 removed · 0 changed · 9 docs only Markdown JSON Follow Unofficial

Admins running the bundled gateway can now set one shared monthly spending limit for a whole access group. The new blockReadsExemptPaths setting lists folders Claude Code may still read when reads outside your working directories are blocked. Claude Code can now publish an artifact as a Claude doc. It also reports whether a lasting subscription to that doc's updates was set up. In Cowork, the loops Claude Code starts no longer receive your memory. A hidden --gateway-json option on claude auth login lets the VS Code extension handle Cloud gateway sign-in.

Several features are in the build but not switched on yet. Remote sessions can track and resend conversation lines they still owe after a restart, but only when this is switched on remotely. Files uploaded to a project can be attached as text context, behind a flag that defaults to off. Claude Code can list MCP server requests that are waiting for your input, also behind an off-by-default flag. Long Bash output previews can keep both the start and the end, with the full text saved to a file. Numbered menus can be set to wait for Enter instead of picking after a short pause.

File searches no longer hang when ripgrep fails to exit after a timeout. Stray connections can no longer knock you off a background session. Sending a message immediately no longer cuts off an automatic compaction that is in progress. Resuming a copied session no longer shows a stray cut-off tool call. When Claude Code runs as a tool server, a settings file that fails to load no longer drops its permission rules. Shell snapshots now save your aliases in a case where they used to save nothing.

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

Five to try today

Picked from 19 you can use now
  1. Held-message recognition arrives with an opt-out variable

    A new held-message recognition feature can be turned off with CLAUDE_CODE_DISABLE_HELD_MESSAGE_RECOGNITION, which is also passed to remote sessions

    Elsewhere
  2. Environment variable override for the sorted-otter switch

    CLAUDE_CODE_SORTED_OTTER can now override the remote tengu_sorted_otter switch, and one function moves from that switch to tengu_quiet_pike

    Platform & internals
  3. Hidden gateway JSON sign-in mode for claude auth login

    claude auth login gains a hidden --gateway-json option that runs Cloud gateway sign-in as JSON lines for another program, such as the VS Code extension

    Permissions & safety
  4. Managed policies can be layered instead of first-match only

    Managed settings gain policy_mode: layered, which merges several matching policies instead of applying only the first one, with limits to protect deny rules

    Settings & config
  5. Background session socket waits for new connections to speak before letting them in

    A background session's socket can now hold new connections until they send something, so a silent stray connection cannot kick off the attached viewer

    Sessions & agents

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

Read this release → Every row →
31 of 237 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
5 entries here

What probably matters to you

Anything you can use today, anything that visibly changes, and anything worth poking at. One line each, open for detail.

+New
Use it now
Useful5 Signal3
Group of 2 Managed Settings Notable

Managed policies can be layered instead of first-match only#

Managed settings gain policy_mode: layered, which merges several matching policies instead of applying only the first one, with limits to protect deny rules

Details 0 0 Feedback
+New
Use it now
Useful5 Signal3
Group of 6 Permissions Notable unclear

Read blocking outside working directories: restricted mode, exempt paths, searches and Chrome uploads#

Restricted mode now blocks reads outside the working directories, searches and Chrome uploads are fenced too, and blockReadsExemptPaths lets chosen paths through

Unclear Under some conditions the exempt list is treated as empty, and it is not clear what those conditions are.

Details 0 0 Feedback
permissions.blockReadsExemptPathsblockReadsOutsideWorkingDirectories
Were these the right ones to put at the top? 0 answered
Below the fold

Everything else

Smaller changes and internals, grouped as the pipeline found them. Nothing is dropped, it is only further down.

26 entries here

Improvementsopen

5 more of these are in What probably matters to you, above.

↑Improved
You'll notice
Useful2 Signal3
Permissions unclear

An approval option in permission prompts can now appear greyed out#

In the expanded permission prompt, one approval option can now show a fixed label and refuse to be selected when a condition is not met

Unclear Which conditions disable the option, and what label replaces it, are not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal3
Auto Mode unclear

Auto mode's automatic approval of two tools now depends on a remote switch#

Auto mode now checks a remote switch, off unless switched on remotely, before approving two particular tools without asking

Unclear Which two tools are affected, and whether they are still approved automatically while the switch is off, is not settled.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Background Tasks unclear

Leftover shell processes are force-stopped when Claude Code exits#

On exit, Claude Code now force-stops shell commands and process trees still running after a grace period, except on Windows

Unclear Apart from never running on Windows, what decides whether this cleanup is switched on is not clear.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Auto Mode unclear

Auto mode allow rules are combined per settings source#

Auto mode allow rules are now gathered per settings source, and command-line allow rules are merged with managed policy

Unclear It is not stated how command-line allow rules and policy allow rules are merged.

Details 0 0 Feedback
autoMode
↑Improved
You'll notice
Useful2 Signal2
MCP unclear

MCP directory listing now goes through a permission check#

The tool that lists directories from an MCP server now asks for permission or refuses, instead of only erroring when unavailable

Unclear What decides whether directory listing is switched on or off is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Models unclear

Stricter rule for when Claude Code picks a Haiku model on its own#

Claude Code now chooses a Haiku model itself only when no small-model variable is set, the provider is Anthropic's own, and the main model is the default

Unclear It is not clear which tasks use the model this rule chooses.

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

PowerShell hooks using script blocks get different exit code handling#

Whether Claude Code adds its exit code 2 check to a PowerShell hook now depends on whether the script uses begin, process, end, clean or dynamicparam blocks

Unclear Whether scripts with these blocks now get the added exit code check or now skip it is not clear.

Details 0 0 Feedback
Verbatim
Awaiting notes

Official release notes pending

Anthropic has not published official notes for v2.1.315 yet. This section updates automatically when the entry appears in the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

System prompt

4 prompts changed.

Claude Code, interactive mode

12 prompt changes in this release could not be quoted from the build, so no entry on this page describes them.

Documentation

What the docs did around this release

653 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 44 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