diff --git a/.changeset/changesets-3-and-tinybench-6.md b/.changeset/changesets-3-and-tinybench-6.md deleted file mode 100644 index 853d812..0000000 --- a/.changeset/changesets-3-and-tinybench-6.md +++ /dev/null @@ -1,3 +0,0 @@ ---- - ---- diff --git a/.changeset/dependency-baseline-refresh.md b/.changeset/dependency-baseline-refresh.md deleted file mode 100644 index 98d1674..0000000 --- a/.changeset/dependency-baseline-refresh.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@typeonce/effect-machine-devtools": patch -"@typeonce/oxlint-plugin-effect-machine": patch ---- - -Update the devtools file watcher to chokidar 6. The devtools CLI now requires Node.js 22.22 or newer. - -Build the Oxlint plugin against `@oxlint/plugins` 1.90.0. The plugin still supports `oxlint` `>=1.80.0 <2`. diff --git a/.changeset/devtools-dependency-ranges.md b/.changeset/devtools-dependency-ranges.md deleted file mode 100644 index b4aed11..0000000 --- a/.changeset/devtools-dependency-ranges.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@typeonce/effect-machine-devtools": patch ---- - -Install the devtools CLI without pinning a second exact TypeScript or Vite. - -`@typeonce/effect-machine-devtools` now depends on `typescript` `>=5.9.0 <7.0.0` and `vite` `^8.1.5` instead of exact versions, so a package manager can reuse compatible versions your project already has. No setup changes are required: the CLI still works when your project uses neither, or uses TypeScript 7. diff --git a/.changeset/drop-react-scheduler-peer.md b/.changeset/drop-react-scheduler-peer.md deleted file mode 100644 index e95f96f..0000000 --- a/.changeset/drop-react-scheduler-peer.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@typeonce/effect-machine-react": patch ---- - -Remove the `scheduler` peer dependency from `@typeonce/effect-machine-react`. - -The package never imports `scheduler`, so upgrading React no longer produces a peer warning from it. The `scheduler` version is now governed only by `react-dom` and `@effect/atom-react`. Remove `scheduler` from your dependencies if you installed it only for this package. diff --git a/.changeset/homepage-docs-site.md b/.changeset/homepage-docs-site.md deleted file mode 100644 index 228974e..0000000 --- a/.changeset/homepage-docs-site.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@typeonce/effect-machine": patch ---- - -The npm page for `@typeonce/effect-machine` now links to the API reference at https://effect-machine.typeonce.dev. diff --git a/.changeset/oxlint-conditional-none-event-handlers.md b/.changeset/oxlint-conditional-none-event-handlers.md deleted file mode 100644 index bb18bce..0000000 --- a/.changeset/oxlint-conditional-none-event-handlers.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@typeonce/oxlint-plugin-effect-machine": patch ---- - -`effect-machine/no-conditional-none-branch` now checks only event handlers in `on`. `Machine.can` queries events, so resolvers for invocation outcomes such as `onSnapshot` and `onDone`, and for eventless `always` transitions, may select a `none` branch conditionally: - -```ts -onSnapshot: { - branches: "progress", - resolve: ({ snapshot, select }) => snapshot.ready ? select.ready() : select.waiting() -} -``` - -Remove any suppression comments added for these resolvers. diff --git a/.changeset/repository-oxlint.md b/.changeset/repository-oxlint.md deleted file mode 100644 index 853d812..0000000 --- a/.changeset/repository-oxlint.md +++ /dev/null @@ -1,3 +0,0 @@ ---- - ---- diff --git a/.changeset/typed-execution-plan.md b/.changeset/typed-execution-plan.md deleted file mode 100644 index 6c4b442..0000000 --- a/.changeset/typed-execution-plan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@typeonce/effect-machine": patch ---- - -Internal: check the compiled execution plan's transition contexts, targets, and commands at compile time instead of through `any` casts. Machine behavior and the public API are unchanged. diff --git a/.changeset/typed-planner-transitions.md b/.changeset/typed-planner-transitions.md deleted file mode 100644 index e641568..0000000 --- a/.changeset/typed-planner-transitions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@typeonce/effect-machine": patch ---- - -Internal: check planner target resolution, invocation sources, and runtime child operations at compile time instead of through `any` casts. Machine behavior and the public API are unchanged. diff --git a/.changeset/typescript-7-compatibility-lane.md b/.changeset/typescript-7-compatibility-lane.md deleted file mode 100644 index 853d812..0000000 --- a/.changeset/typescript-7-compatibility-lane.md +++ /dev/null @@ -1,3 +0,0 @@ ---- - ---- diff --git a/packages/devtools/CHANGELOG.md b/packages/devtools/CHANGELOG.md index eceeeeb..6b9849b 100644 --- a/packages/devtools/CHANGELOG.md +++ b/packages/devtools/CHANGELOG.md @@ -1,5 +1,20 @@ # @typeonce/effect-machine-devtools +## 0.46.1 + +### Patch Changes + +- 7d0e987: Update the devtools file watcher to chokidar 6. The devtools CLI now requires Node.js 22.22 or newer. + + Build the Oxlint plugin against `@oxlint/plugins` 1.90.0. The plugin still supports `oxlint` `>=1.80.0 <2`. +- 697c6cb: Install the devtools CLI without pinning a second exact TypeScript or Vite. + + `@typeonce/effect-machine-devtools` now depends on `typescript` `>=5.9.0 <7.0.0` and `vite` `^8.1.5` instead of exact versions, so a package manager can reuse compatible versions your project already has. No setup changes are required: the CLI still works when your project uses neither, or uses TypeScript 7. +- Updated dependencies [b24c367] +- Updated dependencies [104f98a] +- Updated dependencies [7ffcab7] + - @typeonce/effect-machine@0.46.1 + ## 0.46.0 ### Patch Changes diff --git a/packages/devtools/package.json b/packages/devtools/package.json index 67e4820..3db0f51 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine-devtools", - "version": "0.46.0", + "version": "0.46.1", "description": "Local development tools for Effect Machine", "author": "Sandro Maglione", "repository": { diff --git a/packages/effect-machine-react/CHANGELOG.md b/packages/effect-machine-react/CHANGELOG.md index f1c1833..8b8e21f 100644 --- a/packages/effect-machine-react/CHANGELOG.md +++ b/packages/effect-machine-react/CHANGELOG.md @@ -1,5 +1,17 @@ # @typeonce/effect-machine-react +## 0.46.1 + +### Patch Changes + +- a5e80b3: Remove the `scheduler` peer dependency from `@typeonce/effect-machine-react`. + + The package never imports `scheduler`, so upgrading React no longer produces a peer warning from it. The `scheduler` version is now governed only by `react-dom` and `@effect/atom-react`. Remove `scheduler` from your dependencies if you installed it only for this package. +- Updated dependencies [b24c367] +- Updated dependencies [104f98a] +- Updated dependencies [7ffcab7] + - @typeonce/effect-machine@0.46.1 + ## 0.46.0 ### Patch Changes diff --git a/packages/effect-machine-react/package.json b/packages/effect-machine-react/package.json index bd54bf5..b889eed 100644 --- a/packages/effect-machine-react/package.json +++ b/packages/effect-machine-react/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine-react", - "version": "0.46.0", + "version": "0.46.1", "description": "React ownership hooks for Effect Machine atoms", "author": "Sandro Maglione", "repository": { diff --git a/packages/effect-machine/CHANGELOG.md b/packages/effect-machine/CHANGELOG.md index 9d39b55..6e51305 100644 --- a/packages/effect-machine/CHANGELOG.md +++ b/packages/effect-machine/CHANGELOG.md @@ -1,5 +1,13 @@ # @typeonce/effect-machine +## 0.46.1 + +### Patch Changes + +- b24c367: The npm page for `@typeonce/effect-machine` now links to the API reference at https://effect-machine.typeonce.dev. +- 104f98a: Internal: check the compiled execution plan's transition contexts, targets, and commands at compile time instead of through `any` casts. Machine behavior and the public API are unchanged. +- 7ffcab7: Internal: check planner target resolution, invocation sources, and runtime child operations at compile time instead of through `any` casts. Machine behavior and the public API are unchanged. + ## 0.46.0 ### Minor Changes diff --git a/packages/effect-machine/package.json b/packages/effect-machine/package.json index e0a6159..63485c0 100644 --- a/packages/effect-machine/package.json +++ b/packages/effect-machine/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine", - "version": "0.46.0", + "version": "0.46.1", "description": "Schema-first state machines and statecharts for Effect", "author": "Sandro Maglione", "repository": { diff --git a/packages/oxlint-plugin/CHANGELOG.md b/packages/oxlint-plugin/CHANGELOG.md index e1ef5f0..31ef08f 100644 --- a/packages/oxlint-plugin/CHANGELOG.md +++ b/packages/oxlint-plugin/CHANGELOG.md @@ -1,5 +1,23 @@ # @typeonce/oxlint-plugin-effect-machine +## 0.46.1 + +### Patch Changes + +- 7d0e987: Update the devtools file watcher to chokidar 6. The devtools CLI now requires Node.js 22.22 or newer. + + Build the Oxlint plugin against `@oxlint/plugins` 1.90.0. The plugin still supports `oxlint` `>=1.80.0 <2`. +- 8ae71a8: `effect-machine/no-conditional-none-branch` now checks only event handlers in `on`. `Machine.can` queries events, so resolvers for invocation outcomes such as `onSnapshot` and `onDone`, and for eventless `always` transitions, may select a `none` branch conditionally: + + ```ts + onSnapshot: { + branches: "progress", + resolve: ({ snapshot, select }) => snapshot.ready ? select.ready() : select.waiting() + } + ``` + + Remove any suppression comments added for these resolvers. + ## 0.46.0 ## 0.45.1 diff --git a/packages/oxlint-plugin/package.json b/packages/oxlint-plugin/package.json index eeb511c..1d73037 100644 --- a/packages/oxlint-plugin/package.json +++ b/packages/oxlint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/oxlint-plugin-effect-machine", - "version": "0.46.0", + "version": "0.46.1", "description": "Oxlint rules for Effect Machine models", "author": "Sandro Maglione", "repository": {