Upgrading an Existing Installation¶
Everything is upgraded automatically when you bump the version of the dependency to limepkg-addon-installer
.
Upgrading to v5.x.x¶
The security
definition in the installation data has been changed. Read more in the installations instructions here.
Upgrading to v4.x.x¶
You need to update your get_schema
function in your /<package_name>/config/__init__.py
file, since the way the the installer field is being injected has changed. See installation instructions for how it should look like.
Upgrading to v3.x.x¶
The get_installation_data
function definition has changed from get_installation_data(config)
to get_installation_data(app: LimeApplication, config: dict) -> InstallationData
. get_installation_data
now takes app and config as parameters, and it should return an InstallationData object. Read more in the installation instructions.
Upgrading to v2.x.x¶
The add-on installer does not fetch the database structure from get_database_structure(config)
anymore. Instead, it is fetched from the get_installation_data(config)
function.
The consumer needs to implement the get_installation_data(config)
function in the installation
package, which should return an object with the database structure. Read more in the installation instructions.