I'd like my plasmoid to be able to "refuse to load" based on the setting I put into it's metadata.json field "X-Plasma-API-Minimum-Version" for it's major / minor / micro version numbers. This doesn't happen currently. The version isn't checked until some other general error condition is first detected (1). I'd rather it trigger an immediate failure. Devs creating plasmoids that depend on specific features introduced at specific Plasma versions will be more stable. (1) https://invent.kde.org/plasma/libplasma/-/blob/master/src/plasmaquick/appletquickitem.cpp?ref_type=heads#L549-565
I think this is a good idea! Are you interested in submitting a patch for it?
Sure. Give me a couple days :)