Feat v0.9.1 server side subpath routing (#74)
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-runners (push) Has been skipped
CI/CD / e2e-smoke (push) Has been skipped
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m55s
CI/CD / test-sqlite (push) Successful in 2m58s
CI/CD / build-and-deploy (push) Successful in 1m12s

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #74.
This commit is contained in:
2026-04-03 13:42:57 +00:00
committed by xcaliber
parent 5ad6d77c56
commit d03dfe502f
7 changed files with 461 additions and 12 deletions

View File

@@ -84,12 +84,12 @@ titles, and layouts. Unified route tree dispatches between surface
rendering and ext API calls. `sw.navigate()` for client-side sub-path
routing. Design doc: `docs/DESIGN-multi-surface.md`.
**v0.9.1 — Server-Side Sub-Path Routing**
**v0.9.1 — Server-Side Sub-Path Routing** *(completed)*
Full-page refresh on sub-paths (e.g. `/s/my-pkg/monitor`) currently
requires client-side routing. This version restructures the Gin route
tree so the kernel resolves sub-paths server-side, including proper
`OptionalAuth` for packages with mixed public/authenticated surfaces.
Consolidated root and catch-all route handlers into a unified dispatcher.
Added `aggregateAccess()` for early auth short-circuit on all-authenticated
packages. SDK seeds initial history state for back-button resilience.
8 handler integration tests + 5 aggregateAccess unit tests.
**v0.9.2 — Starlark Converter Consolidation + Snapshot Cleanup**