As @brettvormkopp already said: plugins developed in the old (pre v5.2) way still work in Shopware v5.2 and will continue to do so for the foreseeable future. So, if you need to support Shopware versions below 5.2, develop your plugin the old way and your’re golden.