Skip to content

3.0.0: drop net8/net9, update all dependencies, SDK and workflows, Compono-first tests #109

Done

Description

@ncipollina

Objective

Modernize the repository for 3.0.0 without changing any construct's synthesized output.

Scope

  • Design: add docs/designs/v3-modernization.md covering all of milestone 3.0.0 (U1–U4, U6, U7, framework and dependency policy, the preview and versioning strategy, and the migration-guide outline).
  • Target frameworks: net10.0;net11.0 for src/LayeredCraft.Cdk.Constructs and test/LayeredCraft.Cdk.Constructs.Tests. Pin the SDK in global.json: latest stable 11.0.x feature band, rollForward: latestFeature, allowPrerelease: false; keep test.runner = Microsoft.Testing.Platform.
  • Dependencies (latest compatible stable when implemented; baseline checked 2026-11-24):
    • Amazon.CDK.Lib 2.274.0 → 2.278.0. This raises the consumer floor.
    • Microsoft.SourceLink.GitHub 10.0.402 → 11.0.100.
    • xunit.v3.mtp-v2 3.2.2 → 4.0.3.
    • Microsoft.Testing.Extensions.CodeCoverage and AwesomeAssertions: confirm current.
    • Remove Microsoft.NET.Test.Sdk and xunit.runner.visualstudio if MTP-only execution works in CI and IDEs (prove it; otherwise keep them, with the reason recorded).
  • Tests, Compono-first: replace AutoFixture, AutoFixture.AutoNSubstitute, AutoFixture.Xunit3 and NSubstitute (TestKit/Attributes/BaseFixtureFactory.cs and the six *AutoDataAttribute classes) with Compono and Compono.XunitV3 (1.4.0 or later). Add Compono.TestDoubles only if test doubles are actually needed. Behavior coverage stays the same.
  • Workflows: LayeredCraft devops-templates v10.8 → v11.2 (or the latest stable) for pr-build, publish-preview, publish-release, release-drafter and pr-title-check. Adapt to the v11 inputs, including dropping the deprecated runCdk. .NET versions become 10.0.x and 11.0.x. Update action pins in docs.yml and dependabot-auto-merge.yml to their latest stable releases, keeping SHA pinning and the existing pull_request_target actor guards. This supersedes chore(deps): Bump the "infrastructure" group with 1 update across multiple ecosystems #101.
  • Build properties: review analyzers, formatting and Directory.Build.props (including the stale VersionPrefix).
  • Docs: update CLAUDE.md, the README and the docs site for the framework and test-stack changes.

Exclusions

Any construct API or behavior change (those are the Lambda and static-assets issues).

Acceptance criteria

  • Golden templates (test/LayeredCraft.Cdk.Constructs.Tests/GoldenTemplates/*.json) are byte-identical.
  • Full suite passes on net10.0 and net11.0 locally and in CI; coverage is at or above 80%.
  • No AutoFixture or NSubstitute references remain; tests use Compono per the Compono skill.
  • No prerelease dependencies (any exception justified and owner-approved).
  • The PR is labeled breaking-change, uses a feat!:/chore!: title, and its description separates the intentional .NET 8/9 removal from any upgrade-induced breaking changes.
  • The design document is reviewed and approved by the owner.

TDD

Refactor-only for the production code (start Green, stay Green). The test-stack migration must keep every behavior assertion.

Owner gates

Implementation authorization; merge (publishes the first 3.0.0-preview.N).


Milestone v3.0.0 · epic #108 · Beads cdkc-2lh.2 (epic cdkc-2lh).

Activity

  1. added this to the v3.0.0 milestone on Nov 24, 2026
  2. added
    breaking-change
    dependencies
    .NET
    on Nov 24, 2026
  3. ncipollina commented on Nov 24, 2026

    @ncipollina
    ContributorAuthor

    Owner decisions (2026-11-24)

  4. ncipollina commented on Nov 24, 2026

    @ncipollina
    ContributorAuthor

    Accepted. Merged in #113 (53607ea). Publish Preview published LayeredCraft.Cdk.Constructs 3.0.0-preview.30. Every acceptance criterion has evidence: golden templates byte-identical; 595/595 tests on net10.0 and net11.0 locally and in CI (line coverage 94.5%); no AutoFixture/NSubstitute; no prerelease dependencies; breaking-change label and chore!: title; design approved by the owner (comment above).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETbreaking-changedependencies

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions