Let’s say you’re working on a project for a few months and you’re ready to upgrade Phoenix versions.
I don’t know about you but besides reading the changelog and upgrade guides, I’m also very interested in updating any files that were changed when you generate a new project with
phx.new. This way my existing project’s Phoenix generated files can be set up and configured the same as what they would be in a fresh
phx.new project of that latest version.
This tool lets you run
verdiff --framework phoenix 1.4.4 1.4.8 to get a
diff of both projects so you can quickly make any necessary changes in your project. You can use any 2 versions you want as long as they are on Hex.
It uses Docker under the hood to create an image, create both projects,
diff them and then it cleans up everything after it finishes leaving your dev box untarnished and as good as new.
You can check it out at: https://github.com/nickjj/verdiff