You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release
What
A hook is a script you set up that Claude Code runs at a set point. A hook can return additionalContext, a list of extra text for Claude to read. Claude Code now keeps only the entries in that list that are strings, meaning plain text. Any other kind of value, such as a number or a nested object, is left out.
When this happens, Claude Code gives the reason: "additionalContext takes a list of strings; other values were left out".
Why
Badly formed hook output is now filtered out with a clear message instead of being passed along as it is. If a hook's context seems to go missing, check that every entry in additionalContext is a string.