Skip to content

0.20.0

Choose a tag to compare

@niklak niklak released this 01 Aug 08:46
· 224 commits to main since this release

Release Notes for 0.20.0 (2025-08-01) πŸš€

✨ New Features

  • Introduced Selection::select_matcher_iter, a method that returns an iterator over all nodes matching a given matcher, without collecting them into a result vector. This approach is more efficient for read-only use cases where a full collection isn't needed.

πŸ”§ Changes

  • NodeRef now implements the Copy trait, simplifying usage in performance-critical scenarios.
  • Minor internal code refactoring for improved readability and maintainability.
  • examples/manipulate_html.rs: added an assertion that doc.select(".remove-it").exists() is false. (by @aaronsturm in #110)

Examples

Changelog

Full Changelog: 0.19.0...0.20.0