Claude Code — November 2026 Releases
2 releases in November 2026.
What's new in Claude Code, November 2026
Claude Code adds gateway cost reports and failure-blocking Agent SDK hooks
So far in November 2026, Claude Code has shipped one release, v2.1.317, which adds cost reporting for gateway admins, stricter Agent SDK hooks and several new safety prompts.
On the admin side, the Claude apps gateway admin API gains GET /v1/organizations/analytics/cost, which reports past spend over a date range in total, per developer, per day or per IdP group. Gateways with admin set also keep a daily record of each developer's IdP groups for admin.identityretentiondays. Agent SDK hook callbacks accept onFailure: "block", so a failing callback blocks the action instead of letting it run. New prompts include a warning from /schedule when a cloud scheduled task gets unrequested connectors, and a check before a web or shell tool call sends your account email address to the network. OTel metrics, events and spans also gain anthropic.plan, anthropic.seattype, anthropic.provider and anthropic.custombaseurl. The release also includes fixes, among them project and local MCP servers disconnecting after the first turn in some Claude desktop sessions.
- Cost report endpoint GET /v1/organizations/analytics/cost on the gateway admin API, grouped by total, developer, day or IdP group (v2.1.317)
- Agent SDK hook callbacks support onFailure: "block" so a failed callback blocks the action (v2.1.317)
- /schedule warns when a new cloud scheduled task gets connectors you did not ask for (v2.1.317)
- Confirmation before a web or shell tool call sends your account email address to the network (v2.1.317)
- New anthropic.plan, anthropic.seattype, anthropic.provider and anthropic.custombaseurl attributes in OTel data (v2.1.317)
- Fix for project and local MCP servers disconnecting after the first turn in some Claude desktop sessions (v2.1.317)
Upgrading from v2.1.316? See every change through v2.1.318.
- v2.1.318 (November 3, 2026) — Claude Code 2.1.318 is here: earlier warnings before your claude.ai sign-in expires, quieter config writes, and a long list of fixes for sessions, MCP
- v2.1.317 (November 2, 2026) — Claude Code 2.1.317 is out: new cost reports for gateway admins, safer Agent SDK hooks that can block on failure, and a long list of fixes. Curious wh