Commit Graph

1928 Commits

Author SHA1 Message Date
Nico Rehwaldt c40ebf558a chore(util/CompatibilityUtil): correct spacing and simplify warning 2020-05-18 08:10:32 +00:00
Nico Rehwaldt f3edfd0f0d docs(README): up example 2020-04-29 11:37:51 +02:00
Oguz 157aec6ed6 feat(lib): deprecate import.parse.complete <context> payload
The <import.parse.complete> event is now invoked with

{
 error,
 definitions,
 elementsById,
 references,
 warnings
}

The old payload is deprecated:

{
  error,
  definitions,
  context: { elementsById, references, warnings }
}
2020-04-29 11:12:23 +02:00
Nico Rehwaldt 04ca31fac9 feat(lib): Promisify public APIs
This commit promisifies following APIs:

   BaseViewer#importXML
   BaseViewer#importDefinitions
   BaseViewer#open
   BaseViewer#saveXML
   BaseViewer#saveSVG
   Modeler#createDiagram

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

BREAKING CHANGES:

* Users are now expected to have Promises either by default or
polyfilled as the APIs return a Promise now.
2020-04-29 11:12:23 +02:00
Oguz ef2a6d0cd0 chore(project): declare Promise as a global variable for linting 2020-04-29 11:12:23 +02:00
Oguz 7c8abfb497 chore(util): add wrapForCompatibility utility 2020-04-29 11:12:23 +02:00
Oguz 506321eafd chore(deps): update to bpmn-moddle v7.0.1
Adds awaitable import and export apis.

