Releases: rushter/selectolax
Releases · rushter/selectolax
v0.4.10
v0.4.9
- Add an ability to specify tags and namespace for fragmented parser
- Add a new serialization mode when pretty printing:
html5test - Allow empty HTML fragments
- Fix attrs access for non-element nodes
- Improve buffer cleanups
- Fix duplicate text when doing
text(deep=True)on a text node - Improve text concatenation performance
- Improve attribute handling
v0.4.8
v0.4.7
- Fix
.text()anditer()for HTML fragments when there are multiple nodes at the root level. Resolves #209. - Update lexbor. Resolves #212.
- Breaking changes: Empty tags are now serialized to
<div value="">instead of<div value>
(Commit 4530fed). - Improve
unwrap_tagsandmerge_text_nodes.
v0.4.6
- Fix HTML parsing in fragment parser for
LexborHTMLParser - Fix memory leak in fragment parser
- Improve
skip_emptyparameter for text methods @pygarap - Add
comment_contentmethod @pygarap - Minor performance optimizations
- Add
create_tagmethod toLexborHTMLParser - Fix advanced selector (
.select()) when attributes are empty.
v0.4.5
v0.4.4
v0.4.3
v0.4.1
v0.4.0
- Fix incorrect default value in docstrings for strict argument
- Fix incorrect exception handling for
any_css_matches - Fix docstring for
css_firstmethod - Fix memory leak in
merge_text_nodesfor lexbor backend - Update lexbor backend
- Add
.inner_htmlproperty. Allows to get and set inner HTML of a node. - Update various docstrings.
- Optimize performance for
css_firstin lexbor backend - Fix segfaults when accessing attributes. Resolves #135.
- Add new
.clonemethod 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.