chore(deps): update dependency phoenix_html to v4 #478
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~> 2.14->~> 4.3Release Notes
phoenixframework/phoenix_html (phoenix_html)
v4.3.0Compare Source
Enhancements
Phoenix.HTML.Safefor Durationnormalize_value/2to improve documentationBug fixes
v4.2.1Compare Source
Phoenix.HTML.FormFieldv4.2.0Compare Source
Enhancements
Phoenix.HTML.css_escape/1to escape strings for use inside CSS selectors:hrtooptions_for_select/2to render a horizontal ruleBug fixes
v4.1.1Compare Source
v4.1.0Compare Source
:actionand consider input as changed if action changes to support better change trackingv4.0.0Compare Source
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 yourmix.exsand then replaceuse Phoenix.HTMLin your applications by:v3.3.4Compare Source
v3.3.3Compare Source
input_changed?v3.3.2Compare Source
Enhancements
Deprecations
inputs_for/2andinputs_for/3(without anonymous functions)v3.3.1Compare Source
v3.3.0Compare Source
Enhancements
Bug fix
form.submitin JavaScript to trigger all relevant eventsaria/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/1v3.2.0Compare Source
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.phxattributes to be nested, similar toariaanddataattributesv3.1.0Compare Source
~EandPhoenix.HTML.Tag.attributes_escape/1Phoenix.HTML.Link.link/1v3.0.4Compare Source
class={@​class}in HEEx templates and:classattribute incontent_tagare properly escaped against XSSv3.0.3Compare Source
tag/content_tagv3.0.2Compare Source
Phoenix.HTML.Tag.attributes_escape/1v3.0.1Compare Source
Phoenix.HTML.Tag.csrf_input_tag/2v3.0.0Compare Source
Enhancements
:promptoption inselectPlugan optional dependencyform_for/3%URI{}to be passed tolink/2andbutton/2as:toPhoenix.HTML.Tag.csrf_token_value/1Phoenix.HTML.Tag.attributes_escape/1Bug fixes
formattribute when creating hidden checkbox inputto_iso8601as the standard implementation for safe dates and timesDeprecations
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 functionalityBackwards incompatible changes
tagandcontent_tagare now emitted as is (without being dasherized) and are also HTML escapedform_for/3to_iso8601functions provided by their implementationcsrf-paramandmethod-paramin generatedcsrf_meta_tagescape_javascriptin favor ofjavascript_escapefield_valuein favor ofinput_valuefield_namein favor ofinput_namefield_idin favor ofinput_idv2.14.3Compare Source
v2.14.2Compare Source
Phoenix-specific assigns:view_moduleand:view_templatev2.14.1Compare Source
Enhancements
Phoenix.HTML.Form.options_for_select/2Phoenix.HTML.Form.inputs_for/3Bug fixes
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 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.
This PR was generated by Mend Renovate. View the repository job log.