Skip to content

Add interactive Release Calendar page (/releases/schedule) - #5364

Open
Abbondanzo wants to merge 6 commits into
mainfrom
add-release-schedule-calendar
Open

Abbondanzo wants to merge 6 commits into
mainfrom
add-release-schedule-calendar

Conversation

@Abbondanzo

Copy link
Copy Markdown
Contributor

Summary

Adds an interactive Release Calendar page at /releases/schedule (linked in the Releases sidebar and /versions) that projects future React Native release dates, RC milestones, and support windows based on the release cadence from /releases/overview (branch cuts on the first Monday of odd-numbered months, 5-week RC stabilization window, and support for the latest 3 minor series).

Key features

  • Schedule Table: Shows published history (0.77.x–0.88.x) alongside configurable future projections (default 6 releases / 1 year), localized dates, breaking/non-breaking cadence, EoC/EOL dates, and expandable vertical release timelines.
  • Live GitHub Releases sync: Fetches published RC, stable, and patch tags from api.github.com/repos/react/react-native/releases (cached 15m in sessionStorage, with graceful fallback to projected dates) to show actual RC publish dates and direct links to GitHub release tags.
  • Calendar View: Bounded Year and Month grids with milestone filters and auto-scrolling release timeline inspector.
  • Support Timeline: Horizontal lifecycle bars showing RC stabilization, Active (latest 2 minor series), and End of Cycle (3rd minor series) against a selectable "As of" date.
  • Export / Copy: One-click copy and download for reactnative.dev overview Markdown, full RC schedule Markdown, iCalendar (.ics), CSV, and JSON.

Test Plan

  • Verified ESLint, Stylelint, and PREVIEW_DEPLOY=true docusaurus build (production SSR build) pass cleanly with zero new warnings or broken links.
  • Verified locally on http://localhost:3000/releases/schedule across Schedule Table, Calendar (Year/Month), Support Timeline, and Export views, including live GitHub Releases sync for 0.89.x RCs.

Signed-off-by: Peter Abbondanzo <abbo@meta.com>
…unds

Signed-off-by: Peter Abbondanzo <abbo@meta.com>
@Abbondanzo
Abbondanzo force-pushed the add-release-schedule-calendar branch from 3cf003d to 49442e6 Compare December 3, 2026 21:09
…dule calendar

Signed-off-by: Peter Abbondanzo <abbo@meta.com>
@Abbondanzo
Abbondanzo marked this pull request as ready for review December 3, 2026 21:16
@Abbondanzo

Copy link
Copy Markdown
Contributor Author

… theme

Remove the future-version projection controls; the calendar now renders only the releases listed in releasesData.ts, enriched with GitHub Releases tags. Reuse the home page button palette and site theme variables for buttons, tabs, cards, pills, calendar cells and the support timeline in light and dark mode.

Signed-off-by: Peter Abbondanzo <abbo@meta.com>
Add `yarn --cwd website update-release-dates`, which pages through all react/react-native GitHub releases and writes RC, .0 and patch dates for the series in releasesData.ts to githubReleaseDates.json. The calendar renders from this snapshot (including during SSR and when the GitHub API is unavailable) and merges the live fetch on top for newer tags. Dates now use the release commit date (`created_at`) instead of `published_at`, which can lag the actual release.

Signed-off-by: Peter Abbondanzo <abbo@meta.com>
Replace the committed release-date snapshot and its manual script with a `release-dates` Docusaurus plugin. The plugin pages through all react/react-native GitHub releases during each build (and dev server start) and exposes RC, .0 and patch dates for the series in releasesData.ts as global data. The calendar renders them during SSR and merges the live fetch on top for newer tags. If GitHub is unreachable, the build continues and the page falls back to the live fetch. Set GITHUB_TOKEN to avoid unauthenticated rate limits.

Signed-off-by: Peter Abbondanzo <abbo@meta.com>

This branch has not been deployed

No deployments
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