# XState 5.20.2 - Product: XState (https://whatsnew.fyi/product/xstate) - Vendor: Stately - Date: 2025-08-06 - Version: 5.20.2 - Original notes: https://github.com/statelyai/xstate/releases/tag/xstate%405.20.2 - Permalink: https://whatsnew.fyi/product/xstate/releases/5.20.2 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'. --- - **fixed** — Emit callback errors no longer crash the actor ###### Patch Changes - [#5351](https://github.com/statelyai/xstate/pull/5351) [`71387ff`](https://github.com/statelyai/xstate/commit/71387ff0af86715fe233c33236fe6e6a8746e56f) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Fix: Emit callback errors no longer crash the actor ```ts actor.on('event', () => { // Will no longer crash the actor throw new Error('oops'); }); ```