diff --git a/CHANGELOG.md b/CHANGELOG.md index 68d9f900d..e2325bea6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,19 @@ All notable changes to [diagram-js](https://github.com/bpmn-io/diagram-js) are d ___Note:__ Yet to be released changes appear here._ +* `FEAT`: add ability to create multiple elements ([`fecda964`](https://github.com/bpmn-io/diagram-js/pull/390/commits/fecda964831fc8f09929cf1febecc5bdd3799d51)) +* `FEAT`: add `elements.copy` and `elements.copyDisallowed` event ([`fecda964`](https://github.com/bpmn-io/diagram-js/pull/390/commits/fecda964831fc8f09929cf1febecc5bdd3799d51)) +* `FEAT`: add `createElementsBehavior` hint to prevent behavior on creating elements ([`9d470dec`](https://github.com/bpmn-io/diagram-js/pull/390/commits/9d470dec37123eb826b51188652c543cc1bd3ecd)) * `FEAT`: add ability to provide custom hit boxes ([#371](https://github.com/bpmn-io/diagram-js/pull/371)) +### Breaking Changes + +* `Create`: hints are not passed to CreateShapeHandler anymore +* `Create#start`: third argument is context, if you want to specify `source` do `{ hints: { source: myElement } }` +* `CopyPaste`: `elements.copy` event is now fired with elements instead of tree +* `Modeling#pasteElements` removed in favor of `Modeling#createElements` +* `MouseTracking` removed in favor of `Mouse` + ## 4.0.3 * `FIX`: compensate for missing `element.out` event ([#391](https://github.com/bpmn-io/diagram-js/pull/391))