Skip to content

feat(updates): publish structured release notes on pages - #600

Merged
nixuuu merged 4 commits into
devfrom
feat/whats-new
Nov 12, 2026
Merged

nixuuu merged 4 commits into
devfrom
feat/whats-new

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Publish structured release notes alongside the existing static release index so apps can explain an update without making GitHub API calls. GitHub Releases remain the source of full release notes; no CHANGELOG or update protocol changes.

This is the first layer of a two-PR stack. Merge both layers together into dev.

Changes

  • The authenticated Pages generation step also writes releases/notes-v1.json. Parse Angular Features, Bug Fixes and Performance Improvements into type, scope, capitalized plain summary, PR number and repository PR URL. Strip commit hashes and type prefixes; retain at most 200 versions per channel and mark truncated history. Merge the previously published Pages notes so GitHub's 10-nightly retention does not erase the archive. Live bodies replace edited versions. Only an initial HTTP 404 permits bootstrap; other archive-read failures stop publication.
  • Add a strict shared decoder and a Pages-only notes reader using the existing 15-minute/ETag cache. Unavailable or invalid notes never fall back to the GitHub API. The complete download index and installer verification remain intact.
  • Aggregate (previous, current] on the running build's channel, group New / Improved / Fixed and deduplicate repeated PRs. Subtract entries already delivered on the previous channel when promotions repeat cumulative release bodies. Expose incomplete history and publication lag.
  • Reuse the typed client-local preference helper from fix(ui): keep sidebar filters and view state on each device #583 to persist the last seen version and the actual previous/current pair. First install, unknown history and downgrades establish a baseline without a launch notice.

Validation

  • bun install --frozen-lockfile passed.
  • 13 focused data tests passed, 71 assertions: fixture release bodies, complete-release filtering, >200 nightlies, archived/pruned and edited bodies, failed archive reads, range boundaries, deduplication, promotion/channel changes, first install, restart/downgrade history, malformed notes, unsafe URLs and failed CDN reads without API fallback. Across both layers: 15 tests / 77 assertions.
  • Repository bun run lint and bun run format:check passed on the complete stack. Pages actionlint passed with pinned actionlint 1.7.12 and shellcheck 0.11.0. git diff --check passed.
  • No tags, workflow dispatches or pushes to next/main. No anonymous GitHub API calls or live release reads were used for verification.
  • The complete stack passed gen:check, typecheck, lint, format:check and the production web build in the assigned remote review checkout with nice -n 10. The browser review uses fixture notes, not live GitHub data. Full test shards run in CI; no web UI tests were added.
  • EAS CLI 27.4.1 fingerprints were generated for the actual dev base and feature head, in the same local path with nice -n 19: iOS 6ddec9ef559ee0095ac33e94ff9418a942053b17, Android 5f6eae3ab278f1cd543e9ed763f923a319b65ec9, unchanged on both platforms. No native build or OTA publication was performed.
  • Bootstrap limitation: releases deleted before the first notes index cannot be reconstructed from their GitHub bodies. The UI explicitly indicates missing older history. Subsequent Pages deployments preserve the bounded archive.
  • The assigned remote review environment was cleaned up: browser closed, own web/gateway processes stopped, PostgreSQL container removed, checkout and fixture artifacts removed, all three assigned ports free. Verification artifacts stay outside the repository.

Copy audit (§8)

feat(updates): show What's new (#593) (<commit hash>) → Show What's new, with updates as a small scope tag and the PR as its link. This removes implementation metadata, capitalizes the summary and preserves the change's meaning. Group labels are New, Improved and Fixed. No additional visible controls are introduced in this layer. The UI layer contains the full copy audit and completed light/dark, desktop/phone-width browser review.

Related: #486, #583

@nixuuu
nixuuu added this pull request to stack #602 November 12, 2026 23:27
@nixuuu
nixuuu marked this pull request as ready for review November 12, 2026 23:54
@nixuuu
nixuuu merged commit 33b2352 into dev Nov 12, 2026
12 checks passed
@nixuuu
nixuuu deleted the feat/whats-new branch November 12, 2026 23:55
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