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

# beautifulsoup4 breaking changes

beautifulsoup4 4.15.0 (June 7, 2026) is its newest release with breaking changes, 18 of them. The first: Removed bs4.dammit.EntitySubstitution.CHARACTER_TO_HTML_ENTITY. Every breaking API change we have recorded in beautifulsoup4 on PyPI: 137 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.15.0`, released June 7, 2026. 

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [4.13.1](#v-4-13-1) to [4.15.0](#v-4-15-0): 52 breaking changes in 6 versions.

## beautifulsoup4 4.15.0 breaking changes

beautifulsoup4 4.15.0, released June 7, 2026: 18 breaking changes.

- **Removed** `bs4.dammit.EntitySubstitution.CHARACTER_TO_HTML_ENTITY`  

bs4.dammit.EntitySubstitution.CHARACTER_TO_HTML_ENTITY was removed in beautifulsoup4 4.15.0 [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Removed** `bs4.dammit.EntitySubstitution.CHARACTER_TO_HTML_ENTITY_RE`  

bs4.dammit.EntitySubstitution.CHARACTER_TO_HTML_ENTITY_RE was removed in beautifulsoup4 4.15.0 [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Removed** `bs4.dammit.EntitySubstitution.CHARACTER_TO_HTML_ENTITY_WITH_AMPERSAND_RE`  

bs4.dammit.EntitySubstitution.CHARACTER_TO_HTML_ENTITY_WITH_AMPERSAND_RE was removed in beautifulsoup4 4.15.0 [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Removed** `bs4.dammit.EntitySubstitution.HTML_ENTITY_TO_CHARACTER`  

bs4.dammit.EntitySubstitution.HTML_ENTITY_TO_CHARACTER was removed in beautifulsoup4 4.15.0 [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_all_next`  

Was def find_all_next(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) ->... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_all_previous`  

Was def find_all_previous(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) ->... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_next`  

