Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.267 ·

Hooks engine: async hook handlers can now register a .catch(handler)

Async hook handlers can now attach a .catch(handler) to react to a failed downstream call

Use it now New Features
JSON All of v2.1.267
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
New FeaturesKind: in v2.1.267,
What probably matters to youSection of the release
What

The system plugins use to hook into Claude Code's behavior now lets an asynchronous hook registration chain a .catch(handler) onto itself, giving hook authors a way to respond when a downstream call times out or errors, instead of the failure simply being thrown.

Why

This gives plugin developers a way to gracefully handle a failure in their hook rather than crashing the operation it's attached to. Hooks created with engine.create are the exception: they have no grace budget, and .catch doesn't apply to them, since their failure always fails the load.

See this entry in the whole of v2.1.267 →

Feedback