Skip to content

Commit b6cf81e

Browse files
Update Effect to beta 105
1 parent 7ccfe10 commit b6cf81e

6 files changed

Lines changed: 31 additions & 52 deletions

File tree

.changeset/fresh-effects-arrive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@typeonce/effect-machine": patch
3+
---
4+
5+
Update the required Effect runtime and development integration from `4.0.0-beta.102` to `4.0.0-beta.105`.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@
6161
"release": "pnpm build && changeset publish"
6262
},
6363
"peerDependencies": {
64-
"effect": "4.0.0-beta.102"
64+
"effect": "4.0.0-beta.105"
6565
},
6666
"devDependencies": {
6767
"@changesets/cli": "2.31.0",
68-
"@effect/vitest": "4.0.0-beta.102",
68+
"@effect/vitest": "4.0.0-beta.105",
6969
"@types/node": "25.7.0",
7070
"dprint": "0.55.2",
71-
"effect": "4.0.0-beta.102",
71+
"effect": "4.0.0-beta.105",
7272
"tinybench": "2.9.0",
7373
"tstyche": "7.2.1",
7474
"typescript": "6.0.3",

pnpm-lock.yaml

Lines changed: 17 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ packages:
22
- "."
33

44
overrides:
5-
effect: 4.0.0-beta.102
6-
"@effect/vitest": 4.0.0-beta.102
5+
effect: 4.0.0-beta.105
6+
"@effect/vitest": 4.0.0-beta.105
77

88
minimumReleaseAge: 1440
99
minimumReleaseAgeExclude:
10-
- effect@4.0.0-beta.102
11-
- "@effect/vitest@4.0.0-beta.102"
10+
- effect@4.0.0-beta.105
11+
- "@effect/vitest@4.0.0-beta.105"

src/internal/machineModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ export const decodeStateValue = (
807807
machineId: machine.id,
808808
boundary: "state",
809809
state: node.path,
810-
cause
810+
cause: new Schema.SchemaError(cause)
811811
})
812812
)
813813
)

test/MachineResume.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ describe("Machine.resume", () => {
445445
class FailedEvent extends Schema.TaggedClass<FailedEvent>("FailedEvent")("FailedEvent", {
446446
message: Schema.String
447447
}) {}
448-
class LoadFailure extends Schema.TaggedErrorClass<LoadFailure>("LoadFailure")("LoadFailure", {
448+
class LoadFailure extends Schema.TaggedError<LoadFailure>()("LoadFailure", {
449449
message: Schema.String
450450
}) {}
451451
const runs = yield* Ref.make(0)

0 commit comments

Comments
 (0)