---
title: "phoenix_html 4.0.0 Breaking Changes on Hex | Since.dev"
description: "What each phoenix_html release removed, renamed or changed: 12 breaking changes in 3 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/phoenix_html
last_updated: 2026-12-04
---

# 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

Latest version `4.4.0`, released October 30, 2026. MIT license. [Source repository](https://github.com/phoenixframework/phoenix%5Fhtml)

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 2 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 11 breaking changes in 2 versions.

## phoenix_html 4.0.0 breaking changes

phoenix_html 4.0.0, released December 19, 2023: 2 breaking changes.

- **Removed**  

Previously deprecated functionality was removed from the package. Code relying on it must be updated. [github.com](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v4.0.0/CHANGELOG.md)
- **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](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v4.0.0/CHANGELOG.md)

## phoenix_html 3.0.0 breaking changes

phoenix_html 3.0.0, released August 6, 2021: 9 breaking changes.

- **Removed** `escape_javascript`  

The deprecated escape_javascript is removed. Use javascript_escape instead. [github.com](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **Removed** `field_id`  

The deprecated field_id is removed. Use input_id instead. [github.com](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **Removed** `field_name`  

The deprecated field_name is removed. Use input_name instead. [github.com](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **Removed** `field_value`  

The deprecated field_value is removed. Use input_value instead. [github.com](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v3.0.0/CHANGELOG.md)

## phoenix_html 2.0.0 breaking changes

phoenix_html 2.0.0, released July 30, 2015: 1 breaking change.

- **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](https://github.com/phoenixframework/phoenix%5Fhtml/blob/v2.0.0/CHANGELOG.md)

## Related packages

- [phoenix_live_dashboard](https://since.dev/packages/hex/phoenix%5Flive%5Fdashboard.md)
- [phoenix_live_view](https://since.dev/packages/hex/phoenix%5Flive%5Fview.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
