marko breaking changes
marko 2.0.0 (June 12, 2023) is its newest release with breaking changes, 51 of them. The first: Removed marko.__main__. Every breaking API change we have recorded in marko on PyPI: 66 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 2.2.5, released October 27, 2026. Source repository
Its 1.0.0 release drops Python 2.7. Python end of life dates.
- From 1.0.0 to 2.0.0: 51 breaking changes in 1 version.
- From 0.10.0 to 2.0.0: 65 breaking changes in 2 versions.
marko 2.0.0 breaking changes
- Removed
marko.__main__
marko.__main__ was removed in marko 2.0.0 pypi.org - Removed
marko.__version__
marko.__version__ was removed in marko 2.0.0 pypi.org - Removed
marko.block.BlankLine.inline_children
BlankLine.inline_children was removed in marko 2.0.0 pypi.org - Removed
marko.block.BlankLine.parse_inline
BlankLine.parse_inline was removed in marko 2.0.0 pypi.org - Removed
marko.block.Heading.inline_children
Heading.inline_children was removed in marko 2.0.0 pypi.org - Removed
marko.block.Paragraph.inline_children
Paragraph.inline_children was removed in marko 2.0.0 pypi.org - Removed
marko.block.SetextHeading.inline_children
SetextHeading.inline_children was removed in marko 2.0.0 pypi.org - Removed
marko.Document
marko.Document was removed in marko 2.0.0 pypi.org - Removed
marko.ElementType
marko.ElementType was removed in marko 2.0.0 pypi.org - Removed
marko.ext.codehilite.CodeHilite
marko.ext.codehilite.CodeHilite was removed in marko 2.0.0 pypi.org - Removed
marko.ext.footnote.Footnote
marko.ext.footnote.Footnote was removed in marko 2.0.0 pypi.org - Removed
marko.ext.gfm.elements.Paragraph.inline_children
Paragraph.inline_children was removed in marko 2.0.0 pypi.org - Removed
marko.ext.gfm.elements.TableCell.inline_children
TableCell.inline_children was removed in marko 2.0.0 pypi.org - Removed
marko.ext.gfm.GFM.elements
GFM.elements was removed in marko 2.0.0 pypi.org - Removed
marko.ext.gfm.GFM.renderer_mixins
GFM.renderer_mixins was removed in marko 2.0.0 pypi.org - Removed
marko.ext.pangu.Pangu
marko.ext.pangu.Pangu was removed in marko 2.0.0 pypi.org - Removed
marko.ext.toc.Toc
marko.ext.toc.Toc was removed in marko 2.0.0 pypi.org - Removed
marko.helpers.BlockElement
marko.helpers.BlockElement was removed in marko 2.0.0 pypi.org - Removed
marko.helpers.Source
marko.helpers.Source was removed in marko 2.0.0 pypi.org - Removed
marko.inline.LinkOrEmph
marko.inline.LinkOrEmph was removed in marko 2.0.0 pypi.org - Removed
marko.SetupDone
marko.SetupDone was removed in marko 2.0.0 pypi.org - Renamed
HTMLBlock.children
The HTML content of HTMLBlock is now stored in the body attribute instead of children. Code reading or setting children on HTMLBlock must use body. github.com - Behavior changed
children
The children attribute on block elements is now expected to be a list of child elements. Extensions that set it to another shape must be updated. github.com - Signature changed
marko.block.Document.__init__
Was def __init__(self, text: str) -> None; now def __init__(self) -> None. pypi.org - Signature changed
marko.block.List.__init__
Was def __init__(self) -> None; now def __init__(self, info: List.ParseInfo) -> None. pypi.org - Signature changed
marko.block.ListItem.__init__
Was def __init__(self) -> None; now def __init__(self, info: ListItem.ParseInfo) -> None. pypi.org - Signature changed
marko.block.Paragraph.parse
Was @classmethod def parse(cls, source: Source) -> list[str]; now @classmethod def parse(cls, source: Source) -> list[str] | SetextHeading. pypi.org - Signature changed
marko.ext.footnote.Document.__init__
Was def __init__(self, text); now def __init__(self). pypi.org - Signature changed
marko.ext.footnote.FootnoteRef.find
Was @classmethod def find(cls, text); now @classmethod def find(cls, text, *, source). pypi.org - Signature changed
marko.ext.gfm.elements.ListItem.__init__
Was def __init__(self) -> None; now def __init__(self, info: ListItem.ParseInfo) -> None. pypi.org - Signature changed
marko.ext.gfm.elements.Paragraph.parse
Was @classmethod def parse(cls, source: Source) -> list[str]; now @classmethod def parse(cls, source: Source) -> list[str] | SetextHeading. pypi.org - Signature changed
marko.ext.gfm.elements.Url.find
Was @classmethod def find(cls, text); now @classmethod def find(cls, text, *, source). pypi.org - Signature changed
marko.ext.gfm.GFM
Was class GFM; now GFM. pypi.org - Signature changed
marko.ext.gfm.Markdown.__init__
Was def __init__(self, parser: type[Parser] = Parser, renderer: type[Renderer] = HTMLRenderer, extensions: Iterable[str | object] | None = None) -> None; now def __init__(self, parser: type[Parser] = Parser, renderer: type[Renderer] =... pypi.org - Signature changed
marko.ext.gfm.Markdown.use
Was def use(self, *extensions: str | object) -> None; now def use(self, *extensions: str | MarkoExtension) -> None. pypi.org - Signature changed
marko.ext.latex_renderer.LatexRenderer
Was class LatexRenderer(Renderer); now class LatexRenderer(LatexRendererMixin, Renderer). pypi.org - Signature changed
marko.helpers.load_extension
Was def load_extension(name: str) -> object; now def load_extension(name: str, **kwargs: Any) -> MarkoExtension. pypi.org - Signature changed
marko.inline_parser.find_links_or_emphs
Was def find_links_or_emphs(text: str, root_node: Document) -> list[MatchObj]; now def find_links_or_emphs(text: str, link_ref_defs: dict[str, tuple[str, str]]) -> list[MatchObj]. pypi.org - Signature changed
marko.inline_parser.Group
Was Group; now class Group(NamedTuple). pypi.org - Signature changed
marko.inline_parser.InlineElement.find
Was @classmethod def find(cls, text: str) -> Iterator[Match]; now @classmethod def find(cls, text: str, *, source: Source) -> Iterator[_Match]. pypi.org - Signature changed
marko.inline_parser.look_for_image_or_link
Was def look_for_image_or_link(text: str, delimiters: list[Delimiter], close: int, root_node: Document, matches: list[MatchObj]) -> MatchObj | None; now def look_for_image_or_link(text: str, delimiters: list[Delimiter], close: int... pypi.org - Signature changed
marko.inline_parser.parse
Was def parse(text: str, elements: list[ElementType], fallback: ElementType) -> list[InlineElement]; now def parse(text: str, elements: list[ElementType], fallback: ElementType, source: Source) -> list[InlineElement]. pypi.org - Signature changed
marko.load_extension
Was def load_extension(name: str) -> object; now def load_extension(name: str, **kwargs: Any) -> MarkoExtension. pypi.org - Signature changed
marko.Markdown.__init__
Was def __init__(self, parser: type[Parser] = Parser, renderer: type[Renderer] = HTMLRenderer, extensions: Iterable[str | object] | None = None) -> None; now def __init__(self, parser: type[Parser] = Parser, renderer: type[Renderer] =... pypi.org - Signature changed
marko.Markdown.use
Was def use(self, *extensions: str | object) -> None; now def use(self, *extensions: str | MarkoExtension) -> None. pypi.org - Signature changed
marko.Parser.parse
Was def parse(self, source_or_text: Source | str) -> list[block.BlockElement] | block.BlockElement; now def parse(self, text: str) -> block.Document. pypi.org - Signature changed
marko.Parser.parse_inline
Was def parse_inline(self, text: str) -> list[inline.InlineElement]; now def parse_inline(self, element: block.BlockElement, source: Source) -> None. pypi.org - Signature changed
marko.parser.Parser.parse
Was def parse(self, source_or_text: Source | str) -> list[block.BlockElement] | block.BlockElement; now def parse(self, text: str) -> block.Document. pypi.org - Signature changed
marko.parser.Parser.parse_inline
Was def parse_inline(self, text: str) -> list[inline.InlineElement]; now def parse_inline(self, element: block.BlockElement, source: Source) -> None. pypi.org - Signature changed
marko.parser.Source.root
Was root: BlockElement; now root: Document. pypi.org
And 1 more in this version. Sign up to see every change
marko 1.0.0 breaking changes
- Removed
The deprecated extension object is gone; code that uses it must switch to the replacement extension API. github.com - Removed
The package no longer supports Python 2.7; code running on Python 2.7 must stay on an older release or move to a supported Python. github.com - Removed
marko.ext.footnote.FootnoteExtension
marko.ext.footnote.FootnoteExtension was removed in marko 1.0.0 pypi.org - Removed
marko.ext.gfm.GFMExtension
marko.ext.gfm.GFMExtension was removed in marko 1.0.0 pypi.org - Removed
marko.ext.gfm.helpers
marko.ext.gfm.helpers was removed in marko 1.0.0 pypi.org - Removed
marko.ext.pangu.PanguExtension
marko.ext.pangu.PanguExtension was removed in marko 1.0.0 pypi.org - Removed
marko.ext.toc.TocExtension
marko.ext.toc.TocExtension was removed in marko 1.0.0 pypi.org - Removed
marko.helpers.lru_cache
marko.helpers.lru_cache was removed in marko 1.0.0 pypi.org - Removed
marko.helpers.Source.rest
Source.rest was removed in marko 1.0.0 pypi.org - Removed
marko.html_renderer.html
marko.html_renderer.html was removed in marko 1.0.0 pypi.org
And 4 more in this version. Sign up to see every change
marko 0.10.0 breaking changes
- Behavior changed
The package no longer supports Python 3.5. Users on Python 3.5 must stay on an earlier release or upgrade their Python. 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.