phoenix_html v3.2.0 Release Notes
Release Date: 2021-12-18 // about 3 years 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 toaria
anddata
attributes - Allow hidden fields in forms to be a list of values
- Raise if the
- โจ Enhancements
Previous changes from v3.1.0
-
- ๐ Bug fix
- Do not submit data-method links if default has been prevented
- ๐ Deprecations
- Deprecate
~E
andPhoenix.HTML.Tag.attributes_escape/1
- Remove deprecated
Phoenix.HTML.Link.link/1
- Deprecate
- ๐ Bug fix