Skip to content

deps: bump xstate from 5.32.2 to 5.32.5#214

Merged
ronenkapelian merged 1 commit into
masterfrom
dependabot/npm_and_yarn/master/xstate-5.25.0
Jul 16, 2026
Merged

deps: bump xstate from 5.32.2 to 5.32.5#214
ronenkapelian merged 1 commit into
masterfrom
dependabot/npm_and_yarn/master/xstate-5.25.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 15, 2025

Copy link
Copy Markdown
Contributor

Bumps xstate from 5.32.2 to 5.32.5.

Release notes

Sourced from xstate's releases.

xstate@5.32.5

Patch Changes

  • #5603 345e04c Thanks @​xianjianlf2! - Sending an event to a stopped actor no longer throws when the event contains unserializable data (e.g. circular references). Previously, the development-only warning that an event was sent to a stopped actor used JSON.stringify on the event, which could throw and mask the intended warning. The warning is now emitted safely regardless of the event's contents.

xstate@5.32.4

Patch Changes

  • #5589 e913eeb Thanks @​spokodev! - Fixed a bug where targeting a history state that is a direct child of a parallel state would silently do nothing when that parallel state had not been visited yet and the history state had no default target. The machine now enters the parallel state's initial configuration, matching the behavior of history states inside compound states.

    const machine = createMachine({
      initial: 'off',
      states: {
        off: { on: { GO: 'on.hist' } },
        on: {
          type: 'parallel',
          states: {
            regA: { initial: 'a1', states: { a1: {}, a2: {} } },
            regB: { initial: 'b1', states: { b1: {}, b2: {} } },
            hist: { type: 'history', history: 'deep' }
          }
        }
      }
    });
    const actor = createActor(machine).start();
    actor.send({ type: 'GO' });
    actor.getSnapshot().value; // { on: { regA: 'a1', regB: 'b1' } }

xstate@5.32.3

Patch Changes

  • #5575 830db8b Thanks @​JSap0914! - Fixed initialTransition (and transition) throwing "Actor with system ID '...' already exists" when the machine contains an invoke with a systemId.

    Root cause: createInertActorScope used createActor(logic) internally, which eagerly ran getInitialSnapshot during construction and registered any systemId-carrying child actors in the system. When the caller then ran getInitialSnapshot (or transition) via the returned scope, the same system was reused, causing the duplicate-registration error.

    Fix: After creating the internal actor, createInertActorScope now replaces the actor's system reference with a freshly-created system. Child actors spawned by the subsequent caller-driven getInitialSnapshot / transition invocation therefore register into a clean system with no pre-existing entries.

    const machine = createMachine({
      initial: 'idle',
      states: {
        idle: {
          invoke: {
            src: fromPromise(async () => 42),
            systemId: 'myActor' // previously caused: "Actor with system ID 'myActor' already exists"
          }
        }

... (truncated)

Commits
  • c25dba0 Version Packages (#5604)
  • b669e95 fix(xstate-vue): correct vitest include glob so tests are discovered (#5607)
  • 345e04c fix(core): don't throw when warning about unserializable event sent to stoppe...
  • 9297fa8 Version Packages (#5590)
  • e913eeb fix(core): enter parallel default when targeting an unvisited history child (...
  • ab5aa56 Version Packages (#5586)
  • 830db8b fix(core): prevent 'systemId already exists' in pure transition functions (#5...
  • a551a2b docs: add missing https protocol to Stately Studio link (#5585)
  • cc087bf ci: pin Node to 24.16.0 (#5577)
  • 806ae91 Version Packages
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 15, 2025
@ronenkapelian

Copy link
Copy Markdown
Collaborator

@dependabot rebase

Bumps [xstate](https://github.com/statelyai/xstate) from 5.32.2 to 5.32.5.
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/xstate@5.32.2...xstate@5.32.5)

---
updated-dependencies:
- dependency-name: xstate
  dependency-version: 5.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title deps: bump xstate from 5.24.0 to 5.25.0 deps: bump xstate from 5.32.2 to 5.32.5 Jul 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/master/xstate-5.25.0 branch from 5826d07 to 8f4b998 Compare July 16, 2026 04:45
@ronenkapelian
ronenkapelian merged commit 46e5556 into master Jul 16, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/master/xstate-5.25.0 branch July 16, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant