I have trouble understanding how to migrate from 4.0.7 to 4.5.3.
The documentation says that I should be doing each migration for each version.
The migration guides are sequential, meaning if there is more than 1 migration guide between your current version and the latest release, follow each guide in order.
Migration guide from 4.0.0+ to 4.0.6
Migration guide from 4.0.6+ to 4.1.8
Migration guide from 4.1.8+ to 4.1.10
Migration guide from 4.2.x to 4.3.x
Migration guide from 4.3.6 to 4.3.8
Migration guide from 4.4.3 to 4.4.5
Migration guide from 4.4.5 to 4.5.1
If I understand correctly I have to go through each of the above migration one by one.
Now from 4.1.10 to 4.2.x I will have to do a regular migration, just by updating the package.json
And after that migration I would have to continue here at 4.2.x to 4.3.x etc…
Correct?
Alright I will answer my own question with what seems to have worked well.
I went through the migration guides:
Migration guide from 4.0.6+ to 4.1.8
Migration guide from 4.1.8+ to 4.1.10
Migration guide from 4.2.x to 4.3.x
Migration guide from 4.3.6 to 4.3.8
Migration guide from 4.4.3 to 4.4.5
Migration guide from 4.4.5 to 4.5.1
Then I only looked for the breaking changes section or database migration, and applied all those changes at once.
The I upgraded the package.json with 4.5.4
Then npm Install and npm run build.
Restart the server, everything was upgraded and working.
i just did a striaght upgrade from 4.3.8 to 4.4.3
spun up the server, checked if everything works or if any problems were present and then proceeded upgrading