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.271 ·

Hook add/replace operations now validate before applying

Adding or replacing a hook now runs a validation check before applying the change

You'll notice Improvements
JSON All of v2.1.271
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.271,
ImprovementsSection of the release
What

Hooks are scripts that run automatically at certain points, such as before or after a tool call. When you add or replace a hook matcher (the rule that decides when a hook fires), Claude Code now runs a validation pass first. If that validation fails, the operation is rejected with a specific outcome instead of always being applied.

Why

This stops invalid hook configurations from being silently saved, catching problems at the point of change rather than later when the hook fails to work as expected.

See this entry in the whole of v2.1.271 →

Feedback