Skip to content
Open
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
26 changes: 26 additions & 0 deletions .changeset/state-machine-0-3-4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
'@dunky.dev/controllable': patch
'@dunky.dev/dialog': patch
'@dunky.dev/native-dialog': patch
'@dunky.dev/react-dialog': patch
'@dunky.dev/solid-dialog': patch
---

Update the state-machine packages to the 2026-10-04 release: runtime `0.3.4`
and the React (`0.3.5`), Solid (`0.3.1`), and native (`0.4.1`) adapters.
Bindings (`0.4.1`), utils (`0.4.0`), and the shared DOM translation (`0.1.0`)
are unchanged.

Every range moves together on purpose. The adapters pin the runtime exactly
(`@dunky.dev/state-machine: 0.3.4`; the native adapter also pins the React
adapter at `0.3.5`), so the floor of every caret moves with them. Under the old
`^0.3.3`, an install that already held `0.3.3` had no reason to move it when an
adapter moved on, leaving two physical copies of the runtime side by side:
`0.3.3` for the core packages, `0.3.4` for the adapter. Anything
identity-sensitive in the runtime — a singleton, a `WeakMap`, module-level
state — silently stops agreeing across two copies. `^0.3.4` rules `0.3.3` out,
so the core packages and the adapters agree on `0.3.4`.

Component behavior is unchanged: the runtime release is internal to the runtime
and keeps its type surface identical, and the adapters change nothing but their
exact pins.
2 changes: 1 addition & 1 deletion packages/core/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@dunky.dev/controllable": "workspace:*",
"@dunky.dev/state-machine": "^0.3.3",
"@dunky.dev/state-machine": "^0.3.4",
"@dunky.dev/state-machine-bindings": "^0.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/core/utils/controllable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"build": "tsdown"
},
"dependencies": {
"@dunky.dev/state-machine": "^0.3.3"
"@dunky.dev/state-machine": "^0.3.4"
}
}
2 changes: 1 addition & 1 deletion packages/dom/components/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"@dunky.dev/dom-overlay": "workspace:*"
},
"devDependencies": {
"@dunky.dev/state-machine": "^0.3.3"
"@dunky.dev/state-machine": "^0.3.4"
}
}
2 changes: 1 addition & 1 deletion packages/native/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@dunky.dev/dialog": "workspace:*",
"@dunky.dev/native-state-machine": "^0.4.0"
"@dunky.dev/native-state-machine": "^0.4.1"
},
"devDependencies": {
"@testing-library/react-native": "^13.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@dunky.dev/dialog": "workspace:*",
"@dunky.dev/dom-dialog": "workspace:*",
"@dunky.dev/react-state-machine": "^0.3.4",
"@dunky.dev/react-state-machine": "^0.3.5",
"@dunky.dev/react-use-focus-trap": "workspace:*",
"@dunky.dev/react-use-scroll-lock": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@dunky.dev/dialog": "workspace:*",
"@dunky.dev/dom-dialog": "workspace:*",
"@dunky.dev/solid-state-machine": "^0.3.0",
"@dunky.dev/solid-state-machine": "^0.3.1",
"@dunky.dev/solid-use-focus-trap": "workspace:*",
"@dunky.dev/solid-use-scroll-lock": "workspace:*"
},
Expand Down
60 changes: 30 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ packages:
allowBuilds:
esbuild: true
minimumReleaseAgeExclude:
- '@dunky.dev/native-state-machine@0.4.0'
- '@dunky.dev/react-state-machine@0.3.4'
- '@dunky.dev/solid-state-machine@0.3.0'
- '@dunky.dev/state-machine-bindings@0.4.1'
- '@dunky.dev/state-machine-dom@0.1.0'
- '@dunky.dev/state-machine-utils@0.4.0'
- '@dunky.dev/state-machine@0.3.3'
- '@dunky.dev/native-state-machine@0.4.1'
- '@dunky.dev/react-state-machine@0.3.5'
- '@dunky.dev/solid-state-machine@0.3.1'
- '@dunky.dev/state-machine@0.3.4'
- '@dom-expressions/babel-plugin-jsx@0.50.0-next.43'
- '@solidjs/signals@2.0.0-rc.1'
- '@solidjs/web@2.0.0-rc.1'
Expand Down
4 changes: 2 additions & 2 deletions scripts/templates/packages/core/__name__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build": "tsdown"
},
"dependencies": {
"@dunky.dev/state-machine": "^0.1.0",
"@dunky.dev/state-machine-bindings": "^0.1.0"
"@dunky.dev/state-machine": "^0.3.4",
"@dunky.dev/state-machine-bindings": "^0.4.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"@dunky.dev/__name__": "workspace:*"
},
"devDependencies": {
"@dunky.dev/state-machine": "^0.3.3"
"@dunky.dev/state-machine": "^0.3.4"
}
}
2 changes: 1 addition & 1 deletion scripts/templates/packages/react/__name__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@dunky.dev/__name__": "workspace:*",
"@dunky.dev/react-state-machine": "^0.1.0"
"@dunky.dev/react-state-machine": "^0.3.5"
},
"devDependencies": {
"@testing-library/react": "^16.1.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/templates/packages/solid/__name__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@dunky.dev/__name__": "workspace:*",
"@dunky.dev/solid-state-machine": "^0.3.0"
"@dunky.dev/solid-state-machine": "^0.3.1"
},
"devDependencies": {
"@babel/core": "^7.28.4",
Expand Down
Loading