Skip to content

v2.0.0

Compare
Choose a tag to compare
@frostming frostming released this 12 Jun 03:58
· 60 commits to master since this release
8a5cff1

Note
This major release contains breaking changes to the internal APIs. Read the below for details.
If you are extending Marko, please pay attention. Otherwise, the usage remains unchanged.

Changed

  • Avoid saving to global variables during parsing. There can be multiple parsers running in parallel.
  • Now the children attribute for block elements should be a list of child elements.
  • Move the HTML content of HTMLBlock from children to body attribute.
  • Fixed some built-in extensions that modify class attributes.
  • Add a helper class to create extensions, instead of using arbitrary objects to hold partial properties.

Fixed

  • Call setup_extensions() when running render() method alone.

Full Changelog: v1.3.1...v2.0.0