Process to upgrade elixir and phoenix version

I have a mid sized phoenix (v1.3) project and i am using elixir v1.9 otp22.

How would you guys upgrade a mid sized phoenix project’s elixir and phoenix version to the latest?

1 Like

Gradually. Try only upgrading Erlang to 23 and make sure all tests pass. Then upgrade Elixir to 1.10, then 1.11, then 1.12. Keep Elang at 23 for now.

Then upgrade Phoenix to 1.4, then 1.5. IIRC you will have some problems along the way.

Only after everything else is setup, upgrade to Erlang 24. As the very final step.

2 Likes