Repository navigation
Releases
darash 0.8.0
Added
- Opt-in Chromium rendering and main-content extraction (#69): new
browserfeature and CLI flags--render,--browser PATH,--wait-for,--main-content, and--main-fallback full. Rendered fetches enforce a DOM byte cap outside page JavaScript, keep the browser process group alive until cleanup, correlate CDP replies, and select main content with link-density scoring (nested content, wrapped prose, and mixed link-density covered by tests).
Changed
- The HTTP client is now optional behind the
clientfeature (default on), enabling extraction-only and wasm builds. - Disk cache and
read_sourceuse non-blocking async I/O viatokio::fs(#58, #65).
Performance
- Blocklist/allowlist filtering no longer allocates per term (#52).
with_sourcesdeduplicates via sort + dedup instead of repeated scans (#47).- Case-insensitive search avoids per-call allocations (#67).
Fixed
- Control characters in fetched content are escaped in CLI output (#56).
WebsurfxQuerysafe_search levels are bounds-checked; out-of-range levels returnError::InvalidSafeSearch(#51).
Internal
Providerenum deduplicated intoSearchSource(#53);tokenizerefactored (#43); expanded test coverage forto_markdown,to_text,parse_row_spec, and Websurfx mapping (#35, #36, #39, #42).- Shell excluded from repository language statistics (#68).
Full changelog: 0c9b40b...v0.8.0
Install: cargo install darash — for rendering support: cargo install darash --features browser. Crate: https://crates.io/crates/darash/0.8.0
darash v0.5.2
darash 0.5.2
Web search against DuckDuckGo HTML was returning zero results: reqwest/rustls GET and POST received HTTP 202 bot-challenge pages, which Darash treated as a successful empty response.
This release POSTs that endpoint over OpenSSL/native-tls (the stack that actually gets HTTP 200), treats HTTP 202 as a provider failure, and keeps rustls for OpenAlex, Hacker News, and remote SearxNG.
CI: https://github.com/tschk/darash/actions/runs/35065347084
darash v0.5.1
darash 0.5.1
Patch release over 0.5.0: replace yanked chacha20 0.10.1 (transitive via rand / quinn / reqwest) with 0.10.2. No API changes.
CI: https://github.com/tschk/darash/actions/runs/35046256217
darash v0.5.0
darash 0.5.0
Minor release: Error::QueryTooLong is a new public variant.
Security / correctness
- Reject search queries longer than 512 characters before any HTTP call (
SearchQueryandWebsurfxQuery). - Truncate HTTP error bodies to 8 KiB (UTF-8 safe).
- Drop non-
http/httpsresult URLs (javascript:,file:) from remote and embedded responses. - Cap OpenAlex inverted-index expansion (256 entries / 512 positions / 48 words).
- Bump
rustlsto 0.23.45 (RUSTSEC-2026-0285).
Other
- Amp orb setup/resume scripts.
- Jules:
abstract_textborrow, SearchConfig builder tests.
CI: https://github.com/tschk/darash/actions/runs/35045296581
darash v0.4.0
v0.3.1
v0.3.0
darash v0.2.0
v0.1.1
v0.1.0
Full Changelog: https://github.com/tschk/darash/commits/v0.1.0