↑↓ to navigate Enter to open "…" all these words ANDOR to combine

Guides & specifications

Versioning & Breaking-Change Policy

As of: 2026-10-28 (framework v1.265.1).

MMCA.Common publishes its NuGet packages (the authoritative list and count live in FACTS.md) versioned and released together as a single unit. They share one version number so a consumer never has to reason about cross-package compatibility. (MMCA.Common.UI.Maui rides the same tag but is built and packed by a dedicated windows job in release.yml, since its MAUI target frameworks cannot build on the ubuntu runner.)

Every release goes to two registries (ADR-053): nuget.org (the public install path, credential-free) and GitHub Packages (retained as a mirror, and the only home of versions predating nuget.org publishing, which were not backfilled). One tag drives both pushes. The nuget.org push authenticates with OIDC trusted publishing, not a stored API key: each publishing job mints a short-lived key immediately before the push, so no long-lived credential exists in the repository.

Semantic Versioning

Versions follow SemVer 2.0: MAJOR.MINOR.PATCH:

  • MAJOR: reserved (see "Breaking changes within 1.x" below).
  • MINOR: new capability, and the channel breaking changes currently ship in.
  • PATCH: backward-compatible bug fix.

A release version is the git tag of the form vMAJOR.MINOR.PATCH (e.g. v1.265.1): release.yml strips the v and passes it as the build and package version (-p:Version, -p:PackageVersion). Every other build, local or PR CI, carries the 0.0.0-dev placeholder from Directory.Build.props, so no build depends on git history. There is no hand-edited release version property; tag a commit on merged main and the release workflow packs and pushes. It refuses to publish a tag whose commit is not reachable from origin/main.

What counts as breaking

A change is breaking if it is any of:

  • Removing or renaming a public type/member, or changing a signature.
  • Changing the meaning of an existing configuration key, or changing a default in a way that alters runtime behavior for an unchanged consumer (e.g. the Outbox:RetentionDays default, call these out in CHANGELOG.md under Changed (Behavior)).
  • Tightening a base-class contract (e.g. making a virtual member abstract, or a factory now returning Result<T> where it returned a bare entity).
  • Removing or narrowing a supported transport/provider/data-source engine.

Additive, opt-in changes (new settings with safe defaults, new overloads, new interfaces) are not breaking.

Breaking changes within 1.x

Breaking changes ship as MINOR bumps, not MAJOR ones, and the version number is therefore not a reliable breakage signal on its own. This is deliberate and follows from the lockstep model: the framework and every first-party consumer are released and swept by the same owner in one pass (ADR-016), so a removal is only ever observed together with the change set that fixes it. Two examples: v1.79.0 renamed the Aspire.Hosting extension WithDataSource to WithSQLServerDataSource, and v1.123.0 removed the IIntegrationEventPublisher interface and its IntegrationEventPublisher adapter outright, callers moving to IEventBus.

What this means for you: read the CHANGELOG before every bump, not just before a major one. Each release that contains a breaking change carries a bold Breaking: line and lists the affected APIs under Removed or Changed (Behavior). For every release that breaks a consumer (v1.183.0 onward), the repo root UPGRADING.md keeps the durable old-to-new map per release plus the mechanical fix, identical to the CHANGELOG block; the same map opens the pull request that made the change. Pin an exact version and upgrade deliberately; do not use a floating version range.

Consumer rollout

Per project convention, framework upgrades are swept across all consumers in one pass: there are no opt-in flags or phased rollouts for a MMCA.Common change. When a release contains a breaking change, the consuming repos (MMCA.ADC, MMCA.Store, MMCA.Helpdesk) are updated in the same change set. For an API removal, MMCA.Helpdesk is swapped first: it builds against framework source, so it is the gate that proves the replacement API compiles before the packages are cut.

Deprecation

There is no [Obsolete] grace period today. Because the lockstep sweep updates every first-party caller in the same change set, a superseded API is removed in the release that supersedes it rather than marked obsolete and carried. [Obsolete] is reserved for cases where the compiler warning is the point (steering authors away from a pattern that still compiles), not a removal countdown, and none is in use in the framework source today.

The replacement is always named in the CHANGELOG entry alongside the removal. The trigger that ends this policy is a first external adopter: a nuget.org dependent outside the ivanball repositories, or a signed client engagement. When it fires, this page is revised first, before any release relies on the change, to adopt:

  • Scheduled MAJOR releases. Breaking changes are batched into a scheduled MAJOR release instead of shipping in a MINOR.
  • A one-release [Obsolete] window for removed members and types where C# allows it. A namespace move cannot carry one.
  • The Infrastructure package split re-opened. It is recorded as FR-1 in the remediation backlog, which already names an external adopter as its re-open trigger.
  • Supported extension points marked on the public base classes.
  • Stable diagnostic IDs for framework startup and configuration errors.

Supply chain

  • All package versions are centrally pinned (Directory.Packages.props).
  • NuGet lock files are committed for reproducible restores.
  • MassTransit is pinned to v8 by policy (v9 needs a commercial license), enforced by a fitness test, not just a comment.
  • A CycloneDX SBOM is produced at release; dependency vulnerabilities are audited in CI.