Even if some problems have been fixed here, I have to ensure compatibility with older versions of Node-RED for my own nodes. The integrated nodes does not consider this, because they are aligned with a fixed node-red version. But this does not work for customer nodes. I know that a lot of users uses my nodes in an embeded version of Node-RED 1.2.9, which they can not update until a new version of the complete system is released. But they can install and update the custom nodes.
In the past I had some problems there with env and with global and flow contexts, which only working properly if I set the type first and then the value.
In the end, I need to do something like this to ensure compatibility to the old and new versions of Node-RED: