← Paper Reader

Changelog

Notable changes to Paper Reader. Newest first. Current release: 0.9.0.

All notable changes to Paper Reader are documented here.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. While the project is in 0.x, breaking user-facing changes may ship in a minor release.

0.9.0 - 2026-12-01

Added

  • Claude / ChatGPT adapters (M10): paper-reader-mcp install --claude / --claude-code / --chatgpt wire local stdio servers into each desktop host (JSON merges for Claude, TOML merge for ChatGPT, shared skill copy), and a hosted remote connector at POST /api/mcp — stateless Streamable HTTP authenticated by Supabase session/OAuth, running the same ingest core as POST /api/publish (no long-lived token forwarded for remote callers). Tool descriptions now carry the BYOM workflow ("always call paper_format first") so a bare connector mount is self-instructing.

0.8.0 - 2026-11-30

Added

  • Hardening (M9): provider-mix stats (arxiv-html vs ar5iv in /api/stats), per-publisher daily publish quotas (200/day), and feature flags that can disable BYOM ingest or the PDF pane without taking the app down. Anonymous reading is never flagged.

0.7.1 - 2026-11-30

Changed

  • Reading toolbar groups paper actions (Show PDF, Save/Saved/Delete) apart from app chrome (New paper, Account, Theme); Save is offered only to signed-in readers (anonymous users see "Sign in to save"), and owners see a Saved state instead of a redundant Save button.
  • History rows now show a ✓ when the paper lives in your library (as opposed to a merely-read bookmark).

0.7.0 - 2026-11-30

Added

  • Durable BYOM library for arXiv PDF-only papers: publishing with an account-issued agent key also saves an owner-scoped copy (no TTL) in /account/library, addressed by an unlisted ?d= link. Recipients can fork shared snapshots into their own library with parser attribution ("Parsed by AI ()"); owner delete immediately retires shared links while forks keep their own copies. History deep-links now resolve through the library first, then the ephemeral ?h= handoff.
  • Sign-in with GitHub (OAuth) at /account; header sign-in/account CTAs and a "New paper" nav button; a docked "Show PDF" column with a full-screen Zoom/Fit lightbox for small portrait print.

Fixed

  • History links for BYOM reads no longer dead-end at the deterministic route; records store the handoff slug and resolve durable library links first.

0.6.0 - 2026-11-30

Added

  • Accounts (Supabase Auth + Postgres, env-gated): GitHub OAuth sign-in at /account, auto-recorded reading history (/account/history, CSV export, recent papers in the URL bar), per-user revocable agent keys accepted alongside PUBLISH_TOKENS, and account deletion with data export. Anonymous reading is unchanged without Supabase env vars.

0.5.0 - 2026-11-29

Added

  • In-app PDF pane (closed by default): a "Show PDF" toggle docks the original PDF as a third column beside the text and figure rail on wide screens (full-screen sheet below), with reader→PDF follow sync at page granularity, a detachable Follow toggle, prev/next paging, and an "Open original PDF" action. Page mapping is derived deterministically from paragraph text — never from model-supplied page numbers — reusing the streamed /api/pdf proxy and shared PDF.js loading.
  • Full-screen PDF lightbox: click a pane page to expand it, with a Zoom/Fit toggle (scrollable true-size view) for small portrait print.

Changed

  • Overlays credit the notes as “In short” figure summaries provided by the writing model (named in the top pill when the agent supplies it); the duplicate rail caption is removed on gloss papers. The header button is now "New paper"; BYOM gloss updates no longer relabel the paper's model.

0.4.0 - 2026-11-29

Added

  • BYOM figure explanations: POST /api/explanations + GET /api/gloss/<slug> store ephemeral glosses (gloss:v1 overlay for deterministic papers, in-place updates for BYOM handoffs), merged at render time via /read/arxiv/<id>?e=<slug> with overlay-wins precedence, a localStorage mirror keyed by arXiv ID, and "provided by your model" attribution (including the "Your model" header pill). The publish_explanations MCP tool (tools 0.3.0) exposes it to agents.
  • Multi-panel figures: every <img>/<object> panel of a logical figure is kept (imageUrls) and rendered side by side.

