-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecating functions and params in the MOBILE_API #37
Comments
After some internal discussion today
The following are two examples which enable better versioning using the above proposal. Example 1In previous versions of the MOBILE_API.xml specification the OnSystemRequest notification had a parameter called "URL", which at some point was changed to "url". Now, the mobile proxies have to support both fields, and make an assumption (because it is not officially documented) about the versions in which the parameter key was "URL". According to the above proposal the following would be valid and identify when the parameter was replaced, what it was replaced by, and what versions are supported. <param name="URL" type="String" maxlength="1000" minsize="1" maxsize"100" array="true" mandatory="false" deprecated="2.0"></param>
<param name="url" type="String" maxlength="1000" minsize="1" maxsize="100" array="true" mandatory="false" replaces="URL" introduced="2.0"></param> Example 2If the key is not changed, but a field such as <param name="url" type="String" maxlength="1000" minsize="1" maxsize"100" array="true" mandatory="false" deprecated="2.0"></param>
<param name="url" type="String" maxlength="256" minsize="1" maxsize="100" array="true" mandatory="false" introduced="2.0"></param> |
…utils-tests Fix utils issues found by unit tests Related-issues: APPLINK-22713, APPLINK-22716
Feature/revsdl 1244 unit tests
Mobile API revisions was covered by this sdl evolution proposal https://github.com/smartdevicelink/sdl_evolution/blob/e139f7a04511d4b933c54a77fab3c1b2d4289ee7/proposals/0089-mobile-api-versioning.md |
We should consider defining a way of deprecating the functions and parameters in MOBILE_API such that answers to questions like Mike's regarding the use of different parameter keys for OnSystemRequest are obvious. (If the V1 url and timeout parameter keys are still valid in the current version, they would be shown as deprecated, otherwise they would be removed)
The text was updated successfully, but these errors were encountered: