Skip to content

v1.1.18

Choose a tag to compare

@github-actions github-actions released this 29 Jan 15:53
· 6 commits to main since this release

Bug fixes

  • Fix boolean attributes not being properly ignored when using JS.ignore_attributes (#4049)

Enhancements

  • [Phoenix.Component.assign/2] allow passing a function as second argument assign(socket, fn _existing_assigns -> %{this_gets: "merged"} end) (#4051)
  • Annotate phx-drop-target elements with the phx-drop-target-active class when items are being dropped (#4012)
  • Add onDocumentPatch dom callback and allow specifying the event dispatch phase (#4043)
    This allows users to use view transitions, see the linked gist in the PR.
  • Warn in createHook if passed element has no ID (#4010)
  • Allow Phoenix.Component.portal/1 to be nested (#4048)
  • Add phx-viewport-overrun-target to make infinitely scrolled tables easier to implement (#4053) (Example)
  • Allow to disable the symlink warning for colocated js (#4057)