Skip to content

fix(mocks): reduce allocations, bound benchmarks, and clear test warnings - #7831

Merged
thomhurst merged 2 commits into
mainfrom
fix/mock-allocation-and-benchmarks
Nov 19, 2026
Merged

thomhurst merged 2 commits into
mainfrom
fix/mock-allocation-and-benchmarks

Conversation

@thomhurst

@thomhurst thomhurst commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Mock setup allocates call-history storage for members that are never called, and ordinary short mock workflows allocate a full concurrent capture queue per argument. This change defers call storage, avoids a behavior lock for the first setup behavior, and stores the first four captures in a small typed array. Longer histories promote once to the existing ConcurrentQueue path.

Closes #7822
Closes #7823
Closes #7824
Closes #7828

Changes

  • Allocate per-member call buffers on the first invocation. Publish initialized buffers to concurrent recording threads.
  • Initialize the first behavior without allocating a lock. One publication/step state coordinates first initialization with Then(), subsequent composition, events and out/ref mutation; later mutations retain the shared lock.
  • Preserve automatic capture, immutable Values snapshots, Latest semantics, partial-match rejection, shared matchers and concurrent capture. Only the first four captures use the small-buffer gate. Queue promotion publishes all initial values before the queue becomes visible.
  • Recreate every framework's mocks and argument matchers before each invocation iteration. Use 16,384 single-call invocations, or 256 invocations of the 100-call method. Normalize the latter with OperationsPerInvoke = 100. Document history growth, batch-size comparisons and verification workflow scope.
  • Remove 116 nullable/assertion-style test diagnostics without suppression. Preserve meaningful mock verification and exception checks, use explicit nullable matchers, and make those diagnostic IDs errors in the mock test project. Verification tests with no asynchronous work are now synchronous.

Before/after measurements

Baseline: 8b3c3041a0 (the first commit of this PR: corrected benchmark lifecycle, unchanged mock runtime from main 3353473565). After: bf81d4f6d2. Both revisions use the same corrected benchmark methods and settings. The old published unbounded invocation numbers are not used as the baseline.

Windows 11 x64, Intel Core i7-12700K (12 physical/20 logical cores), SDK 11.0.100, .NET 11.0.0, BenchmarkDotNet 0.16.0-preview.2, Release. Each measured run uses one launch, five warmups and ten measurement iterations. Lifecycle benchmarks target 150 ms iterations; invocation counts are fixed. Unroll factor is one. BenchmarkDotNet's default outlier handling is unchanged. Full reports below include 99.9% confidence-interval half-widths and standard deviations.

Workload Before mean After mean Mean change Before allocation After allocation
Three-method setup 286.43 ns 205.03 ns -28.4% 2184 B 1648 B
Fresh mock + callback calls 347.60 ns 288.43 ns -17.0% 3056 B 1496 B
Verification workflow 369.48 ns 313.01 ns -15.3% 2848 B 1800 B
Complete workflow 901.21 ns 882.55 ns -2.1% 6112 B 4912 B

Allocation reductions are 24.5% for setup, 51.0% for callbacks, 36.8% for verification and 19.6% for the complete workflow. Setup/callback/verification timing improves in these runs. The complete-workflow mean is 2.1% lower, but its confidence interval overlaps the baseline; do not treat that as a demonstrated latency improvement.

A baseline confirmation after the initial after-run reproduced every allocation total. Its lifecycle means were setup 294.54 ns, callback 395.94 ns, verification 377.20 ns and full workflow 996.30 ns, showing environmental timing drift. The table above retains the original baseline rather than selecting the slower confirmation.

Bounded history sensitivity

All values below are per call, including the separate 100-call case in the raw reports. The normalized 100-call case measures 52.11 ns / 129 B before and 50.67 ns / 129 B after. Small fixed histories produce short iterations, so the invocation reports contain MinIterationTime warnings. These measurements support checking that the long-history path is retained, not precise claims about small nanosecond differences.

Calls per iteration Result Before mean After mean Before allocation After allocation
1,024 integer 68.51 ns 68.71 ns 139 B 139 B
1,024 string 42.23 ns 44.47 ns 122 B 122 B
16,384 integer 52.41 ns 49.95 ns 136 B 136 B
16,384 string 44.86 ns 43.79 ns 120 B 120 B
262,144 integer 89.79 ns 85.43 ns 136 B 136 B
262,144 string 64.35 ns 62.23 ns 120 B 120 B

Concurrent capture control

A separate, identical temporary harness performs 8,192 integer calls per benchmark invocation, with one or eight workers. One case shares one engine; the other shares an argument matcher across independent engines. Creation and Parallel.For dispatch are included and results are divided by 8,192. Promoting to the existing queue avoids the repeated-call contention regression found while evaluating dense storage.

Workload Workers Before mean After mean Before allocation After allocation
SharedMock 1 54.7625 ns 53.6932 ns 137 B 137 B
SharedMatcherAcrossMocks 1 68.1261 ns 64.3242 ns 137 B 137 B
SharedMock 8 202.7332 ns 202.5543 ns 137 B 137 B
SharedMatcherAcrossMocks 8 310.2337 ns 310.5126 ns 138 B 138 B

First-call allocation control

A warmed GC.GetAllocatedBytesForCurrentThread probe (1,000 warmups and 10,000 measured operations) gives identical results on .NET 10.0.15 and .NET 11.0.0 after forced rebuilds:

Operation Before After
MethodSetup alone 88 B 88 B
MethodSetup + builder + Returns(42) 176 B 136 B
Engine + setup + first typed call, captured arguments 2,232 B 1,152 B
Same workflow with bare diagnostic matchers 1,016 B 976 B
Increment attributable to automatic capture 1,216 B 176 B

The bare matchers are an allocation control only; public automatic capture remains enabled. These are allocation probes, not timing benchmarks.

Scope and limits

CapturingMatcher wrappers grow by 16 B to hold the small-buffer state, including when no value is captured. This cost is included in the setup/workflow results above. Long-history capture continues using ConcurrentQueue, rather than replacing its synchronization for every call. Latest reads after promotion still materialize a queue snapshot; this existing, separate problem is tracked in #7830. The supplementary Latest benchmark reports about 120 KB per read at 30,000 captured integers before and after; this PR does not claim to fix it.

The public capture behavior is preserved. There are no public API, generator implementation or reflection-path changes. No Native AOT publish was run; all supported library targets build. These are local measurements on one machine, not cross-framework performance rankings.

Validation

  • Mock tests: 1,549 passed, zero failed/skipped on net10.0 and net11.0, separately in source-generated and reflection metadata modes (four passing runs).
  • Seven new tests cover capture snapshots/growth/promotion/nulls, shared matchers across clear/reset, concurrent first capture with large structs, first-behavior composition/sequencing races, and concurrent first-call recording across member-buffer growth.
  • Rebuilds on both test frameworks: the five targeted diagnostic IDs fall from 116 warnings to zero; total build warnings fall from 154 to 38. Remaining warnings are existing analyzer/dependency warnings and intentional hiding/shadowing/unused-event fixtures.
  • TUnit.Mocks builds in Release for netstandard2.0, net8.0, net10.0 and net11.0.
  • Dry validation executes all 18 invocation cases across TUnit.Mocks, Imposter, Mockolate, Moq, NSubstitute and FakeItEasy. The supplementary harness also passes dry validation.
  • git diff --check passes. No received snapshots are included. TUnit.Engine.Tests was not run locally.

Reproduction

Check out each commit separately and build from source before running. If switching versions in one checkout, use --target:Rebuild so restored timestamps cannot leave a stale ordinary Release DLL. BenchmarkDotNet builds fresh generated executables for measurements; the supplementary allocation probe is also checked after a forced rebuild.

dotnet build benchmarks/TUnit.Mocks.Benchmarks/TUnit.Mocks.Benchmarks.csproj -c Release -f net11.0 --target:Rebuild
dotnet run --project benchmarks/TUnit.Mocks.Benchmarks -c Release -f net11.0 --no-build -- --filter '*SetupBenchmarks.TUnitMocks_Setup' '*CallbackBenchmarks.TUnitMocks_Callback' '*CombinedWorkflowBenchmarks.TUnitMocks_FullWorkflow' '*VerificationBenchmarks.TUnitMocks_Verify' '*InvocationBenchmarks.TUnitMocks_*' --iterationCount 10 --warmupCount 5 --iterationTime 150 --launchCount 1 --unrollFactor 1 --artifacts '<evidence>/results' --noOverwrite --join

For the sensitivity checks, filter to *InvocationBenchmarks.TUnitMocks_Invoke and *InvocationBenchmarks.TUnitMocks_InvokeString, set --invocationCount to 1024 or 262144, and omit --iterationTime as in the recorded runs.

dotnet build tests/TUnit.Mocks.Tests/TUnit.Mocks.Tests.csproj -f net11.0 --target:Rebuild
dotnet test --project tests/TUnit.Mocks.Tests -f net11.0 --no-build
dotnet test --project tests/TUnit.Mocks.Tests -f net11.0 --no-build --reflection
# Repeat all three commands with net10.0.
dotnet build src/TUnit.Mocks/TUnit.Mocks.csproj -c Release --target:Rebuild
Baseline: primary workloads

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 16.1 GB Available
.NET SDK 11.0.100
  [Host]     : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  Job-KXQCOC : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  ShortRun   : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

IterationCount=10  IterationTime=150ms  LaunchCount=1  
UnrollFactor=1  WarmupCount=5  

Type Method Job InvocationCount Mean Error StdDev Gen0 Gen1 Allocated
CallbackBenchmarks TUnit.Mocks Job-KXQCOC Default 347.60 ns 2.547 ns 1.515 ns 0.2320 - 3056 B
CombinedWorkflowBenchmarks TUnit.Mocks Job-KXQCOC Default 901.21 ns 13.056 ns 6.829 ns 0.4647 0.0060 6112 B
SetupBenchmarks TUnit.Mocks Job-KXQCOC Default 286.43 ns 3.111 ns 2.057 ns 0.1666 - 2184 B
VerificationBenchmarks TUnit.Mocks Job-KXQCOC Default 369.48 ns 5.326 ns 3.169 ns 0.2156 - 2848 B
InvocationBenchmarks 'TUnit.Mocks (100 calls)' ShortRun 256 52.11 ns 3.082 ns 1.834 ns - - 129 B
InvocationBenchmarks TUnit.Mocks ShortRun 16384 52.41 ns 5.825 ns 3.853 ns - - 136 B
InvocationBenchmarks 'TUnit.Mocks (String)' ShortRun 16384 44.86 ns 5.350 ns 3.539 ns - - 120 B
After: primary workloads

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 14.69 GB Available
.NET SDK 11.0.100
  [Host]     : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  Job-KXQCOC : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  ShortRun   : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

IterationCount=10  IterationTime=150ms  LaunchCount=1  
UnrollFactor=1  WarmupCount=5  

