---
url: /saas-starter/v0.10.1/releases/v0.10.0.md
---
# v0.10.0

Foundations, security and accessibility: the changes that would break every app if they came after
1.0 (separate handler chains, xUnit v3, the extension points libraries build on), a security
review against OWASP ASVS level 2 with what it found fixed, and WCAG 2.2 AA checked on every page.
WolverineFx 7 and Marten 10, planned for this release, are still release candidates, so they move
to v0.11.0.

## Changes to know about

* **New password rules** (with accounts): 8 characters or more, of any kind, where Identity's
  defaults asked for 6 with upper case, a digit and a symbol. New passwords mustn't be one of the
  10,000 most common, or made mostly from the user's email or the app's name
  (`Identity/CommonPasswords.cs`); add your product and company names to
  `Accounts:PasswordBlockedWords`. Existing passwords keep working: the rules apply when a
  password is set.
* **Sessions end 30 days after signing in** (with accounts), however often they're used
  (`Jwt:SessionLifetimeDays`; 0 for no limit, as before). They still end after 14 days unused.
* **Cookies are named `__Secure-refresh_token` and `__Secure-known_device`** over HTTPS (with
  accounts). The old names are still read until v0.11.0 and replaced on the next refresh, so
  nobody is signed out by the upgrade.
* **Two-factor codes work once, and recovery codes are longer** (with accounts): an
  authenticator app's code is refused a second time, and new recovery codes are five groups of
  five characters, stored only as hashes. Existing recovery codes keep working until they're used
  or replaced.
* **HSTS covers subdomains, for a year** (outside Development). Serve every subdomain of the app's
  host over HTTPS before deploying this.
* **Each handler of a message has its own chain** (`MultipleHandlerBehavior.Separated`): each
  feature's clean-up of a deleted account or organisation commits, fails and is retried on its
  own. A Marten handler's session can save only once; a handler that saves several times needs a
  session of its own (see `docs/extending.md`).
* **The tests use xUnit v3 and Alba 9**, on Microsoft.Testing.Platform: the app has a
  `global.json` that opts `dotnet test` in, the VSTest packages are gone, and the test project is
  a program. `Program.cs` sets `opts.ApplicationAssembly`, so Wolverine finds the app's code from
  the tests.
* **API responses are `Cache-Control: no-store`** unless an endpoint sets its own, and query
  values that don't parse (`?page=abc` for a number) answer 400 rather than running with the
  default.
* **Pages answer GET and HEAD only:** other methods on a page's path answer 405.
* **The Content-Security-Policy has `base-uri 'none'`:** a `<base>` element in the HTML no longer
  works.
* **Links in text are underlined,** and avatars' initials use the text colour, for contrast.

## New

* **OWASP ASVS level 2** in the app's docs (`docs/asvs.md`): every level 1 and 2
  requirement of ASVS 5.0.0, met, partly met, left to you, or not applicable, with why.
* **Security events in the logs** (`Security/SecurityEvents.cs`): sign-ins with the user, session
  and method; failed sign-ins, refused requests (403) and rate limits (429) with the user and
  address; and reused refresh tokens, which end every session of the user.
* **Accessibility:** WCAG 2.2 AA on every page, in light and dark, checked by axe in the
  end-to-end tests (`tests/e2e/specs/accessibility.spec.ts`), with keyboard use of the header and
  its menus. A "Skip to content" link leads past the header.
* **Extension points for libraries built on the template:** `ITenantResolver` (how a request's
  organisation is found), `ISitemapSource` (other public pages in `sitemap.xml`), and
  `PlanFeatures.Add` / `PlanLimits.Add` (a library's own features and limits).
* **The template's own CI** fails when a NuGet or npm package has a known vulnerability, also
  checked weekly, and `SECURITY.md` says how to report a vulnerability in the template.

## Documentation

* **Generate an app,** the guide's first page on the site: every option in one table, with a card
  for each `--Auth` choice saying what it adds, and Marten and EF Core compared.
* **Add a feature** (`docs/how-to/add-a-feature.md`) is a how-to: each step says what to add,
  where and why, with the tutorial step that has the full code.
* **Every page checked against the code** in all six combinations: parts that described features
  an app doesn't have (sign-in in apps without accounts, Stripe in apps without organisations)
  now describe that app, and settings, endpoints and file names are current.

## Fixed

* **Access tokens are only accepted signed with HS256,** the algorithm the app signs with.
* **TRACE on a page answered 200** with the page; it now answers 405.

## Packages

WolverineFx 6.66.1, Marten 9.64.0, xUnit v3 4.0.3, Alba 9.0.0, AWSSDK.S3 4.1.3, Scalar.AspNetCore
3.3.0, lucide-react 1.84.0; `@axe-core/playwright` (MPL-2.0) in the end-to-end tests. CI builds with
Node.js 26, the current LTS.
