chore(deps): update dependency phoenix_html to v4 #40
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.11
->~> 4.0
Release Notes
phoenixframework/phoenix_html (phoenix_html)
v4.3.0
Compare Source
Enhancements
Phoenix.HTML.Safe
for Durationnormalize_value/2
to improve documentationBug fixes
v4.2.1
Compare Source
Phoenix.HTML.FormField
v4.2.0
Compare Source
Enhancements
Phoenix.HTML.css_escape/1
to escape strings for use inside CSS selectors:hr
tooptions_for_select/2
to render a horizontal ruleBug fixes
v4.1.1
Compare Source
v4.1.0
Compare Source
:action
and consider input as changed if action changes to support better change trackingv4.0.0
Compare 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.exs
and then replaceuse Phoenix.HTML
in your applications by:v3.3.4
Compare Source
v3.3.3
Compare Source
input_changed?
v3.3.2
Compare Source
Enhancements
Deprecations
inputs_for/2
andinputs_for/3
(without anonymous functions)v3.3.1
Compare Source
v3.3.0
Compare Source
Enhancements
Bug fix
form.submit
in JavaScript to trigger all relevant eventsaria
/data
/phx
would emit empty or literal values, such as"true"
and"false"
. This release aligns them with all other attributes so bothnil
andfalse
emit nothing.true
emits the attribute with no value.Deprecations
Phoenix.HTML.Tag.attributes_escape/1
is deprecated in favor ofPhoenix.HTML.attributes_escape/1
v3.2.0
Compare Source
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.phx
attributes to be nested, similar toaria
anddata
attributesv3.1.0
Compare Source
~E
andPhoenix.HTML.Tag.attributes_escape/1
Phoenix.HTML.Link.link/1
v3.0.4
Compare Source
class={@​class}
in HEEx templates and:class
attribute incontent_tag
are properly escaped against XSSv3.0.3
Compare Source
tag
/content_tag
v3.0.2
Compare Source
Phoenix.HTML.Tag.attributes_escape/1
v3.0.1
Compare Source
Phoenix.HTML.Tag.csrf_input_tag/2
v3.0.0
Compare Source
Enhancements
:prompt
option inselect
Plug
an optional dependencyform_for/3
%URI{}
to be passed tolink/2
andbutton/2
as:to
Phoenix.HTML.Tag.csrf_token_value/1
Phoenix.HTML.Tag.attributes_escape/1
Bug fixes
form
attribute when creating hidden checkbox inputto_iso8601
as the standard implementation for safe dates and timesDeprecations
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 functionalityBackwards incompatible changes
tag
andcontent_tag
are now emitted as is (without being dasherized) and are also HTML escapedform_for/3
to_iso8601
functions provided by their implementationcsrf-param
andmethod-param
in generatedcsrf_meta_tag
escape_javascript
in favor ofjavascript_escape
field_value
in favor ofinput_value
field_name
in favor ofinput_name
field_id
in favor ofinput_id
Configuration
📅 Schedule: Branch creation - "before 6am on Monday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.