Skip to content

Backward Compatibility

Alexandre Costa edited this page Aug 17, 2024 · 1 revision

Plugie is designed to maintain backward compatibility to ensure users can confidently export and import plugins across different versions. As the software evolves, new major versions may introduce breaking changes; however, Plugie preserves the ability to import plugins created with previous versions.

Exporting Plugins

When a user exports a plugin using Plugie, the exported file is tagged with the current version of the software. For example, if a user uses Plugie >=2.0.0, all exported files will be marked compatible with version 2. This tagging ensures the plugin files are correctly identified and handled during future imports.

Importing Plugins

Plugie includes multiple importers to retain compatibility with previous versions. This means that even if users have upgraded to a newer major version, they can still import plugins exported with earlier versions.

For instance, if a user attempts to import a plugin file exported with Plugie >=1.0.0 while using Plugie >=2.0.0, the software automatically loads the compatible importer to ensure seamless compatibility. This design guarantees that legacy export files remain functional and can be imported without issues.