-
v0.4.0 Stable
released this
2026-06-03 18:11:55 +00:00 | 3 commits to main since this releaseAdded
-
New module:
Hypa.Phoenix, which has a new function useful for rendering
multiple Phoenix templates at once:Hypa.Phoenix.render_many/2. This
function accepts theconnand a list of templates and assigns, like this:conn |> Hypa.Phoenix.render_many([ :foo, {:bar, [a: 1]}, {"baz", [b: 2, c: 3]} ])This will render
foo.html.heex,bar.html.heex, andbax.html.heexwith
the given assigns, using thePhoenix.Viewused by the current controller.This should be useful for rendering out-of-band swaps.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
v0.3.0 Stable
released this
2025-09-22 19:05:07 +00:00 | 84 commits to main since this releaseAdded
- New module:
Hypa.Conn, which has functions for adding htmx response
headers
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- New module:
-
v0.2.0 Stable
released this
2024-07-21 16:14:54 +00:00 | 131 commits to main since this releaseAdded
- Two new operations to
Hypa.Plug:add_htmx_cache_control/2- addshx-requestto thevaryheader for better cache controlput_htmx_layout/2- removes the Phoenix layouts from responses to htmx requests.
This is only enabled ifPhoenix.Controlleris defined.
Phoenix is now an optional dependency.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Two new operations to
-
v0.1.0 Stable
released this
2024-07-18 17:22:20 +00:00 | 135 commits to main since this releaseAdded
Hypa.Plug- parses htmx request headers and puts them inconn.assigns
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads