GroundApps / ShoppingList_Backend

Simple Centralized Shoppinglist - php backend
GNU General Public License v3.0
27 stars 23 forks source link

Put backend version in header #42

Closed J-8 closed 9 years ago

J-8 commented 9 years ago

I think it would be helpful if the app checks if the backend has a certain version to check for compatibility and to give a notice to update. (The update progress we yet have to figure out...) Right now this would help, because app 1.1 is not compatible with the initial backend. api.php:

header("ShoLiBackendVersion: 1");

Any comments or should I just implement it?

jklmnn commented 9 years ago

Thats a good Idea. I would suggest to use a major and a minor version (eg. 1.0). A major change is incompatible while a minor change just fixes a bug, or adds a feature but older client versions still keep working. This version also should be independent to the software version of the backend.

ghost commented 9 years ago

Sorry, guys that I stop working on this. Have a lot of stuff to do right now. But this idea is good.

J-8 commented 9 years ago

Implemented with latest commit to experimental.