git# Changelog
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.
FIX: improve accessibility for keyboard users (#252)DEPS: update to ids@3.0.1DEPS: update to min-dom@5.3.0
DEPS: depend onids@3.0.0
DEPS: update tomin-dom@5.2.0DEPS: update tomin-dash@5.0.0
FIX: don't show context pad overlays on sub-process plane (#228)FIX: correct context pad overlays not updating when changing root element (#216, #228)
FEAT: be able to matchSimulationSupport#scopeDestroyedby element ID (799c63b)FEAT: ensure completed scopes don't yield tokens (#207)FIX: make inclusive join spec compliant (#143)FIX: do not report termination as process cancelation (#169)FIX: events can always be caught by boundary events (#217)FIX: preserve compensation triggers when recovering from sub-process failure (#223)FIX: consider link events before inclusive joins (#153)
FEAT: improve collapsed sub-process support (#114)FEAT: always display parent scope token (#209, #204)FEAT: indicate selected root scope (#214)FEAT: improve robustness of disabled modeling feature (#211, #203)FIX: preventrfrom opening replace menu (#211, #203)FIX: show all sub-process scopes (#210, #205)FIX: hide context pads based on active scope filters (#213)FIX: correct activation of compensation event sub-process once parent completes (#215, #206)CHORE: use bpmn-js exported utilities (#212)
FIX: continue simulation after empty collapsed sub-process (#135)
FIX: register events within collapsed sub-processes (#118)
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: usemin-dom@4.2.1
DEPS: do not markdiagram-jsas 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: addmoduleexports
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-browserutility (10b1d6e5)
DEPS: supportbpmn-js@10DEPS: 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: addSimulatorAPIs for (BPMN) event triggering and subscriptions (5da21ed8)FEAT: addSimulator#waitForScopesAPI (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 tobpmn-js@8.9.0
- Generated markup and used CSS classes changed; things are consistently prefixed with
btsnow to avoid foreign classes crashing (#30) - Drop
destroyContextin 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#signalscopeFEAT: returnSimulator#enterscopeFEAT: support token sinks other than end events (#94)FEAT: support error throw events (017aa885)FIX: read and restore colors inbpmn-js >= 8.7compatible 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:tickon out of boundselementChanged(53230707)FEAT: update and inline icons (dc6eb1195)FEAT: allow configuration ofActivityBehaviorwait 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: makelogoptional in editor actions
FIX: revertmaintomoduleentry point rename
CHORE: complete migration to ES modulesCHORE: mark package as side-effect free
- We do now export a
modulerather than amainfile.
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.jsdependencyDEPS: update tobpmn-js@8.6.0
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.toggleModeevent active flag renamed fromsimulationModeActivetoactive
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:Groupelements (#58)FEAT: ignorebpmn:MessageFlowelements during simulation (#52)FEAT: supportbpmn:SentTaskandbpmn: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.