You can't seperate data based on versions.
You could use name space, but I wouldn't
I would use a different instance and copy the production data to that instance, then run all your testing there, with complete confidence you are working with a separate data set.
Some of my projects, data is very specific to companies/users and we set up test companies and test users, but that approach is very dependent on the types of updates, and how segmented your data is. If you have multi-tenant data then you will probably already be using namespaces.