Related to https://github.com/bpmn-io/bpmn-js/issues/812
2020-04-29 11:12:23 +02:00
Oguz 6bff933d92 chore(tests): add promise polyfill to tests 2020-04-29 11:12:23 +02:00
Nico Rehwaldt 0c8f2c2bda 6.5.1 2020-04-28 20:44:10 +02:00
Nico Rehwaldt 3875b202ca chore(CHANGELOG): update 2020-04-28 20:10:08 +02:00
Philipp Fromme 0a377250bb Merge branch 'develop' 2020-04-28 14:02:54 +02:00
Philipp Fromme 40991a0b76 6.5.0 2020-04-28 13:49:50 +02:00
Nico Rehwaldt f4f42ab5df chore(project): bump bpmn-moddle
Closes https://github.com/bpmn-io/bpmn-js/issues/1310
2020-04-28 05:39:47 +00:00
Philipp Fromme 0816e4b199 chore(CHANGELOG): update 2020-04-27 14:14:56 +00:00
Philipp Fromme b52faad768 chore(project): bump to diagram-js@6.6.1 2020-04-27 14:14:56 +00:00
Nico Rehwaldt 63045bdfa8 chore(deps): make bpmn-font a development dependency
There is no need to download it in production as we already bundle it
with
the bpmn-js distribution.
2020-04-23 09:15:05 +00:00
Maciej Barelkowski ea2b1fa5e9 chore(project): update diagram-js to v6.6.0 2020-04-23 08:06:47 +00:00
Philipp Fromme 8d583dd91f chore(auto-place): adjust to new auto place API 2020-04-16 11:36:12 +00:00
Philipp Fromme e03a4b2c59 chore(auto-place): move common feature to diagram-js
https://github.com/bpmn-io/dmn-js/issues/470
2020-04-16 11:36:12 +00:00
Nico Rehwaldt 6e38e2b827 Merge branch 'master' into develop 2020-04-15 22:18:45 +02:00
Oguz e8091b6d67 6.4.2 2020-04-15 16:03:11 +02:00
Oguz 3fac7071e1 chore(project): bump to bpmn-moddle@6.0.5 2020-04-15 15:55:28 +02:00
Oguz c67e2432af chore(CHANGELOG): v6.4.2 2020-04-15 15:54:16 +02:00
Nico Rehwaldt d7c972dcec Merge branch 'master' into develop 2020-04-08 13:20:36 +02:00
Nico Rehwaldt f68f961f16 6.4.1 2020-04-08 13:20:03 +02:00
Nico Rehwaldt 46d303c496 chore(CHANGELOG): update 2020-04-08 13:20:03 +02:00
Nico Rehwaldt 85461c8dbb chore(project): bump to bpmn-moddle@6.0.4 2020-04-08 13:20:03 +02:00
Nico Rehwaldt 36b2630adc test(fixtures): correct broken diagram
bpmn-moddle@6.0.3 is stricter during import
2020-04-08 13:20:03 +02:00
Nico Rehwaldt 008ac423ef chore(project): bump to bpmn-moddle@6.0.3 2020-04-08 13:20:03 +02:00
Nico Rehwaldt dd543300bd chore(CHANGELOG): update to v6.4.1 2020-04-08 13:20:03 +02:00
Maciej Barelkowski f1745547f0 feat(layouter): prefer straight layout for sub-process connections
Related to https://github.com/camunda/camunda-modeler/issues/1758
2020-04-08 11:14:46 +00:00
Nico Rehwaldt fe6ad84626 6.4.1 2020-04-08 10:47:46 +02:00
Nico Rehwaldt 0839b32cca chore(CHANGELOG): update 2020-04-08 10:43:42 +02:00
Nico Rehwaldt 4d1b3aa0d1 chore(project): bump to bpmn-moddle@6.0.4 2020-04-08 10:42:51 +02:00
Nico Rehwaldt 8b0dc3798f test(fixtures): correct broken diagram
bpmn-moddle@6.0.3 is stricter during import
2020-04-07 06:53:19 +00:00
Nico Rehwaldt c447047d0c chore(project): bump to bpmn-moddle@6.0.3 2020-04-07 06:53:19 +00:00
Nico Rehwaldt 153211c8ee chore(CHANGELOG): update to v6.4.1 2020-04-07 06:53:19 +00:00
Philipp Fromme 2dd1e13305 chore(documentation): fix JSDoc boolean types 2020-04-07 06:52:55 +00:00
Philipp Fromme fcb11a60f7 chore(documentation): fix JSDoc number types 2020-04-07 06:52:55 +00:00
Philipp Fromme 7a67ff95b2 chore(documentation): fix JSDoc string types 2020-04-07 06:52:55 +00:00
Maciej Barelkowski 3620f38158 chore(project): update diagram-js to v6.5.0
Closes #1289
2020-04-06 07:43:06 +00:00
Maciej Barelkowski aa58493872 test(modeling): verify attachment is not unnecessarily moved
Related to https://github.com/camunda/camunda-modeler/issues/1737
2020-04-01 13:52:58 +00:00
Maciej Barelkowski b9d237e300 test(modeling): verify re-layout of message flows when lane added
Related to #1289
Related to https://github.com/camunda/camunda-modeler/issues/655
2020-04-01 13:52:58 +00:00
Nico Rehwaldt 33f5f2d663 Merge branch 'master' into develop 2020-03-30 14:58:43 +02:00
Nico Rehwaldt 9ef9dd356f 6.4.0 2020-03-30 11:50:10 +02:00
Nico Rehwaldt e3e59b239c chore(CHANGELOG): update to v6.4.0 2020-03-30 11:37:51 +02:00
Maciej Barelkowski 6bfecfa71e test(popup-menu): verify if linked events have name 2020-03-30 11:36:08 +02:00
Nico Rehwaldt bf436bef1e feat(replace): create bpmn:LinkEventDefinition with empty name
Closes https://github.com/bpmn-io/bpmn-js/issues/1296
2020-03-30 11:36:08 +02:00
Nico Rehwaldt 814a23a7df 6.3.5 2020-03-30 11:26:53 +02:00
Nico Rehwaldt 305477b9d1 chore(CHANGELOG): update to v6.3.5 2020-03-30 11:07:50 +02:00