Repository navigation
Releases: witiz/markupy
Releases · witiz/markupy
Release list
v2.5.0
v2.4.0
v2.3.1
v2.3.0
Reworked attribute management for increased compatibility with type checkers (mypy in particular)
This is introducing a (small) breaking change. It is no longer possible to instantiate object attributes with markupy.attributes(name, value). The recommended way is now to use markupy.Attribute(name, value)
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.0
Big release this time, with some major improvements, and some important breaking changes as well.
Breaking changes:
- Removed special types for
classattribute handling inside dict attributes. An alternative is now to use the new "Object attributes" - Removed keyword attributes complex syntax to emulate non standard HTML attributes. You can still generate those with Dict attributes or the new "Object attributes"
- Renamed the former
markupy.tagmodule tomarkupy.elements, to be more in line with the internal semantics and with the newmarkupy.attributesmodule as well
New features:
- Major rework of internals to simplify the structure, optimize performance and reliability with type and runtime checks
- Reorganize the docs to make them easier to grasp for both beginners and advanced users. And we now have a logo!
- Introduction of "Object attributes", including suggestion and auto-completion for HTML5 attributes and helper utilities for some attributes, including the
attr.class_()which can take as an argument a string, a dict or a list of classes.