This PR updates Elixir to 1.17 and Erlang to 27 mostly to bring in Duration. I picked the base image with the smallest alpine version difference (3.18.6 vs 3.18.4) but we can update it as well (to 3.20).
There are warnings from ex_money and phoenix_view too but they don't seem to fail CI so I left them as is.
Later ex_money can be updated to 5.17.0 and phoenix_view -- to 2.0.4.
Tests
[x] Tests have been adapted
Changelog
[x] This PR does not make a user-facing change
Documentation
[x] This change does not need a documentation update
Changes
This PR updates Elixir to 1.17 and Erlang to 27 mostly to bring in Duration. I picked the base image with the smallest alpine version difference (3.18.6 vs 3.18.4) but we can update it as well (to 3.20).
mjml_eex
(https://github.com/akoutmos/mjml_eex/pull/19) andcredo
had to be updated to make them work again.Warnings from the new Elixir type checker for phoenix_live_view failed CI tests so I backported https://github.com/phoenixframework/phoenix_live_view/commit/489e8de024e03976e9ae38138eec517fbd456d27 in https://github.com/plausible/analytics/pull/4255/commits/0d07f4df226bd3895d26652656725ca043023101. This workaround can be removed once Plausible starts using
phoenix_live_view
1.0.0 (currently in rc).There are warnings from
ex_money
andphoenix_view
too but they don't seem to fail CI so I left them as is. Laterex_money
can be updated to 5.17.0 andphoenix_view
-- to 2.0.4.Tests
Changelog
Documentation
Dark mode