Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.295 ·

HTTP hooks accept an onFailure setting, and more web files get proper extensions

HTTP hooks gain an onFailure setting, and icons, stylesheets, scripts, fonts and similar files now get their own file extensions

Use it now Notable Improvements
JSON All of v2.1.295
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.295,
What probably matters to youSection of the release

Unclear What the new onFailure setting does and which values it accepts is not stated.

What

Hooks are actions you configure Claude Code to run at certain points, such as before or after it uses a tool. An HTTP hook sends a web request to an address you choose. The settings for an HTTP hook now accept an onFailure field.

Separately, when Claude Code saves a file and works out its extension from the file's type, it now recognises more types. Before, all of the following were saved with the generic extension .bin:

  • ico (icons)
  • css (stylesheets)
  • js (scripts)
  • xml
  • webmanifest
  • woff and woff2 (fonts)
  • ttf and otf (fonts)
  • wasm (WebAssembly programs)
Why

Files such as icons, stylesheets, scripts and fonts are now saved with names that say what they are, so other programs can open them correctly.

Read from
Names in the bundleonFailure
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Agent SDK reference - TypeScript touched a line naming onFailure after this was published. onFailure?: "continue" | "block"; // "block" blocks the action when a callback fails agent-sdk/typescript see the edit
Confirmed since Anthropic's documentation has since written up onFailure, on Hooks reference. | `onFailure` | no | What happens to the action when the hook fails: `"continue"`, the default, or `"block"`. See [Block the action when a hook fails](#block-the-action-when-a-hook-fails). Requires Claude Code v2.1.295 or later | hooks see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat the new `onFailure` setting does and which values it accepts is not stated.
Anthropic's documentation agreesAnthropic's documentation has since written up onFailure, on Hooks reference.

See this entry in the whole of v2.1.295 →

Feedback