Was def find_next(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> Union\[\_AtMostOneTag, \_AtMostOneNavigableString... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_next_sibling`  

Was def find_next_sibling(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> Union\[\_AtMostOneTag, \_AtMostOneNavigableString... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_next_siblings`  

Was def find_next_siblings(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) ->... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_parent`  

Was def find_parent(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, \*\*kwargs: \_StrainableAttribute) -> \_AtMostOneTag; now def find_parent(self, name: \_OptionalFindMethodName = None, attrs... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_parents`  

Was def find_parents(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) -> \_SomeTags; now def find_parents(self, name... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_previous`  

Was def find_previous(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> Union\[\_AtMostOneTag, \_AtMostOneNavigableString... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_previous_sibling`  

Was def find_previous_sibling(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> Union\[\_AtMostOneTag, \_AtMostOneNavigableString... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.element.PageElement.find_previous_siblings`  

Was def find_previous_siblings(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.Tag.__call__`  

Was def \_\_call\_\_(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, recursive: bool = True, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.Tag.append`  

Was def append(self, tag: \_InsertableElement) -> PageElement; now def append(self, tag: \_InsertableElement) -> PageElement | List\[PageElement\]. [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.Tag.find`  

Was def find(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, recursive: bool = True, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> Union\[\_AtMostOneTag... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)
- **Signature changed** `bs4.Tag.find_all`  

Was def find_all(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\] = None, recursive: bool = True, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs... [pypi.org](https://pypi.org/project/beautifulsoup4/4.15.0/)

## beautifulsoup4 4.14.2 breaking changes

beautifulsoup4 4.14.2, released September 29, 2025: 9 breaking changes.

- **Removed** `bs4.ResultSet.__delitem__`  

ResultSet.\_\_delitem\_\_ was removed in beautifulsoup4 4.14.2 [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Removed** `bs4.ResultSet.__eq__`  

ResultSet.\_\_eq\_\_ was removed in beautifulsoup4 4.14.2 [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Removed** `bs4.ResultSet.__getitem__`  

ResultSet.\_\_getitem\_\_ was removed in beautifulsoup4 4.14.2 [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Removed** `bs4.ResultSet.__len__`  

ResultSet.\_\_len\_\_ was removed in beautifulsoup4 4.14.2 [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Removed** `bs4.ResultSet.__setitem__`  

ResultSet.\_\_setitem\_\_ was removed in beautifulsoup4 4.14.2 [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Removed** `bs4.ResultSet.insert`  

ResultSet.insert was removed in beautifulsoup4 4.14.2 [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Removed** `bs4.ResultSet.result`  

ResultSet.result was removed in beautifulsoup4 4.14.2 [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Signature changed** `bs4.ResultSet`  

Was class ResultSet(MutableSequence\[\_PageElementT\], Generic\[\_PageElementT\]); now class ResultSet(List\[\_PageElementT\], Generic\[\_PageElementT\]). [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)
- **Signature changed** `bs4.ResultSet.__init__`  

Was def \_\_init\_\_(self, source: Optional\[ElementFilter\], result: MutableSequence\[\_PageElementT\] = \[\]) -> None; now def \_\_init\_\_(self, source: Optional\[ElementFilter\], result: Iterable\[\_PageElementT\] = ()) -> None. [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.2/)

## beautifulsoup4 4.14.1 breaking changes

beautifulsoup4 4.14.1, released September 29, 2025: 3 breaking changes.

- **Signature changed** `bs4.ResultSet`  

Was class ResultSet(Sequence\[\_PageElementT\], Generic\[\_PageElementT\]); now class ResultSet(MutableSequence\[\_PageElementT\], Generic\[\_PageElementT\]). [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.1/)
- **Signature changed** `bs4.ResultSet.__init__`  

Was def \_\_init\_\_(self, source: Optional\[ElementFilter\], result: Sequence\[\_PageElementT\] = ()) -> None; now def \_\_init\_\_(self, source: Optional\[ElementFilter\], result: MutableSequence\[\_PageElementT\] = \[\]) -> None. [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.1/)
- **Signature changed** `bs4.ResultSet.result`  

Was result: Sequence\[\_PageElementT\]; now result: MutableSequence\[\_PageElementT\]. [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.1/)

## beautifulsoup4 4.14.0 breaking changes

beautifulsoup4 4.14.0, released September 27, 2025: 16 breaking changes.

- **Signature changed** `bs4.element.PageElement.find_all_next`  

Was def find_all_next(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) -> \_QueryResults... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_all_previous`  

Was def find_all_previous(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) ->... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_next`  

Was def find_next(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> \_AtMostOneElement; now def find_next(self, name: \_FindMethodName =... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_next_sibling`  

Was def find_next_sibling(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> \_AtMostOneElement; now def find_next_sibling(self, name... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_next_siblings`  

Was def find_next_siblings(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) ->... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_parent`  

Was def find_parent(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, \*\*kwargs: \_StrainableAttribute) -> \_AtMostOneElement; now def find_parent(self, name: \_FindMethodName = None, attrs: Optional\[\_StrainableAttributes\]... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_parents`  

Was def find_parents(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) -> \_QueryResults; now def find_parents(self, name... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_previous`  

Was def find_previous(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> \_AtMostOneElement; now def find_previous(self, name... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_previous_sibling`  

Was def find_previous_sibling(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, \*\*kwargs: \_StrainableAttribute) -> \_AtMostOneElement; now def find_previous_sibling(self... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)
- **Signature changed** `bs4.element.PageElement.find_previous_siblings`  

Was def find_previous_siblings(self, name: \_FindMethodName = None, attrs: \_StrainableAttributes = {}, string: Optional\[\_StrainableString\] = None, limit: Optional\[int\] = None, \_stacklevel: int = 2, \*\*kwargs: \_StrainableAttribute) ->... [pypi.org](https://pypi.org/project/beautifulsoup4/4.14.0/)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## beautifulsoup4 4.13.5 breaking changes

beautifulsoup4 4.13.5, released August 24, 2025: 4 breaking changes.

- **Removed** `bs4.tests`  

bs4.tests was removed in beautifulsoup4 4.13.5 [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.5/)
- **Signature changed** `bs4.builder.HTMLTreeBuilder.DEFAULT_EMPTY_ELEMENT_TAGS`  

Was DEFAULT_EMPTY_ELEMENT_TAGS: Set\[str\]; now DEFAULT_EMPTY_ELEMENT_TAGS: Optional\[Set\[str\]\]. [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.5/)
- **Signature changed** `bs4.element.PageElement.replace_with`  

Was def replace_with(self, \*args: PageElement) -> Self; now def replace_with(self, \*args: \_InsertableElement) -> Self. [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.5/)
- **Signature changed** `bs4.filter.AttributeValueMatchRule.function`  

Was function: Optional\[\_StringMatchFunction\]; now function: Optional\[\_NullableStringMatchFunction\]. [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.5/)

## beautifulsoup4 4.13.2 breaking changes

beautifulsoup4 4.13.2, released February 4, 2025: 2 breaking changes.

- **Signature changed** `bs4.ElementFilter.match`  

Was def match(self, element: PageElement) -> bool; now def match(self, element: PageElement, \_known_rules: bool = False) -> bool. [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.2/)
- **Signature changed** `bs4.filter.MatchRule.__init__`  

Was def \_\_init\_\_(self, string: Optional\[Union\[str, bytes\]\] = None, pattern: Optional\[\_RegularExpressionProtocol\] = None, function: Optional\[Callable\] = None, present: Optional\[bool\] = None); now def \_\_init\_\_(self, string... [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.2/)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### beautifulsoup4 4.13.1 breaking changes

beautifulsoup4 4.13.1, released February 3, 2025: 85 breaking changes.

- **Removed** `bs4.BeautifulSoup.NO_PARSER_SPECIFIED_WARNING`  

bs4.BeautifulSoup.NO_PARSER_SPECIFIED_WARNING was removed in beautifulsoup4 4.13.1 [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.1/)
- **Removed** `bs4.builder.HTMLTreeBuilder.block_elements`  

HTMLTreeBuilder.block_elements was removed in beautifulsoup4 4.13.1 [pypi.org](https://pypi.org/project/beautifulsoup4/4.13.1/)

And 83 more in this version.

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