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 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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps phoenix_html from 2.14.3 to 3.0.0.
Changelog
Sourced from phoenix_html's changelog.
Commits
2a528e5
Release 3.0.00ddef24
Update CHANGELOG and deps8ad1174
Generate valid csrf meta tag, closes #294d35bebb
Merge pull request #341 from phoenixframework/cm-csrf-value7d1d3c0
Formatter56c5143
Expose csrf_token_value on tag79df1c4
Use DateTime.from_naive032154a
Allow DateTime to be used with datetime_local_input/3 (#339)bc7e7d7
Update ci.yml4c7781d
Fix CI (#338)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)