mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 02:38:21 +00:00
65 lines
2.0 KiB
Markdown
65 lines
2.0 KiB
Markdown
# Migration guide from alpha.12.5 to alpha.12.6
|
|
|
|
**Here are the major changes:**
|
|
|
|
- JSON input editor
|
|
- Support JSON format for SQL databases
|
|
|
|
**Useful links:**
|
|
|
|
- Changelog: [https://github.com/strapi/strapi/releases/tag/v3.0.0-alpha.12.6](https://github.com/strapi/strapi/releases/tag/v3.0.0-alpha.12.6)
|
|
- GitHub diff: [https://github.com/strapi/strapi/compare/v3.0.0-alpha.12.5...v3.0.0-alpha.12.6](https://github.com/strapi/strapi/compare/v3.0.0-alpha.12.5...v3.0.0-alpha.12.6)
|
|
|
|
<br>
|
|
|
|
::: tip
|
|
Feel free to [join us on Slack](http://slack.strapi.io) and ask questions about the migration process.
|
|
:::
|
|
|
|
<br>
|
|
|
|
## Getting started
|
|
|
|
Install Strapi `alpha.12.6` globally on your computer. To do so run `npm install strapi@3.0.0-alpha.12.6 -g`.
|
|
|
|
When it's done, generate a new empty project `strapi new myNewProject` (don't pay attention to the database configuration).
|
|
|
|
<br>
|
|
|
|
## Update node modules
|
|
|
|
Update the Strapi's dependencies version (move Strapi's dependencies to `3.0.0-alpha.12.6` version) of your project.
|
|
|
|
Run `npm install strapi@3.0.0-alpha.12.6 --save` to update your strapi version and then run the same command for `strapi-mongoose` or `strapi-bookshelf` depending on the module you use in your application.
|
|
|
|
<br>
|
|
|
|
## 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.
|
|
|
|
<br>
|
|
|
|
## 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.
|
|
|
|
<br>
|
|
|
|
## ⚠️ Warning for SQL users
|
|
|
|
Now you will receive an object instead of a stringify object for the JSON type.
|
|
The data type has changed so if your application applies transformation on your JSON data, you may have to update your code.
|
|
|
|
That's all, you have now upgraded to Strapi `alpha.12.6`.
|