Skip to content
Merged
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
24 changes: 13 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## Unreleased

## 2.41.0 - 2026-11-25

- Experimental state machines: `MachineCatalog` registers the definitions
that may host each other. It refuses a duplicate definition, a slot naming
an unregistered child, and a recursive or cyclic child binding with
`InvalidMachineCatalog`, which carries a stable reason and the slot route.
An optional child depth limit raises `ResourceLimitExceeded` with the
`child_depth` dimension (reason
`state_machine_child_depth_limit_exceeded`) and the deepest observed
depth. The catalog is opt-in: hosts call `MachineCatalog::assertBinding()`,
which also checks that the child profile uses the slot's registered
definition. (#1069, #1293)
- Experimental state machines: `TransitionResult::explain()` names the
`TransitionStage` gate that produced a result (selection, source,
invariant, target, permission, admission, budget or commit) and the
Expand All @@ -12,17 +24,7 @@
scopes each child participates in, and the retained scopes' recovery
descriptions. It refuses a transition or child work that belongs to
another subject or profile; the host pairs compensation scopes with the
subject. (#1069)
- Experimental state machines: `MachineCatalog` registers the definitions
that may host each other. It refuses a duplicate definition, a slot naming
an unregistered child, and a recursive or cyclic child binding with
`InvalidMachineCatalog`, which carries a stable reason and the slot route.
An optional child depth limit raises `ResourceLimitExceeded` with the
`child_depth` dimension (reason
`state_machine_child_depth_limit_exceeded`) and the deepest observed
depth. The catalog is opt-in: hosts call `MachineCatalog::assertBinding()`,
which also checks that the child profile uses the slot's registered
definition. (#1069)
subject. (#1069, #1294)

## 2.40.0 - 2026-11-25

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"dev-main": "2.0.x-dev"
},
"durable-workflow": {
"product-train": "2.40.0",
"product-train": "2.41.0",
"laravel-embedded-upgrade-contract": "resources/laravel-embedded-upgrade-contract.json",
"laravel-dependency-security-policy": "resources/laravel-dependency-security-policy.json"
},
Expand Down
12 changes: 6 additions & 6 deletions docs/api-stability.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,12 @@ They first shipped in these steps:
`RuleEvaluation`, `ConditionEvaluation`, `MachineAssessment`), budgets
(`DefinitionLimits`, `ExecutionLimits`, `Execution\ResourceLimitExceeded`),
child bindings (`Binding\*`) and native child start.
- **Unreleased:** the child binding catalog (`Definition\MachineCatalog`,
`Definition\InvalidMachineCatalog`) and the `child_depth` dimension of
`Execution\ResourceLimitExceeded`.
- **Unreleased:** transition diagnostics (`Execution\TransitionStage`,
`TransitionResult::explain()` and its `stage`, `snapshotId` and `phase`
properties) and `Inspection\MachineInspection`.
- **2.41.0:** the child binding catalog (`Definition\MachineCatalog`,
`Definition\InvalidMachineCatalog`), the `child_depth` dimension of
`Execution\ResourceLimitExceeded`, transition diagnostics
(`Execution\TransitionStage`, `TransitionResult::explain()` and its
`stage`, `snapshotId` and `phase` properties) and
`Inspection\MachineInspection`.

Members marked `@internal`, such as `Execution\ExecutionBudget`, are
implementation details. Recorded histories of state-machine runs replay under
Expand Down