Skip to content

build(deps): bump @xstate/react from 1.3.4 to 2.0.1#346

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2022

Bumps @xstate/react from 1.3.4 to 2.0.1.

Release notes

Sourced from @​xstate/react's releases.

@​xstate/react@​2.0.1

Patch Changes

  • #3089 862697e29 Thanks @​Andarist! - Fixed compatibility with Skypack by exporting some shared utilities from root entry of XState and consuming them directly in other packages (this avoids accessing those things using deep imports and thus it avoids creating those compatibility problems).

@​xstate/react@​2.0.0

Major Changes

  • #2674 e5a8b8dff Thanks @​Andarist, @​mattpocock! - To avoid breaking any consumers and to leverage the newly introduced typegen support, the major version of this package had to be bumped. While you can still use it with older versions of TS, the typegen support in this package requires TS version 4.0 or greater.

    When using hooks from @xstate/react it's recommended to skip providing explicit generics to them. Note that that generics list has changed since v1 and we now only accept a single generic, TMachine.

  • #2674 ab919d300 Thanks @​Andarist! - Removed already deprecated useService from @xstate/react. You can replace its usage with useActor.

Patch Changes

@​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);

... (truncated)

Commits
  • a40b503 Version Packages (#3085)
  • bc59258 Add support for the typegen in @xstate/vue (#3083)
  • a165d99 Merge pull request #3095 from mar9000/fix-todo-mvc-react-todos-children
  • 13fcf38 fix(examples): declare todo.machine 'delete' state final, this way todos mach...
  • e58857f Remove ignored package from a changeset frontmatter
  • 9f02271 Added some internal @ts-ignore comments to fix consuming projects that do n...
  • 862697e Fixed compatibility with Skypack (#3089)
  • ae95794 Fixed an issue with ActorRefFrom not resolving the typegen metadata from ma...
  • 50c271d Fixed an issue with context type defined using schema.context being sometim...
  • 1aaf509 Add typegen tests for never computed for eventsCausing* and `invokeSrcNameM...
  • 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/statelyai/xstate) from 1.3.4 to 2.0.1.
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/@xstate/react@1.3.4...@xstate/react@2.0.1)

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

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

dependabot bot commented on behalf of github Apr 11, 2022

Superseded by #385.

@dependabot dependabot bot closed this Apr 11, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/xstate/react-2.0.1 branch April 11, 2022 14:14
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