Skip to content

Version Packages - #101

Merged
cevr merged 1 commit into
mainfrom
changeset-release/main
Nov 9, 2026
Merged

cevr merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

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

effect-machine@0.32.1

Patch Changes

  • #100 f24a768 Thanks @cevr! - A task's success or failure event and a .timeout event now belong to the state entry that started them. The actor drops such an event when that entry has ended before the event leaves the mailbox. Before this change, a task that completed (or a timer that fired) while another event left the state queued its event behind that event, and a later entry of the same state processed it: after .reenter, or after a round trip such as A -> B -> A. Handlers had to compare a lease or an entry id in the event with the state to ignore it. An entry ends on a change of state tag or on .reenter. A same-tag .on transition keeps the entry, so its task and timer events still arrive. A stale event is dropped before any hook sees it, and it is never postponed. Events that a .spawn handler sends with self.send are not owned and are delivered as before.

@cevr
cevr merged commit 78e86ef into main Nov 9, 2026
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