Skip to content

Releases

4.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 13:48

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:

  1. Register modules on builder, then use await builder.RunAsync() or
    await builder.BuildAsync(). Build() and ExecutePipelineAsync() are gone, and building
    now validates the pipeline.
  2. Replace mutable builder.Options assignments with
    builder.ConfigureOptions(options => options with { ... }).
  3. Override void Configure(ModuleConfigurationBuilder module) and move dependencies, retries,
    and metadata into it.
  4. Import ModularPipelines for core authoring types and use context.Tools.<Tool> for
    integrations.
  5. Use Task<T> for Module<T>, typed result variants, and summary.Results.
  6. Use Async command 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 = null on 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 succeeded and
    timed_out.
  • IsBuildServer is now IsCI, and it also honors a truthy CI environment 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

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

4.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@thomhurst thomhurst released this 10 Nov 08:45
5d69dec

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

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

Choose a tag to compare

Temporary diagnostics for dotnet/runtime#131944 and #5926. Not a release.

3.2.8

Choose a tag to compare

@github-actions github-actions released this 17 Apr 23:08
e20b8c8

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

Choose a tag to compare

@github-actions github-actions released this 07 Feb 23:52
e79ecae

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

Choose a tag to compare

@github-actions github-actions released this 19 Jan 20:47
a94fcc6

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

Choose a tag to compare

@github-actions github-actions released this 19 Jan 12:15
598c9f3

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

Choose a tag to compare

@github-actions github-actions released this 18 Jan 23:09
3d69c4c

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

Choose a tag to compare

@github-actions github-actions released this 18 Jan 16:35
42b4da4

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

Choose a tag to compare

@github-actions github-actions released this 18 Jan 03:36
0b623d8

What's Changed

Full Changelog: v3.0.84...v3.0.86