I’m not exactly sure what changes you guys have been making but I certainly found it quite painless!
In my original post I wrote that:
I can still do the minimum necessary changes using changelog ( Changelog for v1.8 — Phoenix v1.8.1 ) but the guides helped with optional changes - seing what needs to be done saved time.
So yes, making things work is easy, seing the optional changes is not.
I guess I must elaborate on my situation: we have more than a couple projects that use Phoenix, they were started at different points of time with different Phoenix versions and we try to keep them up to date including many (but not all) optional changes. If we don’t, we either miss on the new stuff or have a lot of unnecessary context switching when doing different projects.
When I read upgrade guides, I was able to see what exactly I must do to move to some new thing and then I decided to do or not do that. Without a guide I have to infer that from diffs which is still possible but more time consuming and less reliable, so I will probably end up with only doing necessary changes.
I guess those above are also trying to upgrade to DaisyUI etc
I’m still thinking about that, but yes, the diff has some frontend changes which I consider, but frontend people will get the last word there. It is not just about Tailwind (or JS) related stuff. For example the new Phoenix uses unified layouts which look good to me, but moving to them in the existing project is not desctibed and the change is optional, so things will just keep working. It’s not a problem now, but in a couple years half of our projects might have root and app layout and the other half - just root, eventually we’d probably want to consolidate that anyway and I just like doing that right away during update where it’s easy, before starting to get those paper cuts. Otherwise it’s basically a soft version of tech debt
I am guessing it’s just this then?
@dimitarvp aside from adding listeners
you also need compilers: [:phoenix_live_view] ++ Mix.compilers()
if you move to newer LV, though this might be a change from 0.x.