Sourced from phoenix_html's changelog.
v3.3.0 (2023-02-10)
Enhancements
- Support deeply nested class lists
- Implement Phoenix.HTML.Safe for URI
- Implement Phoenix.HTML.FormData for Map
Bug fix
- Generate unique IDs for checkboxes based on the value
- Use artificial button click instead of
form.submitin JavaScript to trigger all relevant events- Fix a bug where nil/false/true attributes in
aria/data/phxwould emit empty or literal values, such as"true"and"false". This release aligns them with all other attributes so bothnilandfalseemit nothing.trueemits the attribute with no value.Deprecations
Phoenix.HTML.Tag.attributes_escape/1is deprecated in favor ofPhoenix.HTML.attributes_escape/1
6c3a8ee
Release v3.3.00a6d8e3
Add field to FormField struct (#404)e67e41b
Update ExDoc (#403)d58545f
Use field atom for input_value and input_changed? (#400)f829bcb
Fix input_changed?da9c164
Bump version6b7bc61
Implement form[field], normalize_value/2, and input_changed?/3055f2bd
Implement Phoenix.HTML.FormData for Map1406b2f
Update deprecation notices7e4a4f8
fix: add hidden attr to csrf inputs (#398)