Steven Gonsalvez

Software Engineer

v2.1.307

Why CEREBRO kept it

Claude Code release: API version and safety event changes

The text below is an automated extraction of the article at https://github.com/anthropics/claude-code/releases/tag/v2.1.307, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (github.com).

<h2>What's changed</h2> <ul> <li>Added <code>/claude-api api-version</code> to move Claude API code to API version <code>2026-10-21</code></li> <li>Added the <code>claude_code.safety_event</code> OpenTelemetry event for each tool call a permission rule, auto mode, a safety check, a hook or the sandbox stopped, prompted or sent back</li> <li>Fixed requests failing with a model-not-found error when <code>CLAUDE_CODE_DISABLE_1M_CONTEXT</code> is set and the model is an alias with the <code>[1m]</code> suffix, such as <code>opus[1m]</code></li> <li>Fixed the <code>prompt-caching-scope</code> beta

Backlinks

Appeared in 1 briefing

Related

Shares tags: ai/agents · cerebro/signal · release-notes

Also from github.com