# XState 5.25.0 - Product: XState (https://whatsnew.fyi/product/xstate) - Vendor: Stately - Date: 2025-12-10 - Version: 5.25.0 - Original notes: https://github.com/statelyai/xstate/releases/tag/xstate%405.25.0 - Permalink: https://whatsnew.fyi/product/xstate/releases/5.25.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 partial descriptor support to assertEvent() to match events with types that start with a specified prefix using wildcard notation - **fixed** — Fix a bug in Cordova when iterating an empty Map ###### Minor Changes - [#5422](https://github.com/statelyai/xstate/pull/5422) [`329297b`](https://github.com/statelyai/xstate/commit/329297b3bf859668ed1dfc260c14e773a0413fd4) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Add partial descriptor support to `assertEvent(…)` ```ts // Matches any event with a type that starts with `FEEDBACK.` assertEvent(event, 'FEEDBACK.*'); ``` ###### Patch Changes - [#5420](https://github.com/statelyai/xstate/pull/5420) [`2eb8274`](https://github.com/statelyai/xstate/commit/2eb82745dbdf4ac8dfbcc3c426ed4d81c732844b) Thanks [@assertnotnull](https://github.com/assertnotnull)! - Fix a bug in Cordova when iterating an empty Map