# XState 6.0.0-alpha.36 - Product: XState (https://whatsnew.fyi/product/xstate) - Vendor: Stately - Date: 2026-08-12 - Version: 6.0.0-alpha.36 - Original notes: https://github.com/statelyai/xstate/releases/tag/xstate%406.0.0-alpha.36 - Permalink: https://whatsnew.fyi/product/xstate/releases/6.0.0-alpha.36 - Labels: Pre-release 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 `machineVersions().adaptEvents()` for adapting complete event histories between machine versions with support for retained-version adapters and async adapters ###### Minor Changes - af31f22: Add `machineVersions().adaptEvents()` for adapting complete event histories between machine versions. Exact retained-version adapters infer source and target event types, while an async `'*'` adapter can handle unknown histories. ```ts const events = await versions.adaptEvents(storedEvents, { from: { id: 'checkout', version: '1' }, to: '2', adapters: { '1': (events) => events.map(toV2Event) } }); ```