bpmn-engine 13.0.0 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,290 @@
1
+ Changelog
2
+ =========
3
+
4
+ # 14.0.0
5
+
6
+ ## Breaking
7
+ - Engine is prototyped, can still be invoked without new
8
+ - Bump [`bpmn-elements@8.0.0`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md) with support for bpmn:CallActivity (#97)
9
+ - Bump [`smqp@6.0.0`](https://github.com/paed01/smqp/blob/default/CHANGELOG.md) with support for bpmn:CallActivity (#97)
10
+
11
+ # 13.0.2
12
+
13
+ - fix for removing wrong listener on error by @allain
14
+
15
+ # 13.0.1
16
+
17
+ ## Type definition
18
+ - fix: set the correct `Logger` type in `BpmnEngineOptions` by @leon19
19
+
20
+ # 13.0.0
21
+
22
+ - Slimmer state from [`bpmn-elements@6`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md). In most cases it should be safe to update, unless you inspect the broker states for some reason
23
+
24
+ # 12.0.5
25
+
26
+ - Prettify and actualize ts types
27
+
28
+ # 12.0.4
29
+
30
+ Update package.json to reflect what was stated in v12.0.3.
31
+
32
+ - And add tests for issue #142
33
+
34
+ # 12.0.3
35
+
36
+ - Bump [`bpmn-elements@5.2.0`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md) with support for bpmn:Property (#139)
37
+ - Bump [`smqp@5`](https://github.com/paed01/smqp/blob/default/CHANGELOG.md)
38
+
39
+ # 12.0.2
40
+
41
+ - Bump [`bpmn-elements@5.1.2`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
42
+ - Bump [`smqp@4`](https://github.com/paed01/smqp/blob/default/CHANGELOG.md)
43
+
44
+ # 12.0.1
45
+
46
+ - Bump [`bpmn-elements@5.1.0`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md) with "support" for bpmn:Group and Category. Kinda bugfix for the engine to be honest.
47
+
48
+ # 12.0.0
49
+
50
+ - Something about loop characteristics in [`bpmn-elements@5.0.0`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md). Not sure that a major was necessary, but semver is semver. In most cases it should be safe to update, unless you have used parallel loops without collection or cardinality (∞)?
51
+
52
+ # 11.4.2
53
+
54
+ - Bump [`bpmn-elements@4.4.2`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
55
+ - Add badge [![Coverage Status](https://coveralls.io/repos/github/paed01/bpmn-engine/badge.svg?branch=master)](https://coveralls.io/github/paed01/bpmn-engine?branch=master)
56
+
57
+ # 11.4.1
58
+
59
+ - Patch `moddle-context-serializer@0.16.1`
60
+ - Patch [`bpmn-elements@4.3.4`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
61
+
62
+ # 11.4.0
63
+
64
+ - Expose execution api on property `engine.execution` since it is basically the same as when returned on events
65
+
66
+ # 11.3.2
67
+
68
+ - Bump [`bpmn-elements@4.3.2`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
69
+ - Add tests for issue #125
70
+
71
+ # 11.3.1
72
+
73
+ ## Type definition
74
+ - Engine.resume returns Promise that resolves BpmnEngineExecutionApi by @mdwheele
75
+
76
+ ## Misc
77
+ - Pick recovered definition source from passed sources if not present on definition state
78
+
79
+ # 11.3.0
80
+
81
+ - Bump [`bpmn-elements@4.3.1`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md) to version with timer tracking
82
+ - Add the above timers, i.e. `setTimeout` and `clearTimeout`, to inline script context
83
+ - Clear all timers when execution is stopped
84
+
85
+ # 11.2.1
86
+
87
+ - [`bpmn-elements@4.1.0`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
88
+ - `bpmn-moddle` patch
89
+
90
+ # 11.2.0
91
+
92
+ - Major bump of [`bpmn-elements@4`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md). No apparent breaking change to engine except that gives more power to a custom script handler
93
+
94
+ # 11.1.0
95
+
96
+ - [`bpmn-elements@3.1.0`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
97
+
98
+ # 11.0.0
99
+
100
+ All conditional flows from `bpmn-elements@3`.
101
+
102
+ ## Breaking
103
+ - Outbound sequence flow with script condition requires `next(err, result)` to be called where result decides if it should be taken or discarded
104
+
105
+ ## Addititions
106
+ - Outbound sequence flow conditions are evaluated for all activities, as well as default flow
107
+ - Process now also have `cancelActivity` function for facilitation
108
+
109
+ # 10.1.2-3
110
+
111
+ Type definitions courtesy of @saeedtabrizi.
112
+
113
+ - Some type fix and add engine broker types
114
+
115
+ # 10.1.1
116
+
117
+ - Add type definition to package.json
118
+
119
+ # 10.1.0
120
+
121
+ - Bump bpmn-elements to 2.1, adding support for Transaction and CancelEventDefinition see [change log](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
122
+
123
+ # 10.0.0
124
+
125
+ Untangle issue #105 which resulted in refactoring outbound sequence flow handling.
126
+
127
+ - Bump bpmn-elements from 1.6 to 2, see [change log](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
128
+
129
+ ## Breaking
130
+ - No more `flow.pre-flight` events from sequence flows, not sure that anyone used them, but still
131
+ - Activities now publish (or emit) `activity.leave` when all outbound flows have been taken/discarded
132
+
133
+ # 9.2.0
134
+
135
+ - Bump bpmn-elements from 1.2 to 1.6, see [change log](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
136
+ - Support adding definition source with `addSource` function
137
+
138
+ # 9.1.1
139
+
140
+ - Bump bpmn-elements to version with ability to signal waiting start event from definition
141
+
142
+ # 9.1.0
143
+
144
+ - Bump bpmn-elements to version with shake activity functionality
145
+ - Bump moddle-context-serializer@0.16 with scripts and timers
146
+
147
+ ## Additions
148
+ - Add engine option `sourceContext` to hold pre-serialized context
149
+
150
+ # 9.0.0
151
+
152
+ ## Additions
153
+ - Add signal function to engine execution api
154
+
155
+ ## Breaking changes
156
+ - Bump bpmn-elements to v1.0.0 with some [breaking changes](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md) regarding MessageEventDefinition and SignalEventDefinition
157
+
158
+ # 8.7.0
159
+
160
+ - Bump bpmn-moddle, bpmn-elements, and smqp to latest
161
+
162
+ # 8.6.0
163
+
164
+ - Add typescript declaration file (Saeed Tabrizi)
165
+
166
+ # 8.5.0
167
+
168
+ - Bump [bpmn-elements@0.12.1](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md#0121)
169
+
170
+ # 8.4.0
171
+
172
+ - Bump bpmn-elements@0.11.0 with new ability to use process extensions
173
+
174
+ # 8.3.0
175
+
176
+ - Bump bpmn-elements@0.9.0 to support compensation
177
+
178
+ # 8.2.1
179
+
180
+ - Bump bpmn-elements@0.8.1 that expose sequence flow name
181
+
182
+ # 8.2.0
183
+
184
+ - Bump bpmn-elements@0.8.0 and moddle-context-serializer to support StandardLoopCharacteristics
185
+
186
+ # 8.1.0
187
+
188
+ - Bump bpmn-elements@0.7.0 to support LinkEventDefinition
189
+
190
+ # 8.0.0
191
+
192
+ ## Breaking changes
193
+ - Bump bpmn-elements to v0.6.0 with refactored MessageEventDefinition, ReceiveTask, and some bug fixes from @TallaInc
194
+
195
+ ## Additions
196
+ - Recover takes optional options that completely overrides environment and passes it along to the recovered definitions
197
+
198
+ # 7.1.0
199
+
200
+ - Bump bpmn-elements to v0.5.0
201
+
202
+ # 7.0.0
203
+
204
+ Bump bpmn-elements and bpmn-moddle (which now has a node dist :).
205
+
206
+ ## Breaking changes
207
+ - Implementation of ErrorEventDefinition is now closer to the BPMN 2.0 spec
208
+
209
+ ## Additions
210
+ - Start sub-process' sub-process if sub-process throws an error
211
+ - Expose the name of the element that emitted event
212
+
213
+ # 6.2.0
214
+
215
+ ## Additions
216
+ - Bump bpmn-elements and serializer and thereby add support for ConditionalEventDefinition
217
+
218
+ # 6.1.0
219
+
220
+ ## Additions
221
+ - Expose humanPerformer and potentialOwner
222
+
223
+ # 6.0.0
224
+
225
+ Use [bpmn-elements](https://github.com/paed01/bpmn-elements) to execute elements.
226
+
227
+ Behind the scenes the entire definition execution is replaced with [bpmn-elements](https://github.com/paed01/bpmn-elements)
228
+
229
+ ## Breaking changes
230
+ - Node version >= 10 is required
231
+ - Events are not emitted with name of the activity, i.e. no more `enter-task_a8dje7` emits
232
+ - Most events are emitted with the type of element as prefix, e.g. `activity.start`, one exception is `wait` wich is still emitted as `wait`
233
+ - `getPendingActivities()` is renamed to `getPostponed()`
234
+
235
+ ## Changes
236
+ - Change license to MIT
237
+
238
+ # 5.0.0
239
+
240
+ ## Breaking changes
241
+ - Engine `execute` callback is called when execution completes
242
+ - Node version >= 8.9 is supported
243
+ - `SendTask` message requires output
244
+ - `ParallelGateway` emits `start` on first taken inbound, i.e. discarded inbound are just registered
245
+ - Extensions have been moved to separate project [bpmn-engine-extensions](https://github.com/paed01/bpmn-engine-extensions)
246
+
247
+ ## Additions
248
+ - Support for parallell task loop
249
+
250
+ # 4.0.0
251
+
252
+ ## Breaking changes
253
+ - Parallel gateway `getState()` returns pending inbound and/or pending outbound, so old states are not supported
254
+
255
+ ## Changes
256
+ - Add support for Manual task
257
+ - Support camunda input/output for Exclusive Gateways, input is passed to conditional flows
258
+ - Support camunda errorCodeVariable and errorMessageVariable for Error Events
259
+
260
+ # 3.2.0
261
+
262
+ - Add support for SendTask and ReceiveTask
263
+
264
+ # 3.1.0
265
+
266
+ ## Changes
267
+ - A start event with form key will also emit wait
268
+
269
+ # 3.0.0
270
+
271
+ ## Breaking changes
272
+ - The `Engine` now handles definitions instead of processes, hence:
273
+ - `execute(callback)` returns executed definition in callback instead of process
274
+ - `getState()` returns executing definition instead of processes
275
+ - Engine `getState()` and `resume(state)` does no longer return or need the actual definition source. They work with moddle contexts.
276
+ - `Transformer` is now called `transformer` since it is not called with `new`
277
+ - Engine instance `resume()` is now a "static" function on engine, i.e. `Engine.resume`
278
+
279
+ ## Changes
280
+ - `Definition` is exposed and can be executed with moddle context and options, see [documentation](/docs/Definition.md)
281
+ - `validation` is exposed and harbours functions for validating moddle context and execute options
282
+ - Support camunda input forms for user task and start event
283
+
284
+ # 2.0.0
285
+
286
+ - Output from tasks with defined `camunda:inputOutput` now updates context variables. The previous behavior was to save result to `variables.taskInput`. That will still happen if no output is defined.
287
+
288
+ ## Changes
289
+ - Support service connector (#4)
290
+ - Support map and list input/output types from modeller (#5)