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

# mistune breaking changes

mistune 3.4.0 (October 19, 2026) is its newest release with breaking changes, 32 of them. The first: Removed mistune.core.InlineState.formatting_no_end. Every breaking API change we have recorded in mistune on PyPI: 230 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.4.0`, released October 19, 2026. [Source repository](https://github.com/lepture/mistune)

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

- From [3.0.0](#v-3-0-0) to [3.4.0](#v-3-4-0): 32 breaking changes in 1 version.

## mistune 3.4.0 breaking changes

mistune 3.4.0, released October 19, 2026: 32 breaking changes.

- **Removed** `mistune.core.InlineState.formatting_no_end`  

InlineState.formatting_no_end was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.core.InlineState.image_depth`  

InlineState.image_depth was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.core.InlineState.link_brackets`  

InlineState.link_brackets was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.core.InlineState.link_ranges`  

InlineState.link_ranges was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.core.InlineState.no_close_bracket_before`  

InlineState.no_close_bracket_before was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.core.InlineState.no_image_before`  

InlineState.no_image_before was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.core.InlineState.no_link_before`  

InlineState.no_link_before was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.directives.include.BaseRenderer`  

mistune.directives.include.BaseRenderer was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.directives.include.escape_text`  

mistune.directives.include.escape_text was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.inline_parser.INLINE_HTML`  

mistune.inline_parser.INLINE_HTML was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.inline_parser.is_entity_boundary`  

mistune.inline_parser.is_entity_boundary was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.inline_parser.parse_inline_link`  

mistune.inline_parser.parse_inline_link was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.InlineState.formatting_no_end`  

InlineState.formatting_no_end was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.InlineState.image_depth`  

InlineState.image_depth was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.InlineState.link_brackets`  

InlineState.link_brackets was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.InlineState.link_ranges`  

InlineState.link_ranges was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.InlineState.no_close_bracket_before`  

InlineState.no_close_bracket_before was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.InlineState.no_image_before`  

InlineState.no_image_before was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Removed** `mistune.InlineState.no_link_before`  

InlineState.no_link_before was removed in mistune 3.4.0 [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.block_parser.parse_link_href`  

Was def parse_link_href(src: str, start_pos: int, block: bool = False) -> Union\[Tuple\[str, int\], Tuple\[None, None\]\]; now def parse_link_href(src: str, start_pos: int, block: bool = False, \*, max_nested_level: int =... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.create_markdown`  

Was def create_markdown(escape: bool = True, hard_wrap: bool = False, renderer: Optional\[RendererRef\] = 'html', plugins: Optional\[Iterable\[PluginRef\]\] = None) -> Markdown; now def create_markdown(escape: Optional\[bool\] = None, hard_wrap... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.directives.include.render_html_include`  

Was def render_html_include(renderer: BaseRenderer, text: str, \*\*attrs: Any) -> str; now def render_html_include(renderer: HTMLRenderer, text: str, \*\*attrs: Any) -> str. [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.helpers.parse_link`  

Was def parse_link(src: str, pos: int) -> Union\[Tuple\[Dict\[str, Any\], int\], Tuple\[None, None\]\]; now def parse_link(src: str, pos: int, \*, max_nested_level: int = DEFAULT_MAX_NESTED_LEVEL) -> Union\[Tuple\[Dict\[str, Any\], int\], Tuple\[None... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.helpers.parse_link_href`  

Was def parse_link_href(src: str, start_pos: int, block: bool = False) -> Union\[Tuple\[str, int\], Tuple\[None, None\]\]; now def parse_link_href(src: str, start_pos: int, block: bool = False, \*, max_nested_level: int =... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.helpers.parse_link_with_end`  

Was def parse_link_with_end(src: str, pos: int) -> Tuple\[Union\[Dict\[str, Any\], None\], Union\[int, None\], int\]; now def parse_link_with_end(src: str, pos: int, \*, max_nested_level: int = DEFAULT_MAX_NESTED_LEVEL) -> Tuple\[Union\[Dict\[str... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.inline_parser.InlineParser.__init__`  

Was def \_\_init\_\_(self, hard_wrap: bool = False, max_emphasis_depth: int = DEFAULT_MAX_EMPHASIS_DEPTH, max_image_depth: int = DEFAULT_MAX_IMAGE_DEPTH) -> None; now def \_\_init\_\_(self, hard_wrap: bool = False, max_emphasis_depth... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.inline_parser.InlineParser.parse_inline_html`  

Was def parse_inline_html(self, m: Match\[str\], state: InlineState) -> int; now def parse_inline_html(self, m: Match\[str\], state: InlineState) -> Optional\[int\]. [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.inline_parser.InlineParser.register`  

Was def register(self, name: str, pattern: Optional\[str\], func: Any, before: Optional\[str\] = None) -> None; now def register(self, name: str, pattern: Optional\[str\], func: Any, before: Optional\[str\] = None, \*, start_chars... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.InlineParser.__init__`  

Was def \_\_init\_\_(self, hard_wrap: bool = False, max_emphasis_depth: int = DEFAULT_MAX_EMPHASIS_DEPTH, max_image_depth: int = DEFAULT_MAX_IMAGE_DEPTH) -> None; now def \_\_init\_\_(self, hard_wrap: bool = False, max_emphasis_depth... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.InlineParser.parse_inline_html`  

Was def parse_inline_html(self, m: Match\[str\], state: InlineState) -> int; now def parse_inline_html(self, m: Match\[str\], state: InlineState) -> Optional\[int\]. [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.InlineParser.register`  

Was def register(self, name: str, pattern: Optional\[str\], func: Any, before: Optional\[str\] = None) -> None; now def register(self, name: str, pattern: Optional\[str\], func: Any, before: Optional\[str\] = None, \*, start_chars... [pypi.org](https://pypi.org/project/mistune/3.4.0/)
- **Signature changed** `mistune.plugins.ruby.parse_link`  

Was def parse_link(src: str, pos: int) -> Union\[Tuple\[Dict\[str, Any\], int\], Tuple\[None, None\]\]; now def parse_link(src: str, pos: int, \*, max_nested_level: int = DEFAULT_MAX_NESTED_LEVEL) -> Union\[Tuple\[Dict\[str, Any\], int\], Tuple\[None... [pypi.org](https://pypi.org/project/mistune/3.4.0/)

## mistune 3.0.0 breaking changes

mistune 3.0.0, released June 8, 2023: 198 breaking changes.

- **Removed** `mistune.AstRenderer`  

mistune.AstRenderer was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.AXT_HEADING`  

mistune.block_parser.BlockParser.AXT_HEADING was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.BLOCK_QUOTE`  

mistune.block_parser.BlockParser.BLOCK_QUOTE was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.BLOCK_QUOTE_MAX_DEPTH`  

mistune.block_parser.BlockParser.BLOCK_QUOTE_MAX_DEPTH was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.DEF_LINK`  

mistune.block_parser.BlockParser.DEF_LINK was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.FENCED_CODE`  

mistune.block_parser.BlockParser.FENCED_CODE was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.get_block_quote_rules`  

BlockParser.get_block_quote_rules was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.get_list_rules`  

BlockParser.get_list_rules was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.INDENT_CODE`  

mistune.block_parser.BlockParser.INDENT_CODE was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)
- **Removed** `mistune.block_parser.BlockParser.LIST_MAX_DEPTH`  

mistune.block_parser.BlockParser.LIST_MAX_DEPTH was removed in mistune 3.0.0 [pypi.org](https://pypi.org/project/mistune/3.0.0/)

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

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