vscode-elixir-credo
vscode-elixir-credo copied to clipboard
chore(deps): update dependency phoenix_html to v4
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| phoenix_html (source) | major | ~> 2.14 -> ~> 4.2 |
Release Notes
phoenixframework/phoenix_html (phoenix_html)
v4.2.0
-
Enhancements
- Add
Phoenix.HTML.css_escape/1to escape strings for use inside CSS selectors - Add the ability to pass
:hrtooptions_for_select/2to render a horizontal rule
- Add
-
Bug fixes
- Pass form action through in FormData implementation
v4.1.1
- Fix dependency resolution error
v4.1.0
- Enhancements
- Introduce form
:actionand consider input as changed if action changes to support better change tracking
- Introduce form
v4.0.0
This version removes deprecated functionality and moved all HTML helpers to a separate library. HTML Helpers are no longer used in new apps from Phoenix v1.7, instead it relies on function components from Phoenix.LiveView. Older applications who wish to maintain compatibility, add {:phoenix_html_helpers, "~> 1.0"} to your mix.exs and then replace use Phoenix.HTML in your applications by:
import Phoenix.HTML
import Phoenix.HTML.Form
use PhoenixHTMLHelpers
v3.3.4
v3.3.3
- Enhancements
- Allow string fields on
input_changed?
- Allow string fields on
v3.3.2
-
Enhancements
- Address deprecations in Elixir v1.16+
-
Deprecations
- Deprecate
inputs_for/2andinputs_for/3(without anonymous functions)
- Deprecate
v3.3.1
- Bug fix
- Set display to none on generated forms
- Warn for maps with atom keys
v3.3.0
-
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
v3.2.0
- Enhancements
- Raise if the
idattribute 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
phxattributes to be nested, similar toariaanddataattributes - Allow hidden fields in forms to be a list of values
- Raise if the
v3.1.0
- Bug fix
- Do not submit data-method links if default has been prevented
- Deprecations
- Deprecate
~EandPhoenix.HTML.Tag.attributes_escape/1 - Remove deprecated
Phoenix.HTML.Link.link/1
- Deprecate
v3.0.4
- Bug fix
- Ensure
class={@​class}in HEEx templates and:classattribute incontent_tagare properly escaped against XSS
- Ensure
v3.0.3
- Bug fix
- Fix sorting of attributes in
tag/content_tag
- Fix sorting of attributes in
v3.0.2
- Enhancements
- Support maps on
Phoenix.HTML.Tag.attributes_escape/1
- Support maps on
v3.0.1
- Enhancements
- Add
Phoenix.HTML.Tag.csrf_input_tag/2
- Add
v3.0.0
-
Enhancements
- Allow extra html attributes on the
:promptoption inselect - Make
Plugan optional dependency - Prefix form id on inputs when it is given to
form_for/3 - Allow
%URI{}to be passed tolink/2andbutton/2as: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
formattribute when creating hidden checkbox input - Use
to_iso8601as the standard implementation for safe dates and times
- Honor the
-
Deprecations
form_forwithout 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
tagandcontent_tagare 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_iso8601functions provided by their implementation - Do not include
csrf-paramandmethod-paramin generatedcsrf_meta_tag - Remove deprecated
escape_javascriptin favor ofjavascript_escape - Remove deprecated
field_valuein favor ofinput_value - Remove deprecated
field_namein favor ofinput_name - Remove deprecated
field_idin favor ofinput_id
- Strings given as attributes keys in
v2.14.3
- Bug fixes
- Fix warnings on Elixir v1.12
v2.14.2
- Deprecations
- Deprecate
Phoenix-specific assigns:view_moduleand:view_template
- Deprecate
v2.14.1
-
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
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.