Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/after-timers-join-queue.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/core-hot-path-allocations.md

This file was deleted.

21 changes: 21 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @dunky.dev/state-machine

## 0.3.4

### Patch Changes

- [#71](https://github.com/dunky-dev/state-machine/pull/71) [`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4) Thanks [@ivanbanov](https://github.com/ivanbanov)! - Internal cleanup of the core machine. `after` timers now dispatch through
the same run-to-completion queue as `send`, instead of running their own
copy of the flush cycle; the stale-timer check keeps only the entry
generation, which already covers "state exited" and "state re-entered".
`send` and `setContext` are plain bound fields (no pass-through hops), the
boot event is one shared frozen object, and `oneOf` picks its branch with
a loop instead of `find`. No behavior change for consumers.

- [#71](https://github.com/dunky-dev/state-machine/pull/71) [`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4) Thanks [@ivanbanov](https://github.com/ivanbanov)! - Fewer allocations on the send path. A single action or transition entry is
run directly instead of being wrapped in a one-item array per event; guard
params are built only when a guard is actually met; the action and computed
hosts hold the live context and computed objects instead of reading them
through getter functions; the connector builds its snapshot argument once
and compares props without allocating key arrays. Single-event throughput
is up about 7% and state churn about 10% on the benchmark suite. No
behavior change for consumers.

## 0.3.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/state-machine",
"version": "0.3.3",
"version": "0.3.4",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @dunky.dev/native-state-machine

## 0.4.1

### Patch Changes

- Updated dependencies [[`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4), [`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4)]:
- @dunky.dev/state-machine@0.3.4
- @dunky.dev/react-state-machine@0.3.5

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/native-state-machine",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @dunky.dev/react-state-machine

## 0.3.5

### Patch Changes

- Updated dependencies [[`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4), [`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4)]:
- @dunky.dev/state-machine@0.3.4

## 0.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/react-state-machine",
"version": "0.3.4",
"version": "0.3.5",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @dunky.dev/solid-state-machine

## 0.3.1

### Patch Changes

- Updated dependencies [[`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4), [`ff3368c`](https://github.com/dunky-dev/state-machine/commit/ff3368cf23844be30df6895e6204194a5133b9a4)]:
- @dunky.dev/state-machine@0.3.4

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/solid-state-machine",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
Loading