xbmc/xbmc — pull request #1863 by Montellese (2012-11-30 11:12:32+00:00)
Title: JSON-RPC API versioning

As discussed in the team, this implements the changes in the versioning of the JSON-RPC API.
The idea is to follow the Semantic Versioning Specification which defines a .. versioning where is bumped on any backwards incompatible change to the API, is bumped on any backwards compatible addition/change to the API and is bumped on any change to the implementation code (to fix a bug).

This will allow us to keep the JSON-RPC API version and the version of the xbmc.json extension-point for addons better in sync. But most importantly JSON-RPC clients will we able to check their supported version against the version specified by the API to check if there were any backwards compatible changes and then take some action based on that. This will also make it easier for me/us to troubleshoot bugs and problems because users can report the specific version their using.