github phoenixframework/phoenix_live_view v1.2.0-rc.0

pre-release8 hours ago

Enhancements

  • Add Phoenix.LiveView.ColocatedCSS
  • Deprecate the :colocated_js configuration in favor of :colocated_assets
  • Add phx-no-unused-field to prevent sending _unused parameters to the server (#3577)
  • Add Phoenix.LiveView.JS.to_encodable/1 pushing JS commands via events (#4060)
    • %JS{} now also implements the JSON.Encoder and Jason.Encoder protocols
  • HTMLFormatter: Better preserve whitespace around tags and inside inline elements (#3718)
  • HEEx: Allow to opt out of debug annotations for a module (#4119)
  • HEEx: warn when missing a space between attributes (#3999)
  • HTMLFormatter: Add TagFormatter behaviour for formatting <style> and <script> tags (#4140)
  • Add configuration option for :test_warnings and warn for forms without an ID by default (#4128)
  • Performance optimizations in diffing hot path (Thank you @preciz!)

Don't miss a new phoenix_live_view release

NewReleases is sending notifications on new releases.