How to Update Phoenix version of an app from 1.4.x to 1.4.y

Is it the same as updating from 1.3 to 1.4 ?

1 Like

When upgrading for example from 1.3.x to 1.4 there are always upgrade guides published which at the top are required changes to your phoenix app followed by the “optional” changes which align your existing codebase to the current generators.

If you are going from v1.4.x to v1.4.y there are no breaking changes so you can simply mix deps.update phoenix and you are good to go. If you want to align your codebase to what the updated generators produce I found https://www.phoenixdiff.org to be excellent. Otherwise you could generate a new project with the same name as your existing one and run a diff/merge tool against it to merge in any new boilerplate changes.

6 Likes

Thanks for https://www.phoenixdiff.org
Didn’t know about it

2 Likes