- Bump the minimum Python version to 3.10.
- Fix wheel generation, no other code changes compared to 0.4.6.
- Bump the minimum Python version to 3.9.
- Add the
oncommandglobal attribute. - Add the
commandandcommandforattributes to thebuttonelement. - Add the
closedbyattribute to thedialogelement. - Add the
alphaandcolorspaceattributes to theinputelement. - Add the
shadowrootcustomelementregistryattribute to thetemplateelement.
- Bump the minimum Python version to 3.8.
- Add the
autocorrect,writingsuggestions,onbeforeinput,onpagerevealandonpageswapglobal attributes. - Add the empty string value to the
spellcheckglobal attribute. - Add the
shadowrootclonableandshadowrootserializableattributes to thetemplateelement.
- Add the
nameattribute to thedetailselement. - Add the
shadowrootmodeandshadowrootdelegatesfocusto thetemplateelement. - Add the
onpagerevealattribute to thebodyelement.
- Remove the incorrect attributes
height,mediaandwidthattributes frompictureelements.
- Add the
fetchpriorityattribute to theimg,linkandscriptelements. - Add the
plaintext-onlyvalue to thecontenteditableglobal attribute. - Add the
searchelement. - Replace the
popoverhidetarget,popovershowtargetandpopovertoggletargetattributes of thebuttonandinputelements withpopovertargetandpopovertargetaction.
- Add the
popoverandonbeforetoggleglobal attributes. - Add the
popoverhidetarget,popovershowtargetandpopovertoggletargetattributes tobuttonandinputelements. - Add the
dirattribute tobdoelements. - Add the
heightattribute topictureelements.
- Explicitly support Python 3.11.
- Bump the minimum Python version from 3.7.0 to 3.7.2.
- Add the
onscrollendglobal attribute. - Update the allowed values of the
hiddenglobal attribute.
- Remove upper bound on
typing-extensions.
- Add the
blockingattribute tolink,scriptandstyleelements. - Add the
inertandonbeforematchglobal attributes. - Update the allowed values of the
sandboxattributes ofiframeelements. - Remove the deprecated
paramelement.
- Automatically prepend a
DOCTYPEdeclaration to<html>elements. This behaviour can be overridden using the_prepend_doctypekeyword argument.
- Elements can be subscripted using slices, returning (or replacing/deleting) a slice of their children.
- Attribute validators follow a different naming scheme (for example
attribute_validators.bool_validatoris nowvalidators.attribute_bool).
- Treat
BaseElementas a simple container, omitting the start and end tags when rendering. - Implement
BaseElement.insert()to add children at a given position.
BaseElement.childrenandBaseElement.attributesare no longer public.
- Initial release