Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

phoenix_live_view

Package Overview
Dependencies
Maintainers
2
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phoenix_live_view - npm Package Versions

23
12

1.0.1

Diff

Changelog

Source

1.0.1 (2024-12-13)

Bug fixes

  • Fix live session verification causing logged errors, push_patch failures, and failed mounts when a cold deploy occurs
chrismccord
published 1.0.0 •

Changelog

Source

1.0.0 (2024-12-03) 🚀

chrismccord
published 1.0.0-rc.9 •

Changelog

Source

1.0.0-rc.9 (2024-12-03)

Enhancements

  • Support phx-no-curly-interpolation to disable HEEx curly interpolation in a specific tag body
chrismccord
published 1.0.0-rc.8 •

Changelog

Source

1.0.0-rc.8 (2024-12-02)

Backwards incompatible changes

  • Require Elixir v1.14.1+

Bug fixes

  • Fix live navigation issue where LiveView would attempt a patch on back navigation instead of navigate under certain routing conditions
  • Fix live upload issue where large chunk_size could cause a chunk timeout on slower connections by properly using the configured chunk_timeout on the client
  • Fix focused inputs losing focus state in some update scenarios
  • Fix rare no component for cid error when rapidly updating live components under latency
  • Fix browser back/forward buttons using patch instead of navigate, failing to update the page
  • Fix inputs_for not using the passed id when generating inputs
  • Do not throw an exception when dispatching a custom input event outside of JS.dispatch
  • Fix submitter not being sent when using JS.push
  • Fix form action not being inherited by to_form when passing an existing form
  • Fix live_session not being enforced when patching to the same LiveView under a different route

Enhancements

  • Extend HEEx {@foo} syntax for interpolating variables inside tag bodies
  • Support default attribute for <.live_title> component
  • Add refute_push_event to Phoenix.LiveViewTest
  • Keep intentional newlines when formatting comments (#3486)
  • Support hook pushEvent returning a promise
  • Log a warning when a push_navigate fallbacks to a full page reload
chrismccord
published 1.0.0-rc.7 •

Changelog

Source

1.0.0-rc.7 (2024-10-17)

Enhancements

  • Support nested inputs in Phoenix.Component.used_input?/1
  • Support custom redirect statuses on Phoenix.LiveView.redirect/2
  • Export createHook from phoenix_live_view to allow CustomElement's to use hooks
  • Expose programmable JS command interface to hooks for showing, hiding, addClass, etc from a hook which integrates with server DOM patching
  • Support targeting inner and closest query selectors in JS commands with to: {:inner, "a"} and to: {:closest, "tr"}, etc.
  • Throw a more informative error when JS.dispatch/2 is used with an input event on an invalid target
  • Validate slot options (prevents typos like slot :myslot, requird: true)
  • Emit :phoenix, :live_component, :update telemetry event when a LiveComponent is updated via send_update/2
  • Enhance error recovery during connecting mount to trigger plug_status error pipeline

Bug fixes

  • Fix phx-click-loading classes being incorrectly applied to child elements when issues from a non user click/navigation event
  • Fix hooks on root LiveComponent container not being torn down and created when the DOM id changes
  • Fix select focus states and selects not being updated when focused #3083, #3107
  • Fix nested LiveViews inside a stream element
  • Fix infinite loading streams in zoomed viewports #3442
  • Fix race condition in latency simulator causing messages to be applied out of order
  • Fix stream items not reapplying JS commands when joining after a disconnect
  • Fix unnecessary remount when navigating back
  • Fix character composition mode not working properly in Safari when an input is patched
  • Fix cannot redirect socket on update error raised erroneously under rare circumstances
  • Fix upstream morphdom issue that could cause elements being removed from the real DOM instead of a cloned tree while some elements are locked
  • Don't dispatch click event when moving mouse away from initial click target
  • Fix formatter formatting expressions that are strings with escaped quotes incorrectly

Deprecations

  • Deprecate the name attribute of Phoenix.Component.dynamic_tag/1 in favor of tag_name
chrismccord
published 1.0.0-rc.6 •

Changelog

Source

1.0.0-rc.6 (2024-06-27)

Bug fixes

  • Fix issue with phx-submit where the form container would not be updated while awaiting phx-submit acknowledgement

Enhancements

  • Support blocking: false option to all JS commands that accept :transition, to avoid blocking DOM updates during the transition
chrismccord
published 0.20.17 •

chrismccord
published 1.0.0-rc.5 •

Changelog

Source

1.0.0-rc.5 (2024-06-21)

Bug fixes

  • Fix form recovery when targeting LiveComponents
  • Fix formatter incorrectly formatting script tags
  • Fix client version mismatch warning for rc.3
chrismccord
published 1.0.0-rc.4 •

Changelog

Source

1.0.0-rc.4 (2024-06-20)

Bug fixes

  • Fix bug allowing focused input to be overwritten on acknowledgement
chrismccord
published 0.20.16 •

Changelog

Source

0.20.16 (2024-06-20)

Bug fixes

  • Fix bug introduced in 0.20.15 causing incorrect patching on form elements when awaiting acknowledgements
23
12
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc