backwards compatibility

I've never seen something like that but why would you ever want to "revert" your code to work on a previous version?

The only possible solution is to add a lot of "ifs" to every single thing that changed.