Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 21, 2025

This PR contains the following updates:

Package Change Age Confidence
Moq 4.17.2 β†’ 4.20.72 age 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:

πŸ”€ Merged:

v4.18.4

Full Changelog

✨ Implemented enhancements:

πŸ› Fixed bugs:

  • Verifying a protected generic method that returns a value is broken #​1314

πŸ”¨ Other:

  • invalid path on linux #​1353
  • Thread Safety issue in Moq reported by Infer# report #​1347
  • Moq should use CallBase to call default method from interfaces #​1345
  • Functionality Request. Verify Mock using the Mock Setup as base. #​1344
  • System.ArgumentException : Object of type 'Microsoft.DurableTask.TaskName' cannot be converted to type 'System.String' #​1343
  • Appveyor (CI): Strong name signature verification error fails builds & blocks next version release #​1340
  • Mocking derived classes of Exception results in .Object being null #​1337
  • base class can not be mocked #​1332
  • Verify(It.Is<T>(t => t.SomeProperty.Equals("SomeValue")), Times.Exactly(x)) isn't working as expected #​1331
  • Add/support Target Framework net7.0 #​1327
  • Mock method with Expression as parameter. #​1324
  • System.TypeLoadException : Could not load type 'Castle.Core.Internal.CollectionExtensions' from assembly 'Castle.Core, Version=5.0.0.0 after updating to Moq 4.18.4 #​1320
  • Weird exception when mocking interface with SignalRHubAttribute applied #​1308

πŸ”€ Merged:

v4.18.3

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.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: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, 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.

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