Drop support for Python 3.8 and 3.9.
-
Allow multiline quoted strings:
{% component "ListItem" attrs:class=" {{ module_classes }} project-nav--item w-full mt-0 shadow " / %}
- Add
get_tag()method toParserConfigto retrieve tag configurations - Remove
ParserConfig.tagsattribute (useget_tag()instead)
- Allow to get allowed flags from
TagConfig
- Added template parsing and compiling with
parse_tag()andcompile_tag()
- Add pre-built wheels for:
- Windows - Python 3.8
- MacOS - Python 3.8, 3.9, 3.10
- Renamed package from
djc-core-html-parsertodjc-core - Refactored project into a monorepo
- Update to Python 3.14
- Add build for Python 3.13 for Windows.
- Fix module typing.
Initial release.
- Parser can be configured to add attributes to the HTML elements.
- Parser optionally captures what attributes were set on HTML elements identified by a specific attribute.