All Versions
51
Latest Version
Avg Release Cycle
70 days
Latest Release
858 days ago

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 to aria and data attributes
      • Allow hidden fields in forms to be a list of values
  • v3.1.0 Changes

    October 23, 2021
    • ๐Ÿ› 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
  • v3.0.4 Changes

    September 23, 2021
    • ๐Ÿ› Bug fix
      • Ensure class={@class} in HEEx templates and :class attribute in content_tag are properly escaped against XSS
  • v3.0.3 Changes

    September 04, 2021
    • ๐Ÿ› Bug fix
      • Fix sorting of attributes in tag/content_tag
  • v3.0.2 Changes

    August 19, 2021
    • โœจ Enhancements
      • Support maps on Phoenix.HTML.Tag.attributes_escape/1
  • v3.0.1 Changes

    August 14, 2021
    • โœจ Enhancements
      • Add Phoenix.HTML.Tag.csrf_input_tag/2
  • v3.0.0 Changes

    August 06, 2021
    • โœจ Enhancements

      • Allow extra html attributes on the :prompt option in select
      • Make Plug an optional dependency
      • Prefix form id on inputs when it is given to form_for/3
      • Allow %URI{} to be passed to link/2 and button/2 as :to
      • Expose Phoenix.HTML.Tag.csrf_token_value/1
      • Add Phoenix.HTML.Tag.attributes_escape/1
    • ๐Ÿ› Bug fixes

      • Honor the form attribute when creating hidden checkbox input
      • Use to_iso8601 as the standard implementation for safe dates and times
    • ๐Ÿ—„ 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 and content_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 and method-param in generated csrf_meta_tag
      • Remove deprecated escape_javascript in favor of javascript_escape
      • Remove deprecated field_value in favor of input_value
      • Remove deprecated field_name in favor of input_name
      • Remove deprecated field_id in favor of input_id
  • v2.14.3 Changes

    December 12, 2020
    • ๐Ÿ› Bug fixes
      • Fix warnings on Elixir v1.12
  • v2.14.2 Changes

    April 30, 2020
    • ๐Ÿ—„ Deprecations
      • Deprecate Phoenix-specific assigns :view_module and :view_template
  • v2.14.1 Changes

    March 20, 2020
    • โœจ Enhancements

      • Add Phoenix.HTML.Form.options_for_select/2
      • Add Phoenix.HTML.Form.inputs_for/3
    • ๐Ÿ› Bug fixes

      • Disable hidden input for disabled checkboxes