You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## v18.0.0 - 2026-05-31
4
4
5
-
Refactor parallel converging and forking gateways.
5
+
Refactor parallel converging and forking gateways, and treat multiple start events as mutually exclusive entry points.
6
6
7
7
### Breaking
8
8
@@ -11,11 +11,15 @@ Refactor parallel converging and forking gateways.
11
11
- IntermediateCatchEvent cannot be used as a starting element, or it can but will not be started by default
12
12
-`Definition` must be called with `new`
13
13
- non-gateway activities discard their outbound when all conditional flows are falsy instead of throwing; only exclusive and inclusive gateways still require a taken or default flow
14
+
- multiple start events are mutually exclusive entry points — the first start event to fire discards the others still waiting to be triggered, so two start events can no longer both run (e.g. into a parallel join, or a joining task taken twice)
15
+
- start activities that are not start events (e.g. a starting receive task, or an activity without an inbound flow) are no longer auto-discarded; they are genuine tokens that must be signalled or completed
16
+
- multiple start events no longer trigger a graph shake on run/resume; only converging parallel gateways do, and the shake remains available on demand via `shake()`
14
17
15
18
### Additions
16
19
17
20
- expose throwable error classes via new `bpmn-elements/errors` subpath: `import { ActivityError, BpmnError, RunError } from 'bpmn-elements/errors'`
18
21
- activity readonly property `isParallelJoin` indicating a parallel converging gateway
22
+
- activity readonly property `isStartEvent` indicating a start event
19
23
- new activity event `activity.converge` published when parallel gateway is executed
20
24
- fix link event definition shaking
21
25
- fix `Activity.recover()` to return the activity when called without state
@@ -25,6 +29,7 @@ Refactor parallel converging and forking gateways.
25
29
### Types
26
30
27
31
- runtime types are now generated from JSDoc and bundled with [dts-buddy](https://github.com/Rich-Harris/dts-buddy); status enums (`ActivityStatus`, `DefinitionStatus`, `ProcessStatus`) and `TimerType` accept both enum members and their string literals.
32
+
- expose `isStartEvent` and `isParallelGateway` on the `Activity` interface
0 commit comments