Model attributes versioning best practices?

We are making changes to the server-side model that is reflected through our Ember Data models. As we do this, the attributes will change over time and depend on which server the application is pointed to.

While the server can tell the client what version is available, what is the best practice for handling Model attributes based on server version? Is there any way to easily handle this or is this something that will require a bit of roll-our-own handling?

Thanks, Craig

FWIW, I chose to go with additional data model options:

‘prospects’: DS.belongsTo(‘prospect’, { async: true, minVersion: 2 }),

as well as overridding the standard serializer to “block” serialization of attributes that the server is not capable of handling yet.

If there are other or better ways to handle this, I’d love to hear them.

Thanks again, Craig