Skip to content

0.4.0

Choose a tag to compare

@niklak niklak released this 21 Jan 14:24
· 552 commits to main since this release

Release Notes for 0.4.0 (2025-01-08) 🚀

✨ New Features

  • Added an optional serde feature to the crate, enabling the use of serde::Serialize and serde::Deserialize traits for the Article, Metadata, and Config structures.

🔧 Changes

  • Replaced some regex checks with more efficient contains checks to improve performance.

  • Brought all dependencies up to date for better compatibility and performance.

  • Switched to using dom_query::Document::base_uri instead of dom_query::Matcher for extracting the base URI, simplifying the implementation.

  • Aligned Byline extraction and JSON-LD parsing with the latest updates to Mozilla's Readability library (118f015).

⚠️ Breaking Changes

  • Revised Readability::is_probably_readable to use instance-specific configuration options: Config::readable_min_score and Config::readable_min_content_length. This method no longer accepts arguments.

Changelog

Full Changelog: 0.3.0...0.4.0