Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

Hook lookup API reworked from Map lookups to accessor methods

Internal hook lookups switched from raw map access to dedicated accessor methods

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaHookswhat it touches
KindInternal Changesin v2.1.265,
Under the hood

Internal hook lookups switched from raw map access to dedicated accessor methods

What

Internally, code that checks whether a hook applies (for example, hooks that run when a UI component renders) used to look values up directly in maps using .has(...) and .get(...). It now goes through dedicated methods, r.hooks(...) and r.matcherFor(...), instead.

Why

This is an internal code cleanup with no expected effect on how hooks behave; it changes how the lookup is implemented, not what it returns.

See this entry in the whole of v2.1.265 →

Feedback