Claude Code v2.1.295
Claude Code v2.1.295 was released on .
Summary
Hooks can now block actions when they fail, terminals can show what Claude Code is doing, and gateway upstreams get a time-to-first-byte limit. Ready to see what else changed?
Release Context
- This was the 239th Claude Code release of 2026 tracked by Havoptic.
- It shipped 1 day after Claude Code v2.1.294 (October 8, 2026).
- Claude Code: ships every 0.9 days — 29 releases in the last month.
Why it matters: Hooks now block actions that fail or timeout.
Shipped around the same time
Within 3 days of this release, other AI coding tools also shipped:
- OpenCode v1.19.0 (October 11, 2026)
- Grok Build v1.0.52 (October 11, 2026)
- Antigravity CLI v1.3.3 (October 10, 2026)
- Factory Droid v0.238.0 (October 10, 2026)
- Amp 2026.10.10 (October 10, 2026)
Compare Claude Code
- Claude Code vs OpenAI Codex CLI
- Claude Code vs Cursor
- Claude Code vs Gemini CLI
- Claude Code vs Kiro CLI
- Claude Code vs GitHub Copilot CLI
- Claude Code vs Devin Desktop
- Claude Code vs Antigravity CLI
- Claude Code vs Grok Build
- Claude Code vs Cline
- Claude Code vs OpenCode
- Claude Code vs Zed
- Claude Code vs Factory Droid
- Claude Code vs Devin
- Claude Code vs Lovable
- Claude Code vs Amp
- Claude Code vs GitHub Copilot in VS Code
- Claude Code vs Replit Agent
- Claude Code vs Bolt
- Claude Code vs v0
Release Notes
- Added onFailure: "block" for command and HTTP hooks: a hook that can't start, times out, or exits with an unexpected code blocks the action instead of letting it through
- Added Program Status Protocol (OSC 7501) support: terminals that implement it can show whether Claude Code is working, waiting on you, or done
- Added quoted text to the /copy picker, so a drafted message copies without its > markers
- Added a warning to claude plugin install, enable, disable and marketplace add when the settings file they write to does not load
- Added a line on stderr, when it is a terminal, that says what a claude -p run is waiting for when it stays open after its last turn
- Added support for timeouts.upstreamttfbms on the Claude apps gateway's Bedrock, Vertex, Foundry and other cloud upstreams: a value you set now limits how long a stream may take to start there, after which it fails over or gets a 502
- Added a "Backgrounding cancelled" message when you stop the turn while ← is waiting for the current tool to finish
- Added an optional models list to every Claude apps gateway upstream: only the listed models are sent there, on failover too, and one in an entry is a wildcard
- Added support for forceLoginMethod: "gateway" and forceLoginGatewayUrl in your own user settings on machines with no managed settings, so /login opens on that Claude apps gateway
- Added advice to claude plugin validate when a plugin's README has no install line: it prints the line to paste and never changes the exit code, even with --strict
- Added upstreamrequestid to the Claude apps gateway's inference audit event: the request ID from Ama
Other Recent Claude Code Releases
- v2.1.305 (October 20, 2026)
- v2.1.304 (October 19, 2026)
- v2.1.303 (October 18, 2026)
- v2.1.302 (October 16, 2026)
- v2.1.301 (October 15, 2026)
Upgrading from v2.1.295? See all 8 releases since.
All Claude Code releases · All AI coding tool releases on Havoptic