Repository navigation
v0.7.5
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 intosrz.duckdband 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 inviews/strictly opt-in via--openor--output, keeping disk storage clean. - Cache Clear Aliases (
src/config/cli.rs,src/storage/cache.rs): Addedsrz cache clear(along withpurgeandwipe), invalidating cached summaries and server capabilities while keeping user reading history intact.