Commit Graph

2306 Commits

Author SHA1 Message Date
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
Nico Rehwaldt 5f266b20df chore(ordering): throw on missing order
Throw a proper exception of we fail to compute an elements ordering.
2021-06-24 09:44:40 +02:00
Maciej Barelkowski 9cb2fa123d 8.7.0 2021-06-17 12:15:11 +02:00
Maciej Barelkowski 82f9678cbe chore(CHANGELOG): update to v8.7.0 2021-06-17 12:13:29 +02:00
Maciej Barelkowski 190960494f Merge branch 'master' into develop 2021-06-17 12:03:31 +02:00
Maciej Barelkowski 7b40669316 8.6.2 2021-06-17 11:49:16 +02:00
Maciej Barelkowski ad90665d3f chore(CHANGELOG): update to v8.6.2 2021-06-17 11:47:33 +02:00
Maciej Barelkowski 670691a82f deps: update diagram-js-direct-editing to v1.6.3 2021-06-17 11:46:45 +02:00
Maciej Barelkowski 2c88599a0e Merge branch 'master' into develop 2021-06-04 11:13:11 +02:00
Maciej Barelkowski ac1ca9b667 8.6.1 2021-06-04 11:10:07 +02:00
Maciej Barelkowski 44a199e4d4 chore(CHANGELOG): update to v8.6.1 2021-06-04 11:07:59 +02:00
Maciej Barelkowski 2a60745991 Merge branch 'master' into develop 2021-06-02 08:53:22 +02:00
Maciej Barelkowski 8743585f79 ci: fix wiredeps branch ref 2021-05-31 18:31:39 +00:00
Maciej Barelkowski 7f1c0be591 fix(rules): disallow creating DataStoreReference if process is missing
Closes #1456
2021-05-31 18:31:39 +00:00
Maciej Barelkowski e0c4dea90d fix(modeling): append DataStoreReference to first available process
Related to #1456
2021-05-31 18:31:39 +00:00