v2.0.0
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
fromchildren
tobody
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 runningrender()
method alone.
Full Changelog: v1.3.1...v2.0.0