Type Method Job InvocationCount Mean Error StdDev Gen0 Allocated
CallbackBenchmarks TUnit.Mocks Job-KXQCOC Default 288.43 ns 4.372 ns 2.602 ns 0.1137 1496 B
CombinedWorkflowBenchmarks TUnit.Mocks Job-KXQCOC Default 882.55 ns 18.300 ns 10.890 ns 0.3701 4912 B
SetupBenchmarks TUnit.Mocks Job-KXQCOC Default 205.03 ns 3.151 ns 1.875 ns 0.1250 1648 B
VerificationBenchmarks TUnit.Mocks Job-KXQCOC Default 313.01 ns 4.180 ns 2.765 ns 0.1362 1800 B
InvocationBenchmarks 'TUnit.Mocks (100 calls)' ShortRun 256 50.67 ns 3.253 ns 2.152 ns - 129 B
InvocationBenchmarks TUnit.Mocks ShortRun 16384 49.95 ns 6.413 ns 4.242 ns - 136 B
InvocationBenchmarks 'TUnit.Mocks (String)' ShortRun 16384 43.79 ns 2.741 ns 1.631 ns - 120 B
Baseline confirmation: primary workloads

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 14.14 GB Available
.NET SDK 11.0.100
  [Host]     : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  Job-KXQCOC : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  ShortRun   : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

IterationCount=10  IterationTime=150ms  LaunchCount=1  
UnrollFactor=1  WarmupCount=5  

Type Method Job InvocationCount Mean Error StdDev Gen0 Gen1 Allocated
CallbackBenchmarks TUnit.Mocks Job-KXQCOC Default 395.94 ns 21.213 ns 12.624 ns 0.2334 - 3056 B
CombinedWorkflowBenchmarks TUnit.Mocks Job-KXQCOC Default 996.30 ns 100.579 ns 66.527 ns 0.4615 0.0062 6112 B
SetupBenchmarks TUnit.Mocks Job-KXQCOC Default 294.54 ns 4.612 ns 2.744 ns 0.1660 - 2184 B
VerificationBenchmarks TUnit.Mocks Job-KXQCOC Default 377.20 ns 12.241 ns 8.096 ns 0.2172 - 2848 B
InvocationBenchmarks 'TUnit.Mocks (100 calls)' ShortRun 256 54.53 ns 1.299 ns 0.773 ns - - 129 B
InvocationBenchmarks TUnit.Mocks ShortRun 16384 54.30 ns 6.308 ns 4.173 ns - - 136 B
InvocationBenchmarks 'TUnit.Mocks (String)' ShortRun 16384 47.11 ns 6.997 ns 4.628 ns - - 120 B
Baseline: 1,024-call history

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 14.76 GB Available
.NET SDK 11.0.100
  [Host]     : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  Job-DUHWHS : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

InvocationCount=1024  IterationCount=10  LaunchCount=1  
UnrollFactor=1  WarmupCount=5  

Method Mean Error StdDev Allocated
TUnit.Mocks 68.51 ns 4.546 ns 3.007 ns 139 B
'TUnit.Mocks (String)' 42.23 ns 0.652 ns 0.388 ns 122 B
After: 1,024-call history

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 14.68 GB Available
.NET SDK 11.0.100
  [Host]   : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  ShortRun : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

Job=ShortRun  InvocationCount=1024  IterationCount=10  
LaunchCount=1  UnrollFactor=1  WarmupCount=5  

Method Mean Error StdDev Allocated
TUnit.Mocks 68.71 ns 5.577 ns 3.689 ns 139 B
'TUnit.Mocks (String)' 44.47 ns 1.305 ns 0.777 ns 122 B
Baseline: 262,144-call history

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 14.76 GB Available
.NET SDK 11.0.100
  [Host]     : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  Job-JBDPMJ : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

InvocationCount=262144  IterationCount=10  LaunchCount=1  
UnrollFactor=1  WarmupCount=5  

Method Mean Error StdDev Gen0 Gen1 Allocated
TUnit.Mocks 89.79 ns 22.848 ns 15.113 ns 0.0038 0.0038 136 B
'TUnit.Mocks (String)' 64.35 ns 2.239 ns 1.481 ns 0.0038 0.0038 120 B
After: 262,144-call history

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 14.65 GB Available
.NET SDK 11.0.100
  [Host]   : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  ShortRun : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

Job=ShortRun  InvocationCount=262144  IterationCount=10  
LaunchCount=1  UnrollFactor=1  WarmupCount=5  

Method Mean Error StdDev Gen0 Gen1 Allocated
TUnit.Mocks 85.43 ns 17.689 ns 11.700 ns 0.0038 0.0038 136 B
'TUnit.Mocks (String)' 62.23 ns 1.157 ns 0.765 ns 0.0038 0.0038 120 B
Baseline: supplementary capture harness

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 14.72 GB Available
.NET SDK 11.0.100
  [Host]     : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  Job-NDEWJR : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

IterationCount=10  IterationTime=150ms  LaunchCount=1  
WarmupCount=5  

Type Method History Workers Mean Error StdDev Gen0 Gen1 Gen2 Allocated
LatestCaptureBenchmarks ReadLatest 0 ? 0.9839 ns 0.0067 ns 0.0040 ns - - - -
ConcurrentCaptureBenchmarks SharedMock ? 1 54.7625 ns 0.4977 ns 0.2962 ns 0.0104 0.0101 - 137 B
ConcurrentCaptureBenchmarks SharedMatcherAcrossMocks ? 1 68.1261 ns 0.7821 ns 0.5173 ns 0.0099 0.0094 0.0049 137 B
ConcurrentCaptureBenchmarks SharedMock ? 8 202.7332 ns 2.2024 ns 1.4567 ns 0.0102 0.0064 - 137 B
ConcurrentCaptureBenchmarks SharedMatcherAcrossMocks ? 8 310.2337 ns 1.0169 ns 0.5319 ns 0.0095 0.0076 0.0038 138 B
LatestCaptureBenchmarks ReadLatest 30000 ? 102,006.3108 ns 1,031.0480 ns 539.2580 ns 36.8056 36.8056 36.8056 120119 B
After: supplementary capture harness

BenchmarkDotNet v0.16.0-preview.2, Windows 11 (10.0.26300.9974)
12th Gen Intel Core i7-12700K 3.61GHz, 1 CPU, 20 logical and 12 physical cores
Memory: 31.75 GB Total, 15.67 GB Available
.NET SDK 11.0.100
  [Host]     : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3
  Job-NDEWJR : .NET 11.0.0 (11.0.0, 11.0.26.53018), X64 RyuJIT x86-64-v3

IterationCount=10  IterationTime=150ms  LaunchCount=1  
WarmupCount=5  

Type Method History Workers Mean Error StdDev Gen0 Gen1 Gen2 Allocated
LatestCaptureBenchmarks ReadLatest 0 ? 0.9942 ns 0.0039 ns 0.0023 ns - - - -
ConcurrentCaptureBenchmarks SharedMock ? 1 53.6932 ns 0.8027 ns 0.5309 ns 0.0104 0.0101 - 137 B
ConcurrentCaptureBenchmarks SharedMatcherAcrossMocks ? 1 64.3242 ns 0.9178 ns 0.5462 ns 0.0097 0.0093 0.0047 137 B
ConcurrentCaptureBenchmarks SharedMock ? 8 202.5543 ns 4.8467 ns 3.2058 ns 0.0102 0.0076 - 137 B
ConcurrentCaptureBenchmarks SharedMatcherAcrossMocks ? 8 310.5126 ns 2.2017 ns 1.4563 ns 0.0095 0.0076 0.0038 138 B
LatestCaptureBenchmarks ReadLatest 30000 ? 108,877.1076 ns 1,987.0849 ns 1,182.4824 ns 36.3372 36.3372 36.3372 120119 B
Supplementary harness source

Create a net11.0 console project outside the checkout and add a ProjectReference to the selected checkout's benchmarks/TUnit.Mocks.Benchmarks/TUnit.Mocks.Benchmarks.csproj. Use the program below. Run from the console project's directory so BenchmarkDotNet can find its csproj. SDK 11.0.100 and the referenced project's BenchmarkDotNet dependency are used for both versions.

dotnet run -c Release -- --filter '*' --job Dry --artifacts '<evidence>/dry' --noOverwrite --join
dotnet run -c Release -- --filter '*' --iterationCount 10 --warmupCount 5 --iterationTime 150 --launchCount 1 --artifacts '<evidence>/capture' --noOverwrite --join
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using TUnit.Mocks;
using TUnit.Mocks.Arguments;
using TUnit.Mocks.Setup;

BenchmarkSwitcher.FromAssembly(typeof(ConcurrentCaptureBenchmarks).Assembly).Run(args);

[MemoryDiagnoser]
public class ConcurrentCaptureBenchmarks
{
    private const int Calls = 8192;
    [Params(1, 8)] public int Workers { get; set; }
    private ParallelOptions _options = null!;

    [GlobalSetup]
    public void Setup() => _options = new ParallelOptions { MaxDegreeOfParallelism = Workers };

    [Benchmark(OperationsPerInvoke = Calls)]
    public int SharedMock()
    {
        var engine = CreateEngine(Arg.Any<int>(), Arg.Any<int>());
        var sum = 0;
        Parallel.For(0, Workers, _options, _ =>
        {
            var workerSum = 0;
            for (var i = 0; i < Calls / Workers; i++)
                workerSum += engine.HandleCallWithReturn<int, int, int>(0, "Add", i, i, 0);
            Interlocked.Add(ref sum, workerSum);
        });
        return sum;
    }

    [Benchmark(OperationsPerInvoke = Calls)]
    public int SharedMatcherAcrossMocks()
    {
        var shared = Arg.Any<int>();
        var engines = Enumerable.Range(0, Workers).Select(_ => CreateEngine(shared, shared)).ToArray();
        var sum = 0;
        Parallel.For(0, Workers, _options, worker =>
        {
            var workerSum = 0;
            for (var i = 0; i < Calls / Workers; i++)
                workerSum += engines[worker].HandleCallWithReturn<int, int, int>(0, "Add", i, i, 0);
            Interlocked.Add(ref sum, workerSum);
        });
        return sum;
    }

    private static MockEngine<object> CreateEngine(Arg<int> first, Arg<int> second)
    {
        var engine = new MockEngine<object>(MockBehavior.Loose);
        var setup = new MethodSetup(0, [first.Matcher, second.Matcher], "Add");
        new MethodSetupBuilder<int>(setup).Returns(42);
        engine.AddSetup(setup);
        return engine;
    }
}

[MemoryDiagnoser]
public class LatestCaptureBenchmarks
{
    private Arg<int> _arg;
    [Params(0, 30000)] public int History { get; set; }

    [GlobalSetup]
    public void Setup()
    {
        _arg = Arg.Any<int>();
        var engine = new MockEngine<object>(MockBehavior.Loose);
        var setup = new MethodSetup(0, [_arg.Matcher], "Call");
        engine.AddSetup(setup);
        for (int i = 0; i < History; i++) engine.HandleCall<int>(0, "Call", i);
    }

    [Benchmark] public int ReadLatest() => _arg.Latest;
}

Summary by CodeRabbit

  • Performance
    • Reduced overhead for mock invocation recording and argument capture, particularly for initial calls and smaller capture histories.
  • Bug Fixes
    • Improved reliability of concurrent mock setup, invocation recording, and argument capture.
  • Documentation
    • Added guidance on running and interpreting mock benchmarks, including what each benchmark measures.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T19:00:25.548697Z bf81d4f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request changes capture storage and mock setup and call-buffer initialization. It also bounds invocation benchmark workloads, updates benchmark documentation, and revises tests for synchronous execution, exception handling, nullable types, and compiler diagnostics.

