{"version":"2.1.268","anchor":"plugin-api-sessionturncount-renamed-to-sessionturns","canonical_anchor":"plugin-api-sessionturncount-renamed-to-sessionturns","heading":"Plugin API session.turnCount renamed to session.turns","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.268\/e\/plugin-api-sessionturncount-renamed-to-sessionturns","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.268","markdown":"### Plugin API `session.turnCount` renamed to `session.turns`\n\nPlugin API hook `session.turnCount` renamed to `session.turns`\n\n**What**\n\nThe 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`.\n\n**Why**\n\nPlugins that call this hook need to use the new name `session.turns`; the old name `session.turnCount` is no longer registered.\n\n- Area: Plugins\n- Names: `session.turns`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}