Claude Code 2.1.307-2.1.308 add /claude-api api-version and a safety_event OpenTelemetry event
Claude Code 2.1.307 adds a command to migrate Claude API code to API version 2026-10-21, an OpenTelemetry event for every stopped or prompted tool call, retries for unparseable tool calls, and @claude review stop for Code Review.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingRoutine Claude Code release. The new safety_event OpenTelemetry event gives security teams a record of every tool call stopped or prompted by policy, worth wiring into existing dashboards.
Engineer
What to change, what breaks, what to test Worth knowingRun /claude-api api-version to move Claude API code to API version 2026-10-21. Subscribe to claude_code.safety_event if you export OpenTelemetry, and use @claude review stop to end an @claude review always subscription.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is a Claude Code release and does not change the Claude apps.
Claude Code 2.1.307 and 2.1.308 shipped since the last update. 2.1.308 is bug fixes only.
In 2.1.307:
/claude-api api-versionmoves Claude API code in a project to API version2026-10-21, the version the new major SDK releases send by default.- A
claude_code.safety_eventOpenTelemetry event is emitted for each tool call that a permission rule, auto mode, a safety check, a hook or the sandbox stopped, prompted or sent back. - Unparseable tool calls are retried up to twice before the turn ends with an error.
- HTTP MCP tool calls are no longer sent twice when the connection closes mid-call; only read-only or idempotent tools are retried.
- Code Review accepts
@claude review stop(alsooffandpause) to end an@claude review alwayssubscription on a pull request. - The
axScreenReadersetting andCLAUDE_AX_SCREEN_READERin a settingsenvblock now apply only from user, managed or--settingssettings.
The changelog does not date its releases. Both versions appeared between this run and the previous daily run on October 21, 2026, so the date is the day they were observed.
Topics: Coding tools, Safety