Skip to content

build(deps): bump @xstate/react from 1.3.4 to 1.6.3#299

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/xstate/react-1.6.3
Closed

build(deps): bump @xstate/react from 1.3.4 to 1.6.3#299
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/xstate/react-1.6.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 22, 2021

Bumps @xstate/react from 1.3.4 to 1.6.3.

Release notes

Sourced from @​xstate/react's releases.

@​xstate/react@​1.6.3

Patch Changes

@​xstate/react@​1.6.2

Patch Changes

  • #2736 2246ae051 Thanks @​Andarist, @​davidkpiano, @​VanTanev! - The useSelector(...) hook now works as expected when the actor passed in changes. The hook will properly subscribe to the new actor and select the desired value. See #2702

  • #2685 469268d39 Thanks @​farskid, @​Andarist! - Fixed a regression with a development-only warning not being shown when a machine reference is updated during the hook lifecycle. This usually happens when machine options are dependent on external values and they're passed via withConfig.

    const machine = createMachine({
      initial: 'foo',
      context: { id: 1 },
      states: {
        foo: {
          on: {
            CHECK: {
              target: 'bar',
              cond: 'hasOverflown'
            }
          }
        },
        bar: {}
      }
    });
    const [id, setId] = useState(1);
    const [current, send] = useMachine(
    machine.withConfig({
    guards: {
    hasOverflown: () => id > 1 // id is a reference to an outside value
    }
    })
    );
    // later when id updates
    setId(2);
    // Now the reference passed to useMachine (the result of machine.withConfig) is updated but the interpreted machine stays the same. So the guard is still the previous one that got passed to the useMachine initially, and it closes over the stale id.

@​xstate/react@​1.6.1

Patch Changes

  • #2587 5aaa8445c Thanks @​Andarist! - Fixed an issue with implementations provided outside of React being wiped out and unusable.

@​xstate/react@​1.6.0

... (truncated)

Commits
  • 2c094d3 Update tslib to fix the core build
  • 62d4cf5 Merge pull request #2758 from statelyai/changeset-release/main
  • d253c50 Merge pull request #2765 from statelyai/jenny-tru/update-resources
  • 0a6e5e5 Fix missing links
  • 9e3b220 Fix user links
  • 7009a50 Version Packages
  • fdc9499 Merge pull request #2819 from simonihmig/globalthis
  • c0ef3e8 Merge pull request #2830 from statelyai/davidkpiano/typescript-4.5.2-changeset
  • 75627ed Add changeset
  • 256b687 Merge pull request #2828 from statelyai/davidkpiano/typescript-4.5.2
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by xstate-release-bot, a new releaser for @​xstate/react since your current version.


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/react](https://github.com/davidkpiano/xstate) from 1.3.4 to 1.6.3.
- [Release notes](https://github.com/davidkpiano/xstate/releases)
- [Commits](https://github.com/davidkpiano/xstate/compare/@xstate/react@1.3.4...@xstate/react@1.6.3)

---
updated-dependencies:
- dependency-name: "@xstate/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 28, 2022

Superseded by #327.

@dependabot dependabot bot closed this Jan 28, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/xstate/react-1.6.3 branch January 28, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants