issuing-treasury
issuing-treasury copied to clipboard
Bump xstate from 5.6.0 to 5.13.0
Bumps xstate from 5.6.0 to 5.13.0.
Release notes
Sourced from xstate's releases.
[email protected]
Minor Changes
#4832
148d8fcefThanks@cevr! -fromPromisenow 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
3f6a73b56Thanks@davidkpiano! - XState will now warn when calling built-in actions likeassign,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({ // ... }); } });[email protected]
Minor Changes
#4863
0696adc21Thanks@davidkpiano! - Meta objects for state nodes and transitions can now be specified insetup({ types: … }):const machine = setup({ types: { meta: {} as { layout: string; } } }).createMachine({ initial: 'home', states: { home: { meta: { layout: 'full' } } }
... (truncated)
Commits
e6b818cVersion Packages (#4879)3f6a73b[core] Add warning for imperative built-in action calls (#4876)148d8fcfromPromisepasses signal to creator (#4832)d8877feFix depart date bug: 7GUIs Flight Booker React (#4850)a67e99fVersion Packages (#4867)0696adc[core] Addmetatypes (#4863)a36e3ecVersion Packages (#4857)5aa6eb0[@xstate/store] Compatibility with@xstate/react'suseSelector(…)hook (#...9118720Version Packages (#4854)f4e0ec4Allow inline actor logic (#4806)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Your Render PR Server URL is https://issuing-treasury-pr-350.onrender.com.
Follow its progress at https://dashboard.render.com/web/srv-cos9qan109ks73aah8t0.