Skip to main content

v4.4.3 to v4.4.5 migration guide

The Strapi v4.4.3 to v4.4.5 migration guide upgrades v4.4.3 to v4.4.5. The migration changes the name of the favicon from favicon.ico to favicon.png.

Caution

This migration guide skips v4.4.4, which introduced a problem in koa/cors due to a missing dependency update.

Caution

Plugins extension that create custom code or modify existing code, will need to be updated and compared to the changes in the repository. Not updating the plugin extensions could break the application.

Upgrading the application dependencies

☑️ Prerequisites

Stop the server before starting the upgrade.

  1. Upgrade all of the Strapi packages in package.json to 4.4.5:

    path: ./package.json

    {
    // ...
    "dependencies": {
    "@strapi/strapi": "4.4.5",
    "@strapi/plugin-users-permissions": "4.4.5",
    "@strapi/plugin-i18n": "4.4.5",
    // ...
    }
    }
  2. Save the edited package.json file.

  3. Replace the existing favicon.ico with favicon.png:

  4. Run the install command:

    Install the upgraded version:

    yarn
    💡 Tip

    If the operation doesn't work, try removing your yarn.lock or package-lock.json. If that doesn't help, remove the node_modules folder as well and try again.

Rebuild the application

Run the following command in your project root directory to rebuild Strapi's admin panel:

yarn build

Restart the application

Run the following command in your project root directory to restart the application:

yarn develop