Both templates now share one version number and ship together.
| Package | Previous | New |
|---|---|---|
Ardalis.CleanArchitecture.Template (clean-arch)
| 11.1.1 | 12.0.0 |
Ardalis.MinimalClean.Template (min-clean)
| 1.1.1 | 12.0.0 |
dotnet new install Ardalis.CleanArchitecture.Template
dotnet new install Ardalis.MinimalClean.TemplateUpgrading an existing project? See the v11 → v12 migration guide.
Highlights
- .NET 11. All solutions target
net11.0, and every package is on its latest stable version, including FastEndpoints 9 and xUnit v3. Getuse case renamed toGetById(GetContributorByIdQueryandGetContributorByIdHandler), matching theGetByIdendpoint (#1202).- NsDepCop rules in MinimalClean enforce the boundaries between feature slices at build time (#1203, #1204).
Fixes
ContributorIdvalidation no longer rejects EF Core temporary keys, which made inserts fail (#1195).- The
UseDbGeneratedIdsmigration no longer fails on SQL Server (#1194). - Project names that aren't valid namespaces, such as names with hyphens, now produce correctly renamed files (#484).
- Functional tests fall back to SQLite when Docker is unavailable or can't run Linux containers (#1073, #1189).
Cleaner generated solutions
clean-archsolutions now include a.gitignore.clean-archsolutions no longer contain a stray copy of MinimalClean, and installing the package no longer registersmin-clean.- Files that only belong in this repository are no longer copied into new solutions:
CODE_OF_CONDUCT.md,CONTRIBUTING.md,icon.png,.claude/, and two outdated testing notes.
Docs
The docs moved to cleanarchitecture.ardalis.com (#1205). They have new pages on Testing, Enforcing Dependency Rules, and Unit of Work and Transactions.
Full changelog: v11.1.1...v12.0.0