How do you handle backward compatibility?

tasosventouris Registered Posts: 15 ✭✭✭

Hi everyone,

I was wondering, those that develop custom plugins, how do you handle backward compatibility? And by that, I have two different scenarios

1) Whenever there is a new DSS version, how do you test that the plugin works in the new one? Are unit tests sufficient for that or you have another way to do it?

2) What if you want to create new enhancements to plugins that are already used in projects? How do you handle any potential change that might break the old projects?

About 2, I was thinking either to publish every major version as a new plugin or add logic inside the plugin code that will take care of all the different versions. However, both of those seem that will complicate a lot the process. Just want to hear your thoughts and experiences.

Setup Info
      Help me…