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

Plugin API session.turnCount renamed to session.turns

Plugin API hook session.turnCount renamed to session.turns

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

The plugin hook (a named entry point plugins can call into) used to read a session's turn count is now registered as session.turns instead of session.turnCount.

Why

Plugins that call this hook need to use the new name session.turns; the old name session.turnCount is no longer registered.

Read from
Names in the bundlesession.turns

See this entry in the whole of v2.1.268 →

Feedback