phoenix_html breaking changes
phoenix_html 4.0.0 (December 19, 2023) is its newest release with breaking changes, 2 of them. The first: Deprecated functionality removed in phoenix_html 4.0.0. Every breaking API change we have recorded in phoenix_html on Hex: 12 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.4.0, released October 30, 2026. MIT license. Source repository
- From 3.0.0 to 4.0.0: 2 breaking changes in 1 version.
- From 2.0.0 to 4.0.0: 11 breaking changes in 2 versions.
phoenix_html 4.0.0 breaking changes
- Removed
Previously deprecated functionality was removed from the package. Code relying on it must be updated. github.com - Removed
use Phoenix.HTML
The HTML helpers were moved to the phoenix_html_helpers package. Existing apps must add that dependency, then replace use Phoenix.HTML with import Phoenix.HTML, import Phoenix.HTML.Form and use PhoenixHTMLHelpers. github.com
phoenix_html 3.0.0 breaking changes
- Removed
escape_javascript
The deprecated escape_javascript is removed. Use javascript_escape instead. github.com - Removed
field_id
The deprecated field_id is removed. Use input_id instead. github.com - Removed
field_name
The deprecated field_name is removed. Use input_name instead. github.com - Removed
field_value
The deprecated field_value is removed. Use input_value instead. github.com - Behavior changed
By default, dates and times are formatted using the to_iso8601 functions of their implementation. Check code that relied on the previous format. github.com - Behavior changed
content_tag
Strings given as attributes to content_tag are no longer dasherized and are now HTML escaped. Review code that relied on the old output. github.com - Behavior changed
csrf_meta_tag
The generated csrf_meta_tag no longer includes the csrf-param and method-param tags. Update code that reads them. github.com - Behavior changed
form_for
Inputs now have their form id prefixed when a form id is given to form_for/3. Code that depends on the old input ids must be updated. github.com - Behavior changed
tag
Strings given as attributes to tag are no longer dasherized and are now HTML escaped. Review code that relied on the old output. github.com
phoenix_html 2.0.0 breaking changes
- Behavior changed
link.2
Helpers no longer generate onclick attributes, for Content Security Policy compliance. Code that relied on those inline handlers must attach its own JavaScript event handling. The release also adds data-confirm support to link/2. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.