#3588a4c8ead99 Thanks @davidkpiano! - The actions raise and sendTo can now be imported directly from xstate:
import { raise, sendTo } from 'xstate';
// ...
Patch Changes
#3599333f803f9 Thanks @Andarist! - Fixed a regression that has caused machine.getInitialState(value) to not follow always transitions correctly.
xstate@4.33.6
Patch Changes
#35716fdaae710 Thanks @davidkpiano! - Reading state directly from someService.state is deprecated. Use someService.getSnapshot() instead.
#35554c13b3faf Thanks @davidkpiano! - The sendTo(actorName, event) action creator now accepts a string actorName.
xstate@4.33.5
Patch Changes
#3559ddbc9bc5c Thanks @Andarist! - Fixed minor compatibility issues with TypeScript 4.8 in the codebase. This fixes the typechecking with TypeScript 4.8 in projects that don't use skipLibCheck: true.
#3563e3c7a9caf Thanks @Andarist! - Fixed an issue with not executing actions in response to received batched events when using predictableActionArguments.
#352095a6a06d0 Thanks @Andarist! - Fixed a runtime crash when sending multiple events as an array to a service. It is not recommended to use this feature though as it will be removed in the next major version.
xstate@4.33.4
Patch Changes
#3549768c4e938 Thanks @Andarist! - Fixed an issue with not being able to send events to initially started child actors when using predictableActionArguments.
xstate@4.33.3
Patch Changes
#3540121fad172 Thanks @Andarist! - Fixed an issue that caused invoked actors to be created before resolving assign actions from entry of the same state when using predictableActionArguments flag.
#35416c081ab87 Thanks @Andarist! - Fixed an issue with not being able to read the updated snapshot of a child when receiving and processing events from it and when using predictableActionArguments flag.
xstate@4.33.2
Patch Changes
... (truncated)
Commits
7ce3da5 Merge pull request #3589 from statelyai/changeset-release/main
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 from 4.30.0 to 4.34.0.
Release notes
Sourced from xstate's releases.
... (truncated)
Commits
7ce3da5
Merge pull request #3589 from statelyai/changeset-release/main143e8af
Version Packages19cb3a3
Merge pull request #3641 from ShaswatPrabhat/documentation/lazy_context_intit...fc7abce
Update docs/fr/guides/context.md0b7f9a0
Update docs/guides/context.mda3298cf
Merge pull request #3506 from maciekmaciej/patch-12252ae8
Update docs/guides/final.mdfac15ed
Update docs/guides/context.mdc492680
Update docs/fr/guides/context.mdcfae7e4
Add lazy initialization in the context guidesDependabot 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)