# XState 5.26.0 - Product: XState (https://whatsnew.fyi/product/xstate) - Vendor: Stately - Date: 2026-01-26 - Version: 5.26.0 - Original notes: https://github.com/statelyai/xstate/releases/tag/xstate%405.26.0 - Permalink: https://whatsnew.fyi/product/xstate/releases/5.26.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add getNextTransitions(state) utility to get all transitions available from the current state ###### Minor Changes - [#5406](https://github.com/statelyai/xstate/pull/5406) [`703c3a1`](https://github.com/statelyai/xstate/commit/703c3a109c824f2334ede31d8428e923d2727e6e) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Add `getNextTransitions(state)` utility to get all transitions available from current `state`. ```ts import { getNextTransitions } from 'xstate'; // ... const state = actor.getSnapshot(); const transitions = getNextTransitions(state); transitions.forEach((t) => { console.log(`Event: ${t.eventType}, Source: ${t.source.key}`); }); ```