Repository navigation
v10.0.1
FullStackHero .NET Starter Kit — v10.0.1
Packages: FullStackHero.CLI · FullStackHero.NET.StarterKit
Docs: fullstackhero.net · Changelog: fullstackhero.net/docs/changelog
TL;DR
Five months of fixes since 10.0.0, and a template that builds again. Projects scaffolded from the 10.0.0 template fail restore today, because NuGet security advisories published since then are errors under TreatWarningsAsErrors (#1451). 10.0.1 is packed from main with every dependency on its latest patched version, and it includes a fix for a high-severity storage vulnerability.
dotnet new install FullStackHero.NET.StarterKit::10.0.1
dotnet tool update -g FullStackHero.CLIRun both. With the 10.0.0 template still installed, fsh new from the 10.0.1 CLI fails (#1494).
Security
- Storage path traversal and arbitrary file deletion (GHSA-qpqm-m27g-r34g, high). Through 10.0.0, a client-supplied profile-image URL or tenant brand-asset URL reached
IStorageService.RemoveAsyncunchecked, andLocalStorageServicedid not confine paths to its root. Any authenticated user could delete files the API process can write. Uploads also trusted the client's Content-Type, and the downloadContent-Dispositionheader was not encoded. All of this is fixed in #1471. Thanks to @maxiar for the report and the fix. If you scaffolded from 10.0.0, port #1471 into your project. - Webhook delivery blocks SSRF targets (#1332). Sensitive values are masked in audit entity diffs (#1392). File visibility is part of the storage key, and only
public/*is anonymously readable (#1422).RequirePermissionrequires every permission passed to it (#1424, #1452). - Dependencies are cleared of all known advisories, including the critical
Aspire.Dashboard.Sdkone (#1470, #1447, #1375, #1369, #1319, #1395).
Upgrade notes
- Production servers need the .NET 10.0.15 runtime / Hosting Bundle. The denial-of-service fix in #1470 is in the shared runtime, so updating the packages alone isn't enough.
- The outbox and inbox are owned by the framework now (#1349). They live in their own schema under
EventingDbContext. Integration events are published through the outbox, writes are atomic with the business transaction, rows are leased withFOR UPDATE SKIP LOCKEDfor multi-instance dispatch, and every tenant database is drained. - RustFS replaces MinIO for local and test object storage (#1390).
- Renames: Billing
GraceWindowDays→GracePeriodDays(#1313); WebhooksSecretHash→ProtectedSecret(#1312).Moneyis now a value object in BuildingBlocks (#1316, #1320). - Redis keys and channels take an optional
CachingOptions:KeyPrefix, so several apps can share one Redis (#1450). - Tests are on xUnit v3 (#1467).
New
- Localization end to end: request culture, localized errors and the user's locale on the API, plus module catalogs and both React apps on react-i18next (#1381, #1382, #1383, #1384, #1459).
- Tenant self-service branding editor in the dashboard (#1329).
- WhatsApp prepaid wallet with top-up requests, in Billing (#1315).
- Profile updates use ETag/If-Match, so a concurrent update is rejected instead of silently overwritten (#1387, #1425).
- Configurable two-factor issuer name (#1443) and inactivity timeout (#1442).
Fixes (highlights)
- Eventing: retries back off, dead letters can be recovered (#1336), and InMemory consumers are routed to the event tenant's dedicated database (#1434).
- Identity: a root operator's permissions load under their own tenant, so a cold cache can't 401 them (#1404). Revoked system-role claims are removed (#1426). Session cleanup runs per tenant (#1406). Auth e-mail links use the per-request front-end origin (#1377). Sign-in prompts for the authenticator code when 2FA is on (#1456). Failed role create, rename and delete return
400instead of a false success (#1474), and external sign-in keeps a unique suffix on colliding user names (#1475). - Tenant-scoped purges: audit retention (#1413) and file purge with quota refund (#1419) now run per tenant.
- Web:
X-Forwarded-*is honored (#1379, #1386). Idempotent replays return the correct payload (#1378). The CORS restricted policy allows PATCH (#1391). - Mail: real HTML with a text alternative (#1380, #1385), and SendGrid rejections are surfaced (#1331).
- Deploy: Postgres 18 volume path (#1397), working compose e-mail (#1409), hardened base images (#1414), presigned URLs that browsers can reach (#1402).
- Billing: monthly usage snapshots are captured for the requested period (#1477).
- Clients: dependencies are on the latest stable versions (#1461), and the initial bundles are back under the pre-Vite 8 size (#1466).
Template and CLI
Before tagging, the packed template and CLI were tested end to end the way a developer uses them: install, fsh new (full stack and backend-only), build, test, then run under Aspire, Docker Compose and plain dotnet run, and drive both React apps. Everything that turned up is fixed here:
- Generated projects build with the .NET 11 SDK.
AnalysisLevelis pinned to10.0, so a newer SDK can't add warnings-as-errors, and CI now builds a scaffold with the latest SDK (#1478). - Aspire's first run no longer hangs with Docker 29.5+. The AppHost pre-creates its named volumes to work around microsoft/aspire#21664 (#1485).
fsh doctoraccepts .NET 11+ (#1479).fsh newrejects unknown options instead of silently scaffolding the full stack (#1489).fsh infoshows a clean version (#1491).- Backend-only projects (
--no-frontend/--frontend false) rundocker compose up(#1480) and get a README that matches (#1482).DbMigrator -- apply --seedworks outside Aspire (#1481). - Generated projects no longer ship the kit's
CONTRIBUTING.mdandSECURITY.md(#1483). - The admin and dashboard keep one realtime connection after sign-in (#1484). Also fixed: a React DOM-nesting error on the dashboard overview (#1486), and the admin Health page breaking on refresh in
npm run dev(#1487).
Contributors
Thank you @marcelo-maciel, @maxiar, @HiroshiYoshino, @thejesh23 and @divya0795.
Full diff: 10.0.0...v10.0.1