Skip to content

What's new: show release notes once after an update - #1028

Merged
ivanfenenko merged 14 commits into
mainfrom
feature/1027-whats-new-release-notes
Nov 11, 2026
Merged

ivanfenenko merged 14 commits into
mainfrom
feature/1027-whats-new-release-notes

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Shows release notes once after an update in a What's new bottom sheet over Home, and keeps every release's notes in Settings → What's new. Part of #1027.

What changes for people

  • After an update, Home shows the What's new sheet once, at its half stop, as soon as Home is idle. It never shows over onboarding, connection setup, other sheets or dialogs, or Session Chat.
  • If they skipped updates, the sheet merges those releases under their own headings. A fresh install shows nothing.
  • Settings → About gets a What's new row with a New badge until it's opened. It lists every release up to the installed one.

Release notes source and tracking

  • release-notes/release-notes.json is the single source both apps bundle at build time. One entry per shipped release, with each platform's version and date.
  • A release is a release-workflow run, not a version bump. The Android and iOS release workflows now:
    • refuse to build a version that has no notes (a GitHub-hosted notes job, before the self-hosted build);
    • tag the shipped commit android-v<version> / ios-v<version> afterwards (a GitHub-hosted tag job, the only one with contents: write). A rebuild of the same version moves the tag.
  • node scripts/release-notes.mjs draft --platform <p> lists what changed since the last tag. String Checks validates the file on every PR.
  • The history is backfilled from the App Store version history, Google Play and Crashlytics build numbers, because the Actions history has lost the deleted release runs.

Design system

  • New Feature Item list component on both platforms (icon tile, title, body; neutral or success tone), in the gallery under Lists.
  • OpenCodeListItem gets an isNew tag.
  • New Lucide icons through the icon pipeline: sparkles, image, keyboard, paperclip, qr-code, clock, target, git-fork, wrench, smartphone, message-square.

Checks

  • Android: :app:assembleDebug; full :app:testDebugUnitTest (3,531 tests, 0 failures) on the Android branch; the What's new tests (29) again after the merge.
  • iOS: full OpenCode MobileTests (3,493 tests, 0 failures) on the iOS branch; Debug build after the merge.
  • check-string-keys, icons:check and release-notes.mjs validate pass.
  • Real apps against the scenario harness (iPhone 17 simulator, Pixel 9a emulator): the sheet on an update, half and full stops, merged skipped releases (iOS), nothing on a relaunch, the Settings badge, and the history screen clearing it. Screenshots are in a comment below.

Risks / Follow-ups

  • Notes text is waiting for review. Decisions: backfill the missing release tags, and the wording of iOS 1.3.2 and the next release.
  • Small platform difference: the Android history groups each release's items in a card; iOS does not.
  • Not checked on device: tablets and the release workflows (they first run at the next release).

🤖 Generated with Claude Code

ivanfenenko and others added 12 commits November 11, 2026 16:39
Release notes live in release-notes/release-notes.json, one entry per shipped
release with each platform's version. The release workflows now refuse to build
a version without notes and tag the commit they shipped as <platform>-v<version>,
so notes are written against what actually shipped, not version bumps.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bundle the repo-root release-notes.json as an asset, parse it for Android,
and decide once per process which releases the What's new sheet shows.
The last seen version and the Settings badge are recorded when the sheet
appears.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The app bundles the repo-root release-notes.json as a resource. A parser
keeps this platform's releases and items up to the installed version, and
a pure launch policy picks the releases to show. WhatsNewStore records
the last seen version only once the sheet is presented.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Feature Item is a read-only row with a rounded icon tile, a semibold
title and a wrapping body, in neutral or success tone, listed in the
component gallery under Lists. List Item gains an isNew accent badge
like the bottom sheet entry has.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
After an update the What's new sheet opens once at its half stop over
Home, only when nothing else is on screen, merging skipped releases
under their own headings. Settings > About gets a What's new row with
the New badge until the history screen is opened; on tablets it opens
in the split pane.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Feature Row shows one change in release notes: a rounded-square icon
tile (success-tinted for fixes), a semibold title and a secondary body.
It has a Component Gallery entry under Lists. List items can now carry
the accent New tag that bottom sheet entries already have.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The What's new sheet opens over Home at its half stop the first time Home
is idle after an update: nothing pushed over it, no session open in its
pane, no sheet, dialog, menu or search, and the app not covered. Skipped
releases are merged under their own headers, new and improved items
first, then fixes.

Settings > About > What's new lists every release up to the installed
one, opens in the split pane on tablets, and clears the New tag the
sheet set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Actions history is missing deleted release runs, so it showed neither
Android 1.1.0, 1.4.0 and 1.4.1 nor iOS 1.0.1, 1.3.0 and 1.3.2. Each release
now matches a version people actually installed, and the next release only
covers changes since Android 1.4.1 and iOS 1.3.2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…Feature Item

