Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 4, 2022

Bumps Moq from 4.16.1 to 4.18.1.

Changelog

Sourced from Moq's changelog.

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

Fixed

  • 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 and DefaultValue.Mock configured (@​IanKemp, #1249)

4.17.2 (2022-03-06)

Fixed

4.17.1 (2022-02-26)

Added

  • SetupSet, VerifySet methods for mock.Protected().As<>() (@​tonyhallett, #1165)
  • New Throws method overloads that allow specifying a function with or without parameters, to provide an exception, for example .Throws(() => new InvalidOperationException()) and Setup(x => x.GetFooAsync(It.IsAny<string>()).Result).Throws((string s) => new InvalidOperationException(s)). (@​adam-knights, #1191)

Changed

  • Update package reference to Castle.Core (DynamicProxy) from version 4.4.0 to 4.4.1 (@​stakx, #1233)

Fixed

  • The guard against unmatchable matchers (added in #900) was too strict; relaxed it to enable an alternative user-code shorthand _ for It.IsAny<>() (@​adamfk, #1199)
  • mock.Protected() setup methods fail when argument is of type Expression (@​tonyhallett, #1189)

... (truncated)

Commits
  • ecd5404 Update version to 4.18.1
  • c969604 Merge pull request #1262 from stakx/bugfix/lazy-setup-expr-evaluation
  • dee0746 Update the changelog
  • 819f315 Optimize capture evaluation during expr comparison
  • 3535d7a Leave quoted exprs unchanged when evaluating captures
  • 37b24ad Add failing test re: lazy evaluation of It.Is predicates
  • 6c7e7a1 Update link to documentation website
  • 6e98431 Move changelog entry to correct release
  • a844d5e Merge pull request #1260 from stakx/bugfix/stubbedpropertysetup-ismatch
  • 7a7a76b Update the changelog
  • Additional 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 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)

@dependabot dependabot bot requested a review from the-avid-engineer as a code owner July 4, 2022 07:10
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jul 4, 2022
@the-avid-engineer the-avid-engineer self-assigned this Jul 4, 2022
@the-avid-engineer the-avid-engineer added this to the 7.1.0 milestone Jul 4, 2022
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from d929bcb to 102c17c Compare July 4, 2022 07:25
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from 102c17c to f2f5a9b Compare July 4, 2022 07:27
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from f2f5a9b to dada9ea Compare July 4, 2022 07:50
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from dada9ea to eb9288f Compare July 4, 2022 07:53
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from eb9288f to 7cb2e1a Compare July 4, 2022 07:53
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from 7cb2e1a to fea766a Compare July 4, 2022 07:58
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from fea766a to ccb4482 Compare July 4, 2022 08:03
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from ccb4482 to 0b2e776 Compare July 4, 2022 08:20
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from 0b2e776 to dbef833 Compare July 4, 2022 08:32
Bumps [Moq](https://github.com/moq/moq4) from 4.16.1 to 4.18.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md)
- [Commits](devlooped/moq@v4.16.1...v4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/Moq-4.18.1 branch from dbef833 to d2b962b Compare July 4, 2022 08:35
@the-avid-engineer the-avid-engineer temporarily deployed to beta July 4, 2022 08:45 Inactive
@the-avid-engineer the-avid-engineer merged commit af1098e into main Jul 4, 2022
@the-avid-engineer the-avid-engineer deleted the dependabot/nuget/Moq-4.18.1 branch July 4, 2022 08:48
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant