Anthropic Product minor

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 knowing

    Routine 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 knowing

    Run /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 impact

    Nothing 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-version moves Claude API code in a project to API version 2026-10-21, the version the new major SDK releases send by default.
  • A claude_code.safety_event OpenTelemetry 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 (also off and pause) to end an @claude review always subscription on a pull request.
  • The axScreenReader setting and CLAUDE_AX_SCREEN_READER in a settings env block now apply only from user, managed or --settings settings.

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

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
approximate
How this entry was made
Drafted by an agent, reviewed by a person