All Versions
51
Latest Version
Avg Release Cycle
70 days
Latest Release
711 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.2.0 Changes
December 18, 2021- โจ 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
-
v3.1.0 Changes
October 23, 2021- ๐ 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
-
v3.0.4 Changes
September 23, 2021- ๐ Bug fix
- Ensure
class={@class}
in HEEx templates and:class
attribute incontent_tag
are properly escaped against XSS
- Ensure
- ๐ Bug fix
-
v3.0.3 Changes
September 04, 2021- ๐ Bug fix
- Fix sorting of attributes in
tag
/content_tag
- Fix sorting of attributes in
- ๐ Bug fix
-
v3.0.2 Changes
August 19, 2021- โจ Enhancements
- Support maps on
Phoenix.HTML.Tag.attributes_escape/1
- Support maps on
- โจ Enhancements
-
v3.0.1 Changes
August 14, 2021- โจ Enhancements
- Add
Phoenix.HTML.Tag.csrf_input_tag/2
- Add
- โจ Enhancements
-
v3.0.0 Changes
August 06, 2021โจ Enhancements
- Allow extra html attributes on the
:prompt
option inselect
- Make
Plug
an optional dependency - Prefix form id on inputs when it is given to
form_for/3
- Allow
%URI{}
to be passed tolink/2
andbutton/2
as:to
- Expose
Phoenix.HTML.Tag.csrf_token_value/1
- Add
Phoenix.HTML.Tag.attributes_escape/1
- Allow extra html attributes on the
๐ Bug fixes
- Honor the
form
attribute when creating hidden checkbox input - Use
to_iso8601
as the standard implementation for safe dates and times
- Honor the
๐ Deprecations
form_for
without an anonymous function has been deprecated. v3.0 has deprecated the usage, v3.1 will emit warnings, and v3.2 will fully remove the functionality
Backwards incompatible changes
- Strings given as attributes keys in
tag
andcontent_tag
are now emitted as is (without being dasherized) and are also HTML escaped - Prefix form id on inputs when it is given to
form_for/3
- By default dates and times will format to the
to_iso8601
functions provided by their implementation - Do not include
csrf-param
andmethod-param
in generatedcsrf_meta_tag
- Remove deprecated
escape_javascript
in favor ofjavascript_escape
- Remove deprecated
field_value
in favor ofinput_value
- Remove deprecated
field_name
in favor ofinput_name
- Remove deprecated
field_id
in favor ofinput_id
- Strings given as attributes keys in
-
v2.14.3 Changes
December 12, 2020- ๐ Bug fixes
- Fix warnings on Elixir v1.12
- ๐ Bug fixes
-
v2.14.2 Changes
April 30, 2020- ๐ Deprecations
- Deprecate
Phoenix
-specific assigns:view_module
and:view_template
- Deprecate
- ๐ Deprecations
-
v2.14.1 Changes
March 20, 2020โจ Enhancements
- Add
Phoenix.HTML.Form.options_for_select/2
- Add
Phoenix.HTML.Form.inputs_for/3
- Add
๐ Bug fixes
- Disable hidden input for disabled checkboxes