Skip to content

chore: Bump Moq from 4.20.72 to 4.21.0 - #873

Merged
mergify[bot] merged 1 commit into
mainfrom
dependabot/nuget/Moq-4.21.0
Sep 28, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
dependabot/nuget/Moq-4.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor

Updated Moq from 4.20.72 to 4.21.0.

Release notes

Sourced from Moq's releases.

4.21.0

What's Changed

✨ Implemented enhancements

🐛 Fixed bugs

🔨 Other

New Contributors

Full Changelog: devlooped/moq@v4.20.72...v4.21.0

Sponsors

The following sponsors made this release possible: @​clarius, @​MFB-Technologies-Inc, @​sandrock, @​drivenet, @​Keflon, @​tbolon, @​rbnswartz, @​jfoshee, @​Mrxx99, @​eajhnsn1, @​Jonathan-Hickey, @​KenBonny, @​SimonCropp, @​agileworks-eu, @​arsdragonfly, @​vezel-dev, @​ChilliCream, @​4OTC, @​DominicSchell, @​adalon, @​torutek, @​mccaffers, @​SeikaLogiciel, @​wizardness, @​eska-gmbh, @​geodata-no.

Thanks 💜

Commits viewable in compare view.

Dependabot compatibility score

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 commands and options

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Moq
  dependency-version: 4.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 28, 2026
@github-actions

Copy link
Copy Markdown

Test Results

    24 files  ±0      24 suites  ±0   10m 37s ⏱️ +5s
 4 522 tests ±0   4 520 ✅ ±0  2 💤 ±0  0 ❌ ±0 
28 635 runs  ±0  28 631 ✅ ±0  4 💤 ±0  0 ❌ ±0 

Results for commit af1d997. ± Comparison against base commit d9c3e2b.

@mergify
mergify Bot merged commit e9e3a5d into main Sep 28, 2026
16 checks passed
@mergify
mergify Bot deleted the dependabot/nuget/Moq-4.21.0 branch September 28, 2026 08:49
@github-actions

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
[Host] : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Method N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 364.3 ns 5.56 ns 4.64 ns 0.74 1.93 KB 1.00
Mockolate 1 491.8 ns 10.69 ns 10.00 ns 1.00 1.93 KB 1.00
Imposter 1 596.7 ns 5.88 ns 4.59 ns 1.21 4.04 KB 2.09
TUnitMocks 1 486.5 ns 13.42 ns 12.56 ns 0.99 2.02 KB 1.04
Moq 1 187,569.9 ns 1,421.74 ns 1,260.34 ns 381.56 14.58 KB 7.55
NSubstitute 1 6,106.1 ns 59.27 ns 55.44 ns 12.42 9.12 KB 4.72
FakeItEasy 1 6,311.0 ns 50.81 ns 47.53 ns 12.84 8.05 KB 4.17
baseline* 10 645.6 ns 8.06 ns 7.54 ns 0.95 2.14 KB 1.00
Mockolate 10 679.1 ns 7.77 ns 6.89 ns 1.00 2.14 KB 1.00
Imposter 10 1,230.2 ns 39.22 ns 36.69 ns 1.81 5.52 KB 2.58
TUnitMocks 10 1,419.9 ns 18.15 ns 16.09 ns 2.09 3.73 KB 1.74
Moq 10 193,927.7 ns 1,804.81 ns 1,688.23 ns 285.57 18.48 KB 8.63
NSubstitute 10 9,878.0 ns 197.18 ns 174.80 ns 14.55 12.07 KB 5.64
FakeItEasy 10 9,536.9 ns 125.58 ns 117.47 ns 14.04 15.42 KB 7.20
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
[Host] : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Event Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 326.3 ns 6.33 ns 5.92 ns 1.13 1.7 KB 1.00
Mockolate 288.4 ns 8.68 ns 8.12 ns 1.00 1.7 KB 1.00
Imposter 1,448.5 ns 22.15 ns 19.63 ns 5.03 8.8 KB 5.17
TUnitMocks 177.1 ns 1.09 ns 1.02 ns 0.61 1.34 KB 0.79
Moq 15,536.1 ns 84.13 ns 78.70 ns 53.92 12.51 KB 7.35
NSubstitute 5,539.9 ns 13.53 ns 11.30 ns 19.23 9.05 KB 5.31
FakeItEasy 210,885.0 ns 583.63 ns 545.93 ns 731.87 15.26 KB 8.96
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
[Host] : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Callback Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 372.7 ns 8.54 ns 7.99 ns 1.96 1.57 KB 1.00
Mockolate 190.3 ns 2.82 ns 2.35 ns 1.00 1.57 KB 1.00
Imposter 221.4 ns 3.08 ns 2.73 ns 1.16 2.38 KB 1.52
TUnitMocks 314.7 ns 7.40 ns 6.56 ns 1.65 1.99 KB 1.27
Moq 29,400.1 ns 276.85 ns 245.42 ns 154.55 8.96 KB 5.71
NSubstitute 2,280.5 ns 47.97 ns 44.87 ns 11.99 7.71 KB 4.91
FakeItEasy 2,371.7 ns 47.91 ns 40.01 ns 12.47 6.81 KB 4.33
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.66GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
[Host] : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Indexer N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 975.8 ns 41.38 ns 38.71 ns 1.04 3.77 KB 1.00
Mockolate 1 941.7 ns 19.42 ns 18.16 ns 1.00 3.77 KB 1.00
Imposter 1 897.6 ns 23.74 ns 22.20 ns 0.95 5.16 KB 1.37
Moq 1 219,897.3 ns 866.71 ns 768.32 ns 233.58 20.48 KB 5.44
NSubstitute 1 10,287.5 ns 45.36 ns 42.43 ns 10.93 12.84 KB 3.41
FakeItEasy 1 13,075.1 ns 31.92 ns 28.30 ns 13.89 13.63 KB 3.62
baseline* 10 2,502.0 ns 20.78 ns 19.44 ns 0.79 4.82 KB 1.00
Mockolate 10 3,177.3 ns 29.06 ns 27.18 ns 1.00 4.82 KB 1.00
Imposter 10 2,113.1 ns 37.62 ns 35.19 ns 0.67 7.97 KB 1.65
Moq 10 228,898.8 ns 718.92 ns 637.30 ns 72.05 30 KB 6.22
NSubstitute 10 25,131.9 ns 166.81 ns 156.04 ns 7.91 25.63 KB 5.32
FakeItEasy 10 27,215.4 ns 303.24 ns 283.65 ns 8.57 32.97 KB 6.84
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
[Host] : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

