Skip to content

2024.12.13

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Dec 12:59
· 8 commits to main since this release
2024.12.13
525e6f8

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)
  • 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() support bytes and QName as input
  • Completion of #64 for remaining known cases
  • Corrected link replacement function return type in html.rewrite_links()
  • etree.canonicalize() shouldn't accept bytes 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 to SupportsLaxItems

Full Changelog: 2024.11.08...2024.12.13