# Claude Code v2.1.295 adds hook failure blocking and gateway controls

> Original title: v2.1.295

- Source: Claude Code · GitHub Releases
- Published: 2026-10-08T19:48:38.000Z
- Bad Influence: https://badinfluence.news/items/kfb90zoamxbm1pn61bytq8zit
- Original: https://github.com/anthropics/claude-code/releases/tag/v2.1.295

## Summary

Claude Code v2.1.295 adds onFailure: "block" for command and HTTP hooks, so a hook that cannot start, times out, or exits unexpectedly blocks the action. The release also adds an optional models list for Claude apps gateway upstreams, plus upstream_request_id in the inference audit event, and fixes a range of MCP, plugin, and terminal issues.
