Skip to content

ForgeCMS 1.1.0: V2-01 + Angular 22 admin - #127

Merged
Andersseen merged 11 commits into
mainfrom
feat/admin-angular-22
Nov 17, 2026
Merged

Andersseen merged 11 commits into
mainfrom
feat/admin-angular-22

Conversation

@Andersseen

@Andersseen Andersseen commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

ForgeCMS 1.1.0: roadmap V2-01 (Foundation, Security & Release Governance) plus Angular 22 for @forge-cms/admin. One PR, one commit per spec, one minor changeset (.changeset/forge-1-1-0.md). Merging this opens the Changesets "Version Packages" PR. Publishing 1.1.0 happens only when that PR is merged and the npm-release environment run is approved.

Specs

Spec What Compatibility
103 Admin on Angular 22: peers ^21.2.0 || ^22.0.0, Babel ^7.28 || ^8, lumen-icons ^0.2 || ^0.3 (0.3.1+ on 22), VoltUI floor unchanged (1.3.2+ on 22). release:compat gains admin-22-min / admin-22; packed admin SSR journey on Angular 22 + Analog 2.9.7 + Vite 8 + TS 6 (workerd + D1 + R2) widened peers only
104 Admin a11y: skip link, Admin/Breadcrumb nav, main landmark (dropped inside a host main), focus after navigation, single tab stops; keyboard-only journey + axe (WCAG 2.2 A/AA) on Angular 21 and 22 markup only
105 Versioned PBKDF2 hashes, passwordHashing.iterations, PASSWORD_HASHING_PRESETS (workers 100k / node 600k), rehash on login (compare-and-set). Workers CPU measured: 100k ≈ 5.7 ms, 600k ≈ 35 ms on local workerd default unchanged; 1.0 format still written at the default
106 DatabaseAuthThrottle (libSQL/D1 incl. Pages) and rateLimitBindingAuthThrottle; wired into the Analog quickstart and the demo's D1 profile opt-in only
107 AuthAdapter.revokeSessions? + handleLogoutEverywhere; the 1.x revocation policy documented and tested; breaking items in docs/roadmap/v2/2.0-NOTES.md additive
108 1.0 closeout verified (12/12 content-identical to 82e4cdb, SLSA provenance, signatures, registry consumers); Protect main ruleset active; npm-release environment (approval, main only) used by every publishing job; 1.1 security review: no critical/high/medium finding none

api-baseline changes are additions only: PASSWORD_HASHING_PRESETS, PasswordHashingOptions (auth); DatabaseAuthThrottle, rateLimitBindingAuthThrottle + 5 types, handleLogoutEverywhere (runtime).

Evidence (local)

  • release:compat 7/7; admin journey + axe + keyboard on Angular 22.2.6 and 21.2.10.
  • Full gates, docs:verify, docs:verify:consumers, test:cloudflare, check:api, frozen install all pass.
  • e2e: tiny-project 27/27, demo 36/36.
  • Not run locally: the Node + libSQL + S3 journey (no Docker); the certify job runs it.

Maintainer actions

  • Move NPM_TOKEN into the npm-release environment (or switch to npm trusted publishing), then delete the repository secret.
  • Add roadmap.status.Shipped (en/es/uk) in Glossa so V2-01 can be flipped to Shipped after 1.1.0 is published.

Report upstream

  • Volt UI: volt-sidebar-item doesn't set ariaCurrentWhenActive, and its routerLink input collides with Angular's RouterLink in templates that import it.
  • Lumen Icons: nothing pending (0.3.1 added the Angular 22 peer).

Widen the admin's Angular peers to ^21.2.0 || ^22.0.0, @babel/core to
^7.28.0 || ^8.0.0 and lumen-icons to ^0.2.0 || ^0.3.0. Add admin-22-min and
admin-22 to release:compat, make the packed SSR admin journey run on an
Angular 22 tuple with WCAG 2.2 A/AA scans, and gate it in release:certify.
Add a skip link, Admin and Breadcrumb nav landmarks and a main landmark
(dropped inside a host main) to the admin shell and auth pages, keep focus
out of <body> after navigation, make Log in / Exit and sidebar entries one
Tab stop each, and gate a keyboard-only journey with axe scans on Angular
21 and 22 in the packed SSR journey.
@Andersseen Andersseen changed the title feat(admin): support Angular 22 (spec 103) ForgeCMS 1.1.0: V2-01 + Angular 22 admin Nov 17, 2026
…sh on login (spec 105)

Add passwordHashing.iterations (default 100 000, unchanged) and
PASSWORD_HASHING_PRESETS (workers 100 000, node 600 000). A raised work
factor writes $pbkdf2-sha256$i=... hashes; 1.0 hashes keep verifying and
are upgraded on the next successful login through a compare-and-set on the
old hash. The default keeps the 1.0 format. Workers CPU measured with the
new pnpm bench:password-hash.
…ec 106)

Add DatabaseAuthThrottle (counters in the app's own database: libSQL, D1
incl. Pages; compare-and-set increments; digest keys; prune; forClient) and
rateLimitBindingAuthThrottle (Cloudflare Rate Limiting bindings). Wire the
Analog quickstart and the demo's D1 profile; defaults unchanged.
…n policy (spec 107)

Add the optional AuthAdapter.revokeSessions(userId), implemented by
UsersCollectionAuthAdapter through _sessionVersion, and handleLogoutEverywhere.
Document and test what ends a session in 1.x; record per-session revocation
and shorter lifetimes as 2.0 notes.
…nce plan and 1.1 security review (spec 108)

Record the 1.0 closeout evidence (content compare, SLSA provenance,
signatures, dist-tags, registry consumers), the security review of the 1.1
diff, and the exact GitHub ruleset/environment changes awaiting confirmation.
…eption

lumen-icons 0.3.1 peers Angular ^21 || ^22. The admin tuples on 22 and the
newest-21 tuple now install it with strict peers and no peerDependencyRules
for lumen-icons; docs require lumen-icons 0.3.1+ on Angular 22.
…(spec 108)

The release, publish-rc and finalize-rc jobs run in npm-release (maintainer
approval, main only), applied with the active Protect main ruleset and main-only
production environments. Record the read-back evidence and the V2-01 completion
links; NPM_TOKEN still has to be moved into the environment by the maintainer.
@Andersseen
Andersseen merged commit 8e597ae into main Nov 17, 2026
11 checks passed
@Andersseen
Andersseen deleted the feat/admin-angular-22 branch November 17, 2026 22:04
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