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

Claude Code v2.1.242 ·

Plugin render hooks may only produce five element types

Plugin UI hooks can only draw five element types; anything else is reported as a hook error.

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

A plugin hook that draws UI can build elements only from Box, Text, div, span and b, plus lowercase box and text aliases. Anything else throws inside the plugin's sandbox, so Claude Code reports it as a hook error rather than trying to render it.

Details
  • Keys, refs and props whose value is null are stripped from the element before it is frozen.
  • This applies to every render hook on this build; there is no setting to widen the tag set.
Evidence

a render hook draws those and what next(e) returned

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.242 →

Feedback