Scout — Full Product Context → feature documentation

What's new

The drawer's What's new page shows the latest release notes any time, and the menu tags it "N new" until you read them. In current store builds a full-screen What's new sheet also pops up once after an update; from the next release that pop-up is replaced by Spotlight.

Summary

The drawer's What's new page shows the latest releases at any time, grouped under New, Improved and Fixed. Items can carry a Take me there link straight to the feature. While there are notes the user hasn't read, the menu tags the row "N new"; reading the page clears it. It is never tagged for someone who just installed Scout.

Until 2026-11-22 a full-screen What's new sheet also popped up once, at the first calm moment after an update. That pop-up is gone from the code on develop: Spotlight (spotlight) replaced it with full-screen images and videos tied to one release. The sheet still opens by its link.

This replaced the release-notes post that used to be pinned to the community board. Those old posts stay where they are, but no new ones are made.

Status

Shipped in v1.1.96 (built 2026-09-27, eb7e2196) and in every store build since, including the current 1.1.121, with the launch pop-up. On develop (2026-11-22, feat/spotlight) the pop-up is removed and the drawer page marks notes read; that reaches users with the next store build (or OTA to it). The backend endpoint is deployed (GET /api/release-notes answers on prod) and keeps ?after=, which store builds up to 1.1.121 still call for their pop-up. No feature flag.

User-facing surfaces

How it works

  1. Publishing. The deploy-apps skill drafts structured notes and publishes them once the release is installable with npm run release:notes -- --file <json> (backend/scripts/release-notes-publish.ts). The same file can carry the release's spotlights (spotlight). The script validates locally, then POSTs to POST /api/admin/release-notes through ProdAdmin. Every write goes through validateReleaseNotes (backend/src/release-notes/release-notes.validate.ts):
    • the version looks like 1.2.3
    • sections are titled New / Improved / Fixed
    • each item has 1–3 bullets and a known icon
    • links must be scout:// deep links, never the web (release-notes.fields.ts, shared with spotlight buttons)
    • republishing a version replaces it, which is how a typo gets fixed
  2. Reading. GET /api/release-notes?upTo=<installed>[&after=<last read>] is public (release-notes.controller.ts:25). selectReleaseNotes (release-notes.service.ts:32) compares versions numerically (1.1.10 > 1.1.9). With after it returns every version in (after, upTo]; without it, the latest 3 ≤ upTo. It never returns notes newer than the installed app.
  3. Remembering what was read. The app persists lastSeenReleaseVersion on the device, next to tutorialSeen.
    • Finishing onboarding records the installed version (store.ts, setTutorialSeen), so a brand-new user's menu starts with no tag.
    • The drawer page records the newest release it shows, once the notes are on screen ((drawer)/whats-new.tsx, setLastSeenReleaseVersion). Not the installed version: before this version's notes are published the page shows older ones, and the late notes must still count as new. It never moves the record backwards, and records nothing when the notes fail to load.
  4. Counting the unread (mobile/src/utils/whatsNewGate.ts):
    • unseenNotesQuery (:36): nothing while onboarding is unfinished, or when this version was already read (or the app was downgraded); "everything since last read" for an update; "latest only" for a device with no record.
    • pickUnseenNotes (:44) keeps, for that last case, only the installed version's notes. A version with no notes (a hotfix) counts nothing.
  5. Take me there pushes the feature's screen from the drawer page. From the linked sheet it dismisses the sheet, then navigates (router.dismiss() then router.navigate(path)): a router.replace from a root modal would stack a second drawer navigator over Home.
  6. Dates are formatted in UTC (formatReleaseDate), so a release published for Sep 27 never reads "Sep 26" in the US.
  7. Malformed data never crashes the page. sanitizeReleaseNotes drops any item or section the app cannot render.

Data model

release_notes (migration 20260927120000_release_notes), one row per version: version (PK text), released_at, sections JSONB, spotlights JSONB (default [], migration 20261122120000_release_note_spotlights, see spotlight), created_at, updated_at. sections = [{ title: New|Improved|Fixed, items?: [{ icon, heading, bullets[1-3], link?: { label, url: scout://… } }], fixes?: string[] }]. On the device: lastSeenReleaseVersion in the persisted store.

API surface

Method Path Auth Purpose
GET /api/release-notes?upTo=1.1.96&after=1.1.93 none Releases in (after, upTo], newest first (the unread count; the old pop-up)
GET /api/release-notes?upTo=1.1.96 none Latest 3 releases ≤ upTo
POST /api/admin/release-notes AdminGuard Validate and upsert one release's notes (and spotlights)

Key files

Configuration and flags

No feature flag. DRAWER_LIMIT = 3 (release-notes.service.ts:8). The notes are cached for 5 minutes on the device.

Edge cases and known limits

What this feature does NOT do

Tests that cover it

Open questions