Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: bump xstate from 4.30.6 to 4.31.0 in /site #962

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

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2022

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps xstate from 4.30.6 to 4.31.0.

Release notes

Sourced from xstate's releases.

[email protected]

Minor Changes

  • #3190 fbf5ca0ad Thanks @​davidkpiano! - The waitFor(...) helper function, which asynchronously waits for an actor's emitted value to satisfy a predicate before a timeout, is now available.

    Example usage:

    import { waitFor } from 'xstate/lib/waitFor';
    // ...
    const loginService = interpret(loginMachine).start();
    const loggedInState = await waitFor(loginService, state =>
    state.hasTag('loggedIn')
    );
    loggedInState.hasTag('loggedIn'); // true

  • #3200 56c0a36 Thanks @​Andarist! - Subscribing to a stopped interpreter will now always immediately emit its state and call a completion callback.

Patch Changes

  • #3166 be4c5c74d Thanks @​Andarist! - Fixed an issue with state.tags not having correct values when resolving micro transitions (taken in response to raised events). This was creating issues when checking tags in guards.

  • #3171 14f8b4785 Thanks @​Andarist! - Fixed an issue with onDone on parallel states not being "called" correctly when a parallel state had a history state defined directly on it.

  • #2939 360e85462 Thanks @​Andarist! - Fixed issues with not disposing some cached internal values when stopping interpreters, which could have led to issues when starting such an interpreter again.

  • #3153 b36ef9dda Thanks @​Andarist! - Made type displays (like in the IDE tooltips etc) more readable by using a type interface for the internal ResolveTypegenMeta type.

Commits
  • 7a698d4 Version Packages (#3155)
  • f3d6314 Fixed an issue that caused sending the same event multiple times to the inspe...
  • 2e6a361 Merge pull request #3207 from cunneen/patch-1
  • ce3d88b Update showcase.md
  • 518d2f9 Merge pull request #3190 from statelyai/davidkpiano/waitFor
  • 281f1fe Add missing changeset about changes in the core from #3200 (#3203)
  • 09e2130 Fixed an issue that prevented some states, containing broken~ toJSON, from be...
  • 56c0a36 waitFor fixes for cases when starting to waitFor stopped interpreter (#3200)
  • 8e171eb Consistently dispose internal handles in waitFor (#3201)
  • 4e9a938 Tweak changeset related to the "maximum call stack size exceeded" issue in `@...
  • 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 dependabot bot requested a review from a team as a code owner April 11, 2022 18:42
@greyscaled
Copy link
Contributor

@dependabot rebase

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

---
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 force-pushed the dependabot/npm_and_yarn/site/xstate-4.31.0 branch from 882a51e to 270336a Compare April 11, 2022 18:56
@greyscaled greyscaled self-assigned this Apr 11, 2022
@greyscaled greyscaled enabled auto-merge (squash) April 11, 2022 19:08
@greyscaled greyscaled merged commit f7b72dd into main Apr 11, 2022
@greyscaled greyscaled deleted the dependabot/npm_and_yarn/site/xstate-4.31.0 branch April 11, 2022 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant