sonntam / node-red-contrib-xstate-machine

A xstate-based state machine implementation using state-machine-cat visualization for node red.
MIT License
22 stars 8 forks source link

Bump xstate from 4.30.0 to 4.30.3 #46

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps xstate from 4.30.0 to 4.30.3.

Release notes

Sourced from xstate's releases.

xstate@4.30.3

Patch Changes

  • #3088 9f02271a3 Thanks @​Andarist! - Added some internal @ts-ignore comments to fix consuming projects that do not use skipLibCheck.

  • #3082 8d3f2cfea Thanks @​Andarist! - Fixed an issue with context type being inferred from too many places within createMachine call and possibly ending up as any for the entire machine.

  • #3027 97ad964bd Thanks @​hedgepigdaniel! - Fixed an issue with not being able to call createMachine in a generic context when the type for the context was generic and not concrete.

  • #3084 50c271dc1 Thanks @​Andarist! - Fixed an issue with context type defined using schema.context being sometimes widened based on config.context. If both are given the schema.context should always take precedence and should represent the complete type of the context.

  • #3089 862697e29 Thanks @​Andarist! - Fixed compatibility with Skypack by exporting some shared utilities from root entry of XState and consuming them directly in other packages (this avoids accessing those things using deep imports and thus it avoids creating those compatibility problems).

  • #3087 ae9579497 Thanks @​Andarist! - Fixed an issue with ActorRefFrom not resolving the typegen metadata from machine types given to it. This could sometimes result in types assignability problems, especially when using machine factories and spawn.

xstate@4.30.2

Patch Changes

  • #3063 c826559b4 Thanks @​Andarist! - Fixed a type compatibility with Svelte's readables. It should be possible again to use XState interpreters directly as readables at the type-level.

  • #3051 04091f29c Thanks @​Andarist! - Fixed type compatibility with functions accepting machines that were created before typegen was a thing in XState. This should make it possible to use the latest version of XState with @xstate/vue, @xstate/react@^1 and some community packages.

    Note that this change doesn't make those functions to accept machines that have typegen information on them. For that the signatures of those functions would have to be adjusted.

  • #3077 2c76ecac5 Thanks @​Andarist! - Fixed an issue with nested state.matches calls when the typegen was involved. The state ended up being never and thus not usable.

xstate@4.30.1

Patch Changes

  • #3040 18dc2b3e2 Thanks @​davidkpiano! - The AnyState and AnyStateMachine types are now available, which can be used to express any state and state machine, respectively:

    import type { AnyState, AnyStateMachine } from 'xstate';
    

    // A function that takes in any state machine function visualizeMachine(machine: AnyStateMachine) { // (exercise left to reader) }

    function logState(state: AnyState) { // ... }

... (truncated)

Commits
  • a40b503 Version Packages (#3085)
  • bc59258 Add support for the typegen in @xstate/vue (#3083)
  • a165d99 Merge pull request #3095 from mar9000/fix-todo-mvc-react-todos-children
  • 13fcf38 fix(examples): declare todo.machine 'delete' state final, this way todos mach...
  • e58857f Remove ignored package from a changeset frontmatter
  • 9f02271 Added some internal @ts-ignore comments to fix consuming projects that do n...
  • 862697e Fixed compatibility with Skypack (#3089)
  • ae95794 Fixed an issue with ActorRefFrom not resolving the typegen metadata from ma...
  • 50c271d Fixed an issue with context type defined using schema.context being sometim...
  • 1aaf509 Add typegen tests for never computed for eventsCausing* and `invokeSrcNameM...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #47.