Skip to content

v0.7.5

Choose a tag to compare

@github-actions github-actions released this 06 Nov 01:58
· 197 commits to master since this release

Summary

Unifies caching and persistence into a single DuckDB store (srz.duckdb), adds pure SQL windowed LRU pruning, shortens news caching to 2 hours, makes reader view file exports strictly opt-in, and adds intuitive cache clear aliases.

Changes

  • Unified DuckDB Storage (src/storage/): Consolidated all caching into srz.duckdb and eliminated redundant cache tables in favor of indexed library lookups, removing cross-database locking overhead.
  • Pure SQL LRU Pruning (src/storage/cache.rs): Replaced in-memory sorting with windowed SQL eviction in DuckDB, reclaiming disk space atomically with zero memory allocations.
  • 2-Hour News TTL (src/sources/news.rs, src/config/file.rs): Shortened news and feed caching to 2 hours (news_ttl_hours) to keep briefings fresh while preserving fast repeat lookups.
  • Opt-In View Exports (src/main.rs): Made standalone HTML and Markdown file generation in views/ strictly opt-in via --open or --output, keeping disk storage clean.
  • Cache Clear Aliases (src/config/cli.rs, src/storage/cache.rs): Added srz cache clear (along with purge and wipe), invalidating cached summaries and server capabilities while keeping user reading history intact.