diff --git a/.changeset/calm-events-build.md b/.changeset/calm-events-build.md deleted file mode 100644 index 1115403..0000000 --- a/.changeset/calm-events-build.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@typeonce/effect-machine": minor ---- - -Add `Machine.events(machine)` and `Machine.internalEvents(machine)` as the standard way to construct protocol events. - -The returned tag-keyed constructors preserve schema make inputs and defer decoding until machine delivery, so invalid values fail with `MachineSchemaDecodeError` through planning or the running machine instead of throwing at the construction call site. diff --git a/CHANGELOG.md b/CHANGELOG.md index 7826f1d..7e8d0c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # @typeonce/effect-machine +## 0.9.0 + +### Minor Changes + +- d471d42: Add `Machine.events(machine)` and `Machine.internalEvents(machine)` as the standard way to construct protocol events. + + The returned tag-keyed constructors preserve schema make inputs and defer decoding until machine delivery, so invalid values fail with `MachineSchemaDecodeError` through planning or the running machine instead of throwing at the construction call site. + ## 0.8.0 ### Minor Changes diff --git a/package.json b/package.json index a460af3..b375b77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine", - "version": "0.8.0", + "version": "0.9.0", "description": "Schema-first state machines and statecharts for Effect", "author": "Sandro Maglione", "repository": {