Darker
Darker copied to clipboard
Bump Moq from 4.17.2 to 4.18.2
Bumps Moq from 4.17.2 to 4.18.2.
Changelog
Sourced from Moq's changelog.
4.18.2 (2022-08-02)
Changed
- Update package reference to
Castle.Core
(DynamicProxy) from version 5.0.0 to 5.1.0 (@stakx
, #1275)- Removed dependency on
System.Threading.Tasks.Extensions
fornetstandard2.1
andnet6.0
(@tibel
, #1274)Fixed
- "Expression is not an event add" when using
.Raises()
with redeclared event (@howcheng
, #1175)MissingMethodException
when mocking interface with sealed default implementation (@pjquirk
, #1209)- Throws
TypeLoadException
on mock when a record has a base record on .NET 6 (@tgrieger-sf
, #1273)4.18.1 (2022-05-16)
Fixed
- Regression with lazy evaluation of
It.Is
predicates in setup expressions after updating from 4.13.1 to 4.16.1 (@b3go
, #1217)- Regression with
SetupProperty
where Moq fails to match a property accessor implementation against its definition in an interface (@Naxemar
, #1248)- Difference in behavior when mocking async method using
.Result
vs without (@cyungmann
, #1253)4.18.0 (2022-05-12)
New major version of DynamicProxy (you may get better performance!), so please update with care.
Changed
- Update package reference to
Castle.Core
(DynamicProxy) from version 4.4.1 to 5.0.0 (@stakx
, #1257)- Adjusted our target frameworks to match DynamicProxy's (see their discussion about which frameworks to target):
- minimum .NET Framework version raised from
net45
tonet462
- additional
net6.0
TFMFixed
- Can't set up "private protected" properties (
@RobSiklos
, #1170)- Using [...] an old version of
System.Net.Http
which is vulnerable to "DoS", "Spoofing", "Privilege Escalation", "Authentication Bypass" and "Information Exposure" (@sidseter
, #1219)- Failure when invoking a method with by-ref parameter & mockable return type on a mock with
CallBase
andDefaultValue.Mock
configured (@IanKemp
, #1249)
Commits
c60833d
Final polish for version 4.18.228d462a
Merge pull request #1277 from stakx/default-interface-methodsdb44a87
Update changeloge8d13c2
Add regression test for interface with partial default impla54d18b
Merge pull request #1276 from stakx/redeclared-eventse52a695
Update changelog8f29b53
Add regression tests for subscribing to & raising redeclared event4ab6ce1
Merge pull request #1275 from stakx/records6878a90
Update changeloga564817
Upgrade Castle.Core to version 5.1.0- Additional commits viewable in compare view
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 merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)