Current section
43 Versions
Jump to
Current section
43 Versions
Compare versions
4
files changed
+9
additions
-4
deletions
| @@ -1,5 +1,9 @@ | |
| 1 1 | # CHANGELOG |
| 2 2 | |
| 3 | + ## v0.3.5 (2020-10-27) |
| 4 | + |
| 5 | + * Fix regression were home path helper was removed |
| 6 | + |
| 3 7 | ## v0.3.4 (2020-10-27) |
| 4 8 | |
| 5 9 | * Only add node to the URL if explicitly required to improve reliability in non-clustered environments |
| @@ -78,4 +78,4 @@ | |
| 78 78 | {<<"optional">>,true}, |
| 79 79 | {<<"repository">>,<<"hexpm">>}, |
| 80 80 | {<<"requirement">>,<<"~> 0.4.1 or ~> 0.5">>}]]}. |
| 81 | - {<<"version">>,<<"0.3.4">>}. |
| 81 | + {<<"version">>,<<"0.3.5">>}. |
| @@ -73,9 +73,10 @@ defmodule Phoenix.LiveDashboard.Router do | |
| 73 73 | quote bind_quoted: binding() do |
| 74 74 | scope path, alias: false, as: false do |
| 75 75 | import Phoenix.LiveView.Router, only: [live: 4] |
| 76 | - |
| 77 76 | opts = Phoenix.LiveDashboard.Router.__options__(opts) |
| 78 | - live "/", Phoenix.LiveDashboard.PageLive, :page, opts |
| 77 | + |
| 78 | + # All helpers are public contracts and cannot be changed |
| 79 | + live "/", Phoenix.LiveDashboard.PageLive, :home, opts |
| 79 80 | live "/:page", Phoenix.LiveDashboard.PageLive, :page, opts |
| 80 81 | live "/:node/:page", Phoenix.LiveDashboard.PageLive, :page, opts |
| 81 82 | end |
| @@ -1,7 +1,7 @@ | |
| 1 1 | defmodule Phoenix.LiveDashboard.MixProject do |
| 2 2 | use Mix.Project |
| 3 3 | |
| 4 | - @version "0.3.4" |
| 4 | + @version "0.3.5" |
| 5 5 | |
| 6 6 | def project do |
| 7 7 | [ |