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

phoenix_live_view

Package Overview
Dependencies
Maintainers
1
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

13
12

1.0.0-rc.3

Diff

Changelog

Source

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

Bug fixes

  • Fix issue where locked data-phx-ref containers would still be patched in some cases
  • Fix issue where locked data-phx-ref containers would fail to have pending updates like streams applied after acknowledgment
  • Fix issue where a LiveComponent issuing live navigation sends an acknowledgement too early before its parent LiveView handle_params diff is sent
  • Fix issue allowing phx-remove elements to remain interactive while transitioning out from the page
chrismccord
published 1.0.0-rc.2 •

Changelog

Source

1.0.0-rc.2 (2024-06-19)

Bug fixes

  • Fix bug introduced in rc.1 causing incorrect patching on form elements when awaiting acknowledgements
chrismccord
published 0.20.15 •

Changelog

Source

0.20.15 (2024-06-18)

Enhancements

  • Warn when rendering an input named "id"
  • Warn on mismatched client and server versions
  • Allow form recovery to work on forms in nested LiveViews
  • Allow using form/3 with inputs outside the form
  • Allow setting page title to an empty string
  • Fix warnings on Elixir 1.17

Bug fixes

  • Fix attributes of existing stream items not being updated on reset
  • Fix nested LiveView within streams becoming empty when reset
  • Fix phx-mounted firing twice, first on dead render, then on live render, leading to errors when a LiveComponent has not yet mounted
  • Fix JS.toggle_class error when used with a transition
  • Fix phx-debounce=blur incorrectly sending change event to the next page in some circumstances
  • Fix race condition when destroying Live Components while transitions are still running
  • Fix page reload when disconnecting LiveSocket if using Bandit
  • Fix formatter changing <% to <%= when it shouldn't
  • Fix updated form values not being sent in some circumstances when phx-trigger-action is used
  • Fix phx-viewport bindings when html or body element has overflow property

Deprecations

  • Deprecate live_flash in favor of Phoenix.Flash.get
  • Deprecate push_redirect in favor of push_navigate

Removal of previously deprecated functionality

  • phx-capture-click has been removed (deprecated in 0.17.0)
  • live_component/2 and live_component/3 helpers (not the function component) have been removed
chrismccord
published 1.0.0-rc.1 •

Changelog

Source

1.0.0-rc.1 (2024-06-18)

Enhancements

  • Warn when rendering an input named "id"
  • Allow form recovery to work on forms in nested LiveViews
  • Allow using form/3 with inputs outside the form
  • Allow setting page title to an empty string
  • Fix warnings on Elixir 1.17

Bug fixes

  • Fix used input tracking on checkboxes and hidden inputs
  • Fix phx-debounce=blur incorrectly sending change event to the next page in some circumstances
  • Fix race condition when destroying Live Components while transitions are still running
  • Fix page reload when disconnecting LiveSocket if using Bandit
  • Fix formatter changing <% to <%= when it shouldn't

Deprecations

  • Deprecate live_flash in favor of Phoenix.Flash.get
  • Deprecate push_redirect in favor of push_navigate

Removal of previously deprecated functionality

  • phx-capture-click has been removed (deprecated in 0.17.0)
chrismccord
published 1.0.0-rc.0 •

Changelog

Source

1.0.0-rc.0 🚀 (2024-05-08)

Backwards incompatible changes

  • Remove phx-feedback-for in favor of Phoenix.Component.used_input?. See the changelog for a backwards compatible phx-feedback-for shim to add to existing applications.

Removal of previously deprecated functionality

  • live_component/2 and live_component/3 helpers (not the function component) have been removed

Bug fixes

  • Fix attributes of existing stream items not being updated on reset
  • Fix nested LiveView within streams becoming empty when reset
  • Fix phx-mounted firing twice, first on dead render, then on live render, leading to errors when a LiveComponent has not yet mounted
  • Fix JS.toggle_class error when used with a transition
  • Fix updated form values not being sent in some circumstances when phx-trigger-action is used
  • Fix phx-viewport bindings when html or body element has overflow property

Enhancements

  • Warn on mismatched client and server versions
chrismccord
published 0.20.14 •

Changelog

Source

0.20.14 (2024-03-13)

Bug fixes

  • Fix warning caused by optional Floki dependency
chrismccord
published 0.20.13 •

Changelog

Source

0.20.13 (2024-03-12)

Bug fixes

  • Fix LiveComponent rendering bug causing elements to disappear when a LiveComponent child is removed and added back by the server

Enhancements

  • Warn when accessing the socket in a function passed to assign_async / start_async
josevalim
published 0.20.12 •

Changelog

Source

0.20.12 (2024-03-04)

Enhancements

  • Phoenix LiveView requires Elixir v1.13+

Bug fixes

  • Do not send Telemetry metadata as Logger event, this avoids the metadata from being accidentally copied to other processes
  • Ensure LiveViewTest does not crash on IDs with foreign characters, such as question marks
  • Fix a bug where LiveViewTest could not perform a connected mount on a page with certain streams
chrismccord
published 0.20.11 •

Changelog

Source

0.20.11 (2024-02-29)

Bug fixes

  • Fix auto uploads with invalid entries incorrectly proceeding with a form submit instead of halting, causing entries in progress errors
  • Fix auto upload entries failing to be uploaded on submit after moving into a valid state, such as falling within max_entries
  • Fix TagEngine clause warning
chrismccord
published 0.20.10 •

Changelog

Source

0.20.10 (2024-02-28)

Bug fixes

  • Fix cancelled uploads being re-added
  • Fix form submits for previously submitted invalid upload entries causing errors instead of preflighted new upload entries
  • Fix HTML formatter not respecting phx-no-format for script tags

Enhancements

  • Add additional HEEx debug annotations for the caller locations of function component invocations
  • Abandon form recovery if recovery event fails
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