- replace cron parser
cron-parser
withcroner
as peer dependency
- move
@0dep/piso
to peer dependency
- fix
FlowScripts
type declaration - throw
FlowResourceError
if failing to get script resource content
- bump 0dep/piso@2
- fix bug where environment was not passed when registering execution listener script, preventing bpmn-engine built-in scripts to execute
- bump 0dep/piso@1
- allow bpmn-elements@>=14 since bpmn-elements has moved beyond 14, and the tests still work
- process history time to live negative and zero days both result in time duration
P0D
- add iso8601 to OnifyTimerEventDefinition supports list to avoid confusion
- fix extensions argument context type
- rearrange time cycle parsing to rethrow proper cron parsing error
- fix FlowScripts export
Stop execution if an invalid time duration, cycle, or date is encountered.
- invalid
TimerEventDefinition
timer type value stops execution if usingbpmn-elements@14
- remove
expireAt
formatting from events with TimerEventDefinion(s) OnifySequenceFlow
resolve properties before and after evaluating condition, hence properties can be addressed in condition
- add process attribute
historyTimeToLive
to process environment variables when running - add process attribute
historyTimeToLive
as timer to definition context viaextendFn
, formatted as ISO8601 duration - use prettier since eslint will deprecate formatting rules in the next major release
Attempting to mitigate Boundary Event formatting interrupting normal execution flow. Asynchronous formatting prevents catching events from attached task. Should probably be done in bpmn-elements but the developer is busy.
- No async formatting on boundary events before end
- Boundary event start execution listener will be executed but without formatting capabilities and detached from execution. Occasional error will just be logged
- Boundary event end execution listener is still executed with formatting capabilities
- Require peer dependency
bpmn-elements >= 8
- Support timer event definition cron time cycle by overloading parse function. Requires
bpmn-elements >= 10
- Correct package module file...
- Doh! Add neglected package.json file to common js dist folder
- Turn into module with exports for node
- Add type declaration
- Support sequence flow properties and take execution listener. Requires
bpmn-elements >= 9.2
- make sure sub-process extensions are only triggered once. Sub process activities unintentionally trigger formatting since events bubble
- add script element type to registered scripts
- restructure and split up index.js to separate files
- abide to new lint rules
- Support activity script and expression execution listeners
- Remove default behaviour of saving activity output even if output is not declared. Output was saved to
environment.output._<Activity ID>
if no result variable or output was declared. The reason was that there was no easy way of getting output from SubProcess or a multi-instance task. Now SubProcess output can be defined and multi-instance output can be solved with execution listener
- fix resume extension when recovered mid formatting
- drop node 12 support
- allow ISO8601 repeating interval and duration in timeCycle
- proper routing keys for end formatting
- catch errors when resolving service expression
- test with bpmn-engine@14
- allow expressions in timeCycle
- test with bpmn-engine@13
- error message changed in node 16