New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

phoenix_live_view

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phoenix_live_view - npm Package Versions

1
12

0.17.1

Diff

Changelog

Source

0.17.1 (2021-10-21)

Bug fixes

  • Fix SVG element support for phx binding interactions
chrismccord
published 0.17.0 •

Changelog

Source

0.17.0 (2021-10-21)

Breaking Changes

on_mount changes

The hook API introduced in LiveView 0.16 has been improved based on feedback. LiveView 0.17 removes the custom module-function callbacks for the Phoenix.LiveView.on_mount/1 macro and the :on_mount option for Phoenix.LiveView.Router.live_session/3 in favor of supporting a custom argument. For clarity, the module function to be invoked during the mount lifecycle stage will always be named on_mount/4.

For example, if you had invoked on_mount/1 like so:

on_mount MyAppWeb.MyHook
on_mount {MyAppWeb.MyHook, :assign_current_user}

and defined your callbacks as:

chrismccord
published 0.16.4 •

chrismccord
published 0.16.3 •

Changelog

Source

0.16.3 (2021-09-03)

Bug fixes

  • Fix on_mount hooks calling view mount before redirecting when the hook issues a halt redirect.
chrismccord
published 0.16.2 •

Changelog

Source

0.16.2 (2021-09-03)

Enhancements

  • Improve error messages on tokenization
  • Improve error message if @inner_block is missing

Bug fixes

  • Fix phx-change form recovery event being sent to wrong component on reconnect when component order changes
chrismccord
published 0.16.1 •

Changelog

Source

0.16.1 (2021-08-26)

Enhancements

  • Relax phoenix_html dependency requirement
  • Allow testing functional components by passing a function reference to Phoenix.LiveViewTest.render_component/3

Bug fixes

  • Do not generate CSRF tokens for non-POST forms
  • Do not add compile-time dependencies on on_mount declarations
chrismccord
published 0.16.0 •

chrismccord
published 0.15.7 •

Changelog

Source

0.15.7 (2021-05-24)

Bug fixes

  • Fix broken webpack build throwing missing morphdom dependency
chrismccord
published 0.15.6 •

chrismccord
published 0.15.5 •

Changelog

Source

0.15.5 (2021-04-20)

Enhancements

  • Add upload_errors/1 for returning top-level upload errors

Bug fixes

  • Fix consume_uploaded_entry/3 with external uploads causing inconsistent entries state
  • Fix push_event losing events when a single diff produces multiple events from different components
  • Fix deep merging of component tree sharing
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