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 →
30 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
10 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
Useful4 Signal4
Group of 2 Auth Notable unclear

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

Unclear It is not clear which setting makes a Cloud gateway count as available on a machine.

Details 0 0 Feedback
claude auth login
+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
+New
Use it now
Useful5 Signal3
Group of 5 Gateways Notable

Gateway adds spend budgets shared by a whole group#

The bundled gateway can now cap monthly spend for a whole group, rejects requests when the shared pool runs out, and documents the group_pool limit header

Details 0 0 Feedback
◌In dev
You'll notice
Useful3 Signal4
Group of 2 Auto Mode unclear

Auto mode server checks prepared for host-managed gateway providers#

Claude Code adds groundwork for server-side auto mode checks when a host such as Claude Desktop manages the provider gateway, plus gateway login reporting

Unclear It is not clear whether meeting these three conditions turns on server review for host-managed providers.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal4
MCP unclear

An MCP server can be connected automatically after you sign in#

After sign-in, Claude Code can now load a dynamic MCP setup and add a server, unless strict or managed MCP settings apply

Unclear It is not clear which server gets added or what decides whether one is added.

Details 0 0 Feedback
+New
You'll notice
Useful4 Signal3
Cloud Gateway unclear

A sign-in flow for a Cloud gateway now exists#

Claude Code now has a sign-in flow for a Cloud gateway that asks for a URL, asks you to trust it and confirms the account

Unclear How a user starts this sign-in flow, and whether it is available yet, is not stated.

Details 0 0 Feedback
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.

13 entries here

Improvementsopen

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

↑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
Auth unclear

Refused stored logins can now carry a reason from your administrator#

When an administrator's settings refuse a stored login, Claude Code can now report the reason instead of a fixed error

Unclear It is not clear what message a refused user now sees, or when the refusal reason appears.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Auth

New messages when a saved login is held back#

Claude Code can now hold back a saved login and explain why: an admin setting, missing organization settings, or a needed restart

Details 0 0 Feedback
1 entry here

Bug Fixesopen

6 entries here

Internal Changesopen

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

1 entry hereElsewhere · none marked notable
1 entry hereTelemetry · none marked notable
4 entries hereManaged Settings · none marked notable
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