v0.10.1
A new default design for the app, with room to breathe, and three fixes found while building an app on v0.10.0: a CI workflow in every generated app, a display name separate from the project name, and a .gitignore that covers the published app's generated code.
Changes to know about
- A sidebar instead of a header (with accounts). On wide screens the navigation, the organisation switcher, the account menu and the notifications are in a sidebar on the left; on phones, in a top bar with a menu that slides in. Pages start at the same left edge beside it, under a heading from the new
Pagecomponent. Apps that changed the header (components/Layout.tsx,features/account/AccountNavigation.tsx) will have conflicts to resolve: see the upgrade guide. - Settings has three tabs, each its own page: Profile (
/settings), Security (/settings/security: password, passkeys, two-factor, sessions and sign-in methods) and Preferences (/settings/preferences: email, theme, your data and deleting the account)./settings/notificationsredirects to Preferences, so links in emails already sent still work. External sign-in and the security emails now link to/settings/security. - The organisation's page has tabs too (with organisations): General (
/organisation), Members (/organisation/members), Billing (/organisation/billing) and Integrations. Creating an organisation is/organisation/new, from the switcher. Stripe's checkout and billing portal now return to/organisation/billing, and "someone joined" notifications link to Members. - Forms that aren't needed every visit open from a button: adding a passkey, changing the password, new API keys, webhooks and secrets, inviting someone in the back office, and deleting an account or organisation. A section leads with what's already there.
- Leaving an organisation asks first, and its sole owner is told why they can't. An admin can't remove their own Admin role in the back office.
- Personal organisations are named with a capital ("Demo's organisation"), and a long display name is shortened to fit. Existing organisations keep their names.
- Bigger controls on phones: buttons and fields are 40px tall below the
mdbreakpoint (components/ui/button.tsx,input.tsx,native-select.tsx). - The home page is an example written for customers (what the app does for them, and one way in) rather than a description of the template. Replace its words with your product's.
New
--DisplayName(-D): the app's visible name, with spaces, for page titles, the sidebar, Open Graph tags, the two-factor issuer and the email sender, for exampledotnet new saas-starter -n HairyNotes -D "Hairy Notes". Without it, the name is-n's, as before. It's recorded in.saas-starter.json, soupgrade-patch.shkeeps it.- A CI workflow in every app (
.github/workflows/ci.yml): build with warnings as errors, the client's build, unit tests and lint, the integration tests, then the app published and started in Production against PostgreSQL, with the end-to-end tests run against it (and Mailpit, with accounts). See "Continuous integration" indocs/testing.md. - Components for pages in
src/Client/src/components/:Page(heading, description, actions and tabs),TabNav,Reveal(a form opened from a button),FormField(a visible label),ui/sheet.tsx, andSuccessTextinMessages.tsx.Sectioncan stack its content under the title. - Sessions show when they were last used ("5 minutes ago", with the exact time on hover), this device first, then the three most recent, with "Show all" for the rest.
- Pricing recommends a plan (the one with a trial, or the first paid one) and states limits as phrases ("Up to 3 members", "Unlimited reminders a month").
- The API key's MCP settings have a copy button.
Fixed
.gitignoremissed the published app's generated code:Internal/Generated/only matched at the repository root, so everydotnet publishleft hundreds of untracked files. It's**/Internal/Generated/now.- Sign-in, registration, password reset, invitation and two-factor fields have visible labels, where a placeholder that disappeared on typing was the only one on screen.
- The back office's pager said "2 entrys" and showed on an empty list.
- Email preferences said nothing after a change; they now say "Saved."