Skip to content

NanoRSS v0.2.4

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 06:23
v0.2.4
5823f54

English

Performance

  • Skip re-sanitising unchanged entries during feed updates via a raw-input source_hash column (migration 0007), cutting repeat sanitiser CPU and parse memory spikes.
  • Bound HTML-to-text summary extraction to 64 KiB, skip loading content_html on public pages in summary/title mode, stream JSON Feed serialisation without cloning into serde_json::Value, serve embedded static assets zero-copy, load settings in one SQL query, and trim unused SQLite extensions (FTS3/FTS5/RTREE/etc.), mime_guess, axum features, and reqwest brotli decode windows.
  • Fix a frontend DOM retention leak in toast column tracking (reclaiming >100k detached CDP nodes / ~12.7 MiB JS heap after leaving a long reader list), defer rendering the closed command palette until first open (~2,200 elements / ~4.2 MiB JS heap saved at 500 feeds), and replace O(N×M) feed-group rescans with O(N+M) buckets.

Fixed

  • Run PRAGMA incremental_vacuum to completion during daily maintenance instead of stepping only a single page per run.
  • Fix three frontend async races (stale mark-all across views, same-entry full-text reopen, and pending reads/errors outliving sign-out) with regression tests.

Development

  • Merge fmt and cargo-deny into clippy, cache Docker Buildx layers and Playwright apt deps, move Rust CodeQL and source-Docker builds off PRs to master/weekly, trim fixed sleeps in the load harness while adding full-text/304/public/Linux assertions, and remove retired designs/ and vendored .agents/skills/prototype-first-ui/ assets.

中文

性能

  • 通过原始输入哈希列 source_hash(迁移 0007)在二次抓取时跳过未变化条目的重复 HTML 清洗,显著降低稳态解析 CPU 与瞬时内存峰值。
  • 限制摘要提取的 HTML 输入上限为 64 KiB;公开页在 summary/title 模式下不再查询 content_html 且 JSON Feed 直接借用结构体序列化;静态资源改为零拷贝返回;Settings::load 合并为单条 SQL 查询;裁剪未使用的 SQLite 扩展(FTS3/FTS5/RTREE 等)、mime_guess、axum 默认特性与 reqwest brotli 解码窗口。
  • 修复前端 toast 列定位导致的 DOM 滞留泄漏(离开长列表后回收 10 万+ 游离节点与约 12.7 MiB JS 堆),延迟渲染关闭态命令面板(500 订阅下省约 2,200 元素与 4.2 MiB JS 堆),并将 O(N×M) 订阅分组改为 O(N+M) 分桶。

修复

  • 修复每日维护中 PRAGMA incremental_vacuum 仅步进单页未执行完毕的问题。
  • 修复 3 处前端异步竞态(跨视图全部已读、同条目重开全文抓取、登出后残留请求/错误)并补充回归单测。

开发

  • 将 fmt 与 cargo-deny 合并入 clippy,共享 Docker Buildx 缓存与 Playwright 系统依赖缓存,将 Rust CodeQL 与源码镜像构建移至 master/每周定时,缩减负载测试固定等待并补齐全文/304/公开页/Linux 门禁断言,移除已退役的 designs/ 与内置 .agents/skills/prototype-first-ui/ 目录。

Image / 镜像: ghcr.io/dejavumoe/nanorss:v0.2.4 (linux/amd64, linux/arm64)

Verify / 校验: sha256sum -c SHA256SUMS