tylersmith102998 / GekPHP

An open-source framework for prototyping your projects
1 stars 0 forks source link

Handle version incompatability of plugins #4

Open tylersmith102998 opened 4 years ago

tylersmith102998 commented 4 years ago

config\app_config.php contains a line titled version for the current version of the program. Plugins need to supply a version number in their properties and an array of known compatible versions. This way, we can prevent some app-breaking errors that could occur if a plugin was, say, using a deprecated function and it was removed in a major release.

Versioning for this whole framework will be as such:

.. refers to a big change in the software, such as overhauls or a big feature implementation or group thereof. is for littler additions or bugfix patches. is an individual build of the application. This number will basically be the ID of the last commit made.