Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Hook modules can mark a result as withheld, and a matcher error is reworded

Hook module results marked as withheld now trigger the module's own withheld handler, and a matcher error message has new wording

Under the hood Internal Changes
JSON All of v2.1.299
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.299,
Internal ChangesSection of the release

Unclear What marking a hook result as withheld changes for the user.

What

Hooks are pieces of code, often supplied by plugins, that Claude Code runs at set points. Two small changes affect hook modules:

  • When a hook module returns a result marked as withheld, Claude Code now calls that module's own withheld handler, if it has one, before going on.
  • An error about an invalid key in a hook's matcher, the rule deciding which events the hook responds to, now ends with "which a matcher does not keep" instead of "which no event has".
Why

This is a small change to how plugin hooks run. Plugin authors may see the new error wording.

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 marking a hook result as withheld changes for the user.

See this entry in the whole of v2.1.299 →

Feedback