phoenix_live_view
Advanced tools
Changelog
0.20.9 (2024-02-19)
phx-update="ignore"
container is added dynamically to the DOMChangelog
0.20.8 (2024-02-19)
<.live_file_input>
Changelog
0.20.7 (2024-02-15)
Changelog
0.20.6 (2024-02-14)
Changelog
0.20.5 (2024-02-08)
phx-feedback-group
introduced in the previous release, the goal is to move feedback handling into Elixir and out of the DOMopen_browser
not working on WSL for project under UNIX file systemsLiveViewTest
phx-click-away
not working when element is partially hiddenphx-feedback-for
classes not being applied in some casesChangelog
0.20.4 (2024-02-01)
{:shutdown, :cancel}
to handle_async/3
on cancel_async
phx-mounted
being called twice for stream itemsJS.toggle_class
JS.toggle_attribute
phx-feedback-group
for handling feedback for composite input groupsvalidate_attrs
to slotsphx-viewport
bindings in scrollable containerslive_file_input
live_component/2
and live_component/3
helpers (not the function component) have been removedChangelog
0.20.3 (2024-01-02)
LiveViewTest
JS.push
from dead viewsChangelog
0.20.2 (2023-12-18)
:target
failing to work when used as phx-submit or phx-change with a selector-based targetJS.focus()
failing to focus negative tabindexLiveViewTest
failing to remove items after stream resetphx-window-blur
and phx-window-focus
events not firinghandle_async
lifecycle callbackJS.patch
and JS.navigate
to be tested with render_click
:supervisor
option to assign_async
and start_async
phx-update="append"
and phx-update="prepend"
in favor of phx-update="stream"
Changelog
0.20.1 (2023-10-09)
auto_upload: true
when a file fails to preflightmeta()
method on File/Blob subclasses on JavaScript client to allow the client to pass arbitrary metadata when using upload/uploadTo
from hook. The %UploadEntry{}
's new client_meta
field is populated from this information.Changelog
0.20.0 (2023-09-22)
~L
sigil in favor of ~H
preload/1
in LiveComponent in favor of update_many/1
live_component/2-3
in favor of <.live_component />
live_patch
in favor of <.link patch={...} />
live_redirect
in favor of <.link navigate={...} />
live_title_tag
in favor of <.live_title />
render_block/2
in favor of render_slot/2
live_img_preview/2
in favor of <.live_img_preview />
live_file_input/2
in favor of <.live_file_input />
auto_upload: true
failing to propagate errors when any individual entry is invalidauto_upload: true
failing to auto upload valid entries errors when any individual entry is invalidauto_upload: true
config :phoenix_live_view, debug_heex_annotations: true
, which provides special HTML comments that wrap around rendered components to help you identify where markup in your HTML document is rendered within your function component treeassign_async
, start_async
, <.async_result>
and, AsyncResult
for declaratively handling async operations in a LiveView or LiveComponent.@myself
for Phoenix.LiveView.send_update/3
id
of <.live_img_preview>