[DAEMON-309] Add appcd plugin API version
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2020-01-07T21:51:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 3.2.0 |
Components | appcd-plugin |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2020-01-07T18:41:40.000+0000 |
Updated | 2020-01-07T21:51:42.000+0000 |
Description
The Appc Daemon's plugin system allows plugins to specify which appcd version they are compatible with, however we have to ship new plugins for each major plugin version whenever we bump the appcd major version regardless if the plugin system actually changed.
Since the plugin system rarely changes, we shouldn't couple plugins with the appcd version, but rather a separate plugin API version.
For example, the iOS appcd plugin 1.x is compatible with every appcd version, but iOS appcd plugin 2.x requires appcd version 3.x because of changes to appcd-detect that is passed into each plugin.
PR: https://github.com/appcelerator/appc-daemon/pull/448