Skip to content

Zotero JournalFlow v5.1.2

Choose a tag to compare

@groele groele released this 13 Nov 00:58
· 8 commits to main since this release

Zotero JournalFlow v5.1.2 — Reliability & Performance Hardening

Improvements

  • LRU Cache Size Eviction: Added evictOldestToFit() in src/services/cache.ts to prune oldest non-today cache entries first when exceeding DAILY_FEED_CACHE_MAX_BYTES (8 MiB), ensuring today's incremental cache always persists cleanly.
  • Semantic Scholar 429 Circuit Breaker & Pacing: Added inter-batch 300ms pacing and immediate host-cooldown termination on 429 in src/services/semanticScholar.ts.
  • Adaptive Search Debounce: Added 120ms input debounce in src/feed.ts for large multi-journal feeds (> 200 articles) while keeping the clear button responsive.
  • Long-Abstract Chunking for Zotero PDF Translate: Chunked texts > 1800 chars on sentence boundaries in src/services/translation.ts before passing to Zotero.PDFTranslate.api.translate.
  • Lightbox Error Recovery: Cleared stale src before loading each figure and displayed a clear fallback prompt in src/ui/lightbox.ts when all candidate URLs fail.

Verification

  • tsc --noEmit: 0 errors
  • Architecture guard: 12/12 passed
  • Automated unit & JSDOM workbench suite: 70/70 passed
  • Package verification: dist/zotero-journalflow-5.1.2.xpi (216,220 bytes, SHA-256: 338c3d8fb2c09810de0cf87b2e581427c0b8101d12fa2287ccbe6d85b6a3148d)