Associating plugin versions with Discourse versions

Continuing the discussion from Babble - A Chat Plugin:

I have noticed this problem come up a few times here.
Often the solution is “update your version of Discourse, update your version of the plugin”

This works fine as long as one is able and willing to update, But there are times when that is not an option, eg. when the version of Discourse is Stable.

I have always worked on localhost with the current latest version so I might have missed something, but I’m wondering if there is an easy way to “tie” a plugin version to a particular Discourse version.
Perhaps the plugin API number can already do this?
If not, maybe a type of “#compatibility” or “#requires” comment could be added to the plugin.rb file that if not used by code could at least be found when problems arise because of version conflicts?

1 Like