Expand description

Constants for defining current feature versions of the software

This is used heavily with plugin compatibility checking, please report features your plugins use correctly. If version of one of the listed features updates and your plugin is using it, it will be deemed incompatible. This is made to ensure that the program will not crash because of API differences between plugin and the core.

Versions here do not represent how up to date the features are, versions here are just for making sure plugins are not using unsupported API.

Constants

Core version, will be updated everytime there’s change to core struct, probably never

Core methods version, will be updated everytime there’s changes to existing functions or functions get deleted

Events, will be updated everytime there’s changes to existing events or an event was removed

Module manager, will be updated everytime there’s changes to existing functions or functions get deleted

API related to plugin definition and initialization, will be updated very rarely if ever

SDModule trait version, will be updated everytime there’s a change to the module trait

Socket API of daemon, mostly used for socket communication, will be updated everytime there’s changes to existing requests or a request was removed

Constant array of currently supported features, can also be used for plugin to specify using all of the features