Claude Code v2.1.306Released Oct 21, 2026 · AnthropicWhat the release notes sayWhat's changed Fixed claude -p inside cloud sessions reporting "Not logged in" when started without the session's environment variables Fixed an API error being replaced by "prompt is too long", and an unneeded compaction, in sessions with many MCP tools Source: github.com ↗Source: raw.githubusercontent.com ↗ Olderv2.1.305Every Claude Code release →