phoenix_html v3.2.0 Release Notes

Release Date: 2021-12-18 // over 1 year ago
    • ✨ Enhancements
      • Raise if the id attribute is set to a number. This is actually an invalid value according to the HTML spec and it can lead to problematic client behaviour, especially in LiveView and other client frameworks.
      • Allow phx attributes to be nested, similar to aria and data attributes
      • Allow hidden fields in forms to be a list of values

Previous changes from v3.1.0

    • 🐛 Bug fix
      • Do not submit data-method links if default has been prevented
    • 🗄 Deprecations
      • Deprecate ~E and Phoenix.HTML.Tag.attributes_escape/1
      • Remove deprecated Phoenix.HTML.Link.link/1