Fixed

  • Multi-panel figures now honor the LaTeXML layout: panels separated by a .ltx_flex_break render stacked top/bottom (Attention Figures 4/5) instead of side by side, while break-free panels (Figure 2) stay one row. The paper cache is bumped to v5 so stale left-half-only payloads are dropped.

0.3.1 - 2026-11-28

Fixed

  • Mobile figure drawer: the bottom sheet is now capped to the viewport, cards are top-aligned with per-card vertical scrolling, and the drawer uses a compact card (smaller media, caption clamped to 4 lines with the full text in the lightbox), so a tall figure or long caption can no longer push the sheet past the screen and hide neighboring figures.

0.3.0 - 2026-11-27

BYOM = Bring Your Own Model. Instead of Paper Reader paying for model inference on its server, the reader’s own AI agent reads a PDF-only arXiv paper with the user’s quota and sends a validated JSON payload to Paper Reader, which stores it briefly as an ephemeral handoff and renders it in the existing reader.

Added

  • BYOM figure rendering: a streamed /api/pdf/arxiv/<id> proxy feeds PDF.js, which crops pdfPage/bbox figures from the public arXiv PDF client-side (full-page fallback when the box is missing or invalid). No PDF bytes are stored.
  • BYOM observability: publish success/failure, sanitization rejection, and handoff hit/expiry counters are recorded on production and exposed through /api/stats as byom.
  • Public /docs/pdf-only guide with the hosted deployment URL, prerequisites, the OpenCode skill/MCP setup, and appendices for the API and running locally.

Changed

  • The content security policy now allows the PDF.js worker (worker-src) and WASM decoders (wasm-unsafe-eval) needed for in-browser PDF rendering.
  • Publishing is beta-gated by operator-issued PUBLISH_TOKENS; there is no self-serve signup in this version.

0.2.0 - 2026-11-21

Added

  • ar5iv fallback for papers without an arXiv HTML version, including provider-aware image URLs, title cleanup, and no-content detection.
  • Public /changelog page rendered from this file, with versioned footer links on the landing and changelog pages.

Changed

  • ar5iv image hosts are allowed by the content security policy.
  • Documented Semantic Versioning and the release process.

Removed

  • Drag-and-drop URL loading; the header form and example links remain.

0.1.0 - 2026-11-21

Added

  • Focused 650px reading column with a scroll-synced figure rail on wide screens and a persistent figure drawer on smaller screens.
  • Canonical /read/arxiv/{id} routes, source-aware API contracts, and invalid route handling.
  • Figure and table extraction, panel merging, carousel navigation, and a full-screen lightbox.
  • KaTeX-rendered math, resolved citation links, and cleaned inline footnotes.
  • Optional plain-English figure explanations through Muse Ember, disabled unless explicitly configured.
  • Landing page with reader preview and example papers.
  • Shared Upstash Redis caching, usage stats, rate limiting, and single-flight request deduplication.
  • Fixture-based extraction tests with sanitization and XSS regression coverage.

Changed

  • Replaced LLM-based paragraph-to-figure mapping with deterministic regex mapping.
  • Adopted the warm editorial design with Lexend reading text and IBM Plex Sans interface text.
  • Moved deployments to Vercel with a 60-second API route budget.

Fixed

  • Figure carousel state resets without effect-driven state updates.
  • Local development no longer shares the production Redis database.
  • Clearer errors for papers without an arXiv HTML version.

Security

  • Allowlist-sanitized paragraphs and table HTML.
  • Fail-closed figure explanations and per-IP API throttling.

Versioning

  • Major versions introduce breaking changes to public URLs, user data, or supported workflows.
  • Minor versions add backward-compatible features.
  • Patch versions contain fixes, performance work, documentation, and dependency updates.

Releases are cut from main after the changelog and package version are updated, tests pass, and the production deployment is verified. Each release gets an annotated git tag (vX.Y.Z) and a GitHub Release with concise release notes; the changelog remains the complete record.