In the past there have been changes to the MediaPortal code base that have caused some plugins to break or misbehave. Until now there has been no way to determine if a certain version of a plugin is compatible with a certain version of MediaPortal. The result was often an unstable system. Also users had no way to figure out which plugins were causing the issues other than trial and error.
The new version compatibility system is trying to resolve this situation in the least obtrusive way possible.
As of 1.2.0 Beta version of MediaPortal a new version compatibility system is included that allows the application to determine if a certain plugin is compatible with this version of the application. There are two cases when version compatibility is an issue:
In order to handle case #1 we need to know if the functionality used by the plugin has been changed since the version the plugin was designed for, in a way that may break the plugin or MediaPortal itself. The plugin developer has no way of knowing what future version of MediaPortal will have a breaking change. It is up to the future version of MediaPortal to determine that. To do that we require that each plugin is tagged with the version of MediaPortal it was designed for / build against. We also require that each plugin is tagged with the subset of functionality it uses from MediaPortal code base. The tagging is done using two new attributes. Both attributes can be used on the Assembly level or on the Class level.
To handle case #2, we have decided to use a more simplified approach, since the plugin developer already knows if a specific version of his plugin is compatible with a previous version of MediaPortal. So all the plugin developer needs to do is tag the plugin with the minimum required version of MediaPortal (that is the earlier version of MediaPortal the plugin can work with).
IMPORTANT: Any plugin that does is not tagged using the above attributes will be considered pre 1.2.0 Beta and as such will be deemed incompatible with all future versions of MediaPortal.
For further info and instructions, see Contribute > Plugins > Version Compatibility
Mantis Issue: |
|
|---|---|
Author: |
arion_p |
Date added: |
Fri, 24 Dec 2010 |