strapi/docs/v3.x/migration-guide/migration-guide-alpha.14.4-to-alpha.14.5.md
Alexandre BODIN 61c0c9d9b4
Add v3.x and remove alpha docs (#6344)
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-25 18:11:45 +02:00

1.8 KiB

Migration guide from alpha.14.4 to alpha.14.5

Here are the major changes:

  • Add Graphql Query For The Current User
  • Fix on GraphQL query relation data
  • Update documentation and translations

Useful links:


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


Getting started

Install Strapi alpha.14.5 globally on your computer. To do so run npm install strapi@3.0.0-alpha.14.5 -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.14.5 version) of your project.

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


Update the Admin

::: tip 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

::: tip 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.


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