lxml-html-clean breaking changes
lxml-html-clean 0.4.6 (October 26, 2026) is its newest release with breaking changes, 2 of them. The first: CSS expression() sanitizer now bounds bodies and drops whole style on long input in lxml-html-clean 0.4.6. Every breaking API change we have recorded in lxml-html-clean on PyPI: 4 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 0.4.7, released November 26, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
lxml-html-clean 0.4.6 breaking changes
- Behavior changed
Style bodies after expression( longer than 1024 characters now cause the entire style to be dropped. Review any code that relies on long expression bodies being kept. github.com - Behavior changed
Image data URLs with a MIME subtype longer than 255 characters are now handled differently. Check code that depends on very long image MIME subtypes. github.com
lxml-html-clean 0.4.0 breaking changes
- Behavior changed
Cleaner
Cleaner now scans CSS comments for hidden JavaScript in contexts such as svg or math tags. If suspicious content is found, only the comment is removed, so output may differ from earlier versions. github.com
lxml-html-clean 0.3.0 breaking changes
- Behavior changed
Cleaner
Cleaner removes URLs it judges ambiguous, which it previously kept, and URL parsing was enhanced. Code relying on URLs passing through unchanged may need review. github.com
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.