Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 KiB
Changelog
The binding policy for what each kind of version bump means and what
the changelog has to carry is in SPEC.md §20. The
practical recipe downstream deployments follow when reading this file
is in docs/DEPLOYMENTS.md.
The canonical version is the VERSION file at the repo root;
frontend/package.json#version mirrors it. Deployments pin to a
specific framework version in their own .rfc-app-version file
(per §20.5).
While the framework is pre-1.0, minor-version bumps may introduce breaking changes; the entry below each such bump documents the upgrade steps a deployment must apply.
Upgrade-steps blocks use the RFC 2119
/ RFC 8174 normative-
language convention per SPEC.md §20.4. MUST / SHALL steps
are required; SHOULD steps are recommended (the framework's
default and tested path); MAY steps are optional. Upgrades that
skip versions are the composition of each intervening adjacent
release's steps in order — no A-to-B path is pre-computed beyond
that.
0.4.0 — 2026-05-27
Minor — no operator action required beyond rebuild + restart. The
proposer of a new RFC is now the implicit first owner of its super-
draft entry, set automatically at propose time from the session user.
The §13.1 claim flow remains available for additional owners. No
schema changes, no env-var changes, no API-shape changes; only newly
proposed RFCs receive the auto-owner — existing super-drafts whose
owners: is empty are unaffected and can still be claimed via §13.1
as before. This is a §19.3 rule-2 spec correction: SPEC.md §9.1,
§9.2, and §13.1 are updated to reflect the new shape.
Changed
POST /api/rfcs/propose(backend/app/api.py) now setsEntry.owners = [user.gitea_login]when constructing the new super-draft entry, instead ofowners=[]. The session'sgitea_loginis the canonical source; the endpoint never accepted an owner field from the request payload and still doesn't.SPEC.md§9.1 narrowed: the "no proposed-owner or working- group fields" sentence becomes a proposer-owner-auto / working- group-deferred split, with a §19.3 rule-2 note.SPEC.md§9.2 frontmatter shape:owners: []→owners: [<proposer.gitea_login>], with a §19.3 rule-2 note.SPEC.md§13.1 reframed: claim flow is now a graduation-time broadening for additional owners, not a precondition for the proposer's own RFC. The §13.1 / §13.2 / §13.3 graduation pipeline itself is unchanged — the "at least one owner" precondition for graduation still holds and is now satisfied by default.
Upgrade steps (from 0.3.0)
- The deployment MUST rebuild and restart per the routine
deploy steps. No
.envchanges, no schema/migration changes, no API-shape changes. - Operators SHOULD note that newly proposed RFCs after the
upgrade carry the proposer in
owners:automatically. Existing super-drafts with emptyowners:are not migrated; they remain claimable via the §13.1 flow exactly as before. No deployment- side data action is required. - Deployments MAY communicate the UX shift to active proposers (the "Claim ownership" affordance no longer applies to your own newly proposed RFC), but the affordance simply hides on RFCs the viewer already owns, so no operator-side action is required.
0.3.0 — 2026-05-27
Minor — operator action required if a deployment wants to enable the private-beta gate; no action required to stay open. This release adds an email allowlist that, when populated, restricts OAuth sign-in to the listed emails while keeping all read paths public. Anonymous visitors now see the full app (catalog, RFC bodies, public branch conversations) in read-only mode instead of the §14.1 landing-page wall.
Added
allowed_emailstable (backend/migrations/011_allowlist.sql). Empty list = gate off (any successful OAuth provisions a user, as before). Any rows present = gate on (only listed emails, plus users already grandfathered bygitea_id, may sign in).- Admin → Allowlist tab at
/admin/allowlist. Add/remove emails, see who added each row and when. Status banner shows whether the gate is currently active. /beta-pendingpage shown after a rejected OAuth callback. Free- text invite-contact line is configurable via the newVITE_BETA_CONTACTenv var (optional; falls back to a generic line).- Beta chips next to the Discuss/Contribute mode toggle, the Sign in link, and the header Sign-in button so anonymous viewers see immediately what is gated.
- Anonymous read mode in the React app: the §14.1 Landing page is
preserved at
/welcomefor deployments that want to link to it, but the default route now renders the full app shell with write affordances hidden behind a sign-in CTA.
Changed
/auth/callbacknow consultsauth.is_allowed_sign_in()after fetching the Gitea profile. Rejected sign-ins clear the OAuth state and redirect to/beta-pending; the session is not populated.Catalogreceives aviewerprop. Anonymous viewers see "Sign in to propose (Beta)" instead of "+ Propose New RFC".PhilosophyWithSidebarnow readsauthenticatedfrom the current viewer instead of hardcodedtrue.
Fixed
- Single-finger scroll on the
/philosophypage (and any other.chrome-pane-hosted view:/admin/*,/settings/notifications) was broken on iOS Safari. The.appcontainer usedheight: 100vh, which on iOS measures the URL-bar-hidden ("largest") viewport — so.appoverflowed what's actually visible. Combined with thebody { overflow: hidden }inindex.css, this meant single-finger touches on the visible area were consumed by the (blocked) page- level scroll attempt rather than reaching the nested.chrome-panescroll. Two-finger touches bypassed the page-level layer and one-finger then worked once the URL bar had collapsed. Switched.apptoheight: 100dvh(dynamic viewport — adjusts as the URL bar shows/hides), with100vhretained as a fallback for browsers predating iOS 15.4 / Chrome 108.
Upgrade steps (from 0.2.3)
- The deployment MUST rebuild the frontend with the new
VITE_BETA_CONTACTenv var optionally set infrontend/.env(it is OK to leave it blank — the/beta-pendingpage falls back to a generic line). - The deployment MUST restart the backend so migration
011_allowlist.sqlruns. No data loss; the new table starts empty, which keeps the gate off and preserves existing behavior. - To enable the private-beta gate, the deployment operator
SHOULD sign in once (so their
usersrow exists and they grandfather in bygitea_id), then open/admin/allowlistand add the first invited email. The first row added turns the gate on for any user not yet inusers. - To stay open, do nothing — leave
allowed_emailsempty and the deployment behaves exactly as 0.2.3. - The deployment MAY customise its
/beta-pendingcontact line by settingVITE_BETA_CONTACT(an email, a URL, or a short instruction) before the frontend build. Unset is fine.
0.2.3 — 2026-05-26
Patch — no operator action required. Rebuild and restart per the
routine deploy steps; no .env changes, no schema changes, no
behavior changes a deployment would notice in steady state beyond
the new endpoint below.
Added
GET /api/health— an unauthenticated probe returning JSON{version, status}for ops tooling.versionis the running framework version (the contents ofVERSIONper §20.1, read at process start and cached as a module-level constant inbackend/app/health.py);statusis"ok"with HTTP 200 in v1. The"degraded"/ HTTP 503 path stays reserved in the response shape so a later release can wire real degradation conditions without breaking the contract. The version-match check is the structural value — a deploy-control-panel polling the endpoint aftersystemctl restartcatches the failure mode where a restart did not pick up the new code. SeeSPEC.md§17 and the §19.2 settlement.
Upgrade steps (from 0.2.2)
- The deployment MAY configure its monitoring (Pingdom,
Healthchecks.io, the flotilla deploy control panel, etc.) to
probe
/api/healthand compare the returnedversionagainst the tag last deployed. The endpoint is unauthenticated by design — no PII in the payload, no session required.
0.2.2 — 2026-05-26
Patch — no operator action required. Rebuild the frontend and
restart per the routine deploy steps; no .env changes, no schema
changes, no behavior changes a deployment would notice in steady
state beyond the fix below.
Fixed
- Mermaid blocks rendered as raw code on
/philosophy.frontend/src/components/Philosophy.jsxparsed PHILOSOPHY.md with the baremarkedimport anddangerouslySetInnerHTML, so```mermaidfences fell through as<pre>blocks rather than rendered diagrams. Swapped toMarkdownPreview, which already carries the lazy mermaid loader + SVG render path used by the RFC body view, so the philosophy surface now renders mermaid the same way RFC bodies do. Pre-existing gap, surfaced when a deployment authored a mermaid block in itsPHILOSOPHY_PATHoverride.
0.2.1 — 2026-05-26
Patch — no operator action required. Rebuild the frontend and
restart per the routine deploy steps; no .env changes, no schema
changes, no behavior changes a deployment would notice in steady
state.
Fixed
- PR view blank page (React #310).
frontend/src/components/PRView.jsxdeclared itsthreadsByKinduseMemoafter the early-return guard for the loading state (if (!pr) return …). On first mountprwas null so the early return fired and 14 hooks were called; on the second renderprwas populated and execution reached theuseMemo, calling 15 hooks — violating the Rules of Hooks and unmounting the page subtree (blank screen). TheuseMemois now declared above the early returns with optional-chaining onpr, keeping the hook count stable between the loading and loaded renders. Pre-existing bug in the post-Contribute-rewrite PR view; surfaced in production by 0.2.0's graduation merge race fix enabling the workflow that opens this code path.
0.2.0 — 2026-05-26
Breaking config change. The frontend now requires
VITE_APP_NAME to be set at build time. npm run build fails with a
clear message if it is missing. There is no default; every deployment
names itself.
Upgrade steps (from 0.1.0)
- The deployment MUST create a
frontend/.envfile before building. Seefrontend/.env.examplefor the contract. - The deployment MUST set
VITE_APP_NAMEinfrontend/.envto the user-visible name it wants to ship — the string used as the browser tab title, the header brand, and the landing H1. The build will fail loudly if this is unset or blank. - The deployment MUST rebuild the frontend (
npm install && npm run build) and redeploy the resulting bundle. The previous bundle does not readVITE_APP_NAME. - The deployment SHOULD verify the name appears correctly in
the browser tab and the header after redeploy before bumping its
.rfc-app-versionpin to0.2.0. - The deployment MAY, in the same upgrade, take the opportunity to retire any local overrides it was using to brand the pre-0.2.0 hardcoded strings — those overrides are now obsolete.
- The deployment MUST NOT continue to expect graduation step 4
to fail on Gitea's "Please try again later" race; that path is
now handled by
wait_for_mergeable+ bounded retry. Any local workaround retrying graduation at the deployment level is now redundant and SHOULD be removed.
Fixed
- Graduation merge race. §13.3 step 4 (
merge_pr) used to call Gitea's merge endpoint the instant step 3 returned, which races Gitea's background mergeability computation and produces the405 "Please try again later"response. Step 4 now waits for themergeablefield to become non-null (bounded by a 30s timeout) and retries the merge call up to three times on the transient response. Seebackend/app/gitea.py#wait_for_mergeableandbackend/app/bot.py#_merge_with_retry.
Changed
frontend/src/App.jsxheader brand readsVITE_APP_NAMEinstead of a hardcoded string.frontend/src/components/Landing.jsxH1 readsVITE_APP_NAMEinstead of a hardcoded string. The pitch / deck / attribution copy in this file is still deployment-specific and tracked as a follow-up for extraction into deployment config.frontend/index.html<title>is rewritten at build time via Vite's HTML transform.
Added
frontend/.env.exampledocumenting the new required variable.- Top-level
VERSIONfile and thisCHANGELOG.mdas the canonical release log. SPEC.md§20 (versioning and downstream deployments) as the binding policy for the framework/deployment relationship.docs/DEPLOYMENTS.mdas the practical guide for building on rfc-app and upgrading existing deployments to new versions.CLAUDE.mdat the repo root capturing the separation-of-concerns rule for working sessions.
0.1.0 — v1 build
Initial release. See docs/DEV.md for the slicing plan and build
history.