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

BAU: Bump xstate from 4.38.3 to 5.13.0 #1354

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 6, 2024

Bumps xstate from 4.38.3 to 5.13.0.

Release notes

Sourced from xstate's releases.

xstate@5.13.0

Minor Changes

  • #4832 148d8fcef Thanks @​cevr! - fromPromise now passes a signal into its creator function.

    const logic = fromPromise(({ signal }) =>
      fetch('https://api.example.com', { signal })
    );

    This will be called whenever the state transitions before the promise is resolved. This is useful for cancelling the promise if the state changes.

Patch Changes

  • #4876 3f6a73b56 Thanks @​davidkpiano! - XState will now warn when calling built-in actions like assign, sendTo, raise, emit, etc. directly inside of a custom action. See https://stately.ai/docs/actions#built-in-actions for more details.

    const machine = createMachine({
      entry: () => {
        // Will warn:
        // "Custom actions should not call \`assign()\` directly, as it is not imperative. See https://stately.ai/docs/actions#built-in-actions for more details."
        assign({
          // ...
        });
      }
    });

xstate@5.12.0

Minor Changes

  • #4863 0696adc21 Thanks @​davidkpiano! - Meta objects for state nodes and transitions can now be specified in setup({ types: … }):

    const machine = setup({
      types: {
        meta: {} as {
          layout: string;
        }
      }
    }).createMachine({
      initial: 'home',
      states: {
        home: {
          meta: {
            layout: 'full'
          }
        }
      }

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 added dependabot Label for DepBot to do it's thing dependencies Pull requests that update a dependency file labels May 6, 2024
@dependabot dependabot bot requested a review from a team as a code owner May 6, 2024 03:34
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/main/xstate-5.13.0 branch 8 times, most recently from 89363ed to 5a163f8 Compare May 10, 2024 09:47
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/main/xstate-5.13.0 branch 2 times, most recently from 84e6a6b to 06d8157 Compare May 17, 2024 13:22
@aenciso aenciso force-pushed the dependabot/npm_and_yarn/main/xstate-5.13.0 branch 12 times, most recently from 165cb42 to 2a06b85 Compare May 29, 2024 11:26
@aenciso aenciso enabled auto-merge May 29, 2024 13:33
@aenciso aenciso disabled auto-merge May 29, 2024 20:32
@aenciso aenciso force-pushed the dependabot/npm_and_yarn/main/xstate-5.13.0 branch 2 times, most recently from 71f642c to d4c5e6e Compare May 31, 2024 09:58
@aenciso aenciso force-pushed the dependabot/npm_and_yarn/main/xstate-5.13.0 branch from d4c5e6e to fdf2983 Compare June 3, 2024 11:47
@aenciso aenciso force-pushed the dependabot/npm_and_yarn/main/xstate-5.13.0 branch from fdf2983 to d91f83b Compare June 3, 2024 12:03
Bumps [xstate](https://github.com/statelyai/xstate) from 4.38.3 to 5.13.0.
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/xstate@4.38.3...xstate@5.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@aenciso aenciso force-pushed the dependabot/npm_and_yarn/main/xstate-5.13.0 branch from d91f83b to 2979624 Compare June 3, 2024 12:04
@aenciso aenciso added this pull request to the merge queue Jun 3, 2024
Merged via the queue into main with commit 3791113 Jun 3, 2024
6 checks passed
@aenciso aenciso deleted the dependabot/npm_and_yarn/main/xstate-5.13.0 branch June 3, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependabot Label for DepBot to do it's thing dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants