Current section

43 Versions

Jump to

Compare versions

8 files changed
+15 additions
-9 deletions
  @@ -1,5 +1,11 @@
1 1 # CHANGELOG
2 2
3 + ## v0.3.3 (2020-10-24)
4 +
5 + * Only show Calls/Outliers in Ecto Stats if extension is enabled
6 + * Fix warnings shown in LiveView console
7 + * Handle `:undefined` when formatting `:current_function`
8 +
3 9 ## v0.3.2 (2020-10-18)
4 10
5 11 * Improve sorting and formatting in Ecto Stats tables
  @@ -77,5 +77,5 @@
77 77 {<<"name">>,<<"ecto_psql_extras">>},
78 78 {<<"optional">>,true},
79 79 {<<"repository">>,<<"hexpm">>},
80 - {<<"requirement">>,<<"~> 0.3">>}]]}.
81 - {<<"version">>,<<"0.3.2">>}.
80 + {<<"requirement">>,<<"~> 0.4.1 or ~> 0.5">>}]]}.
81 + {<<"version">>,<<"0.3.3">>}.
  @@ -103,6 +103,7 @@ defmodule Phoenix.LiveDashboard.Helpers do
103 103 @doc """
104 104 Formats MFAs.
105 105 """
106 + def format_call(:undefined), do: "undefined"
106 107 def format_call({m, f, a}), do: Exception.format_mfa(m, f, a)
107 108
108 109 @doc """
  @@ -104,7 +104,6 @@ defmodule Phoenix.LiveDashboard.ProcessInfoComponent do
104 104 when key in [:links, :monitors, :monitored_by],
105 105 do: format_value(val, live_dashboard_path)
106 106
107 - defp format_info(:current_function, :undefined, _), do: "undefined"
108 107 defp format_info(:current_function, val, _), do: format_call(val)
109 108 defp format_info(:initial_call, val, _), do: format_initial_call(val)
110 109 defp format_info(:current_stacktrace, val, _), do: format_stacktrace(val)
  @@ -170,7 +170,7 @@ defmodule Phoenix.LiveDashboard.PageLive do
170 170 <% end %>
171 171 </form>
172 172
173 - <form id="node-selection" phx-change="select_node">
173 + <form id="node-selection" phx-change="select_node" phx-auto-recover="ignore">
174 174 <label for="node-select">Selected node</label>
175 175 <select name="node" class="custom-select custom-select-sm" id="node-select">
176 176 <%= options_for_select(@menu.nodes, @page.node) %>
Loading more files…