mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
feat: Upgrade web development framework to Phoenix 1.7 (#3615)
* Upgrade to phoenix 1.7.0 The minimal changes necessary to compile the application * Import Phoenix.Component instead of LiveView * Fix compilation warnings * mix format * Update tests to trim newline characters * mix gettext.extract --merge * style: correct linting * rebuild gettext * fix: correct spacing before unit for energy added * fix: use unicode character for whitespace * fix: spacing with witespace * fix: use numeric value for charge_energy_added in charging test * fix: avoid warning about unsued function, which is actually used in plug * fix: use whitespace in test before charge_energy_added --------- Co-authored-by: JakobLichterfeld <jakob-lichterfeld@gmx.de>
This commit is contained in:
co-authored by
JakobLichterfeld
parent
acbeb5e9d6
commit
da819054f6
@@ -49,11 +49,12 @@ defmodule TeslaMate.MixProject do
|
||||
{:jason, "~> 1.0"},
|
||||
{:mock, "~> 0.3", only: :test},
|
||||
{:nimble_csv, "~> 1.1"},
|
||||
{:phoenix, "~> 1.6.0"},
|
||||
{:phoenix, "~> 1.7.0"},
|
||||
{:phoenix_view, "~> 2.0"},
|
||||
{:phoenix_ecto, "~> 4.0"},
|
||||
{:phoenix_html, "~> 3.0"},
|
||||
{:phoenix_live_reload, "~> 1.2", only: :dev},
|
||||
{:phoenix_live_view, "~> 0.17.0"},
|
||||
{:phoenix_live_view, "~> 0.18.18"},
|
||||
{:phoenix_pubsub, "~> 2.0"},
|
||||
{:plug_cowboy, "~> 2.0"},
|
||||
{:postgrex, ">= 0.0.0"},
|
||||
|
||||
Reference in New Issue
Block a user