All notable changes to the bpmn-js-token-simulation are documented here. We use semantic versioning for releases.
Note: Yet to be released changes appear here.
FEAT
: supportbpmn-js@18
(#196)FIX
: clear animation when destroying diagram (#196)FIX
: do not complete animation when clearing it (#196)
FIX
: allow errors to propagate upwards (#187)
FEAT
: support catch-all error and escalation events (#184)
FIX
: make parallel join BPMN spec compliant (#130)DEPS
: use[email protected]
DEPS
: do not markdiagram-js
as explicit dependency
FIX
: explicitly hide context pad when token simulation is enabled (#185)
FIX
: add aria-label to log close button (#177)
FIX
: gracefully handle missing event definitions (#171)
FEAT
: make log icons more precise (#167)
FIX
: use inset box shadow instead of border to add border (#164)
FEAT
: support implicit start events (#144)CHORE
: addmodule
exports
FIX
: support exclusive gateway without outgoings (#134)
FEAT
: trigger none, condition, and timer boundary events independently (#129)DEPS
: fix audit warnings
FIX
: reset colors before export (#124)FIX
: do not set colors on elements that do not support them588415c
FIX
: don't trigger simulation editorActions when simulation is disabled (#127)
FEAT
: make simulation log auto-scrolling adaptiveFEAT
: make simulation log button toggle the logFEAT
: remove simulation log dateFEAT
: truncate external text to reasonable widthFEAT
: reposition simulation log to the rightFEAT
: add simulation log headerCHORE
: remove button hover animation
FEAT
: align receive and send task behavior more closely with the BPMN spec (#120)FIX
: explicitly depend oninherits-browser
utility (10b1d6e5
)
DEPS
: supportbpmn-js@10
DEPS
: bump utility dependencies
DEPS
: supportbpmn-js@9
FEAT
: add simulation support to programatically control the token simulation (#112)
FIX
: correctly triggering of multiple signal start events (#109)
FEAT
: rewrite simulator using event scopes and subscriptions (#101)FEAT
: support event rethrow and "absorption" (#100)FEAT
: trigger all startable elements insidebpmn:SubProcess
(#107,acdae242
)FEAT
: support transactions and cancel events (#76, #102,5026298b
)FEAT
: support compensation (#76, #102,bcdad034
)FEAT
: eagerly interrupt when entering event sub-process (452ce5ec
)FEAT
: addSimulator
APIs for (BPMN) event triggering and subscriptions (5da21ed8
)FEAT
: addSimulator#waitForScopes
API (e23e57f0
)FIX
: don't allow pause on event sub-process (af04910b
)FIX
: correct pause handling on receive tasks (#99)FIX
: ensure technically equal events can still be signaled individually (#103, #10715d14062
)CHORE
: implement termination as a behavior (e92e8ff8
)CHORE
: remove destroyed scopes (b3662dc8
)CHORE
: namespace CSS (#30)CHORE
: add properties panel to example (104)DEPS
: update to[email protected]
- Generated markup and used CSS classes changed; things are consistently prefixed with
bts
now to avoid foreign classes crashing (#30) - Drop
destroyContext
in favor of dedicated scope state (failed/ended) (#101) - Reworked way the outside interacts with the simulator: Rather than signaling the simulator with knowledge of internal working mechanisms you trigger an event on a particular scope, notifying all registered subscribers. (#101)
- Destroyed scopes are now longer kept around by simulator (
b3662dc8
)
FEAT
: returnSimulator#signal
scopeFEAT
: returnSimulator#enter
scopeFEAT
: support token sinks other than end events (#94)FEAT
: support error throw events (017aa885
)FIX
: read and restore colors inbpmn-js >= 8.7
compatible manner (#90)FIX
: correct context-pads interaction with scope filters (6dc14819
)FIX
: make pause context-pad handler scope filter aware (7253969f
)CHORE
: various example improvements
FEAT
: add pause at node feature (f6c6b06b
, #91)FEAT
: update context-pads rather than add and remove (84d288e7
)FEAT
:tick
on out of boundselementChanged
(53230707
)FEAT
: update and inline icons (dc6eb1195
)FEAT
: allow configuration ofActivityBehavior
wait semantics (dcf1e855
)FIX
: reduce visual noise caused by context-pad updatesFIX
: mark parent as changed on{create,destroy}Scope
(410659bc
)
FEAT
: allow simulation of bi-directional message flows (#77)FEAT
: execute message flows in interaction orderFEAT
: signal message receive with initiatorFIX
: prevent undirected message receive from signaling participantCHORE
: detect message flow by element, not initiator
FIX
: make parallel gateway join properly (#89)CHORE
: makelog
optional in editor actions
FIX
: revertmain
tomodule
entry point rename
CHORE
: complete migration to ES modulesCHORE
: mark package as side-effect free
- We do now export a
module
rather than amain
file.
FEAT
: rework animation (#82)FEAT
: display parent scope in log and trace notifications (de08d9c7
)FIX
: only signal event sub-processes if parent is running (5aa7b019
)FIX
: do not reset token position on animation speed changeFIX
: escape element names displayed in log (3d4ed8f0
)DEPS
: removeSVG.js
dependencyDEPS
: update to[email protected]
FIX
: do not override global styles
FIX
: emit element changed events on simulation reset
FIX
: ignore destroyed scopes inScope#getTokensByElement
FEAT
: support escalationFEAT
: signal event-based gateway on signal
FEAT
: support signalsFEAT
: handle scope interruption according to BPMN 2.0 specFEAT
: signal event-based gateway on incoming messagesFEAT
: scope all activities
- In order to start a process you must now signal the process element, not the start event contained in it.
FEAT
: improve scope filter behavior on scope creation and destructionFIX
: correct trigger activity context pad activation
FEAT
: hide context pads if no action available in selected scopeCHORE
: migrate most components to ES6
FIX
: prevent signal of activities with active child scopes
FEAT
: allow to signal all waiting activitiesFEAT
: various example improvements
FEAT
: add support for event sub-process (#71)FEAT
: add support for event-based gateway (#72)FEAT
: support boundary events on tasksFEAT
: rework context pads open/close handlingFEAT
: batch simulator element changed eventsFIX
: correct scope filter integration with context pads
FEAT
: allow to toggle explicit modeFEAT
: handle diagram import during simulationFIX
: do not re-add toggle mode UI on diagram re-import
tokenSimulation.toggleMode
event active flag renamed fromsimulationModeActive
toactive
A complete rewrite of the simulator, vastly improving stability.
FEAT
: extract simulator into standalone component (#65, #66)FEAT
: show scope in notification and log panelFEAT
: color tokens and element notifications according to scopeFEAT
: make notification and log panel aware of active scope filterFEAT
: support multiple parallel scopesFEAT
: support message flowsFEAT
: require external trigger on all activities with incoming message flowsFEAT
: support link eventsFEAT
: increase fastest animation speedFEAT
: improve animation speed on longer connectionsFIX
: correct end event behaving like terminate end event (#59)FIX
: correct gateway toggle inside sub-process (#61)FIX
: better scope highlight color for canvas (fdbf665f
)CHORE
: migrate to GitHub actionsCHORE
: upgrade the code base to ES6
- A modern browser supporting ES6 or additional transpilation is now required to use this library
- Reworked data-handling and most internal components. If you are looking to drive the simulation via API or query the simulation state refer to the
simulator
.
FIX
: correct setting animation speed
FEAT
: ignorebpmn:Group
elements (#58)FEAT
: ignorebpmn:MessageFlow
elements during simulation (#52)FEAT
: supportbpmn:SentTask
andbpmn:ReceiveTask
(#57)FEAT
: make token move duration a constant time (0156fb8e
)FEAT
: color sequence flow labels along with sequence flows (a310ac66
)FIX
: consistently ease in and ease out token animations (76562b6d
)FIX
: make intermediate throw events work, again (#53)FIX
: do not interfer with base bpmn-js stylesFIX
: hide context pads for completed sub-process scopes (26d68763
)FIX
: correct process instance state finished detection (#28)CHORE
: improve button and overlay colors
CHORE
: update colorsCHORE
: update tobpmn-js@7
FIX
: fix simulation state (#51)
FEAT
: add support for call activity (#49)
FIX
: don't override default modeler keybindings (#41)FIX
: bind keyboard listeners onkeyboard.init
(not diagram import)
CHORE
: update tobpmn-js@3
(#34)CHORE
: drop lodash dependency for smaller bundle sizesCHORE
: ignore dev assets in packaged bundleCHORE
: add linting and test coverage
- This drops support for
bpmn-js<3
.
Check git log
for earlier history.