Migration guide from alpha.21 to alpha.22

Here are the major changes:

  • Quickstart install strapi new myApp --quickstart
  • Support SQLite database
  • Some fixes on GraphQL
  • Update the Content Manager customer view

Useful links:

Feel free to join us on Slack and ask questions about the migration process.

Getting started

Install Strapi alpha.22 globally on your computer. To do so run npm install strapi@3.0.0-alpha.22 -g.

When it's done, generate a new empty project strapi new myNewProject (don't pay attention to the database configuration).

Update node modules

Update the Strapi's dependencies version (move Strapi's dependencies to 3.0.0-alpha.22 version) of your project.

Run npm install strapi@3.0.0-alpha.22 --save to update your strapi version.

Update the Admin

If you performed updates in the Admin, you will have to manually migrate your changes.

Delete your old admin folder and replace it with the new one.

Update the Plugins

If you did a custom update on one of the plugins, you will have to manually migrate your update.

Copy the fields and relations you had in your /plugins/users-permissions/models/User.settings.json and /plugins/users-permissions/config/jwt.json file in the new one.

Then, delete your old plugins folder and replace it with the new one.

Update AWS S3 provider

If you are using the AWS S3 upload provider you will have to install the new version npm i strapi-provider-upload-aws-s3 --save. It will not break your application. In the new version the region eu-north-1 (Stockholm) is available.

That's all, you have now upgraded to Strapi alpha.22.