Will not help for you old stuff...

Write a value to the EEPROM representing the version using DATA then all you have to do is read the EEPROM.