Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.277 ·

ui.render hook matcher gets startup advisory logging

Claude Code warns at startup if a hooks module registers a ui.render matcher with advice available

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

A new check runs when a hooks module (a script that registers hook handlers) subscribes to the ui.render event with a matcher (a filter deciding which calls the hook applies to). If there's advice available about that matcher, Claude Code now logs a warning at startup showing the matcher's contents.

Why

This surfaces potential problems with a hook's ui.render matcher up front, rather than leaving the author to discover an issue only when the hook misbehaves.

Read from
Names in the bundleui.render
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up ui.render, on Draw in the interface with a mod. on('ui.render', { component: 'Spinner' }, async ($, e, next) => { plugins/mods/interface see the edit
Added since A small documentation edit on Mods reference touched a line naming ui.render after this was published. Elements are the building blocks of a tree a `ui.render` hook returns, and you get them from `$.ui.resolve(e)`. [Build a tree from elements](/docs/en/plugins/mods/interface#build-a-tree-from-elements) shows the common ones with how the ter… plugins/mods/reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Mods reference touched a line naming ui.render after this was published.

See this entry in the whole of v2.1.277 →

Feedback