Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Hook additionalContext now keeps only text entries and drops the rest

When a hook's additionalContext list contains anything other than text, Claude Code now leaves those entries out and says why

You'll notice Improvements
JSON All of v2.1.337
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.

Read from
Names in the bundleadditionalContext

See this entry in the whole of v2.1.337 →

Feedback