diff --git a/.changeset/schema-api-improvements.md b/.changeset/schema-api-improvements.md deleted file mode 100644 index c63433f..0000000 --- a/.changeset/schema-api-improvements.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"effect-machine": minor ---- - -Rename `derive` to `with` on state/event schemas. Union-level `with` accepts shared fields without casts on generic type parameters. Add `.schema` (branded) accessor to `MachineStateSchema`. Remove `.plain` — use constructors in tests instead of raw object literals. Add `Slot.of(slotsSchema, provided)` to convert `ProvideSlots` into `SlotCalls` without consumer-side casts. diff --git a/CHANGELOG.md b/CHANGELOG.md index 45cf1f1..6bf64a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # effect-machine +## 0.17.0 + +### Minor Changes + +- [`5e344f7`](https://github.com/cevr/effect-machine/commit/5e344f76b0e3b06bd28d71297b53e02739dc0a5b) Thanks [@cevr](https://github.com/cevr)! - Rename `derive` to `with` on state/event schemas. Union-level `with` accepts shared fields without casts on generic type parameters. Add `.schema` (branded) accessor to `MachineStateSchema`. Remove `.plain` — use constructors in tests instead of raw object literals. Add `Slot.of(slotsSchema, provided)` to convert `ProvideSlots` into `SlotCalls` without consumer-side casts. + ## 0.16.0 ### Minor Changes diff --git a/package.json b/package.json index 475a63b..72ded8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "effect-machine", - "version": "0.16.0", + "version": "0.17.0", "repository": { "type": "git", "url": "https://github.com/cevr/effect-machine.git"