Adds the sparkles icon and closer icons for release notes through the icon
pipeline, names the Android component Feature Item like iOS, and lets the
sheet show on a tablet while a session is open in the pane, as on iOS.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

Evidence: real apps against the scenario harness

iOS on an iPhone 17 simulator (app 1.4.0), Android on a Pixel 9a emulator (app 1.5.0), both seeded as an updated install.

Step iOS Android
Sheet after an update, half stop
Full stop, down to Fixes
Settings → About, New badge
History screen
Older releases with dates
iOS: skipped two updates (merged) iOS: relaunch shows nothing

Android relaunch: no sheet; the stored state moved to last_seen_release_notes_version=1.5.0, and the badge cleared after opening the history screen.

@ivanfenenko
ivanfenenko marked this pull request as ready for review November 11, 2026 16:12
@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

@cursor review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review: no finding that 2+ of 2 passes agreed on.

7 finding(s) from a single pass, not posted
  • android/app/src/main/java/dev/opencode/mobile/ui/whatsnew/WhatsNewHistoryViewModel.kt:38 medium: History does not consume pending sheet, so sheet still appears after history (muse-spark-1.3-contributor)
  • ios/OpenCode Mobile/OpenCode Mobile/UI/WhatsNew/WhatsNewModels.swift:108 medium: History does not consume pending sheet, so sheet still appears after history (muse-spark-1.3-contributor)
  • android/app/src/main/java/dev/opencode/mobile/Navigation.kt:456 medium: What's-new sheet can be lost for the process after a fast idle-then-navigate on a config recreation (glm-5.3-flash)
  • android/app/src/main/java/dev/opencode/mobile/di/WhatsNewModule.kt:45 medium: isUpgrade() misreads a fresh install done via restore/clone or a same-second install/update (glm-5.3-flash)
  • android/app/src/main/java/dev/opencode/mobile/ui/whatsnew/WhatsNewScreen.kt:66 low: LazyColumn item keys collide if two JSON entries share a platform version (glm-5.3-flash)
  • ios/OpenCode Mobile/OpenCode Mobile/UI/WhatsNew/WhatsNewModels.swift:61 low: Sheet labels the newest release 'In X.Y.Z' even when it is not the installed version (glm-5.3-flash)
  • scripts/release-notes.mjs:118 low: check() lets newer releases gate nothing and skips same-version duplicates on other entries (glm-5.3-flash)

opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.077 · 1 pass(es) failed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 32b98e7. Configure here.

…s platforms

Android now uses the standard sheet title with the version line under it,
as iOS does, and asks for the Large button iOS uses. The Settings row gets a
subtitle so it is as tall as the rows around it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

Update: header, Done button and Settings row now match

  • Header: Android now uses the standard sheet title with the version line under it, like iOS (it had a custom title).
  • Done button: Android now uses the Large button (48), like iOS. The design system matches; Android just didn't ask for Large.
  • Settings row: What’s new gets the subtitle "Release notes for every version", so it's as tall as the rows around it.
iOS Android
Sheet
Settings row

…cking What's new after rotation

Opening Settings → What's new before Home was idle left the notes pending, so
the sheet still appeared afterwards and raised the badge again. The history
now marks them seen on both platforms, and Android re-checks before showing.
Android's project-picker flag is saveable like the picker, so a restored open
picker never reads as an idle Home.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

Follow-up on the automated review's single-pass findings, as of 23e125e:

  • History does not consume the pending sheet (Android and iOS): fixed. Same as the resolved Bugbot thread.
  • Sheet lost after a fast idle-then-navigate on recreation (Navigation.kt): not a bug. WhatsNewSheetViewModel survives configuration changes. Once it presents, visible stays true in its state until dismissed, so navigating back to Home shows the sheet.
  • isUpgrade() on restore or a same-second install (WhatsNewModule.kt): no change. It only runs when nothing is stored. A backup restore brings opencode_whats_new back with the rest of the prefs. A fresh install has firstInstallTime == lastUpdateTime, so it reads as fresh, which is correct.
  • History list keys collide on duplicate versions (WhatsNewScreen.kt): can't happen. release-notes.mjs validate (String Checks) fails unless each platform's versions strictly decrease.
  • "In X.Y.Z" when the newest release isn't the installed one (iOS): intended. The header names the release it lists. When the installed version has no notes, the newest shown release is older and labelled with its own version.
  • check() and newer or duplicate entries (release-notes.mjs): validate runs first and rejects duplicates and out-of-order versions. Newer entries than the version being released are ignored on purpose, so notes can be written ahead.

@ivanfenenko
ivanfenenko merged commit 9db84d9 into main Nov 11, 2026
@ivanfenenko
ivanfenenko deleted the feature/1027-whats-new-release-notes branch November 11, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant