Skip to content

Releases: rushter/selectolax

v0.4.6

06 Dec 12:15

Choose a tag to compare

  • Fix HTML parsing in fragment parser for LexborHTMLParser
  • Fix memory leak in fragment parser
  • Improve skip_empty parameter for text methods @pygarap
  • Add comment_content method @pygarap
  • Minor performance optimizations
  • Add create_tag method to LexborHTMLParser
  • Fix advanced selector (.select()) when attributes are empty.

v0.4.5

05 Dec 09:54

Choose a tag to compare

v0.4.5 Pre-release
Pre-release

YANKED, bugged release

  • Fix HTML parsing in fragment parser for LexborHTMLParser
  • Fix memory leak in fragment parser
  • Improve skip_empty parameter for text methods @pygarap
  • Add comment_content method @pygarap
  • Minor performance optimizations

v0.4.4

25 Nov 10:27

Choose a tag to compare

  • Add is_fragment parameter to LexborHTMLParser @pygarap

  • Add the ability to skip empty text nodes for lexbor backend to .text, .iter, .traverse @pygarap

  • Add new properties to lexbor backend: is_element_node, is_text_node, is_comment_node, is_document_node. @pygarap

  • Update lexbor library

v0.4.3

16 Nov 11:31

Choose a tag to compare

  • Update lexbor
  • Fix missing description on PyPi.

v0.4.1

14 Nov 06:57

Choose a tag to compare

  • Fix parsing of CSS selectors that contain Unicode characters.

v0.4.0

28 Sep 17:33

Choose a tag to compare

  • Fix incorrect default value in docstrings for strict argument
  • Fix incorrect exception handling for any_css_matches
  • Fix docstring for css_first method
  • Fix memory leak in merge_text_nodes for lexbor backend
  • Update lexbor backend
  • Add .inner_html property. Allows to get and set inner HTML of a node.
  • Update various docstrings.
  • Optimize performance forcss_first in lexbor backend
  • Fix segfaults when accessing attributes. Resolves #135.
  • Add new .clone method to lexbor backend. Resolve #117.
  • Improve unicode handling for malformed text. Resolves #138.
  • Fix segfaults when doing double .decompose. Resolves #179.
  • Fix sefgaults when doing double .unwrap. Resolves #169.
  • Fix typo for tag names. Clarify available tag names.

v0.3.34

28 Aug 22:15

Choose a tag to compare

  • Lexbor backend now supports :lexbor-contains("abc" i) CSS pseudo-class to match text nodes.

v0.3.33

09 Aug 16:40

Choose a tag to compare

v0.3.32

19 Jul 20:05

Choose a tag to compare

  • Update lexbor. The new version of Lexbor fixes bugs related to CSS selectors. lexbor/lexbor#279

v0.3.31

01 Jul 13:03

Choose a tag to compare

  • Improve type hints, add docstrings to type hints. Fixes #167
  • Prevent decomposing of the root node in lexbor. Fixes #168
  • Unpin Cython version and make it Optional. Fixes #164, #166
  • Allow empty attribute values. Fixes #165.