Skip to content

Commit

Permalink
Update to LiveView 1.0 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Dec 6, 2024
1 parent 6d4b36c commit 6f7e9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,6 @@ defmodule Sentry.Mixfile do
defp test_paths(nil), do: ["test"]
defp test_paths(integration), do: ["test_integrations/#{integration}/test"]

defp live_view_version() do
if Version.match?(System.version(), ">= 1.14.0") do
"~> 1.0"
else
"~> 0.20"
end
end

defp deps do
[
{:nimble_options, "~> 1.0"},
Expand All @@ -105,7 +97,7 @@ defmodule Sentry.Mixfile do
{:hackney, "~> 1.8", optional: true},
{:jason, "~> 1.1", optional: true},
{:phoenix, "~> 1.6", optional: true},
{:phoenix_live_view, live_view_version(), optional: true},
{:phoenix_live_view, "~> 0.20 or ~> 1.0", optional: true},
{:plug, "~> 1.6", optional: true},
{:telemetry, "~> 0.4 or ~> 1.0", optional: true},

Expand Down
2 changes: 1 addition & 1 deletion test_integrations/phoenix_app/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defmodule PhoenixApp.MixProject do
{:postgrex, ">= 0.0.0"},
{:phoenix, "~> 1.7.14"},
{:phoenix_html, "~> 4.1"},
{:phoenix_live_view, "~> 1.0"},
{:phoenix_live_view, "~> 0.20 or ~> 1.0"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:floki, ">= 0.30.0", only: :test},
{:phoenix_live_dashboard, "~> 0.8.3"},
Expand Down

0 comments on commit 6f7e9b7

Please sign in to comment.