Breaking changes and features
bytearray
accepted as tag names, attribute names and attribute values- Related change: create
_TextArg
type alias to slowly replace existing_AnyStr
(#71)
- Related change: create
- Warn IDE users via
warnings.deprecated
about exception upon certain argument combinations in HTML link functions
Bug fixes
- Property deleter missing for HTML elements (#73)
etree.strip_attributes()
supportbytes
andQName
as input- Completion of #64 for remaining known cases
- Corrected link replacement function return type in
html.rewrite_links()
etree.canonicalize()
shouldn't acceptbytes
as input
Tests related
- Use
hypothesis
for extensive tests on function arguments, currently used in_Attrib
and HTML link function tests (#75) reveal_type()
injector has been split into its own project and pulled via dependency
Internal changes
- Folder structure changes for the whole repository (#70)
- Remove
_HANDLE_FAILURES
type alias and show values directly to users - Rename type-only protocol
SupportsLaxedItems
toSupportsLaxItems
Full Changelog: 2024.11.08...2024.12.13