CreateMock Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 18.71 ns 0.598 ns 0.560 ns 0.93 160 B 1.00
Mockolate 20.13 ns 0.268 ns 0.250 ns 1.00 160 B 1.00
Imposter 325.08 ns 3.209 ns 3.002 ns 16.15 2248 B 14.05
TUnitMocks 42.16 ns 0.195 ns 0.182 ns 2.09 200 B 1.25
Moq 1,595.35 ns 9.976 ns 9.332 ns 79.26 2096 B 13.10
NSubstitute 2,239.13 ns 24.325 ns 22.753 ns 111.24 5048 B 31.55
FakeItEasy 2,151.14 ns 41.022 ns 36.365 ns 106.87 2763 B 17.27
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
[Host] : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Property N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 530.6 ns 21.77 ns 20.37 ns 1.00 2.41 KB 1.00
Mockolate 1 530.3 ns 14.20 ns 13.28 ns 1.00 2.41 KB 1.00
Imposter 1 458.1 ns 12.56 ns 11.75 ns 0.86 3.13 KB 1.29
TUnitMocks 1 454.3 ns 2.88 ns 2.69 ns 0.86 1.64 KB 0.68
Moq 1 11,937.7 ns 65.37 ns 54.59 ns 22.52 10.39 KB 4.30
NSubstitute 1 7,399.6 ns 37.49 ns 33.23 ns 13.96 11.45 KB 4.74
FakeItEasy 1 8,200.7 ns 45.70 ns 40.52 ns 15.47 11.24 KB 4.66
baseline* 10 1,057.0 ns 6.93 ns 5.79 ns 0.97 2.91 KB 1.00
Mockolate 10 1,090.1 ns 7.94 ns 7.43 ns 1.00 2.91 KB 1.00
Imposter 10 1,131.9 ns 19.29 ns 18.05 ns 1.04 4.67 KB 1.61
TUnitMocks 10 1,585.9 ns 10.25 ns 9.08 ns 1.45 3.94 KB 1.35
Moq 10 18,951.4 ns 57.77 ns 54.04 ns 17.39 18.28 KB 6.29
NSubstitute 10 16,776.7 ns 79.82 ns 70.76 ns 15.39 21.08 KB 7.25
FakeItEasy 10 19,533.2 ns 83.41 ns 73.94 ns 17.92 30.81 KB 10.60

baseline* rows show the corresponding Mockolate benchmark from the most recent successful main branch build with results, for regression comparison.

github-actions Bot added a commit that referenced this pull request Sep 28, 2026
github-actions Bot added a commit that referenced this pull request Sep 28, 2026
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

This is addressed in release v3.5.2.

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

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants