---
title: "html5lib 1.1 Breaking Changes on PyPI | Since.dev"
description: "What each html5lib release removed, renamed or changed: 20 breaking changes in 6 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/html5lib
last_updated: 2026-12-04
---

# html5lib breaking changes

html5lib 1.1 (June 22, 2020) is its newest release with breaking changes, 7 of them. The first: html5lib 1.1 drops support for Python 3.4. Every breaking API change we have recorded in html5lib on PyPI: 20 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.1`, released June 22, 2020. [Source repository](https://github.com/html5lib/html5lib-python)

Its 1.1 release drops Python 3.4. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.0](#v-1-0) to [1.1](#v-1-1): 9 breaking changes in 2 versions.

## html5lib 1.1 breaking changes

html5lib 1.1, released June 22, 2020: 7 breaking changes.

- **Removed**  

Python 3.4 is no longer supported; upgrade the interpreter before using this release. [github.com](https://github.com/html5lib/html5lib-python/blob/1.1/CHANGES.rst)
- **Removed**  

Python 3.3 is no longer supported; upgrade the interpreter before using this release. [github.com](https://github.com/html5lib/html5lib-python/blob/1.1/CHANGES.rst)
- **Removed** `datrie`  

The optional datrie dependency is no longer supported; code relying on it must install it separately or drop it. [github.com](https://github.com/html5lib/html5lib-python/blob/1.1/CHANGES.rst)
- **Removed** `html5lib.html5parser.HTMLParser.normalizedTokens`  

HTMLParser.normalizedTokens was removed in html5lib 1.1 [pypi.org](https://pypi.org/project/html5lib/1.1/)
- **Removed** `html5lib.html5parser.HTMLParser.normalizeToken`  

HTMLParser.normalizeToken was removed in html5lib 1.1 [pypi.org](https://pypi.org/project/html5lib/1.1/)
- **Removed** `html5lib.HTMLParser.normalizedTokens`  

HTMLParser.normalizedTokens was removed in html5lib 1.1 [pypi.org](https://pypi.org/project/html5lib/1.1/)
- **Removed** `html5lib.HTMLParser.normalizeToken`  

HTMLParser.normalizeToken was removed in html5lib 1.1 [pypi.org](https://pypi.org/project/html5lib/1.1/)

## html5lib 1.0.1 breaking changes

html5lib 1.0.1, released December 7, 2017: 2 breaking changes.

- **Removed**  

Python 2.6 is no longer supported and the utils/spider.py module has been removed; code relying on either must be updated. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0.1/CHANGES.rst)
- **Removed** `utils.spider.py`  

The utils/spider.py module has been removed and is no longer available. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0.1/CHANGES.rst)

## html5lib 1.0 breaking changes

html5lib 1.0, released December 7, 2017: 2 breaking changes.

- **Removed** `html5lib.constants.ReparseException`  

html5lib.constants.ReparseException was removed in html5lib 1.0 [pypi.org](https://pypi.org/project/html5lib/1.0/)
- **Removed** `html5lib.html5parser.ReparseException`  

html5lib.html5parser.ReparseException was removed in html5lib 1.0 [pypi.org](https://pypi.org/project/html5lib/1.0/)

## html5lib 1.0b3 breaking changes

html5lib 1.0b3, released December 7, 2017: 1 breaking change.

- **Removed** `treewalkers._base.RecursiveTreeWalker`  

Implementations using RecursiveTreeWalker should move to NonRecursiveTreeWalker. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)

## html5lib 1.0b2 breaking changes

html5lib 1.0b2, released December 7, 2017: 2 breaking changes.

- **Removed** `dom2sax`  

dom2sax was removed; use treeadapters.sax.to_sax, which supports any treewalker. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)
- **Behavior changed**  

Attribute order is preserved; users who want the previous alphabetical order must use the new alphabetical_attributes option. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)

## html5lib 1.0b1 breaking changes

html5lib 1.0b1, released December 7, 2017: 6 breaking changes.

- **Removed**  

The package no longer supports Python 2.5 and older; Python 3.2 or later is supported in one codebase. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)
- **Removed** `Beautiful Soup 3 treebuilder`  

The Beautiful Soup 3 treebuilder is gone; beautifulsoup4 can use html5lib as its parser instead, though foreign content like SVG and MathML may parse incorrectly. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)
- **Removed** `html5lib.treebuilders.dom`  

html5lib.treebuilders.dom is no longer supported; use getTreeBuilder("dom") instead, which returns the default DOM treebuilder based on xml.dom.minidom. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)
- **Removed** `simpletree`  

The simpletree module was removed; the default tree builder is now etree. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)
- **Removed** `XHTMLSerializer`  

XHTMLSerializer was removed because it never guaranteed well-formed XML output. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)
- **Default changed**  

The default tree builder is now etree, using xml.etree.cElementTree when available and xml.etree.ElementTree otherwise. [github.com](https://github.com/html5lib/html5lib-python/blob/1.0/CHANGES.rst)

## 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.
