Updates for Camunda Modeler 5
Skaiir opened this issue ยท comments
Hello, Valentin from Camunda here.
With Camunda Modeler 5.0.0 we are making some changes to how we handle plugins.
First off, our docs have moved here.
In short, plugins now work for Cloud bpmn-js diagrams, and will automatically be picked up. This plugin was identified as non breaking but also without any use in cloud bpmn diagrams (yet anyways). If you'd like to opt-out of cloud diagrams, you'll have to use the new plugin registration helper functions that were shipped in https://github.com/camunda/camunda-modeler-plugin-helpers v5.0.0, i.e replacing registerBpmnJSPlugin
with registerPlatformBpmnJSPlugin
Or you could extend the plugin to support Cloud, or keep it in this state, whatever you decide is best.
Note that opting out will break backwards compatibility, since those registration functions do nothing pre Camunda Modeler 5, so you may want to reference an older build of your plugin somewhere for people using older versions of Camunda Modeler, if you decide to go that direction.
Feel free to ask me anything about this ๐
Hi Valentin,
thank you very much for getting in touch. A colleague of mine already share this article with me about migrating modeler plugins, so I am aware about Camunda Modeleder 5. I already tried some alpha version and I was happy to see tooltips directly, but still I was not aware of registerPlatformBpmnJSPlugin
(Probably, I would stick to registerBpmnJSPlugin
in order to stay backward compatible).
Updating references, checking general plugin-functionality and maybe support Camunda Cloud diagrams are all part of my todo-list, that I will hopefully check off very soon! ๐๐ผ
Greetings Florian ๐