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