diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a921f9..9af0468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,3 +72,12 @@ Releasing new bundle (meant to compile it in `v0.6.1`). - Big fix to longstanding issue where toasts don't work properly across navigations: #28 - Added gettext internationalization from #16 (thanks @elephantoss) - A couple other random cleanups and docs changes. + +## [v0.8.0] (2024-02-14) ❤️ + +- Fixed typespecs from #26 (thanks @wkirschbaum) +- Added `:top_center` and `:bottom_center` positions in #29 (thanks @nallwhy) +- Feature: infinite duration toasts from #31 (thanks @vanderhoop) +- Readme fixes in #32 +- Fix earlier weirdness with gettext usage in 0.7.0 in #34 (thanks @neilberkman) +- Fix docs source ref in #39 (thanks @Flo0807) diff --git a/README.md b/README.md index 62e9ce8..4942c86 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ application: ```elixir def deps do [ - {:live_toast, "~> 0.7"} + {:live_toast, "~> 0.8.0"} ] end ``` diff --git a/demo/lib/demo_web/components/core_components.ex b/demo/lib/demo_web/components/core_components.ex index 2ef4cb4..d95f511 100644 --- a/demo/lib/demo_web/components/core_components.ex +++ b/demo/lib/demo_web/components/core_components.ex @@ -19,7 +19,7 @@ defmodule DemoWeb.CoreComponents do ]} {@rest} > - <%= render_slot(@inner_block) %> + {render_slot(@inner_block)} """ end diff --git a/demo/lib/demo_web/components/layouts/app.html.heex b/demo/lib/demo_web/components/layouts/app.html.heex index 384a56a..e699aa3 100644 --- a/demo/lib/demo_web/components/layouts/app.html.heex +++ b/demo/lib/demo_web/components/layouts/app.html.heex @@ -22,7 +22,5 @@ [] end } - /> - - <%= @inner_content %> + /> {@inner_content} diff --git a/demo/lib/demo_web/components/layouts/root.html.heex b/demo/lib/demo_web/components/layouts/root.html.heex index c8185df..0f8c65b 100644 --- a/demo/lib/demo_web/components/layouts/root.html.heex +++ b/demo/lib/demo_web/components/layouts/root.html.heex @@ -5,7 +5,7 @@ <.live_title suffix=" · Phoenix Framework"> - <%= assigns[:page_title] || "Live Toast" %> + {assigns[:page_title] || "Live Toast"}
- <%= @inner_content %> + {@inner_content}