Changes: Mock runtime storage

Layer / File(s) Summary
Capture storage and validation
src/TUnit.Mocks/Arguments/CaptureMatcher.cs, tests/TUnit.Mocks.Tests/CaptureStorageTests.cs
Capture storage uses a typed array for the first four values before promoting to a concurrent queue. Snapshot and latest-value access handle both storage forms. Tests cover stable snapshots, nulls, reset and clear behavior, and concurrent wide-value captures.
Lazy call and behavior initialization
src/TUnit.Mocks/MockEngine.cs, src/TUnit.Mocks/Setup/MethodSetup.cs, src/TUnit.Mocks/Verification/CallRecordBuffer.cs, tests/TUnit.Mocks.Tests/SetupInitializationTests.cs
Call buffers are initialized on first invocation and published with volatile reads and writes. Behavior setup uses integer states and a compare-and-exchange path for the first behavior. Added tests cover concurrent behavior additions, Then() sequencing, and concurrent first calls.

Benchmark workload and documentation

Layer / File(s) Summary
Bounded invocation measurement
benchmarks/TUnit.Mocks.Benchmarks/InvocationBenchmarks.cs, benchmarks/TUnit.Mocks.Benchmarks/README.md, benchmarks/TUnit.Mocks.Benchmarks/VerificationBenchmarks.cs, .github/scripts/process-mock-benchmarks.js
Invocation benchmarks use explicit invocation counts and iteration setup. The 100-call variants declare 100 operations per invocation. Documentation and benchmark descriptions state invocation history and the scopes of the benchmark workflows.

Mock test updates

