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

Version Packages #2908

Merged
merged 1 commit into from
Jan 8, 2022
Merged

Version Packages #2908

merged 1 commit into from
Jan 8, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 30, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

xstate@4.28.0

Minor Changes

  • #2835 029f7b75a Thanks @woutermont! - Added interop observable symbols to ActorRef so that actor refs are compatible with libraries like RxJS.

Patch Changes

  • #2864 4252ee212 Thanks @davidkpiano! - Generated IDs for invocations that do not provide an id are now based on the state ID to avoid collisions:

    createMachine({
      id: 'test',
      initial: 'p',
      states: {
        p: {
          type: 'parallel',
          states: {
            // Before this change, both invoke IDs would be 'someSource',
            // which is incorrect.
            a: {
              invoke: {
                src: 'someSource'
                // generated invoke ID: 'test.p.a:invocation[0]'
              }
            },
            b: {
              invoke: {
                src: 'someSource'
                // generated invoke ID: 'test.p.b:invocation[0]'
              }
            }
          }
        }
      }
    });
  • #2925 239b4666a Thanks @devanfarrell! - The sendTo(actorRef, event) action creator introduced in 4.27.0, which was not accessible from the package exports, can now be used just like other actions:

    import { actions } from 'xstate';
    
    const { sendTo } = actions;

@xstate/inspect@0.6.1

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from 21e5e56 to d8114ee Compare January 6, 2022 17:08
@davidkpiano davidkpiano merged commit 293a324 into main Jan 8, 2022
@davidkpiano davidkpiano deleted the changeset-release/main branch January 8, 2022 14:59
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