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.227 ·

Hook messages are labelled with the hook that produced them

Hook output is now labelled with the hook's name on every line.

You'll notice Improvements
JSON All of v2.1.227
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.227,
ImprovementsSection of the release
What

Output from a hook is now shown as a notice with the hook's name and says: in front of every line, with line endings normalised and control characters stripped from both the name and the text.

Details
  • Emitted as an informational system message at notice level.
  • Stripping applies to the hook name too, so a hook cannot smuggle escape sequences into the label.
Evidence

says:

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.227 →

Feedback