Skip to content

Releases

darash 0.8.0

Choose a tag to compare

@undivisible undivisible released this 15 Oct 05:14
05e454e

Added

  • Opt-in Chromium rendering and main-content extraction (#69): new browser feature 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 client feature (default on), enabling extraction-only and wasm builds.
  • Disk cache and read_source use non-blocking async I/O via tokio::fs (#58, #65).

Performance

  • Blocklist/allowlist filtering no longer allocates per term (#52).
  • with_sources deduplicates 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).
  • WebsurfxQuery safe_search levels are bounds-checked; out-of-range levels return Error::InvalidSafeSearch (#51).

Internal

  • Provider enum deduplicated into SearchSource (#53); tokenize refactored (#43); expanded test coverage for to_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

Choose a tag to compare

@undivisible undivisible released this 16 Sep 06:49

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

Choose a tag to compare

@undivisible undivisible released this 16 Sep 02:09

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

Choose a tag to compare

@undivisible undivisible released this 16 Sep 01:46

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 (SearchQuery and WebsurfxQuery).
  • Truncate HTTP error bodies to 8 KiB (UTF-8 safe).
  • Drop non-http/https result URLs (javascript:, file:) from remote and embedded responses.
  • Cap OpenAlex inverted-index expansion (256 entries / 512 positions / 48 words).
  • Bump rustls to 0.23.45 (RUSTSEC-2026-0285).

Other

  • Amp orb setup/resume scripts.
  • Jules: abstract_text borrow, SearchConfig builder tests.

CI: https://github.com/tschk/darash/actions/runs/35045296581

darash v0.4.0

Choose a tag to compare

@undivisible undivisible released this 02 Aug 05:24

Full Changelog: v0.3.1...v0.4.0

v0.3.1

Choose a tag to compare

@undivisible undivisible released this 02 Aug 04:27

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@undivisible undivisible released this 02 Aug 04:23

Full Changelog: v0.2.0...v0.3.0

darash v0.2.0

Choose a tag to compare

@undivisible undivisible released this 02 Aug 03:10

Full Changelog: v0.1.1...v0.2.0

v0.1.1

Choose a tag to compare

@undivisible undivisible released this 02 Aug 01:49

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@undivisible undivisible released this 02 Aug 01:45