Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.265 ·

Permission-behavior helpers now require strict string/boolean typing

Permission decisions from hooks now require exact string and boolean types instead of loose truthy checks

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

Hooks (custom scripts that can intercept and influence Claude Code's actions) can return values that tell Claude Code to allow, ask about, or deny an action. The code that builds these deny/ask/allow decisions now checks values more strictly: it requires typeof e === "string", typeof n === "string", and r === true explicitly, rather than accepting any value that happens to be truthy.

Why

This tightens how hook output is validated, so a hook returning an unexpected value type (like a number or an object) won't be silently treated as if it meant "allow" or "deny." It makes permission decisions driven by hooks more predictable.

See this entry in the whole of v2.1.265 →

Feedback