Commit Graph

2320 Commits

Author SHA1 Message Date
Martin Stamm f3d4b4b976 deps: update diagram-js to v7.4.1 2021-10-08 10:16:03 +02:00
github-actions b84f968c16 Merge master to develop 2021-10-05 07:27:53 +00:00
Maciej Barelkowski c63d0984f4 fix(path-map): disallow nested tokens 2021-10-05 09:27:34 +02:00
Nico Rehwaldt 922daee76f chore: update configuration link 2021-09-17 11:55:50 +02:00
Nico Rehwaldt d9a365ee23 ci: execute stage scripts without `bash`
Not needed with proper (fixed) shebang statements.
2021-09-16 13:12:36 +02:00
Nico Rehwaldt b6e864ba5a ci: run scripts with strict error handling 2021-09-16 13:12:36 +02:00
Nico Rehwaldt 7c8e6a3bc2 ci: add SKIP_COMMIT logic to update-demo script
Make it testable locally.
2021-09-16 13:12:36 +02:00
Nico Rehwaldt 05266d997b ci: use BPMN_IO_TOKEN for authentication 2021-09-16 13:12:36 +02:00
Nico Rehwaldt 723fe1e4ac ci: extract + fix await-published logic 2021-09-16 13:12:36 +02:00
Nico Rehwaldt fea7eebb15 chore(CHANGELOG): update 2021-09-03 15:14:00 +02:00
Nico Rehwaldt bb9dc16cac chore(modeling): consistently create DI with attrs
This fixes the existing DI creation methods in `BpmnFactory` and
simplifies the related `ElementFactory` code that relied on it.

In the past args got ignored and passing attrs to the created DI
was not possible, now it is.

BREAKING CHANGE:

With this change the following `BpmnFactory` API methods got reworked to
take (businessObject, attrs) as an input:

  * `BpmnFactory#createDiEdge`
  * `BpmnFactory#createDiShape`
  * `BpmnFactory#createDiPlane`
2021-09-03 15:14:00 +02:00
Martin Stamm c4206a4d31 fix(replace): create new di on replace 2021-09-03 15:14:00 +02:00
Nico Rehwaldt 7243aa4acc chore: consistently use new `getDi` utility 2021-09-03 15:14:00 +02:00
Nico Rehwaldt f6d84696a9 test: verify label wiring
* import
* label updating (creation)
* label paste
2021-09-03 15:14:00 +02:00
Nico Rehwaldt f458c6833f test: increase timeout
Complex copy and paste test may otherwise timeout on GitHub actions.
2021-09-03 15:14:00 +02:00
Martin Stamm 5d30d576dc test: ensure that connectionDi exists 2021-09-03 15:14:00 +02:00
Martin Stamm 597c417dce chore: throw error when accessing DI from business object
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Martin Stamm 0c40cbe9f3 chore(CHANGELOG): document breaking changes 2021-09-03 15:14:00 +02:00
Martin Stamm 5589439774 feat: make elementFactory._getDefaultSize public
This has the benefit of using the public API method across our 
code base.
2021-09-03 15:14:00 +02:00
Martin Stamm ca8488b2c9 test: adjust to use `getDi` utility function
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Martin Stamm 769bcbeeff chore: adjust features to new DI structure
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Martin Stamm 2b11d871cd feat: decouple DI from businessObject
In the diagram `di` is now accessed via the diagram element, not the
business object. This has the benefit that elements in multiple diagrams
can easily be represented.

Related to https://github.com/bpmn-io/bpmn-js/issues/1472

BREAKING CHANGE:

* Instead of referencing the `di` from the business object, reference it
  from the diagram element representing it.
2021-09-03 15:14:00 +02:00
Martin Stamm d19c4b0027 fix(import): pass context during collaboration import 2021-08-30 09:41:34 +00:00
Nico Rehwaldt 03352e8665 8.7.3 2021-08-27 16:44:30 +02:00
Nico Rehwaldt 82a34922d1 chore(CHANGELOG): update to v8.7.3 2021-08-27 16:39:11 +02:00
Joel Knott 8d90d4dc63 chore: use ES6 exports
Modified the file to use 'export default' instead of 'module.exports'
so that I don't get errors stating that there is no default export.
2021-08-25 08:41:34 +02:00
dependabot[bot] d27ae8f808 deps: bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 08:56:11 +02:00
Nico Rehwaldt e532807f4e chore(CHANGELOG): update to v8.7.2 2021-08-20 12:08:02 +02:00
Nico Rehwaldt 9124661d2e 8.7.2 2021-08-20 11:46:02 +02:00
Nico Rehwaldt e5d6be77aa ci: wait for published before executing post release steps 2021-08-20 09:04:07 +00:00
Maciej Barelkowski 032da0d17a ci: automerge master to develop
Related to bpmn-io/fake-join#4
2021-07-07 10:34:24 +00:00
Maciej Barelkowski 886da8924f test(modeling): add test for non-interrupting event replacement 2021-06-29 12:18:10 +00:00
Nico Rehwaldt 3d88b210cc Merge branch 'master' into develop 2021-06-25 12:03:36 +02:00
Nico Rehwaldt ea4b573fb6
chore(CHANGELOG): update to v8.7.1 2021-06-25 11:59:04 +02:00
Maciej Barelkowski 13d42f8c95 Merge branch 'master' into develop 2021-06-25 11:04:19 +02:00
Maciej Barelkowski a1520ef23c 8.7.1 2021-06-25 11:02:10 +02:00
Maciej Barelkowski 5c6982017b test(bpmn-rules): verify CallActivity can connect with MessageFlow
Closes #1467
2021-06-25 10:43:29 +02:00
Maciej Barelkowski bcc5820754 deps: update bpmn-moddle to v7.1.2 2021-06-25 10:43:17 +02:00
Maciej Barelkowski b7fa6b934a test(bpmn-rules): verify CallActivity can connect with MessageFlow
Closes #1467
2021-06-25 10:33:40 +02:00
Maciej Barelkowski 1d77bc75de deps: update bpmn-moddle to v7.1.2 2021-06-25 10:33:40 +02:00
Nico Rehwaldt dce97aa0f8 deps: back to webpack@4
Webpack@5 introduced ES6 constructs like `Map` into the build, making it
impossible to run against PhantomJS.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt e0b915f5db deps: back to sinon@7 / mocha@8 / chai@4.1.2
Latest versions that use ES5.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt dcd4e58fe8 deps: update build dependencies 2021-06-24 09:44:40 +02:00
Nico Rehwaldt 2e43368db8 deps: update eslint* deps 2021-06-24 09:44:40 +02:00
Nico Rehwaldt b30b25cf09 deps: bump development dependencies
Major bumps:

+ mocha -> 9.0
+ puppeteer -> 10.0
+ karma -> 6
+ webpack -> 5
2021-06-24 09:44:40 +02:00
Nico Rehwaldt e853531d7d test: add webpack to karma test frameworks
Warns otherwise on run.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt e24fa02b2c test: migrate JSONMatcher to new chai API
Already using it for other matchers.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt 68bc49a812 test: mark TestHelper as causing side-effects
It adds chai matchers, so it is.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt edbf6a6be7 chore: add prepare script
Allows installation of package from GitHub.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt 809ec84309 chore(ordering): make exception handling fail-safe
Would previously fail if no new parent was given.
2021-06-24 09:44:40 +02:00