unstale

pypi / marko

marko

What changed in marko 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

7 breaking1 new APIs and options2 behavior and defaults3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.5 on npm

marko 211 changes

Breaking changes 5

  • Input U+0000 characters are replaced with U+FFFD, as required by CommonMark §2.3.

    2.2.3release notes

  • The GFM alert regex now disallows content on the header line.

    2.2.2release notes

  • For block elements, children should now be a list of child elements.

    2.0.0release notes

  • HTMLBlock's HTML content moves from children to the body attribute.

    2.0.0release notes

  • Parsing no longer saves to global variables, allowing multiple parsers to run in parallel.

    2.0.0release notes

New APIs and options 1

  • A helper class is added for creating extensions instead of using arbitrary objects to hold partial properties.

    2.0.0release notes

Behavior and default changes 2

Fixes and other changes 3

  • GFM table indentation is preserved in lists.

    2.2.3release notes

  • Prevents an infinite loop caused by unnormalized line breaks.

    2.2.3release notes

  • Some built-in extensions that modify class attributes are fixed.

    2.0.0release notes

marko 12 changes

Breaking changes 2