Repository navigation
Closed
Description
Show release notes ("What's new") once after an update, and keep every release's notes in Settings.
Behaviour (both platforms)
- Source:
release-notes/release-notes.json, bundled into both apps. One entry per shipped release, carrying each platform's version (android,ios; either can be missing) and items of kindnew,improvedorfixed, withicon,title,bodyand optionalplatforms. - Shown once: on launch, if the installed version is newer than the last version whose notes were seen, a What's new bottom sheet (option A in the prototype) opens over Home at its half stop.
- The version counts as seen the moment the sheet appears, so it never shows twice.
- Skipped releases are merged into one sheet, newest first, each under its own heading.
- A fresh install records the version and shows nothing.
- The first version with this feature can't tell an update from a fresh install by the stored value, because nothing is stored yet. It uses an upgrade signal instead (Android: first install time ≠ last update time; iOS: existing app data) and then shows only the current release.
- The sheet waits for an idle Home: never over onboarding, connection setup, another sheet or dialog, or a Session Chat opened from a link.
- Never lost: Settings → About gets a What's new row. It opens the history of every release up to the installed one, and carries the New badge until opened after an update.
- Release tracking: a release is a successful release-workflow run, not a version bump. The release workflows refuse to build a version without notes, and tag the shipped commit
<platform>-v<version>.node scripts/release-notes.mjs draft --platform <p>lists what changed since the last tag.
Acceptance criteria
-
release-notes.jsonvalidated in CI (String Checks) and checked by both release workflows before building - Release workflows tag the shipped commit; a rebuild of the same version moves the tag
- Android: sheet shown once after an update, merged for skipped releases, nothing on a fresh install
- iOS: same
- Settings → What's new history with the New badge, both platforms
- Unit tests for parsing, platform filtering, version comparison and the launch decision on both platforms
- Backfilled notes reviewed: Android 1.0.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1; iOS 1.0.0, 1.1.0, 1.2.0, 1.2.1; next release Android 1.5.0 / iOS 1.4.0
Notes
- Item content is English only for now. The sheet's labels go through the normal localised strings.
- Android 1.4.x / iOS 1.3.x were bumped but never released, so the next release covers everything since Android 1.3.1 / iOS 1.2.1.
Metadata
Metadata
Assignees
Labels
No labels
Activity