Layer / File(s) Summary
Synchronous tests and retained verification
tests/TUnit.Mocks.Tests/*
Tests that perform synchronous work now return void, and redundant always-true assertions were removed. Existing mock calls and verification checks remain.
Exception and nullable diagnostics
tests/TUnit.Mocks.Tests/AsyncTests.cs, tests/TUnit.Mocks.Tests/EdgeCaseTests.cs, tests/TUnit.Mocks.Tests/MockAssertionExtensionsTests.cs, tests/TUnit.Mocks.Tests/KitchenSink*Tests.cs, tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs, tests/TUnit.Mocks.Tests/OutRefAssignmentTests.cs, tests/TUnit.Mocks.Tests/StringAndTypeMatcherTests.cs, tests/TUnit.Mocks.Tests/TUnit.Mocks.Tests.csproj
Exception tests assert non-null exceptions or use ThrowsAsync. Nullable matcher and captured-value types are explicit, the unassigned out value is checked against null, and additional compiler and assertion diagnostics are treated as errors.

Estimated code review effort: 4 (Complex) | ~55 minutes

Change: Refactor

Possibly related issues

  • Issue 7830 concerns Arg<T>.Latest copying the full capture history through ConcurrentQueue.ToArray(). The change revises capture storage and latest-value access, but the supplied context says the large-history copy remains out of scope.

Suggested reviewers: copilot

Merge Risk: Minimal · up to bf81d

This change reduces mock allocations, bounds the benchmarks and cleans up test warnings. No concrete merge-blocking risk was identified, and the changed behavior is covered by new concurrency and capture-storage tests.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the three themes of the changeset: reduced allocations in the mock engine, setup, and capture code; bounded invocation benchmarks; and clearing nullable and assertion-style warnings in…
Linked Issues check Passed All four directly linked issues are open, so their coding requirements apply.

[#7822 Automatic argument capture] The summary shows CapturingMatcher storing the first four captures in a typed array…
Out of Scope Changes check Passed Every changed area maps to a linked objective.

- src/TUnit.Mocks/Arguments/CaptureMatcher.cs, src/TUnit.Mocks/MockEngine.cs, src/TUnit.Mocks/Setup/MethodSetup.cs and src/TUnit.Mocks/Verification/Call…
Full details: Title check

Explanation

The title names the three themes of the changeset: reduced allocations in the mock engine, setup, and capture code; bounded invocation benchmarks; and clearing nullable and assertion-style warnings in the test project. It is specific and matches the linked objectives. It is somewhat long and lists several changes, but it still reflects the main work.

Full details: Linked Issues check

Explanation

All four directly linked issues are open, so their coding requirements apply.

[#7822 Automatic argument capture] The summary shows CapturingMatcher<T> storing the first four captures in a typed array. It promotes longer histories once to ConcurrentQueue<T?>. Capture is kept, and Values and Latest read either storage. The PR reports preserved partial-match rejection and concurrent-capture tests (CaptureStorageTests, SetupInitializationTests). This addresses the proposal to reduce capture allocation without removing capture.

[#7823 Bounded invocation benchmarks] InvocationBenchmarks now uses a bounded lifecycle. Mocks and matchers are recreated before each iteration. Invocation counts are fixed (16,384 single-call, 256 for the 100-call case). The 100-call variant uses OperationsPerInvoke = 100. The PR gives a batch-size comparison (1,024, 16,384, 262,144) and documents verification scope in README.md and VerificationBenchmarks.cs. This addresses the proposal.

[#7824 Setup allocations] Per-member call buffers are created on first invocation. The first behavior is published without a behavior lock. Later mutations keep the shared lock. The PR reports setup allocation falling from 2,184 B to 1,648 B and measures the full workflow as well as setup. This addresses the proposal to measure complete workflows.

[#7828 Test warnings] The PR removes CS8602, CS8620, CS8631, TUnitAssertions0005 and TUnitAssertions0014 diagnostics from test sources. It uses explicit nullable matchers (IsNull<string?>, string?[]) and chains IsNotNull on ThrowsAsync results. It makes these IDs errors in TUnit.Mocks.Tests.csproj. It keeps intentional verification and exception checks. Intentional fixtures and analyzer warnings are excluded by the issue.

This assessment uses the PR summary, the PR description and the per-file change summaries. I did not inspect the full diff. The summary establishes the implementation of each objective. Runtime correctness of the publication and locking logic is not independently verified here.

Full details: Out of Scope Changes check

Explanation

Every changed area maps to a linked objective.

  • src/TUnit.Mocks/Arguments/CaptureMatcher.cs, src/TUnit.Mocks/MockEngine.cs, src/TUnit.Mocks/Setup/MethodSetup.cs and src/TUnit.Mocks/Verification/CallRecordBuffer.cs implement #7822 and #7824. The CallRecordBuffer change is a documentation update that matches the lazy buffer allocation.
  • benchmarks/TUnit.Mocks.Benchmarks/InvocationBenchmarks.cs, VerificationBenchmarks.cs and README.md implement #7823. The README documents the lifecycle and timing caveats that #7823 requests.
  • .github/scripts/process-mock-benchmarks.js updates the category descriptions for bounded invocation and verification scope. This supports #7823.
  • Test files under tests/TUnit.Mocks.Tests implement #7828 by removing placeholder assertions and making verification-only tests synchronous. They also add tests for the new capture and setup behavior (CaptureStorageTests, SetupInitializationTests). These support #7822 and #7824 and do not change the intended behavior of the tests.
  • TUnit.Mocks.Tests.csproj adds the diagnostic IDs to WarningsAsErrors. This is required by #7828.

No change was found that is unrelated to the linked issues. The PR does not change the public API or the generator, as stated in the description. The unresolved Latest snapshot cost is explicitly excluded and tracked in #7830.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the call-count trail,
Four captures rest before the queue,
Then bounded runs hop down the rail,
While tests keep every check in view,
The burrow hums with threads in tune.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 839fc1d6-aedb-4c7b-8375-b2f96c504a0d
Commits

Reviewing files that changed from the base of the PR and between 3353473 and bf81d4f.

Files selected for processing: 40

  • .github/scripts/process-mock-benchmarks.js
  • benchmarks/TUnit.Mocks.Benchmarks/InvocationBenchmarks.cs
  • benchmarks/TUnit.Mocks.Benchmarks/README.md
  • benchmarks/TUnit.Mocks.Benchmarks/VerificationBenchmarks.cs
  • src/TUnit.Mocks/Arguments/CaptureMatcher.cs
  • src/TUnit.Mocks/MockEngine.cs
  • src/TUnit.Mocks/Setup/MethodSetup.cs
  • src/TUnit.Mocks/Verification/CallRecordBuffer.cs
  • tests/TUnit.Mocks.Tests/AdditionalCoverageTests.cs
  • tests/TUnit.Mocks.Tests/AsyncTests.cs
  • tests/TUnit.Mocks.Tests/CaptureStorageTests.cs
  • tests/TUnit.Mocks.Tests/ComprehensiveOutRefSpanTests.cs
  • tests/TUnit.Mocks.Tests/EdgeCaseTests.cs
  • tests/TUnit.Mocks.Tests/EventTests.cs
  • tests/TUnit.Mocks.Tests/GenericTests.cs
  • tests/TUnit.Mocks.Tests/InParameterTests.cs
  • tests/TUnit.Mocks.Tests/KitchenSinkAbstractTests.cs
  • tests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs
  • tests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs
  • tests/TUnit.Mocks.Tests/KitchenSinkGenericTests.cs
  • tests/TUnit.Mocks.Tests/KitchenSinkInheritanceTests.cs
  • tests/TUnit.Mocks.Tests/KitchenSinkInterfaceTests.cs
  • tests/TUnit.Mocks.Tests/MockAssertionExtensionsTests.cs
  • tests/TUnit.Mocks.Tests/MultipleInterfaceTests.cs
  • tests/TUnit.Mocks.Tests/NameCollisionTests.cs
  • tests/TUnit.Mocks.Tests/OutRefAssignmentTests.cs
  • tests/TUnit.Mocks.Tests/OutRefTests.cs
  • tests/TUnit.Mocks.Tests/PerformanceOptimizationTests.cs
  • tests/TUnit.Mocks.Tests/PropertyTests.cs
  • tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs
  • tests/TUnit.Mocks.Tests/RefStructTests.cs
  • tests/TUnit.Mocks.Tests/ResetTests.cs
  • tests/TUnit.Mocks.Tests/SetupInitializationTests.cs
  • tests/TUnit.Mocks.Tests/SpanReturnTests.cs
  • tests/TUnit.Mocks.Tests/StringAndTypeMatcherTests.cs
  • tests/TUnit.Mocks.Tests/TUnit.Mocks.Tests.csproj
  • tests/TUnit.Mocks.Tests/ThreadSafetyTests.cs
  • tests/TUnit.Mocks.Tests/VerificationTests.cs
  • tests/TUnit.Mocks.Tests/VerifyAllTests.cs
  • tests/TUnit.Mocks.Tests/VerifyNoOtherCallsTests.cs
Files with no reviewable changes: 1

  • tests/TUnit.Mocks.Tests/ThreadSafetyTests.cs

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor

Review of #7831

I read the runtime changes in CaptureMatcher.cs, MockEngine.cs, MethodSetup.cs and CallRecordBuffer.cs. I did not build the PR or run its tests.

Overall: I found no blocking correctness problems. The changes are small and the reasoning is documented in the code.

What checks out

  • Lazy call buffers: EnsureCallBufferCapacity publishes new buffers with Volatile.Write under the lock. The lock-free fast path reads them with Volatile.Read, and a miss falls through to StoreCallRecordSlow. I don't see a lost-publication window.
  • Capture small-buffer: the first four captures go into a T?[4]. On the fifth, all initial values plus the triggering one move into the ConcurrentQueue, which is published with Volatile.Write only afterwards. The readers I checked (CapturedValues, Latest, GetInitialSnapshot) either take the same gate or read the published queue, so they never see a partial state. No user code runs inside the SpinLock.
  • First-behavior state machine: the state goes 0, Publishing, Open, with Closed set by Then(). BehaviorLock waits out Publishing before anything else takes the lock. That covers events, out/ref mutation, Then() and a second AddBehavior racing the first publication.

Suggestions (non-blocking)

  1. Magic number 4. It appears in _initialCount < 4 and new T?[4]. A private const int InitialCapacity = 4 keeps them in sync. Promotion assumes a full array, so this is easy to break.
  2. _behaviorState invariants. MethodSetup now has a hand-rolled state machine with an implicit rule that Publishing is only set by the first AddBehavior. A short transition table in a comment would help maintainers. The spin in PrepareBehaviorLock is unbounded if a thread died between the CAS and the write; that window is two assignments, so I consider it acceptable.
  3. Tests. CaptureStorageTests covers growth, snapshots, Latest and shared arguments. A concurrent test straddling the 4 to 5 promotion, asserting the total count, would exercise the one lock-protected transition directly. A concurrent Then() vs first AddBehavior test would do the same for the state machine.
  4. PR scope. Runtime changes, benchmark methodology, docs and removal of 116 test diagnostics are in one PR. The test diffs bury the runtime changes. Splitting the diagnostics cleanup out would help future bisecting. I wouldn't block on it.

Good work. The allocation reduction is well targeted and the thread-safety reasoning is careful.

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no blocking issues were found.

Summary

This PR reduces allocations in mock setup, call recording, and argument capture. It also bounds invocation benchmarks and cleans up test warnings.

  • Captured arguments use small storage before growing into a queue.
  • Mock members create call-history storage when they record their first call.
  • The first configured behavior is published without creating a lock.
  • Mock benchmarks use fixed invocation counts and fresh state for each run.
  • Mock tests drop redundant assertions and make nullable checks clearer.

No actionable issues found. This review checked source code; it did not run builds or tests.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Mock invocation] --> B[Create or reuse member call buffer]
    B --> C[Find matching setup]
    C --> D[Capture matching arguments]
    D --> E{Four values already stored?}
    E -->|No| F[Append under small-buffer gate]
    E -->|Yes, no queue yet| G[Copy initial values and new value into queue]
    G --> H[Publish queue]
    E -->|Queue exists| I[Append to concurrent queue]
    F --> J[Run configured behavior]
    H --> J
    I --> J
Loading

Reviews (3) · Last reviewed commit: "perf(mocks): reduce setup and short capt..." · Reviewed by Greptile

@thomhurst
thomhurst enabled auto-merge (squash) November 19, 2026 19:01
@thomhurst
thomhurst merged commit e376234 into main Nov 19, 2026
27 checks passed
@thomhurst
thomhurst deleted the fix/mock-allocation-and-benchmarks branch November 19, 2026 19:24
github-actions Bot pushed a commit to nullean/proc that referenced this pull request Dec 2, 2026
Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.86.6 to
1.87.12.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.87.12

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.12 -->

## What's Changed
### Other Changes
* ci: keep the pipeline run report and cache Playwright browsers by
@​thomhurst in thomhurst/TUnit#7813
* docs: mention source-generated competitors in mock benchmark
descriptions by @​vbreuss in
thomhurst/TUnit#7821
* perf(mocks): reduce setup allocations and fixed-return overhead by
@​thomhurst in thomhurst/TUnit#7827
* fix(mocks): preserve nullable base-class constraints by @​thomhurst in
thomhurst/TUnit#7829
* fix(mocks): reduce allocations, bound benchmarks, and clear test
warnings by @​thomhurst in thomhurst/TUnit#7831
* perf(mocks): read the latest capture without allocating by @​thomhurst
in thomhurst/TUnit#7832
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7814
* chore(deps): update dependency masstransit to 9.3.0 by @​thomhurst in
thomhurst/TUnit#7816
* chore(deps): update dependency microsoft.playwright to 1.65.1 by
@​thomhurst in thomhurst/TUnit#7817
* chore(deps): update dependency mockolate to 4.2.0 by @​thomhurst in
thomhurst/TUnit#7819
* chore(deps): update all non-major dependencies to 33.7.0 by
@​thomhurst in thomhurst/TUnit#7826


**Full Changelog**:
thomhurst/TUnit@v1.87.0...v1.87.12

## 1.87.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.0 -->

## What's Changed
### Other Changes
* docs: fix the contribution guide link in the TUnit.Core readme by
@​farisbasha in thomhurst/TUnit#7806
* fix(aspire): support AddDotnetProject resources in AspireFixture by
@​thomhurst in thomhurst/TUnit#7812
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7807

## New Contributors
* @​farisbasha made their first contribution in
thomhurst/TUnit#7806

**Full Changelog**:
thomhurst/TUnit@v1.86.6...v1.87.0

Commits viewable in [compare
view](thomhurst/TUnit@v1.86.6...v1.87.12).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=TUnit&package-manager=nuget&previous-version=1.86.6&new-version=1.87.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions Bot pushed a commit to nullean/snapshots that referenced this pull request Dec 2, 2026
Updated [AngleSharp](https://github.com/AngleSharp/AngleSharp) from
1.10.4 to 1.11.0.

<details>
<summary>Release notes</summary>

_Sourced from [AngleSharp's
releases](https://github.com/AngleSharp/AngleSharp/releases)._

## 1.11.0

Released on Tuesday, November 24 2026.

## What's Changed

- Improved performance of parsing CSS selectors, cutting 15-30% of the
time and 20-35% of the allocations
- Improved performance of matching `:nth-child()`, `:nth-last-child()`,
`:only-child`, the sibling combinators (`+`, `~`) and `[attr~=value]`
(up to 70% less time)
- Improved performance of finding a node among its siblings (e.g.
`previousElementSibling`, `nextElementSibling`), which usually no longer
scans the parent's children
- Improved performance of moving and removing many nodes while a
`MutationObserver` is active
- Improved performance of `children`, which is only gathered again once
the child list changed
- Updated `img` elements to request nothing by themselves
- Fixed setting the `value` of an `input` or `textarea` not moving the
cursor to its end
- Fixed `click()` dispatching its `click` event later instead of before
it returns
- Fixed `click()` on a checkbox or radio button not checking it (and not
firing `input` and `change`)
- Fixed `stopPropagation()` in a capturing listener of an element still
running its bubbling listeners
- Fixed `form.elements` of a form not in the document being empty
- Fixed a style sheet served as another type than `text/css` (e.g.
`text/html`) being applied in standards mode
- Fixed text documents (e.g. `text/plain`) never completing, i.e. no
`load` event
- Fixed `setEnd` of a new range moving its start along, and
`setStartBefore` (and the like) not collapsing a range they reverse
- Fixed comparing the boundary points of a range in sibling nodes, which
made `toString()` and `cloneContents()` include text outside the range
- Fixed `Range.toString()` taking the whole text of adjacent text nodes
for each of them
- Fixed `cloneContents()` and `extractContents()` of a range in the
document itself throwing
- Fixed ranges being changed by splitting, normalizing or editing text
as if set by script (`splitText` also moved the start where the end
belonged)
- Fixed a `NodeIterator` returning the wrong node after its filter
removed the node it looked at
- Fixed `createElementNS` accepting qualified names with an empty prefix
or local name (e.g. `:div`)
- Fixed `nth-child` selector not accepting some valid combinations
(#​1420) @​bardrop
- Fixed `TextSource.ReadMemory()` returning pooled memory that could
change after further reads, encoding changes, or disposal; direct
underlying-source reads still borrow memory (#​1418)
- Fixed a `form` with `method="dialog"` navigating instead of closing
its dialog (with the value of the submitter as `returnValue`)
- Fixed `showModal()` of an open or a disconnected dialog not throwing
an `InvalidStateError`
- Fixed scripts in a `template` running while it is parsed
- Fixed `innerHTML` of a `template` not serializing its content
- Fixed `showPopover()` of a shown popover throwing instead of doing
nothing
- Fixed `attachShadow()` of a shadow host throwing an
`InvalidStateError` instead of a `NotSupportedError`
- Fixed `shadowRoot` giving scripts a closed shadow root (C# still gets
it via `ShadowRoot`)
- Fixed the validity of a field staying invalid (`badInput`) once it had
an invalid value
- Fixed the value sanatization of `date`, `month`, `week`, `time`,
`datetime-local`, `number`, `range` and `color`
- Fixed `labels` of form controls, `meter` and `progress` always being
empty
- Fixed `label.control` not finding the control a label without `for`
contains, and finding a hidden input
- Fixed `formEnctype` of inputs and buttons being exposed as
`formEncType` to scripts
- Fixed `toDataURL()` of a canvas giving just the base64 of the image
instead of a `data:` URL
- Fixes for Running the ACID3 Test by @​FlorianRappl in
AngleSharp/AngleSharp#1422
- Fixed a redirect with the status 308 not being followed
- Fixed the parser duplicating a part of the document under certain
conditions
- Fixed the `type` of a `menu` not being `toolbar` by default
- Fixed `focus()` moving the focus (and firing `focus` and `blur`) only
in a later task
- Fixed the contents of a `template` belonging to its document instead
of an inert one (`template.content.ownerDocument`)
- Fixed a `click` event a script dispatched not running the activation
behavior
- Fixed the `submit` event of a form submission not being trusted
- Fixed a script with `nomodule` running even though module scripts are
supported
- Fixed a `datetime-local` value without seconds being sanitized to an
empty string
- Fixed the `load` event of a document not waiting for what started
loading after the document was parsed but before it finished loading
 ... (truncated)

## 1.10.5

Released on Wednesday, November 18 2026.

## What's Changed

- Fixed `URLSearchParams.sort()` comparing names with the current
culture and reordering pairs with the same name (#​1415) @​menes97
- Fixed `selectNodeContents` of a text node ending at its start instead
of its end
- Fixed `comparePoint` and `isPointInRange` refusing offsets within a
text node
- Fixed HTML parsing retaining pooled tokenizer buffers through stale
attribute references (#​1416)
- Released 1.10.5 by @​FlorianRappl in
AngleSharp/AngleSharp#1417

## New Contributors

* @​menes97 made their first contribution in
AngleSharp/AngleSharp#1415

**Full Changelog**:
AngleSharp/AngleSharp@v1.10.4...v1.10.5

Commits viewable in [compare
view](AngleSharp/AngleSharp@v1.10.4...v1.11.0).
</details>

Updated [curb-cli](https://github.com/nullean/curb) from 0.15.1 to
0.16.1.

<details>
<summary>Release notes</summary>

_Sourced from [curb-cli's
releases](https://github.com/nullean/curb/releases)._

## 0.16.1

## 🐛 Bug Fixes

- Expand single-line `with` initializers for IDE0055 by @​thomhurst in
#​381
- Preserve conditional control flow when adding braces by @​thomhurst in
#​382

**Full Changelog**:
nullean/curb@0.16.0...0.16.1


## 0.16.0

## 💥 Breaking Changes

- Keep the blank lines the author wrote unless asked to remove them by
@​Mpdreamz in #​375

## 🐛 Bug Fixes

- Keep a tuple's closing paren after a block lambda when it is an
initializer element by @​Mpdreamz in #​378
- Format what cleanup --forward handed to dotnet format by @​Mpdreamz in
#​374
- Place a property pattern's braces at the line dotnet format uses by
@​thomhurst in #​371
- Keep author breaks in attribute stacks, after types and in patterns by
@​thomhurst in #​370
- Keep an empty try, catch or finally block the author opened out by
@​thomhurst in #​369

## 🧰 Maintenance

- Bump elastic/docs-builder from 1.71.0 to 1.75.0 in the actions group
by @[dependabot[bot]](https://github.com/apps/dependabot) in #​376
- Bump elastic/docs-builder to 1.71.0 by @​Mpdreamz in #​373
- Move to Argh and Make 0.30.0 and Proc 0.22.1 by @​Mpdreamz in #​358

**Full Changelog**:
nullean/curb@0.15.1...0.16.0


Commits viewable in [compare
view](nullean/curb@0.15.1...0.16.1).
</details>

Updated [SharpYaml](https://github.com/xoofx/SharpYaml) from 3.17.0 to
3.18.0.

<details>
<summary>Release notes</summary>

_Sourced from [SharpYaml's
releases](https://github.com/xoofx/SharpYaml/releases)._

## 3.18.0

# Changes

## ✨ New Features

- Add an editable syntax tree for key-based editing on top of
`WithTextChange` (PR #​183) by @​Jumaga2015

## 🚀 Enhancements

- Recover invalid collection elements and dictionary values (PR #​180)
by @​StefanGreve

## 🧰 Misc

- Recover from invalid values while deserializing (PR #​178) by
@​StefanGreve
- Keep decimal precision when reading through the schema (PR #​182) by
@​vtxe02023274
- Detect duplicate member keys in generated object readers (82104840)
- Detect generated dictionary duplicates in every schema (ffa51c99)
- Treat populated dictionary entries as initial values (5e392793)
- Generate NativeAOT-safe dictionary population (1eaf0500)
- Preserve merge overrides in opaque dictionary population (61c64896)
- Improve YAML 1.2.2 parsing and object loading (1e41a26c)
- Quote strings that resemble large Core integers (505b5d32)
- Scan string input in place and consume plain scalar runs at once
(2bb5832d)
- Reuse scanner tokens in the parser and keep simple keys in structs
(fdd6ec1a)
- Reuse parser events when the serializer's reader owns the parser
(a122ff7c)
- Dispatch scanner tokens on their first character (a4b84497)
- Cut per-token overhead in the scanner (0aa76a1e)
- Test token kinds in the parser and cache plain mapping keys (a904643f)
- Create the explicit key set of generated readers on demand (32a0ac0d)
- Read seekable streams at once and cover the reworked read path
(173e5e73)
- Skip the number parsers for strings that cannot be ambiguous
(31083fa3)
- Pass marks by reference on the token and event reuse path (66bcf452)
- Write serializer output through a pooled character buffer (bf3f50fe)
- Share converters and reflection contracts per options instance
(bb2aac25)
- Inline the hot paths of the parse pipeline for NativeAOT (efb7a615)
- Track the members read by the reflection object reader as bits
(8efa2574)
- Cover the reworked write path with regression tests (6566de81)
- Benchmark against ShapeShift.Yaml and document the new read and write
paths (42f908ce)
- Track the keys of a new string dictionary in the dictionary itself
(bd5da9a0)
- Pass number-like scalars as slices of the input (1d46c1db)
- Scan readers through a pooled window instead of one character at a
time (ad8844e2)
- Cache the contracts of derived types and lighten small documents
(c584d1fc)
- Refresh the benchmark results (6103bb9e)
- Update the package dependencies (d016f836)
- Refresh the benchmark results with YamlDotNet 18.1.0 (3b4c6a93)
- Bound, clear and return the reader window, and never read ahead of a
live stream (c7442c4f)
- Keep the converter cache in the options, with weak type keys
(862820b1)
- Hold only collectible types weakly in the converter cache (08396031)
- Decode a stream that cannot seek ourselves, one read of the stream at
a time (297e8322)
- Read a polymorphic value from its recorded events instead of from text
(c34c3493)
- Keep nothing of the original options alive through an unused copy
(02c4fb88)
 ... (truncated)

Commits viewable in [compare
view](xoofx/SharpYaml@3.17.0...3.18.0).
</details>

Updated
[System.IO.Abstractions](https://github.com/TestableIO/System.IO.Abstractions)
from 23.0.1 to 23.1.0.

<details>
<summary>Release notes</summary>

_Sourced from [System.IO.Abstractions's
releases](https://github.com/TestableIO/System.IO.Abstractions/releases)._

## 23.1.0

## What's Changed
* chore: bump Mockolate to v4.1.1 by @​vbreuss in
TestableIO/System.IO.Abstractions#1593
* chore: use aweXpect.Chronology in tests by @​vbreuss in
TestableIO/System.IO.Abstractions#1594
* chore: use aweXpect.Snapshots.PublicApi for API tests by @​vbreuss in
TestableIO/System.IO.Abstractions#1595
* chore: bump aweXpect.Chronology to v1.2.0 so the local-time tests can
use the builders too by @​vbreuss in
TestableIO/System.IO.Abstractions#1597
* chore: bump aweXpect.Chronology to v1.3.0 by @​vbreuss in
TestableIO/System.IO.Abstractions#1598
* chore(deps): update dependency sharpcompress to 0.50.10 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1599
* chore(deps): update dependency awexpect to 4.3.0 by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1600
* chore(deps): update dependency awexpect.snapshots.publicapi to 4.3.0
by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1601
* chore(deps): update dependency mockolate to 4.2.0 by @​renovate[bot]
in TestableIO/System.IO.Abstractions#1602
* chore(deps): update dependency sharpcompress to 0.50.11 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1605
* chore: bump Testably.Abstractions.FileSystem.Interface to v11.1.0 by
@​vbreuss in
TestableIO/System.IO.Abstractions#1606
* feat: mark the libraries as AOT compatible by @​StefanGreve in
TestableIO/System.IO.Abstractions#1604

## New Contributors
* @​StefanGreve made their first contribution in
TestableIO/System.IO.Abstractions#1604

**Full Changelog**:
TestableIO/System.IO.Abstractions@v23.0.1...v23.1.0

Commits viewable in [compare
view](TestableIO/System.IO.Abstractions@v23.0.1...v23.1.0).
</details>

Updated
[TestableIO.System.IO.Abstractions.TestingHelpers](https://github.com/TestableIO/System.IO.Abstractions)
from 23.0.1 to 23.1.0.

<details>
<summary>Release notes</summary>

_Sourced from [TestableIO.System.IO.Abstractions.TestingHelpers's
releases](https://github.com/TestableIO/System.IO.Abstractions/releases)._

## 23.1.0

## What's Changed
* chore: bump Mockolate to v4.1.1 by @​vbreuss in
TestableIO/System.IO.Abstractions#1593
* chore: use aweXpect.Chronology in tests by @​vbreuss in
TestableIO/System.IO.Abstractions#1594
* chore: use aweXpect.Snapshots.PublicApi for API tests by @​vbreuss in
TestableIO/System.IO.Abstractions#1595
* chore: bump aweXpect.Chronology to v1.2.0 so the local-time tests can
use the builders too by @​vbreuss in
TestableIO/System.IO.Abstractions#1597
* chore: bump aweXpect.Chronology to v1.3.0 by @​vbreuss in
TestableIO/System.IO.Abstractions#1598
* chore(deps): update dependency sharpcompress to 0.50.10 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1599
* chore(deps): update dependency awexpect to 4.3.0 by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1600
* chore(deps): update dependency awexpect.snapshots.publicapi to 4.3.0
by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1601
* chore(deps): update dependency mockolate to 4.2.0 by @​renovate[bot]
in TestableIO/System.IO.Abstractions#1602
* chore(deps): update dependency sharpcompress to 0.50.11 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1605
* chore: bump Testably.Abstractions.FileSystem.Interface to v11.1.0 by
@​vbreuss in
TestableIO/System.IO.Abstractions#1606
* feat: mark the libraries as AOT compatible by @​StefanGreve in
TestableIO/System.IO.Abstractions#1604

## New Contributors
* @​StefanGreve made their first contribution in
TestableIO/System.IO.Abstractions#1604

**Full Changelog**:
TestableIO/System.IO.Abstractions@v23.0.1...v23.1.0

Commits viewable in [compare
view](TestableIO/System.IO.Abstractions@v23.0.1...v23.1.0).
</details>

Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.86.6 to
1.87.12.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.87.12

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.12 -->

## What's Changed
### Other Changes
* ci: keep the pipeline run report and cache Playwright browsers by
@​thomhurst in thomhurst/TUnit#7813
* docs: mention source-generated competitors in mock benchmark
descriptions by @​vbreuss in
thomhurst/TUnit#7821
* perf(mocks): reduce setup allocations and fixed-return overhead by
@​thomhurst in thomhurst/TUnit#7827
* fix(mocks): preserve nullable base-class constraints by @​thomhurst in
thomhurst/TUnit#7829
* fix(mocks): reduce allocations, bound benchmarks, and clear test
warnings by @​thomhurst in thomhurst/TUnit#7831
* perf(mocks): read the latest capture without allocating by @​thomhurst
in thomhurst/TUnit#7832
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7814
* chore(deps): update dependency masstransit to 9.3.0 by @​thomhurst in
thomhurst/TUnit#7816
* chore(deps): update dependency microsoft.playwright to 1.65.1 by
@​thomhurst in thomhurst/TUnit#7817
* chore(deps): update dependency mockolate to 4.2.0 by @​thomhurst in
thomhurst/TUnit#7819
* chore(deps): update all non-major dependencies to 33.7.0 by
@​thomhurst in thomhurst/TUnit#7826


**Full Changelog**:
thomhurst/TUnit@v1.87.0...v1.87.12

## 1.87.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.0 -->

## What's Changed
### Other Changes
* docs: fix the contribution guide link in the TUnit.Core readme by
@​farisbasha in thomhurst/TUnit#7806
* fix(aspire): support AddDotnetProject resources in AspireFixture by
@​thomhurst in thomhurst/TUnit#7812
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7807

## New Contributors
* @​farisbasha made their first contribution in
thomhurst/TUnit#7806

**Full Changelog**:
thomhurst/TUnit@v1.86.6...v1.87.0

Commits viewable in [compare
view](thomhurst/TUnit@v1.86.6...v1.87.12).
</details>

Updated [TUnit.Core](https://github.com/thomhurst/TUnit) from 1.86.6 to
1.87.12.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit.Core's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.87.12

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.12 -->

## What's Changed
### Other Changes
* ci: keep the pipeline run report and cache Playwright browsers by
@​thomhurst in thomhurst/TUnit#7813
* docs: mention source-generated competitors in mock benchmark
descriptions by @​vbreuss in
thomhurst/TUnit#7821
* perf(mocks): reduce setup allocations and fixed-return overhead by
@​thomhurst in thomhurst/TUnit#7827
* fix(mocks): preserve nullable base-class constraints by @​thomhurst in
thomhurst/TUnit#7829
* fix(mocks): reduce allocations, bound benchmarks, and clear test
warnings by @​thomhurst in thomhurst/TUnit#7831
* perf(mocks): read the latest capture without allocating by @​thomhurst
in thomhurst/TUnit#7832
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7814
* chore(deps): update dependency masstransit to 9.3.0 by @​thomhurst in
thomhurst/TUnit#7816
* chore(deps): update dependency microsoft.playwright to 1.65.1 by
@​thomhurst in thomhurst/TUnit#7817
* chore(deps): update dependency mockolate to 4.2.0 by @​thomhurst in
thomhurst/TUnit#7819
* chore(deps): update all non-major dependencies to 33.7.0 by
@​thomhurst in thomhurst/TUnit#7826


**Full Changelog**:
thomhurst/TUnit@v1.87.0...v1.87.12

## 1.87.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.0 -->

## What's Changed
### Other Changes
* docs: fix the contribution guide link in the TUnit.Core readme by
@​farisbasha in thomhurst/TUnit#7806
* fix(aspire): support AddDotnetProject resources in AspireFixture by
@​thomhurst in thomhurst/TUnit#7812
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7807

## New Contributors
* @​farisbasha made their first contribution in
thomhurst/TUnit#7806

**Full Changelog**:
thomhurst/TUnit@v1.86.6...v1.87.0

Commits viewable in [compare
view](thomhurst/TUnit@v1.86.6...v1.87.12).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions Bot pushed a commit to nullean/mermaider that referenced this pull request Dec 2, 2026
Updated [assembly-differ](https://github.com/nullean/assembly-differ)
from 1.2.0 to 1.3.0.

<details>
<summary>Release notes</summary>

_Sourced from [assembly-differ's
releases](https://github.com/nullean/assembly-differ/releases)._

## 1.3.0

## ✨ Features

- Compare only the solution's own assemblies in release by @​Mpdreamz in
#​117

## 🐛 Bug Fixes

- Leave GeneratedCode out of the public API files by @​Mpdreamz in #​116

## 🧰 Maintenance

- Bump the nuget group with 3 updates by
@[dependabot[bot]](https://github.com/apps/dependabot) in #​115
- Bump the actions group with 5 updates by
@[dependabot[bot]](https://github.com/apps/dependabot) in #​114

**Full Changelog**:
nullean/assembly-differ@1.2.1...1.3.0

<!-- public-api-changes -->

### API Changes: `assembly-differ`

```diff
Scanned: 📑 1 assembly, Suggested change in version: None
+ 0 breaking change(s) detected.

🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications
```



## 1.2.1

## 🐛 Bug Fixes

- Ignore unlisted versions when choosing the release to compare with by
@​Mpdreamz in #​113

**Full Changelog**:
nullean/assembly-differ@1.2.0...1.2.1

<!-- public-api-changes -->

### API Changes: `assembly-differ`

```diff
Scanned: 📑 1 assembly, Suggested change in version: None
+ 0 breaking change(s) detected.

🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications
```



Commits viewable in [compare
view](nullean/assembly-differ@1.2.0...1.3.0).
</details>

Updated [curb-cli](https://github.com/nullean/curb) from 0.15.1 to
0.16.1.

<details>
<summary>Release notes</summary>

_Sourced from [curb-cli's
releases](https://github.com/nullean/curb/releases)._

## 0.16.1

## 🐛 Bug Fixes

- Expand single-line `with` initializers for IDE0055 by @​thomhurst in
#​381
- Preserve conditional control flow when adding braces by @​thomhurst in
#​382

**Full Changelog**:
nullean/curb@0.16.0...0.16.1


## 0.16.0

## 💥 Breaking Changes

- Keep the blank lines the author wrote unless asked to remove them by
@​Mpdreamz in #​375

## 🐛 Bug Fixes

- Keep a tuple's closing paren after a block lambda when it is an
initializer element by @​Mpdreamz in #​378
- Format what cleanup --forward handed to dotnet format by @​Mpdreamz in
#​374
- Place a property pattern's braces at the line dotnet format uses by
@​thomhurst in #​371
- Keep author breaks in attribute stacks, after types and in patterns by
@​thomhurst in #​370
- Keep an empty try, catch or finally block the author opened out by
@​thomhurst in #​369

## 🧰 Maintenance

- Bump elastic/docs-builder from 1.71.0 to 1.75.0 in the actions group
by @[dependabot[bot]](https://github.com/apps/dependabot) in #​376
- Bump elastic/docs-builder to 1.71.0 by @​Mpdreamz in #​373
- Move to Argh and Make 0.30.0 and Proc 0.22.1 by @​Mpdreamz in #​358

**Full Changelog**:
nullean/curb@0.15.1...0.16.0


Commits viewable in [compare
view](nullean/curb@0.15.1...0.16.1).
</details>

Updated
[Microsoft.Extensions.TimeProvider.Testing](https://github.com/dotnet/extensions)
from 11.0.0 to 11.0.1.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.Extensions.TimeProvider.Testing's
releases](https://github.com/dotnet/extensions/releases)._

## 11.0.1

This servicing release updates the OpenAI SDK used by
`Microsoft.Extensions.AI.OpenAI` to 2.15.0. It also fixes GenAI
telemetry modality reporting, route parameter redaction in
`Microsoft.AspNetCore.Diagnostics.Middleware`, HybridCache invalidation,
and AI template dependencies.

<!-- DRAFT: Package versions are from official build 3142118 / BAR
342521. Confirm the final published manifest before publishing these
notes. -->

## What's Changed

### AI and AI project templates

* [MEAI] Update OpenAI SDK to 2.15 #​7948 by @​rogerbarreto
* Fix missing GenAI modality for non-media content parts #​7936 by
@​ganga1980 (co-authored by @​jeffhandley @​Copilot)
* Bump Aspire.Hosting.AppHost to 13.6.5 and remove MessagePack pin in AI
template #​7943 by @​evgenyfedorov2 (co-authored by @​Copilot)

### ASP.NET Core extensions

* Fix route parameter redaction for actions sharing a route template
#​7933 by @​evgenyfedorov2 (co-authored by @​Copilot)

### Caching

* Fix HybridCache wildcard invalidation timestamp under frozen
TimeProvider (#​7849) #​7908 by @​Manish-1kumar

## Acknowledgements

* @​ganga1980 made their first contribution in #​7936
* @​Manish-1kumar made their first contribution in #​7908
* @​evgenyfedorov2 reported #​7942 (resolved by #​7943)
* @​alexjwilko reported #​7849 (resolved by #​7908)
* @​dariusclay @​svick @​tarekgh reviewed pull requests

## Packages in this release

The release includes 41 stable packages and 13 preview packages,
including `Microsoft.Extensions.AI.Templates`.

| Package | Version |
| --- | --- |
| Microsoft.AspNetCore.AsyncState | `11.0.1` |
| Microsoft.AspNetCore.Diagnostics.Middleware | `11.0.1` |
| Microsoft.AspNetCore.HeaderParsing | `11.0.1` |
| Microsoft.AspNetCore.Testing | `11.0.1` |
| Microsoft.Extensions.AI | `11.0.1` |
| Microsoft.Extensions.AI.Abstractions | `11.0.1` |
| Microsoft.Extensions.AI.Evaluation | `11.0.1` |
| Microsoft.Extensions.AI.Evaluation.Console | `11.0.1` |
| Microsoft.Extensions.AI.Evaluation.NLP | `11.0.1-preview.1.26570.2` |
| Microsoft.Extensions.AI.Evaluation.Quality | `11.0.1` |
| Microsoft.Extensions.AI.Evaluation.Reporting | `11.0.1` |
| Microsoft.Extensions.AI.Evaluation.Reporting.Azure | `11.0.1` |
| Microsoft.Extensions.AI.Evaluation.Safety | `11.0.1-preview.1.26570.2`
|
| Microsoft.Extensions.AI.OpenAI | `11.0.1` |
| Microsoft.Extensions.AI.Templates | `11.0.1-preview.3.26570.2` |
| Microsoft.Extensions.AmbientMetadata.Application | `11.0.1` |
 ... (truncated)

Commits viewable in [compare
view](dotnet/extensions@v11.0.0...v11.0.1).
</details>

Updated
[Nullean.Snapshots.AwesomeAssertions](https://github.com/nullean/snapshots)
from 0.18.0 to 0.18.1.

<details>
<summary>Release notes</summary>

_Sourced from [Nullean.Snapshots.AwesomeAssertions's
releases](https://github.com/nullean/snapshots/releases)._

## 0.18.1

## 🐛 Bug Fixes

- Take Nullean.PublicApi.Diff 1.3.0 so snapshots leave out GeneratedCode
by @​Mpdreamz in #​117

**Full Changelog**:
nullean/snapshots@0.18.0...0.18.1


Commits viewable in [compare
view](nullean/snapshots@0.18.0...0.18.1).
</details>

Updated [nullean.snapshots.cli](https://github.com/nullean/snapshots)
from 0.18.0 to 0.18.1.

<details>
<summary>Release notes</summary>

_Sourced from [nullean.snapshots.cli's
releases](https://github.com/nullean/snapshots/releases)._

## 0.18.1

## 🐛 Bug Fixes

- Take Nullean.PublicApi.Diff 1.3.0 so snapshots leave out GeneratedCode
by @​Mpdreamz in #​117

**Full Changelog**:
nullean/snapshots@0.18.0...0.18.1


Commits viewable in [compare
view](nullean/snapshots@0.18.0...0.18.1).
</details>

Updated [Nullean.Snapshots.TUnit](https://github.com/nullean/snapshots)
from 0.18.0 to 0.18.1.

<details>
<summary>Release notes</summary>

_Sourced from [Nullean.Snapshots.TUnit's
releases](https://github.com/nullean/snapshots/releases)._

## 0.18.1

## 🐛 Bug Fixes

- Take Nullean.PublicApi.Diff 1.3.0 so snapshots leave out GeneratedCode
by @​Mpdreamz in #​117

**Full Changelog**:
nullean/snapshots@0.18.0...0.18.1


Commits viewable in [compare
view](nullean/snapshots@0.18.0...0.18.1).
</details>

Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.86.6 to
1.87.12.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.87.12

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.12 -->

## What's Changed
### Other Changes
* ci: keep the pipeline run report and cache Playwright browsers by
@​thomhurst in thomhurst/TUnit#7813
* docs: mention source-generated competitors in mock benchmark
descriptions by @​vbreuss in
thomhurst/TUnit#7821
* perf(mocks): reduce setup allocations and fixed-return overhead by
@​thomhurst in thomhurst/TUnit#7827
* fix(mocks): preserve nullable base-class constraints by @​thomhurst in
thomhurst/TUnit#7829
* fix(mocks): reduce allocations, bound benchmarks, and clear test
warnings by @​thomhurst in thomhurst/TUnit#7831
* perf(mocks): read the latest capture without allocating by @​thomhurst
in thomhurst/TUnit#7832
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7814
* chore(deps): update dependency masstransit to 9.3.0 by @​thomhurst in
thomhurst/TUnit#7816
* chore(deps): update dependency microsoft.playwright to 1.65.1 by
@​thomhurst in thomhurst/TUnit#7817
* chore(deps): update dependency mockolate to 4.2.0 by @​thomhurst in
thomhurst/TUnit#7819
* chore(deps): update all non-major dependencies to 33.7.0 by
@​thomhurst in thomhurst/TUnit#7826


**Full Changelog**:
thomhurst/TUnit@v1.87.0...v1.87.12

## 1.87.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.0 -->

## What's Changed
### Other Changes
* docs: fix the contribution guide link in the TUnit.Core readme by
@​farisbasha in thomhurst/TUnit#7806
* fix(aspire): support AddDotnetProject resources in AspireFixture by
@​thomhurst in thomhurst/TUnit#7812
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7807

## New Contributors
* @​farisbasha made their first contribution in
thomhurst/TUnit#7806

**Full Changelog**:
thomhurst/TUnit@v1.86.6...v1.87.0

Commits viewable in [compare
view](thomhurst/TUnit@v1.86.6...v1.87.12).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions Bot pushed a commit to nullean/argh that referenced this pull request Dec 2, 2026
Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.87.0 to
1.87.12.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.87.12

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.12 -->

## What's Changed
### Other Changes
* ci: keep the pipeline run report and cache Playwright browsers by
@​thomhurst in thomhurst/TUnit#7813
* docs: mention source-generated competitors in mock benchmark
descriptions by @​vbreuss in
thomhurst/TUnit#7821
* perf(mocks): reduce setup allocations and fixed-return overhead by
@​thomhurst in thomhurst/TUnit#7827
* fix(mocks): preserve nullable base-class constraints by @​thomhurst in
thomhurst/TUnit#7829
* fix(mocks): reduce allocations, bound benchmarks, and clear test
warnings by @​thomhurst in thomhurst/TUnit#7831
* perf(mocks): read the latest capture without allocating by @​thomhurst
in thomhurst/TUnit#7832
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7814
* chore(deps): update dependency masstransit to 9.3.0 by @​thomhurst in
thomhurst/TUnit#7816
* chore(deps): update dependency microsoft.playwright to 1.65.1 by
@​thomhurst in thomhurst/TUnit#7817
* chore(deps): update dependency mockolate to 4.2.0 by @​thomhurst in
thomhurst/TUnit#7819
* chore(deps): update all non-major dependencies to 33.7.0 by
@​thomhurst in thomhurst/TUnit#7826


**Full Changelog**:
thomhurst/TUnit@v1.87.0...v1.87.12

Commits viewable in [compare
view](thomhurst/TUnit@v1.87.0...v1.87.12).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=TUnit&package-manager=nuget&previous-version=1.87.0&new-version=1.87.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions Bot pushed a commit to nullean/cdp that referenced this pull request Dec 2, 2026
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Updated [curb-cli](https://github.com/nullean/curb) from 0.14.2 to
0.16.1.

<details>
<summary>Release notes</summary>

_Sourced from [curb-cli's
releases](https://github.com/nullean/curb/releases)._

## 0.16.1

## 🐛 Bug Fixes

- Expand single-line `with` initializers for IDE0055 by @​thomhurst in
#​381
- Preserve conditional control flow when adding braces by @​thomhurst in
#​382

**Full Changelog**:
nullean/curb@0.16.0...0.16.1


## 0.16.0

## 💥 Breaking Changes

- Keep the blank lines the author wrote unless asked to remove them by
@​Mpdreamz in #​375

## 🐛 Bug Fixes

- Keep a tuple's closing paren after a block lambda when it is an
initializer element by @​Mpdreamz in #​378
- Format what cleanup --forward handed to dotnet format by @​Mpdreamz in
#​374
- Place a property pattern's braces at the line dotnet format uses by
@​thomhurst in #​371
- Keep author breaks in attribute stacks, after types and in patterns by
@​thomhurst in #​370
- Keep an empty try, catch or finally block the author opened out by
@​thomhurst in #​369

## 🧰 Maintenance

- Bump elastic/docs-builder from 1.71.0 to 1.75.0 in the actions group
by @[dependabot[bot]](https://github.com/apps/dependabot) in #​376
- Bump elastic/docs-builder to 1.71.0 by @​Mpdreamz in #​373
- Move to Argh and Make 0.30.0 and Proc 0.22.1 by @​Mpdreamz in #​358

**Full Changelog**:
nullean/curb@0.15.1...0.16.0


## 0.15.1

## 🐛 Bug Fixes

- Keep an empty initializer the author opened out opened out by
@​Mpdreamz in #​362
- Leave initializer lines where dotnet format does when their statement
moves by @​Mpdreamz in #​361
- Keep the lines the author broke in a for header by @​Mpdreamz in #​360

**Full Changelog**:
nullean/curb@0.15.0...0.15.1


## 0.15.0

## ✨ Features

- Skip rewrites the project's C# version cannot compile by @​Mpdreamz in
#​349

## 🐛 Bug Fixes

- End the line after a lambda block below its => and before an indexer's
] by @​Mpdreamz in #​354
- Keep a declaration's lines where the author broke it between
declarators by @​Mpdreamz in #​353
- Keep a break just inside a using, fixed or foreach header's
parentheses by @​Mpdreamz in #​348
- Put a tuple's ) after a block lambda on its own line by @​Mpdreamz in
#​347

**Full Changelog**:
nullean/curb@0.14.3...0.15.0


## 0.14.3

## 🐛 Bug Fixes

- Keep a condition the author put below its ( at their column by
@​Mpdreamz in #​344
- Leave an empty block statement out of csharp_empty_block_style by
@​Mpdreamz in #​339
- Keep a break just inside a switch statement's parentheses by
@​Mpdreamz in #​342
- Keep a flat body below a comment on a line of its own by @​Mpdreamz in
#​341

**Full Changelog**:
nullean/curb@0.14.2...0.14.3


Commits viewable in [compare
view](nullean/curb@0.14.2...0.16.1).
</details>

Updated [Nullean.Argh](https://github.com/nullean/argh) from 0.30.0 to
0.30.1.

<details>
<summary>Release notes</summary>

_Sourced from [Nullean.Argh's
releases](https://github.com/nullean/argh/releases)._

## 0.30.1

## 🐛 Bug Fixes

- Name the enum member a parameter's default refers to by @​Mpdreamz in
#​151
- Make ./build.cs run: fix its shebang by @​Mpdreamz in #​150

## 🧰 Maintenance

- Build argh with the Runna packages, runna's new IDs by @​Mpdreamz in
#​149
- Build argh with runna 0.1.0 instead of the last Nullean.Make by
@​Mpdreamz in #​148
- Move Nullean.Make out to its own repository, runna by @​Mpdreamz in
#​147

## ⚙️ Automation

- Run macOS on main only, and release only what main proved by
@​Mpdreamz in #​146

**Full Changelog**:
nullean/argh@0.30.0...0.30.1

<!-- public-api-changes -->

### API Changes: `Nullean.Argh.Core`

```diff
Scanned: 📑 1 assemblies(s), Suggested change in version: Patch
+ 0 breaking change(s) detected.

🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications
```


### API Changes: `Nullean.Argh.Hosting`

```diff
Scanned: 📑 1 assemblies(s), Suggested change in version: Patch
+ 0 breaking change(s) detected.

🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications
```


### API Changes: `Nullean.Argh.Interfaces`

```diff
Scanned: 📑 1 assemblies(s), Suggested change in version: Patch
+ 0 breaking change(s) detected.

🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications
```



Commits viewable in [compare
view](nullean/argh@0.30.0...0.30.1).
</details>

Updated
[Nullean.Snapshots.AwesomeAssertions](https://github.com/nullean/snapshots)
from 0.12.0 to 0.18.1.

<details>
<summary>Release notes</summary>

_Sourced from [Nullean.Snapshots.AwesomeAssertions's
releases](https://github.com/nullean/snapshots/releases)._

## 0.18.1

## 🐛 Bug Fixes

- Take Nullean.PublicApi.Diff 1.3.0 so snapshots leave out GeneratedCode
by @​Mpdreamz in #​117

**Full Changelog**:
nullean/snapshots@0.18.0...0.18.1


## 0.18.0

## ✨ Features

- Parse the wait flags in the library, and refresh the options after the
wait by @​Mpdreamz in #​116

**Full Changelog**:
nullean/snapshots@0.17.0...0.18.0


## 0.17.0

## ✨ Features

- Add Nullean.Snapshots.Objects, object-graph snapshots by @​Mpdreamz in
#​114
- Readable file names for data-driven cases by @​Mpdreamz in #​112
- Wait for a header or an element value before a run starts by
@​Mpdreamz in #​115
- Fail a snapshot that holds forbidden values by @​Mpdreamz in #​111
- Scrub a set of values found at test time by @​Mpdreamz in #​110

## 📝 Documentation

- Document Windows runs and object-graph snapshots by @​Mpdreamz in
#​113

**Full Changelog**:
nullean/snapshots@0.16.0...0.17.0


## 0.16.0

## ✨ Features

- Retry a failed journey and report a flake as a flake by @​Mpdreamz in
#​109

**Full Changelog**:
nullean/snapshots@0.15.0...0.16.0


## 0.15.0

## ✨ Features

- Mark a filtered or skipping TUnit run partial by @​Mpdreamz in #​108
- Skip partial runs in snap orphans and ignore snapshots written after
the run by @​Mpdreamz in #​107

**Full Changelog**:
nullean/snapshots@0.14.0...0.15.0


## 0.14.0

## ✨ Features

- API snapshots on Nullean.PublicApi 1.2.0 by @​Mpdreamz in #​106

## 🧰 Maintenance

- Keep every package's public API as a snapshot by @​Mpdreamz in #​105

**Full Changelog**:
nullean/snapshots@0.13.0...0.14.0


## 0.13.0

## ✨ Features

- Add Nullean.Snapshots.PublicApi: an assembly's public API as a
snapshot by @​Mpdreamz in #​104

**Full Changelog**:
nullean/snapshots@0.12.2...0.13.0


## 0.12.2

## 🐛 Fixes

- `Nullean.Snapshots` now depends on `Nullean.ScopedFileSystem` 0.7.2.
Release 0.12.1 brought 0.7.1, which was built against Testably's file
system interface 10.x; with `System.IO.Abstractions` 23 that interface
resolves to 11.0.0, so loading the snapshot engine threw
`TypeLoadException` (`Method 'CreateHardLink' in type
'Nullean.ScopedFileSystem.ScopedFile' ... does not have an
implementation`). Projects that pinned `Nullean.ScopedFileSystem` 0.7.2
to work around it can drop the pin.

## 🧰 Maintenance

- Move to Argh and Make 0.30.0 and Proc 0.22.1 by @​Mpdreamz in #​102

## ⚙️ Automation

- Run macOS on main only, and release only what main proved by
@​Mpdreamz in #​103

**Full Changelog**:
nullean/snapshots@0.12.1...0.12.2


## 0.12.1

## 🧰 Maintenance

- Run the macOS browser tests one at a time (#​64) by @​Mpdreamz in #​99
- Put the macOS browser job back on macos-latest (#​64) by @​Mpdreamz in
#​96

**Full Changelog**:
nullean/snapshots@0.12.0...0.12.1


Commits viewable in [compare
view](nullean/snapshots@0.12.0...0.18.1).
</details>

Updated [Nullean.Snapshots.TUnit](https://github.com/nullean/snapshots)
from 0.12.0 to 0.18.1.

<details>
<summary>Release notes</summary>

_Sourced from [Nullean.Snapshots.TUnit's
releases](https://github.com/nullean/snapshots/releases)._

## 0.18.1

## 🐛 Bug Fixes

- Take Nullean.PublicApi.Diff 1.3.0 so snapshots leave out GeneratedCode
by @​Mpdreamz in #​117

**Full Changelog**:
nullean/snapshots@0.18.0...0.18.1


## 0.18.0

## ✨ Features

- Parse the wait flags in the library, and refresh the options after the
wait by @​Mpdreamz in #​116

**Full Changelog**:
nullean/snapshots@0.17.0...0.18.0


## 0.17.0

## ✨ Features

- Add Nullean.Snapshots.Objects, object-graph snapshots by @​Mpdreamz in
#​114
- Readable file names for data-driven cases by @​Mpdreamz in #​112
- Wait for a header or an element value before a run starts by
@​Mpdreamz in #​115
- Fail a snapshot that holds forbidden values by @​Mpdreamz in #​111
- Scrub a set of values found at test time by @​Mpdreamz in #​110

## 📝 Documentation

- Document Windows runs and object-graph snapshots by @​Mpdreamz in
#​113

**Full Changelog**:
nullean/snapshots@0.16.0...0.17.0


## 0.16.0

## ✨ Features

- Retry a failed journey and report a flake as a flake by @​Mpdreamz in
#​109

**Full Changelog**:
nullean/snapshots@0.15.0...0.16.0


## 0.15.0

## ✨ Features

- Mark a filtered or skipping TUnit run partial by @​Mpdreamz in #​108
- Skip partial runs in snap orphans and ignore snapshots written after
the run by @​Mpdreamz in #​107

**Full Changelog**:
nullean/snapshots@0.14.0...0.15.0


## 0.14.0

## ✨ Features

- API snapshots on Nullean.PublicApi 1.2.0 by @​Mpdreamz in #​106

## 🧰 Maintenance

- Keep every package's public API as a snapshot by @​Mpdreamz in #​105

**Full Changelog**:
nullean/snapshots@0.13.0...0.14.0


## 0.13.0

## ✨ Features

- Add Nullean.Snapshots.PublicApi: an assembly's public API as a
snapshot by @​Mpdreamz in #​104

**Full Changelog**:
nullean/snapshots@0.12.2...0.13.0


## 0.12.2

## 🐛 Fixes

- `Nullean.Snapshots` now depends on `Nullean.ScopedFileSystem` 0.7.2.
Release 0.12.1 brought 0.7.1, which was built against Testably's file
system interface 10.x; with `System.IO.Abstractions` 23 that interface
resolves to 11.0.0, so loading the snapshot engine threw
`TypeLoadException` (`Method 'CreateHardLink' in type
'Nullean.ScopedFileSystem.ScopedFile' ... does not have an
implementation`). Projects that pinned `Nullean.ScopedFileSystem` 0.7.2
to work around it can drop the pin.

## 🧰 Maintenance

- Move to Argh and Make 0.30.0 and Proc 0.22.1 by @​Mpdreamz in #​102

## ⚙️ Automation

- Run macOS on main only, and release only what main proved by
@​Mpdreamz in #​103

**Full Changelog**:
nullean/snapshots@0.12.1...0.12.2


## 0.12.1

## 🧰 Maintenance

- Run the macOS browser tests one at a time (#​64) by @​Mpdreamz in #​99
- Put the macOS browser job back on macos-latest (#​64) by @​Mpdreamz in
#​96

**Full Changelog**:
nullean/snapshots@0.12.0...0.12.1


Commits viewable in [compare
view](nullean/snapshots@0.12.0...0.18.1).
</details>

Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.83.8 to
1.87.12.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.87.12

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.12 -->

## What's Changed
### Other Changes
* ci: keep the pipeline run report and cache Playwright browsers by
@​thomhurst in thomhurst/TUnit#7813
* docs: mention source-generated competitors in mock benchmark
descriptions by @​vbreuss in
thomhurst/TUnit#7821
* perf(mocks): reduce setup allocations and fixed-return overhead by
@​thomhurst in thomhurst/TUnit#7827
* fix(mocks): preserve nullable base-class constraints by @​thomhurst in
thomhurst/TUnit#7829
* fix(mocks): reduce allocations, bound benchmarks, and clear test
warnings by @​thomhurst in thomhurst/TUnit#7831
* perf(mocks): read the latest capture without allocating by @​thomhurst
in thomhurst/TUnit#7832
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7814
* chore(deps): update dependency masstransit to 9.3.0 by @​thomhurst in
thomhurst/TUnit#7816
* chore(deps): update dependency microsoft.playwright to 1.65.1 by
@​thomhurst in thomhurst/TUnit#7817
* chore(deps): update dependency mockolate to 4.2.0 by @​thomhurst in
thomhurst/TUnit#7819
* chore(deps): update all non-major dependencies to 33.7.0 by
@​thomhurst in thomhurst/TUnit#7826


**Full Changelog**:
thomhurst/TUnit@v1.87.0...v1.87.12

## 1.87.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.87.0 -->

## What's Changed
### Other Changes
* docs: fix the contribution guide link in the TUnit.Core readme by
@​farisbasha in thomhurst/TUnit#7806
* fix(aspire): support AddDotnetProject resources in AspireFixture by
@​thomhurst in thomhurst/TUnit#7812
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7807

## New Contributors
* @​farisbasha made their first contribution in
thomhurst/TUnit#7806

**Full Changelog**:
thomhurst/TUnit@v1.86.6...v1.87.0

## 1.86.6

<!-- Release notes generated using configuration in .github/release.yml
at v1.86.6 -->

## What's Changed
### Other Changes
* feat: convert string [Arguments] to CultureInfo, Uri and Version by
@​thomhurst in thomhurst/TUnit#7800
* fix(assertions): treat the same instance as equivalent in
IsEquivalentTo by @​mohsinaliwork686-rgb in
thomhurst/TUnit#7799
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7797
* chore(deps): update dependency verify.tool to v1 by @​thomhurst in
thomhurst/TUnit#7803
* chore(deps): update dependency mockolate to 4.1.1 by @​thomhurst in
thomhurst/TUnit#7802

## New Contributors
* @​mohsinaliwork686-rgb made their first contribution in
thomhurst/TUnit#7799

**Full Changelog**:
thomhurst/TUnit@v1.86.0...v1.86.6

## 1.86.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.86.0 -->

## What's Changed
### Other Changes
* fix(assertions): keep the awaited value and drill-ins after Because by
@​JohnVerheij in thomhurst/TUnit#7788
* fix(assertions)!: collection checks no longer chain without And/Or by
@​thomhurst in thomhurst/TUnit#7791
* test: fix flaky owner-collection check in ExternalObjectOwnershipTests
by @​thomhurst in thomhurst/TUnit#7794
* fix(assertions): keep a value-type result of AssertionResult<T> as T
by @​JohnVerheij in thomhurst/TUnit#7793
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7790


**Full Changelog**:
thomhurst/TUnit@v1.85.7...v1.86.0

## 1.85.7

<!-- Release notes generated using configuration in .github/release.yml
at v1.85.7 -->

## What's Changed
### Other Changes
* fix: read custom data source row metadata without reflection in
source-generated mode by @​thomhurst in
thomhurst/TUnit#7784
### Dependencies
* chore(deps): update all non-major dependencies to 1.85.0 by
@​thomhurst in thomhurst/TUnit#7777
* chore(deps): update dependency coverlet.collector to 10.1.1 by
@​thomhurst in thomhurst/TUnit#7780
* chore(deps): update all non-major dependencies to 33.5.0 by
@​thomhurst in thomhurst/TUnit#7783


**Full Changelog**:
thomhurst/TUnit@v1.85.0...v1.85.7

## 1.85.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.85.0 -->

## What's Changed
### Other Changes
* fix(deps): keep net8.0/net10.0 on OpenTelemetry 1.20.x by @​thomhurst
in thomhurst/TUnit#7758
* chore(deps): pin runtime-versioned packages to their target
framework's major by @​thomhurst in
thomhurst/TUnit#7762
* Migrate the build pipeline to ModularPipelines v4 by @​thomhurst in
thomhurst/TUnit#7702
* ci: select Xcode 27.2 for the Apple smoke tests by @​thomhurst in
thomhurst/TUnit#7765
* chore(deps): cap Threading analyzers below 18.7.65 and FSharp.Core
below 11 in Renovate by @​thomhurst in
thomhurst/TUnit#7766
* feat: respect system theme in HTML reports by @​ahmedsamy56 in
thomhurst/TUnit#7768
* feat: convert string [Arguments] through declared TypeConverters by
@​thomhurst in thomhurst/TUnit#7759
* ci: skip the scene manifest check for the Apple smoke app by
@​thomhurst in thomhurst/TUnit#7770
* fix: convert string [Arguments] to IParsable types under Native AOT by
@​thomhurst in thomhurst/TUnit#7761
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7749
* chore(deps): update dependency mockolate to v4 by @​thomhurst in
thomhurst/TUnit#7757
* chore(deps): update dependency
microsoft.templateengine.authoring.templateverifier to v11 by
@​thomhurst in thomhurst/TUnit#7718
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7751

## New Contributors
* @​ahmedsamy56 made their first contribution in
thomhurst/TUnit#7768

**Full Changelog**:
thomhurst/TUnit@v1.84.0...v1.85.0

## 1.84.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.84.0 -->

## What's Changed
### Other Changes
* docs: show TUnit Native AOT in the homepage JIT race by @​thomhurst in
thomhurst/TUnit#7724
* chore(deps): update remaining TUnit packages to 1.83.8 by @​thomhurst
in thomhurst/TUnit#7728
* bench: run build benchmarks without build servers by @​thomhurst in
thomhurst/TUnit#7730
* perf(sourcegen): avoid nested value-tuple pipeline shapes in hook and
polyfill generators by @​thomhurst in
thomhurst/TUnit#7734
* perf(sourcegen): make EquatableArray a class to cut cold-build JIT by
@​thomhurst in thomhurst/TUnit#7731
* perf(sourcegen): share one reference-type enabled flag across
generators by @​thomhurst in
thomhurst/TUnit#7733
* ci: exempt v2 issues from the stale bot by @​thomhurst in
thomhurst/TUnit#7744
* feat(reporters): add file and line to JUnit test cases by @​xanth in
thomhurst/TUnit#7738
* fix: restore the net8.0 target for the packaged libraries by
@​thomhurst in thomhurst/TUnit#7743
* fix: restore net8.0/net9.0 support on the netstandard2.0 assets by
@​thomhurst in thomhurst/TUnit#7742
### Dependencies
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7722
* chore(deps): update dependency system.commandline to v3 by @​thomhurst
in thomhurst/TUnit#7723
* chore(deps): update all non-major dependencies by @​thomhurst in
thomhurst/TUnit#7725
* chore(deps): update dependency awssdk.sqs to 4.1.0 by @​thomhurst in
thomhurst/TUnit#7737

## New Contributors
* @​xanth made their first contribution in
thomhurst/TUnit#7738

**Full Changelog**:
thomhurst/TUnit@v1.83.8...v1.84.0

Commits viewable in [compare
view](thomhurst/TUnit@v1.83.8...v1.87.12).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
Pull Requests — bf81d4f6 Deployed Nov 19, 2026 by thomhurst via modularpipeline (macos-latest) #21785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant