Repository navigation
Releases
4.0.0
ModularPipelines 4.0
ModularPipelines 4.0 consolidates module configuration, makes pipeline options immutable, and
standardizes the public API. It is a breaking release: follow the
v3 to v4 migration guide
before upgrading from 3.2.8.
Upgrading
- Upgrade every ModularPipelines package your pipeline uses to 4.0.0 together, including custom
integration projects and test helpers. - Pipeline projects now target .NET 11, with C# 14 or later for the generated
context.Tools.<Tool>properties. The applications your pipeline builds can keep their own
target frameworks. - Add
.modularpipelines/run-history/to.gitignore, or disable history with
RunReport.HistoryRetention = 0. Run reports are now saved by default.
Breaking changes
The six biggest changes:
- Register modules on
builder, then useawait builder.RunAsync()or
await builder.BuildAsync().Build()andExecutePipelineAsync()are gone, and building
now validates the pipeline. - Replace mutable
builder.Optionsassignments with
builder.ConfigureOptions(options => options with { ... }). - Override
void Configure(ModuleConfigurationBuilder module)and move dependencies, retries,
and metadata into it. - Import
ModularPipelinesfor core authoring types and usecontext.Tools.<Tool>for
integrations. - Use
Task<T>forModule<T>, typed result variants, andsummary.Results. - Use
Asynccommand methods,cancellationToken:, and the regenerated CLI option contracts.
var builder = Pipeline.CreateBuilder(args);
builder.AddModule<BuildModule>().AddModule<TestModule>();
await builder.RunAsync();Some changes need checking even after the code compiles:
- A required dependency that is skipped now skips its consumers too.
- HTTP retries default to idempotent methods only; 3.x retried every method.
ExecutionTimeout = nullon a command now removes the limit instead of meaning 30 minutes, and
module timeouts apply to each retry attempt rather than the whole sequence.- Command results capture at most 1,048,576 characters per output stream by default.
- Canceled commands terminate their descendant processes.
- OpenTelemetry module status values are lowercase snake_case, such as
succeededand
timed_out. IsBuildServeris nowIsCI, and it also honors a truthyCIenvironment variable.
The migration guide covers the
full list of runtime behavior changes,
a breaking API reference,
and a reference for automated migrations.
New in 4.0
- Pipeline CLI: module
selection, validation, and dry-run planning. - Fingerprint-based caching,
with a pipeline-wide switch to disable it. - Run reports and local history,
including duration comparisons against earlier runs. - OpenTelemetry,
dependency graph export, and richer CI output. - Distributed execution
across workers, with artifact contracts and worker capabilities. - Trimming and Native AOT support
for supported, statically described C# pipelines. - Testing helpers, including
command interceptors, and F# module support. - Additional CLI integrations and much wider command coverage in the existing ones.
Feedback
Search or open a GitHub issue with the old
and new package versions, a minimal module or command example, and the compiler or runtime error.
Full Changelog: v3.2.8...v4.0.0
4.0.0-rc.1
Try the ModularPipelines 4.0 release candidate
This prerelease is for testing upgrades in real consumer pipelines before 4.0.0.
Please send upgrade feedback: installation failures, migration steps that are
unclear, changed behavior, and performance regressions are all useful.
Install matching 4.0.0-rc.N versions of every ModularPipelines package your
pipeline uses. Select the exact RC version shown on this release, enable
prerelease packages in your package manager, and use the .NET SDK pinned in
global.json
or a compatible newer SDK. The initial release candidate requires .NET 11.
Follow the v3 to v4 migration guide
before running your pipeline. Include the RC version, SDK version, operating
system, a minimal reproduction, and expected versus actual behavior when
opening a feedback issue.
Link the 4.0 release checklist
so feedback can be triaged as a release blocker or a follow-up before GA.
This release candidate does not consume the stable v4.0.0 tag and is not the
latest stable GitHub release. Prerelease packages can change before GA.
Verified publication
The exact version is 4.0.0-rc.1, built from commit 5d69dec8df3da3fbde41488e84ae6adaacbc9d9a. All 60 framework/integration packages are available on NuGet at this version. The publication manifest also contains the independently versioned OptionsGenerator tool at 2.42.227-alpha.0.4166.
The validated package manifest records all 61 packages and their 121 archive hashes. The NuGet verification inventory records every exact package/version endpoint and repository commit. Publication run 42762388385 passed validation and uploaded these packages, then failed GitHub release creation; this release recovers that final step without rebuilding or republishing packages.
Known upgrade findings
- MP0013 can report already-registered modules in a command callback. This is an analyzer warning; the exercised consumer pipeline builds and validates its runtime graph. Please include your registration pattern in related feedback.
- The short-command Linux peak-memory regression is present in this RC. The fix merged after this RC's validated commit and is not in these immutable packages.
- The missing FileSystem migration import is fixed in the migration guide. Consumer migration validation and the pending consumer upgrade remain tracked in #7321.
Continue reporting upgrade feedback against #3997 before GA. This prerelease is for upgrade testing and does not declare the remaining GA gates complete.
Diagnostics: dotnet/runtime#131944 macOS process-tree kill freeze
3.2.8
What's Changed
Other Changes
- chore(deps): update azure azure-sdk-for-net monorepo by @thomhurst in #2433
Full Changelog: v3.2.7...v3.2.8
3.1.90
What's Changed
- Fix ignored module failures incorrectly failing the pipeline by @thomhurst in #2327
Full Changelog: v3.1.89...v3.1.90
3.1.6
What's Changed
- fix(progress): preserve AlwaysRun module tasks during progress session disposal by @thomhurst in #2236
Full Changelog: v3.1.5...v3.1.6
3.1.5
What's Changed
- Console Output Styling Improvements + Revamp the Example Pipeline Project by @thomhurst in #2232
Full Changelog: v3.1.4...v3.1.5
3.1.0
What's Changed
- feat: defer module output until pipeline end when live progress enabled by @thomhurst in #2227
Full Changelog: v3.0.125...v3.1.0
3.0.124
What's Changed
- fix: resolve console output glitches with progress display by @thomhurst in #2193
Full Changelog: v3.0.123...v3.0.124
3.0.86
What's Changed
- [Automated] Update pnpm CLI Options by @thomhurst in #2181
- [Automated] Update grype CLI Options by @thomhurst in #2187
- [Automated] Update vault CLI Options by @thomhurst in #2189
Full Changelog: v3.0.84...v3.0.86