Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump xstate from 4.26.0 to 4.35.1 #1001

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 20, 2022

Bumps xstate from 4.26.0 to 4.35.1.

Release notes

Sourced from xstate's releases.

[email protected]

Patch Changes

  • #3713 96052976a Thanks @​Andarist! - Fixed an issue that prevented events sent from the exit actions of the invoking state to be delivered to the invoked actor (when leaving that state).

[email protected]

Minor Changes

  • #3607 f95180510 Thanks @​davidkpiano! - The createModel(...) function is now marked as deprecated, as it will be removed in XState version 5. It is recommended to use Typegen instead.

Patch Changes

  • #3677 a2ecf97ca Thanks @​Andarist! - Fixed an issue with targeted ancestors not being correctly exited when reented during external transitions.

  • #3623 163c25562 Thanks @​arromeo! - Fixed an issue with external transitions targeting ancestor states. In such a case, entry actions were incorrectly called on the states between the source state and the target state for states that were not reentered within this transition.

  • #3677 a2ecf97ca Thanks @​Andarist! - Fixed an issue with the active descendants of the targeted ancestor not being correctly reentered during external transitions.

  • #3545 b9995f0 Thanks @​with-heart! - Updated pure action types to allow action type strings to be returned in the array.

    const machine = createMachine(
      {
        entry: ['doStuff']
      },
      {
        actions: {
          doStuff: pure(() => ['someAction']),
          someAction: () => console.log('executed by doStuff')
        }
      }
    );

    Returning action type strings were already handled by xstate and the types now correctly reflect that.

  • #3666 5e0808eb4 Thanks @​davidkpiano! - The warning for the predictableActionArguments setting has been improved to only warn if it is absent. You can disable the warning by setting predictableActionArguments: false. It's still recommended to set it to true though.

[email protected]

Minor Changes

  • #3588 a4c8ead99 Thanks @​davidkpiano! - The actions raise and sendTo can now be imported directly from xstate:

    import { raise, sendTo } from 'xstate';
    // ...

Patch Changes

... (truncated)

Commits
  • b2fd099 Version Packages (#3714)
  • 9605297 Fixed an issue that prevented events sent from the exit actions of the invoki...
  • 3ee04b9 Version Packages (#3668)
  • f951805 Deprecate createModel(...) (#3607)
  • b9995f0 Merge pull request #3545 from with-heart/pure-action-type-strings
  • fb4786b Remove duplicate permissions in one of the workflows
  • 32a0278 Add explicit permissions to GitHub workflows (#3667)
  • e089ab4 Merge pull request #3689 from Codesee-io/update-codesee-workflow-to-v2
  • 5995038 Update the CodeSee workflow file to latest version.
  • 609888a Mention timout in docstring of waitFor (#3687)
  • 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)

Bumps [xstate](https://github.com/statelyai/xstate) from 4.26.0 to 4.35.1.
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/[email protected]@4.35.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 20, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 6, 2023

Superseded by #1017.

@dependabot dependabot bot closed this Jan 6, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/xstate-4.35.1 branch January 6, 2023 10:02
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants