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

Hook Event Validation

Entry
JSON All of v2.1.101
EntryKind: in v2.1.101,
New FeaturesSection of the release
What

Settings files now validate hook event names and produce clear warnings for unrecognized events, helping users catch typos in their configuration.

Details
  • Unknown hook events are removed from the parsed configuration and a warning is emitted
  • Warning messages include the invalid event name, valid events list, and a link to documentation
  • Applies to all settings sources: local, project, remote managed, and SDK inline settings
  • Example warning: Unknown hook event "PreTooluse" was ignored. Valid events: PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, SessionEnd, Stop
Evidence

Hook validation (search for "Unknown hook event" and "Not a recognized hook event")

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

Feedback