Claude Code v2.1.317 and v2.1.318 Add Email-Send Checks, Blocking Hooks and AWS Role Support

Two Claude Code releases landed on November 3 and 4: v2.1.317 asks before tools send your account email over the network, and v2.1.318 adds assume_role for the Claude apps gateway.

November 3, 2026

Claude Code shipped v2.1.317 on November 3 and v2.1.318 on November 4, following v2.1.316 on October 31.

What changed

  • Email check (v2.1.317): Claude Code now asks before a web or shell tool call sends your account email address to the network.
  • Blocking hooks (v2.1.317): Agent SDK hook callbacks accept onFailure: "block", so a failing callback stops the action instead of letting it run.
  • Exit codes (v2.1.317): claude -p now prints an error and exits 1 when a full disk or quota loses transcript or ~/.claude.json writes.
  • Scheduled tasks (v2.1.317): /schedule warns when a new cloud scheduled task gets connectors you did not ask for.
  • AWS roles (v2.1.318): assume_role on mantle upstreams of the Claude apps gateway supports cross-account roles and per-developer AWS cost attribution.
  • Login expiry (v2.1.318): claude auth status shows loginExpiresAt, with a stderr warning starting 10 days before a claude.ai sign-in expires.

The release page is truncated, so these are highlights rather than complete lists.

Why it matters

  • Safer automation: Blocking hook failures and the email prompt are both guardrails for unattended agent runs.
  • Team cost tracking: Per-developer AWS attribution helps organisations that route Claude through their own cloud accounts.

Source

Summary written by FoxaMind with AI assistance from the sources above. Check the originals for full details.