All notable changes to bpmn-js are documented here. We use semantic versioning for releases.
Note: Yet to be released changes appear here.
FIX
: correct sequence flow layout after drop on flow (#1178)
Republish of v5.0.2
.
FIX
: allow reconnecting to loops (#1121)CHORE
: bump to[email protected]
FIX
: import boundary event associations (#1170)
FEAT
: add two-step copy and paste (#1137)FEAT
addelements.create
rule for creating multiple elements (#1137)FEAT
: make containers draggable via their borders / labels only (#1097, #957)FEAT
: allow copied elements to be filtered (#888)FIX
: prevent accidental dragging of participants and sub-processes (#1097, #957)FIX
: keep labels during pool extraction (#921)FIX
: duplicatebpmn:CategoryValue
when copying groups (#1055)FIX
: translate group creation entry in palette (#1146)CHORE
: useelement.copyProperty
event to copy category value when copying group (12bedca5
)CHORE
: bump todiagram-js@5
Copy and paste as well as create is completely reworked:
CopyPaste
: removeModelCloneHelper
in favor ofModdleCopy
service, removeproperty.clone
event, addmoddleCopy.canCopyProperties
,moddleCopy.canCopyProperty
andmoddleCopy.canSetCopiedProperty
eventBpmnRules
: removedelements.paste
rule in favor ofelements.create
ruleBpmnRules
: removedelement.paste
ruleElementFactory
: useattrs.di
property instead ofattrs.colors
for fill and stroke when creating element throughElementFactory#createBpmnElement
- To prevent additional behavior on create after paste you should check for the
createElementsBehavior
hint, cf.bf180321
FIX
: creatingbpmn:Participant
on singlebpmn:Group
throwing error (#1133)CHORE
: bump to[email protected]
FIX
: prevent dropping on labels andbpmn:Group
elements (#1131)
FIX
: correct element positioning update (#1129)CHORE
: bump to[email protected]
FIX
: prevent adding lane from crashing IE (#746)FIX
: correct inverse space tool visuals (#1105)CHORE
: updatediagram-js-direct-editing
to prevent install warningCHORE
: update to[email protected]
FEAT
: add top, right, bottom, left snapping with container elements (#1108)FEAT
: add grid snapping (#987)FEAT
: allow modeling of groups (#343)FEAT
: improve modeling rules behind event-based gateways (#1006)FEAT
: adjust default collapsed pool to standard height (5affe2570
)FEAT
: add connection previews (#743)FEAT
: create expanded sub-process with start event included (#1039)FEAT
: improve automatic label adjustment for boundary events (#1064)FEAT
: improve creation of initial participant (#1046)FEAT
: improve boundary to host loop layout (#1070)FEAT
: make connection segment move the primary connection drag behaviorFEAT
: allow label and group movement everywhere (#1080)FEAT
: improve message flow to participant connection in the presence of lanes (#950)FEAT
: allow detaching of boundary and attaching of intermediate events (#1045)FEAT
: simplify requested palette and context pad translations (#1027)FEAT
: simplify participant dragging in the presence of nested lanes (fdb299dc
)FEAT
: correctly render all kinds of multiple events (#1091)CHORE
: validate BPMN 2.0 XML ids as QNames (92c03679a
)FIX
: correctly handle flow reconnection + type replacement (#896, #1008)
CHORE
: bump to[email protected]
FEAT
: restoreViewer#importDefinitions
and make it public API (#1112)
FIX
: prevent HTML injection in search (diagram-js#362)
FIX
: prevent HTML injection in search (diagram-js#362)CHORE
: bump to[email protected]
FIX
: do not evaluate pasted text as HTML (#1073)
FIX
: do not evaluate pasted text as HTML (#1073)
Republish of v3.4.0
without .git
folder.
FIX
: properly render colored connection markers (#981)FEAT
: add ability to open different DI diagrams (#87)FIX
: correctly layout straight boundary to target connections (#891)FEAT
: resize participant to standard size on collapse (#975)FEAT
: consistently layout connection on reconnect start and end (#971)FEAT
: layout connection on element removal (#989)FIX
: properly crop sequence flow ends on undo/redo (#940)CHORE
: bump to[email protected]
FIX
: ignore unchanged direct editing completionCHORE
: update to[email protected]
FEAT
: displayDataInput
/DataOutput
labels (89719de3b
)FEAT
: support basicDataInput
/DataOutput
move (#962)FIX
: properly handleDataInput
/DataOutput
move (#961)
FIX
: update to[email protected]
to trim trailing/leading whitespace in task names (#763)
FIX
: gracefully handle missing waypoints (45486f2
)
FIX
: bump to[email protected]
/[email protected]
to work around MS Edge bug (ed798a15
)
FEAT
: set isHorizontal=true for new and updated participant/lane DIs (#934)
CHORE
: update to[email protected]
CHORE
: update to[email protected]
FIX
: render labels always on top (#920)
FIX
: do not join incoming/outgoing flows other than sequence flows on element deletion (#917)
FIX
: correct IE 11 delete keybinding (#904)
FIX
: restore copy-paste behavior
FEAT
: improve context pad tooltip titles forEventBasedGateway
(350a5ab
)FEAT
: display group names (#844)FEAT
: add ability to move selection with keyboard arrows (#376)FEAT
: supportSHIFT
modifier to move elements / canvas with keyboard arrows at accelerated speedFEAT
: requireCtrl/Cmd
to be pressed as a modifier key to move the canvas via keyboard errorsFEAT
: auto-expand elements when children resize (#786)CHORE
: bind editor actions and keyboard shortcuts for explicitly added features only (#887)CHORE
: update to[email protected]
FIX
: disallow attaching ofBoundaryEvent
to aReceiveTask
following anEventBasedGateway
(#874)FIX
: fix date in license (#882)
BpmnGlobalConnect
provider got removed. Useconnection.start
rule to customize whether connection should allowed to be started (#565, #870)EditorActions
/Keyboard
do not pull in features implicitly anymore. If you roll your own editor, include features you would like to ship with manually to provide the respective actions / keyboard bindings (645265ad
)- Moving the canvas with keyboard arrows now requires the
Ctrl/Cmd
modifiers to be pressed.
FIX
: correct horizontal embedded label padding
FIX
: prevent error to be thrown on lane move (#855)
FEAT
: snap message flows tobpmn:Event
center during connect (#850)CHORE
: bump to[email protected]
FIX
: allow label movement over message flow (#849)
FIX
: make viewer IE 9 compatibleFIX
: prevent duplicate connections after drop on flow (#774)FIX
: fix rules not preventing redundant loop (#836)
FEAT
: improve layouting of boundary event to host loops (#467)FEAT
: allow circular activity to activity loops (#824)FEAT
: create label on appropriate free position (#825)CHORE
: bump to[email protected]
FIX
: repair label position not being adapted on host move
FIX
: revert toArial
as the default rendering font (#819)FIX
: keep event definitions when switching from interrupting to non-interrupting boundary event (#799)
CHORE
: update to[email protected]
FIX
: correct updating of multiple data stores (300e7010
)
FEAT
: emit export events (#813)FEAT
: unset businessObject name if empty (6c081d85
)FEAT
: resize text annotation on text change (100f3fb2
)FIX
: apply data store behavior in collaboration only (5cc28d5d
)FIX
: create/update labels when updating element name viaModeling#updateProperties
(4a0f6da8
)
FEAT
: support specifyinglineHeight
for text rendering (#256)FEAT
:bpmn:LaneSet
elements get an ID assigned on creationFEAT
: external labels can be deleted, clearing the elements name (#791)FEAT
: add ability to override default element colors (#713)FEAT
: add ability to override font family and size of rendered labels (4bb270f1
)
Republish of v2.0.0
due to registry error.
FEAT
: allow data store to be modeled between participants (#483)CHORE
: update to[email protected]
FIX
: correctly handle missingbpmndi:Label
bounds during model updating (#794)
- The
PopupMenu
API got rewritten, cf.b1852e1d
CHORE
: update to[email protected]
FIX
: correctly serialize extension attributes onbpmn:Expression
FIX
: correctly auto-place from boundary events attached to host edges (#788)
FEAT
: expose additionalBpmnTreeWalker
APIs for advanced import use-casesCHORE
: bump diagram-js and object-refs version
FIX
: correct side-effects config to not include*.css
files
FEAT
: add initial snapping when creating associationsCHORE
: update to[email protected]
FIX
: allow message flows between collapsed poolsFIX
: complete direct editing on popup menu useFIX
: focus label editing box on element creation
FIX
: escapedata-element-id
in CSS selectors
FEAT
: show gateway icon on context pad without marker (15dfab6b
)
FIX
: properly wire$parent
on copy + pasteFIX
: improve boundary event rendering to correct SVG to image conversion
FIX
: re-exposeTestHelper#bootstrapBpmnJS
util
FIX
: correct library default export
Republished 1.0.0 with CHANGELOG entries.
CHORE
: convert code base to ES modulesCHORE
: update utility toolbelt
- You must now configure a module transpiler such as Babel or Webpack to handle ES module imports and exports.
FEAT
: encode entities in body properties during XML exportCHORE
: bump to[email protected]
CHORE
: bump utility version
CHORE
: bump to[email protected]
Check git log
for earlier history.