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
On this page
Latest version 3.4.0, released October 19, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
mistune 3.4.0 breaking changes
- Removed
mistune.core.InlineState.formatting_no_end
InlineState.formatting_no_end was removed in mistune 3.4.0 pypi.org - Removed
mistune.core.InlineState.image_depth
InlineState.image_depth was removed in mistune 3.4.0 pypi.org - Removed
mistune.core.InlineState.link_brackets
InlineState.link_brackets was removed in mistune 3.4.0 pypi.org - Removed
mistune.core.InlineState.link_ranges
InlineState.link_ranges was removed in mistune 3.4.0 pypi.org - Removed
mistune.core.InlineState.no_close_bracket_before
InlineState.no_close_bracket_before was removed in mistune 3.4.0 pypi.org - Removed
mistune.core.InlineState.no_image_before
InlineState.no_image_before was removed in mistune 3.4.0 pypi.org - Removed
mistune.core.InlineState.no_link_before
InlineState.no_link_before was removed in mistune 3.4.0 pypi.org - Removed
mistune.directives.include.BaseRenderer
mistune.directives.include.BaseRenderer was removed in mistune 3.4.0 pypi.org - Removed
mistune.directives.include.escape_text
mistune.directives.include.escape_text was removed in mistune 3.4.0 pypi.org - Removed
mistune.inline_parser.INLINE_HTML
mistune.inline_parser.INLINE_HTML was removed in mistune 3.4.0 pypi.org - Removed
mistune.inline_parser.is_entity_boundary
mistune.inline_parser.is_entity_boundary was removed in mistune 3.4.0 pypi.org - Removed
mistune.inline_parser.parse_inline_link
mistune.inline_parser.parse_inline_link was removed in mistune 3.4.0 pypi.org - Removed
mistune.InlineState.formatting_no_end
InlineState.formatting_no_end was removed in mistune 3.4.0 pypi.org - Removed
mistune.InlineState.image_depth
InlineState.image_depth was removed in mistune 3.4.0 pypi.org - Removed
mistune.InlineState.link_brackets
InlineState.link_brackets was removed in mistune 3.4.0 pypi.org - Removed
mistune.InlineState.link_ranges
InlineState.link_ranges was removed in mistune 3.4.0 pypi.org - Removed
mistune.InlineState.no_close_bracket_before
InlineState.no_close_bracket_before was removed in mistune 3.4.0 pypi.org - Removed
mistune.InlineState.no_image_before
InlineState.no_image_before was removed in mistune 3.4.0 pypi.org - Removed
mistune.InlineState.no_link_before
InlineState.no_link_before was removed in mistune 3.4.0 pypi.org - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
mistune 3.0.0 breaking changes
- Removed
mistune.AstRenderer
mistune.AstRenderer was removed in mistune 3.0.0 pypi.org - Removed
mistune.block_parser.BlockParser.AXT_HEADING
mistune.block_parser.BlockParser.AXT_HEADING was removed in mistune 3.0.0 pypi.org - Removed
mistune.block_parser.BlockParser.BLOCK_QUOTE
mistune.block_parser.BlockParser.BLOCK_QUOTE was removed in mistune 3.0.0 pypi.org - 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 - Removed
mistune.block_parser.BlockParser.DEF_LINK
mistune.block_parser.BlockParser.DEF_LINK was removed in mistune 3.0.0 pypi.org - Removed
mistune.block_parser.BlockParser.FENCED_CODE
mistune.block_parser.BlockParser.FENCED_CODE was removed in mistune 3.0.0 pypi.org - Removed
mistune.block_parser.BlockParser.get_block_quote_rules
BlockParser.get_block_quote_rules was removed in mistune 3.0.0 pypi.org - Removed
mistune.block_parser.BlockParser.get_list_rules
BlockParser.get_list_rules was removed in mistune 3.0.0 pypi.org - Removed
mistune.block_parser.BlockParser.INDENT_CODE
mistune.block_parser.BlockParser.INDENT_CODE was removed in mistune 3.0.0 pypi.org - Removed
mistune.block_parser.BlockParser.LIST_MAX_DEPTH
mistune.block_parser.BlockParser.LIST_MAX_DEPTH was removed in mistune 3.0.0 pypi.org
And 188 more in this version. Sign up to see every change
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.