Claude Code 2.1.317 asks before sending your email address to the network and adds a gateway cost report
Claude Code v2.1.317, released November 2, 2026, per its release notes:
- Privacy check: web and shell tool calls now ask before sending your account email address to the network.
- Agent SDK: hook callbacks accept
onFailure: "block", so a callback that fails blocks the action instead of letting it run. - Claude apps gateway: a new admin API report,
GET /v1/organizations/analytics/cost, returns past spend over a date range in total, per developer, per day or per IdP group. The gateway also keeps a daily record of each developer's IdP groups (withadmin:set, foradmin.identity_retention_days), which the report groups by. - Scheduled tasks:
/schedulewarns when a new cloud scheduled task gets connectors you did not ask for, and says how to remove them. - Telemetry: OTel metrics, events and spans gain
anthropic.plan,anthropic.seat_type,anthropic.providerandanthropic.custom_base_url. - Behavior changes: subagents and teammates on a different model from the main conversation use that model's saved or default effort level, not the session's; the Read tool's "file unchanged since your last Read" stub is removed, so reading an unchanged file again returns its content; a message sent to a running background agent now moves its running command to the background without stopping it.
- New setting:
CLAUDE_CODE_DISABLE_NESTED_SESSION_ID=1on a self-hosted runner makesclaude -prun inside a session use that session's ID and transcript, as in earlier versions. By default it no longer shares them. - Notable fixes:
claude -pnow exits 1 with an error when a full disk or quota loses its transcript writes;claude auth statusno longer exits before a slow token refresh is saved; partial Grep and Glob results are no longer treated as complete when a search hits its time limit;DISABLE_PROMPT_CACHING_OPUSandDISABLE_PROMPT_CACHING_SONNETnow apply to[1m], other-region and undated spellings of the default model.
The release also carries many smaller fixes for the VS Code extension, Windows, self-hosted runners, cloud sessions and Remote Control.
Sources
- v2.1.317claude
Get news like this as a push.
AI Tracker alerts you when something changes for the tools you use.