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.20.2

Diff

chrismccord
published 0.20.1 •

Changelog

Source

0.20.1 (2023-10-09)

Bug fixes

  • Fix error with live uploads auto_upload: true when a file fails to preflight
  • Fix error with live uploads where an early exit can cause a map key error
  • Fix match error on live navigation when reconnecting from client

Enhancements

  • Support new meta() 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.
  • Improve void tagging and error messages
chrismccord
published 0.20.0 •

chrismccord
published 0.19.5 •

Changelog

Source

0.19.5 (2023-07-19)

Backwards incompatible changes

  • The close/1 callback of Phoenix.LiveView.UploadWriter is now close/2 with the close reason passed as the second argument.
  • The write_chunk callback of Phoenix.LiveView.UploadWriter must now return the updated writer state when an error occurs. Instead of {:error, reason}, return {:error, reason, new_state}.

Enhancements

  • Pass close reason to Phoenix.LiveView.UploadWriter close.
  • Dispatch phx:navigate window events when LiveView changes the history state

Bug fixes

  • Call Phoenix.LiveView.UploadWriter close callback when LiveView goes down or connection is lost
  • Fix JS.patch to a Phoenix router scope with :host causing errors
  • Fix immediate navigation after patch not updating URL
  • Fix stream reset on nested streams inside live components causing nested stream children to be removed
chrismccord
published 0.19.4 •

Changelog

Source

0.19.4 (2023-07-10)

Enhancements

  • Introduce Phoenix.LiveView.UploadWriter
chrismccord
published 0.19.3 •

Changelog

Source

0.19.3 (2023-06-21)

Bug fixes

  • Fix push_event inside component update not being sent in some cases
  • Bring back accidentally deprecated upload_errors/1
chrismccord
published 0.19.2 •

Changelog

Source

0.19.2 (2023-06-12)

Bug fixes

  • Fix issue when <input name="value" /> is used
chrismccord
published 0.19.1 •

chrismccord
published 0.19.0 •

Changelog

Source

0.19.0 (2023-05-29)

Backwards incompatible changes

  • Drop support for passing an id to the phx-feedback-for attribute. An input name must be passed instead.
  • Remove previously deprecated let attribute. Use :let instead
  • Remove previously deprecated <%= live_img_preview(entry) %>. Use <.live_img_preview entry={entry} /> instead
  • Remove previously deprecated <%= live_file_input(upload) %>. Use <.live_file_input upload={upload} /> instead
  • Remove previously deprecated <%= live_component(Component) %>. Use <.live_component module={Component} id=\"hello\" /> instead
  • Don't convert underscores to dashes automatically when rendering HTML attributes. Use dashes or underscores where appropriate instead.

Enhancements

  • Support stream resets with bulk insert operations
  • Support ordered inputs within inputs_for, to pair with Ecto's new sort_param and drop_param casting
  • Send form phx-value's on form events

Deprecations

  • Deprecate passing :dom_id to stream/4 in favor of stream_configure/3
  • Deprecate render_block/2 in favor of render_slot/2
  • Deprecate <%= live_img_preview(entry, opts) %>. Use <.live_img_preview entry={entry} {opts} />
  • Deprecate <%= live_file_input(upload, opts) %>. Use <.live_file_input upload={upload} {opts} />
  • Deprecate stateless LiveComponent in favor of function components or in favor of <.live_component id={...} /> (note the id is required)

Bug fixes

  • Fix LiveView disconnects when clicking a download link
  • Fix stream deletes not being sent on nested for comprehensions
  • Fix phx-disconnected bindings not firing on mount failures
  • Support form recovery on forms with only hidden inputs
chrismccord
published 0.18.18 •

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