Skip to content

Versioning & Compatibility

Pragmatic.Design’s first public release is 1.0.0-alpha. This page states what that means for adopters: which runtimes are supported, how packages are versioned, and what stability to expect before the 1.0 release.

Component Target framework Notes
Your application net10.0 or net11.0 Both supported by Microsoft until 2028-11-14; the same public API on each.
Runtime libraries & generated code net10.0, and net11.0 for four packages NuGet picks the net11.0 build for a net11.0 application.
Source generators / analyzers netstandard2.0 Required by Roslyn; runs inside the compiler regardless of your app’s TFM.
SDK used to build the repository 11.0.100 (rollForward: feature) See global.json; it builds the net10.0 targets as well.
C# language version 14 on net10.0, 15 on net11.0 The SDK’s default for the target; the generator writes for the version the project uses.

A net10.0 application needs the .NET 10 SDK or later and the .NET 10 runtime; a net11.0 one needs the .NET 11 SDK and runtime. The generators target netstandard2.0 only so they load in the compiler; this does not change your app’s runtime requirement. Choosing .NET 10 or .NET 11 says which package ships a net11.0 build and what is in which release.

The EF Core integration supports PostgreSQL, SQL Server, and SQLite. Provider-specific behavior (e.g. recursive-CTE dialect, bulk SQL) is selected at runtime from the active provider.

  • Versions are driven by MinVer from git tags (e.g. nuget-v1.0.0-alpha.1), so every package in a release shares one coherent version.
  • Pre-release builds carry an -alpha.N suffix. Do not rely on * floating version ranges during the alpha: pin exact versions.
  • All Pragmatic.* packages are intended to be used at the same version; mixing versions across modules is unsupported.
  • Source-breaking changes to public APIs are possible between alpha/pre-release versions. They will be called out in the affected module’s CHANGELOG.md.
  • Generated-code shape (DTOs, invokers, endpoints) may change; treat generated files as build output, never edit them.
  • Diagnostic IDs (PRAG####) are stable once published; see Diagnostics.

There is no automated migration tooling yet. When upgrading a pre-release:

  1. Update all Pragmatic.* packages to the same new version together.
  2. Re-build with dotnet build and address any new analyzer diagnostics.
  3. Review each touched module’s CHANGELOG.md for breaking notes.

A consolidated upgrade guide will land closer to v1.0.