Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 16, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Moq 4.17.2 -> 4.20.72 age adoption passing confidence

Release Notes

moq/moq (Moq)

v4.20.72

Full Changelog

🔨 Other:

  • Question: Sponsorable Attribute in release v4.20.71 #​1513

🔀 Merged:

v4.20.71

Full Changelog

🐛 Fixed bugs:

🔨 Other:

  • Documentation Unavailable Online #​1473
  • Some source code files is filled with comments like: "Unmerged change from project " #​1451
  • Question: would it make sense to call verify all on a strict mock when the mock gets disposed? #​1440
  • SponsorLink Integration Makes Moq Unuasable due to PII and GDPR Requirements #​1433
  • Default value ILookup<> in loose mode is null #​1391
  • Verifying a protected method when the exact parameter types are not statically known #​1339

🔀 Merged:

v4.20.70

Full Changelog

🔨 Other:

  • a minor changes to improve the readability #​1419
  • Change log is not updated since version 4.18.4 #​1406
  • Stop using Moq as a guinea pig to get feedback on and develop SponsorLink #​1396
  • Permanently delete all data from SponsorLink's database that has been collected during builds that included Moq (notably any version 4.20.*) #​1395
  • SponsorLink is now OSS too and no longer bundled #​1384
  • Performance issue with large interfaces #​1350

🔀 Merged:

v4.20.69

Full Changelog

🔨 Other:

  • Trouble to unit test a lambda expression with Moq #​1387
  • Strange System.UnauthorizedAccessException during build using latest version #​1377
  • Privacy issues with SponsorLink, starting from version 4.20 #​1372
  • Upgrading to version 4.20.1 breaks the build #​1371
  • Warnings with latest version from SponsorLink #​1370
  • Missing License Information In Nuget metadata #​1348

🔀 Merged:

v4.20.2

Full Changelog

🐛 Fixed bugs:

🔨 Other:

  • Running unit tests through Rider causes AD0001 : Analyzer 'Moq.SponsorLinker' threw an exception of type 'System.UnauthorizedAccessException' #​1369

v4.20.1

Full Changelog

v4.20.0

Full Changelog

🔨 Other:

  • Documentation link in readme is broken #​1349

🔀 Merged:

v4.18.4

Full Changelog

✨ Implemented enhancements:

  • Improve a exception message for extension methods. #​1305
  • Mocking a method that takes an in parameter #​1301

🐛 Fixed bugs:

  • .NET Hot Reload breaks mocked interfaces and throws IndexOutOfRangeException #​1252

🔨 Other:

  • Ignoring latest setup #​1311
  • Invocation count incorrect. Argument object is stored as reference and is changed incorrectly #​1309
  • Moq 4.18.3 Release still pending #​1302
  • Moq fails when a method with input parameter of type Expression<Func<T,bool>> is called #​1288
  • Use Moq as a proxy #​1287
  • TargetParameterCountException when using event Raise with Moq #​1285
  • Add CITATION.cff file #​1266
  • MissingMethodException when using new C# language features (in parameters, init-only setters, etc.) with generic methods, or with members in generic types #​1148

🔀 Merged:

v4.18.3

Full Changelog

🐛 Fixed bugs:

  • SetupAllProperties crashes when invoked on a Mock<T> subclass #​1278

🔨 Other:

  • Testing non virtual public methods #​1303
  • Mocking dependency with in keyword parameter does not match #​1292
  • System.InvalidProgramException : Cannot create boxed ByRef-like values. #​1286
  • Does ReturnsAsnyc not available for protected setup? #​1264
  • Mocking Static Abstract Interface Methods? #​1238

🔀 Merged:

v4.18.2

Full Changelog

🐛 Fixed bugs:

  • "Expression is not an event add" when using .Raises() #​1175

🔨 Other:

  • Improperly throws System.TypeLoadException on mock when a record has a base record on dotnet 6 #​1273
  • Performance Issues After Version 4.12.0 #​1269
  • Mixing "property behavior" and "Setup for properties" broken (or at least changed) in 4.17.1 #​1265
  • MissingMethodException when mocking interface with sealed default implementation #​1209
  • Can't raise non-virtual async event #​977

🔀 Merged:

v4.18.1

Full Changelog

✨ Implemented enhancements:

  • [Feature Request] Allow to change MockBehavior of mocks #​1230

🐛 Fixed bugs:

  • Difference in behavior when mocking async method using .Result vs without #​1253
  • Setup property doesn't work as expected #​1248
  • Update from 4.13.1 to 4.16.1 lazy evaluation setups fail #​1217

🔨 Other:

  • Absence of a clause in the documentation about the lack of support for sealed methods #​1256
  • moqthis.com is down #​1244
  • Setup return value fails in a constellation with nullable ints #​1223

🔀 Merged:

v4.18.0

Full Changelog

🐛 Fixed bugs:

  • Failure when invoking a method with by-ref parameter & mockable return type on a mock with CallBase and DefaultValue.Mock configured #​1249
  • Placeholder in exception is not filled out #​1246

🔨 Other:

  • sealed method mock calls actual method instead of mocked #​1255
  • Unable to call base interface getter with cast without explicit setup. #​1254
  • Moq is using Castle.Core which has an old version of System.Net.Http which is vulnerable to "DoS", "Spoofing", "Privilege Escalation", "Authentication Bypass" and "Information Exposure" #​1219
  • Can't set up "private protected" properties #​1170

🔀 Merged:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) May 16, 2025 02:45
@renovate renovate bot merged commit 8527d83 into master May 16, 2025
1 of 2 checks passed
@renovate renovate bot deleted the renovate/moq-4.x branch May 16, 2025 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant