Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Some plugins' SessionEnd hooks no longer run

Claude Code now drops SessionEnd hooks that come from certain plugins, where before every plugin hook was kept

You'll notice Improvements
JSON All of v2.1.311
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.311,
ImprovementsSection of the release

Unclear It is not clear which plugins have their SessionEnd hooks left out.

What

A SessionEnd hook is a command that runs automatically when a session ends, and plugins (add-on packages) can supply them. When Claude Code collects these hooks, it now leaves out SessionEnd hooks from some plugins, based on a check of the plugin's folder. Before, every plugin hook was returned.

The checks for whether any hooks are present now also count hooks still waiting to be run.

Why

It changes which plugin SessionEnd hooks run when a session ends, so a plugin hook you rely on may stop running.

Read from
Names in the bundleSessionEnd
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which plugins have their SessionEnd hooks left out.

See this entry in the whole of v2.1.311 →

Feedback