moq/moq (Moq)
### [`v4.20.72`](https://redirect.github.com/moq/moq/blob/HEAD/changelog.md#v42072-2024-09-07)
[Full Changelog](https://redirect.github.com/devlooped/moq/compare/v4.20.71...v4.20.72)
:hammer: Other:
- Question: Sponsorable Attribute in release v4.20.71 [#1513](https://redirect.github.com/devlooped/moq/issues/1513)
:twisted_rightwards_arrows: Merged:
- Remove unused attribute [#1515](https://redirect.github.com/devlooped/moq/pull/1515) ([@kzu](https://redirect.github.com/kzu))
### [`v4.20.71`](https://redirect.github.com/moq/moq/blob/HEAD/changelog.md#v42071-2024-09-03)
[Full Changelog](https://redirect.github.com/devlooped/moq/compare/v4.20.70...v4.20.71)
:bug: Fixed bugs:
- (To delete) [#1497](https://redirect.github.com/devlooped/moq/issues/1497)
- Documentation link gives 404 [#1495](https://redirect.github.com/devlooped/moq/issues/1495)
- mock.Protected().Verify() does not work correctly [#1493](https://redirect.github.com/devlooped/moq/issues/1493)
- Documentation link is broken [#1487](https://redirect.github.com/devlooped/moq/issues/1487)
- Moq library throwing TypeIniatilizationException. [#1459](https://redirect.github.com/devlooped/moq/issues/1459)
:hammer: Other:
- Documentation Unavailable Online [#1473](https://redirect.github.com/devlooped/moq/issues/1473)
- Supporting .NET8 [#1462](https://redirect.github.com/devlooped/moq/issues/1462)
- Some source code files is filled with comments like: "Unmerged change from project " [#1451](https://redirect.github.com/devlooped/moq/issues/1451)
- Question: would it make sense to call verify all on a strict mock when the mock gets disposed? [#1440](https://redirect.github.com/devlooped/moq/issues/1440)
- SponsorLink Integration Makes Moq Unuasable due to PII and GDPR Requirements [#1433](https://redirect.github.com/devlooped/moq/issues/1433)
- Default value ILookup<> in loose mode is `null` [#1391](https://redirect.github.com/devlooped/moq/issues/1391)
- Verifying a protected method when the exact parameter types are not statically known [#1339](https://redirect.github.com/devlooped/moq/issues/1339)
:twisted_rightwards_arrows: Merged:
- Remove spurious unmerged change comment from dotnet format [#1499](https://redirect.github.com/devlooped/moq/pull/1499) ([@kzu](https://redirect.github.com/kzu))
- Fix semantic error in MatchersFixture.cs test [#1496](https://redirect.github.com/devlooped/moq/pull/1496) ([@go-hoon](https://redirect.github.com/go-hoon))
- Update License.txt to use SPDX identifier for automatic recognition [#1471](https://redirect.github.com/devlooped/moq/pull/1471) ([@georg-eckert-zeiss](https://redirect.github.com/georg-eckert-zeiss))
- Additional Verify overload [#1463](https://redirect.github.com/devlooped/moq/pull/1463) ([@bkijonka](https://redirect.github.com/bkijonka))
### [`v4.20.70`](https://redirect.github.com/moq/moq/blob/HEAD/changelog.md#v42070-2023-11-28)
[Full Changelog](https://redirect.github.com/devlooped/moq/compare/v4.20.69...v4.20.70)
:hammer: Other:
- a minor changes to improve the readability [#1419](https://redirect.github.com/devlooped/moq/issues/1419)
- Poll on SponsorLink [#1415](https://redirect.github.com/devlooped/moq/issues/1415)
- Change log is not updated since version 4.18.4 [#1406](https://redirect.github.com/devlooped/moq/issues/1406)
- Stop using Moq as a guinea pig to get feedback on and develop SponsorLink [#1396](https://redirect.github.com/devlooped/moq/issues/1396)
- Permanently delete all data from SponsorLink's database that has been collected during builds that included Moq (notably any version 4.20.\*) [#1395](https://redirect.github.com/devlooped/moq/issues/1395)
- SponsorLink is now OSS too and no longer bundled [#1384](https://redirect.github.com/devlooped/moq/issues/1384)
- SponsorLink and supporting OSS more broadly [#1374](https://redirect.github.com/devlooped/moq/issues/1374)
- Performance issue with large interfaces [#1350](https://redirect.github.com/devlooped/moq/issues/1350)
:twisted_rightwards_arrows: Merged:
- A minor negation in GetDelay to make it more readable [#1419](https://redirect.github.com/moq/moq/issues/1419) [#1422](https://redirect.github.com/devlooped/moq/pull/1422) ([@iPazooki](https://redirect.github.com/iPazooki))
- Manually update CHANGELOG.md for now [#1407](https://redirect.github.com/devlooped/moq/pull/1407) ([@kzu](https://redirect.github.com/kzu))
- Restore GDPR compliance and privacy [#1402](https://redirect.github.com/devlooped/moq/pull/1402) ([@DanWillman](https://redirect.github.com/DanWillman))
- Improve performance for mocking interfaces: Cache GetInterfaceMap [#1351](https://redirect.github.com/devlooped/moq/pull/1351) ([@rauhs](https://redirect.github.com/rauhs))
### [`v4.20.69`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#42069-2023-08-11)
- Removed SponsorLink [https://github.com/moq/moq/pull/1375](https://redirect.github.com/moq/moq/pull/1375)
- Remove AWS sponsorship from readme by [@kzu](https://redirect.github.com/kzu) in [https://github.com/moq/moq/pull/1383](https://redirect.github.com/moq/moq/pull/1383)
- Add everyone how now DOES sponsor 🫶
### [`v4.20.2`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#4202-2023-08-09)
##### 🐛 Fixed bugs
- Remove SponsorLink since it breaks MacOS restore by [@kzu](https://redirect.github.com/kzu) in [https://github.com/moq/moq/pull/1375](https://redirect.github.com/moq/moq/pull/1375)
> NOTE: in addition, there were potential privacy issues raised with regards to the SHA256 hashing of
> user' email to check for sponsorship, so it won't be coming back until that's properly addressed
### [`v4.20.1`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#4201-2023-08-08)
##### ✨ Implemented enhancements
- Add Sponsor button to package readme 💜
### [`v4.20.0`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#4200-2023-08-07)
##### ✨ Implemented enhancements
- `Mock.RaiseAsync` method for raising "async" events, i.e. events that use a `Func<..., Task>` or `Func<..., ValueTask>` delegate. ([@stakx](https://redirect.github.com/stakx), [#1313](https://redirect.github.com/moq/moq/issues/1313))
- `setup.Verifiable(Times times, [string failMessage])` method to specify the expected number of calls upfront. `mock.Verify[All]` can then be used to check whether the setup was called that many times. The upper bound (maximum allowed number of calls) will be checked right away, i.e. whenever a setup gets called. ([@stakx](https://redirect.github.com/stakx), [#1319](https://redirect.github.com/moq/moq/issues/1319))
##### 🔨 Other
- Add `ThrowsAsync` for non-generic `ValueTask` by [@johnthcall](https://redirect.github.com/johnthcall) in [https://github.com/moq/moq/pull/1235](https://redirect.github.com/moq/moq/pull/1235)
- Use PackageLicenseExpression instead of PackageLicenseUrl by [@wismann](https://redirect.github.com/wismann) in [https://github.com/moq/moq/pull/1322](https://redirect.github.com/moq/moq/pull/1322)
- Don't throw away generic type arguments in one `mock.Protected().Verify()` method overload by [@stakx](https://redirect.github.com/stakx) in [https://github.com/moq/moq/pull/1325](https://redirect.github.com/moq/moq/pull/1325)
- [#1340](https://redirect.github.com/moq/moq/issues/1340) updated appveyor.yml with workaround to make builds work again by [@david-kalbermatten](https://redirect.github.com/david-kalbermatten) in [https://github.com/moq/moq/pull/1346](https://redirect.github.com/moq/moq/pull/1346)
- Revamp structure, apply oss template, cleanup projects/imports by [@kzu](https://redirect.github.com/kzu) in [https://github.com/moq/moq/pull/1358](https://redirect.github.com/moq/moq/pull/1358)
- Add 💜 SponsorLink support by [@kzu](https://redirect.github.com/kzu) in [https://github.com/moq/moq/pull/1363](https://redirect.github.com/moq/moq/pull/1363)
- fix website url by [@tibel](https://redirect.github.com/tibel) in [https://github.com/moq/moq/pull/1364](https://redirect.github.com/moq/moq/pull/1364)
##### Fixed
- Verifying a protected generic method that returns a value is broken ([@nthornton2010](https://redirect.github.com/nthornton2010), [#1314](https://redirect.github.com/moq/moq/issues/1314))
### [`v4.18.4`](https://redirect.github.com/moq/moq/blob/HEAD/changelog.md#v4184-2022-12-30)
[Full Changelog](https://redirect.github.com/devlooped/moq/compare/v4.18.3...v4.18.4)
:sparkles: Implemented enhancements:
- Improve a exception message for extension methods. [#1305](https://redirect.github.com/devlooped/moq/issues/1305)
- Mocking a method that takes an in parameter [#1301](https://redirect.github.com/devlooped/moq/issues/1301)
:bug: Fixed bugs:
- .NET Hot Reload breaks mocked interfaces and throws `IndexOutOfRangeException` [#1252](https://redirect.github.com/devlooped/moq/issues/1252)
:hammer: Other:
- Ignoring latest setup [#1311](https://redirect.github.com/devlooped/moq/issues/1311)
- Invocation count incorrect. Argument object is stored as reference and is changed incorrectly [#1309](https://redirect.github.com/devlooped/moq/issues/1309)
- Moq 4.18.3 Release still pending [#1302](https://redirect.github.com/devlooped/moq/issues/1302)
- Moq fails when a method with input parameter of type Expression\> is called [#1288](https://redirect.github.com/devlooped/moq/issues/1288)
- Use Moq as a proxy [#1287](https://redirect.github.com/devlooped/moq/issues/1287)
- TargetParameterCountException when using event Raise with Moq [#1285](https://redirect.github.com/devlooped/moq/issues/1285)
- Add CITATION.cff file [#1266](https://redirect.github.com/devlooped/moq/issues/1266)
- `MissingMethodException` when using new C# language features (`in` parameters, `init`-only setters, etc.) with generic methods, or with members in generic types [#1148](https://redirect.github.com/devlooped/moq/issues/1148)
:twisted_rightwards_arrows: Merged:
- Update version to 4.18.4 [#1318](https://redirect.github.com/devlooped/moq/pull/1318) ([@stakx](https://redirect.github.com/stakx))
- Update DynamicProxy to version 5.1.1 [#1317](https://redirect.github.com/devlooped/moq/pull/1317) ([@stakx](https://redirect.github.com/stakx))
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 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 contains the following updates:
4.18.3
->4.20.72
Release Notes
moq/moq (Moq)
### [`v4.20.72`](https://redirect.github.com/moq/moq/blob/HEAD/changelog.md#v42072-2024-09-07) [Full Changelog](https://redirect.github.com/devlooped/moq/compare/v4.20.71...v4.20.72) :hammer: Other: - Question: Sponsorable Attribute in release v4.20.71 [#1513](https://redirect.github.com/devlooped/moq/issues/1513) :twisted_rightwards_arrows: Merged: - Remove unused attribute [#1515](https://redirect.github.com/devlooped/moq/pull/1515) ([@kzu](https://redirect.github.com/kzu)) ### [`v4.20.71`](https://redirect.github.com/moq/moq/blob/HEAD/changelog.md#v42071-2024-09-03) [Full Changelog](https://redirect.github.com/devlooped/moq/compare/v4.20.70...v4.20.71) :bug: Fixed bugs: - (To delete) [#1497](https://redirect.github.com/devlooped/moq/issues/1497) - Documentation link gives 404 [#1495](https://redirect.github.com/devlooped/moq/issues/1495) - mock.Protected().Verify() does not work correctly [#1493](https://redirect.github.com/devlooped/moq/issues/1493) - Documentation link is broken [#1487](https://redirect.github.com/devlooped/moq/issues/1487) - Moq library throwing TypeIniatilizationException. [#1459](https://redirect.github.com/devlooped/moq/issues/1459) :hammer: Other: - Documentation Unavailable Online [#1473](https://redirect.github.com/devlooped/moq/issues/1473) - Supporting .NET8 [#1462](https://redirect.github.com/devlooped/moq/issues/1462) - Some source code files is filled with comments like: "Unmerged change from project " [#1451](https://redirect.github.com/devlooped/moq/issues/1451) - Question: would it make sense to call verify all on a strict mock when the mock gets disposed? [#1440](https://redirect.github.com/devlooped/moq/issues/1440) - SponsorLink Integration Makes Moq Unuasable due to PII and GDPR Requirements [#1433](https://redirect.github.com/devlooped/moq/issues/1433) - Default value ILookup<> in loose mode is `null` [#1391](https://redirect.github.com/devlooped/moq/issues/1391) - Verifying a protected method when the exact parameter types are not statically known [#1339](https://redirect.github.com/devlooped/moq/issues/1339) :twisted_rightwards_arrows: Merged: - Remove spurious unmerged change comment from dotnet format [#1499](https://redirect.github.com/devlooped/moq/pull/1499) ([@kzu](https://redirect.github.com/kzu)) - Fix semantic error in MatchersFixture.cs test [#1496](https://redirect.github.com/devlooped/moq/pull/1496) ([@go-hoon](https://redirect.github.com/go-hoon)) - Update License.txt to use SPDX identifier for automatic recognition [#1471](https://redirect.github.com/devlooped/moq/pull/1471) ([@georg-eckert-zeiss](https://redirect.github.com/georg-eckert-zeiss)) - Additional Verify overload [#1463](https://redirect.github.com/devlooped/moq/pull/1463) ([@bkijonka](https://redirect.github.com/bkijonka)) ### [`v4.20.70`](https://redirect.github.com/moq/moq/blob/HEAD/changelog.md#v42070-2023-11-28) [Full Changelog](https://redirect.github.com/devlooped/moq/compare/v4.20.69...v4.20.70) :hammer: Other: - a minor changes to improve the readability [#1419](https://redirect.github.com/devlooped/moq/issues/1419) - Poll on SponsorLink [#1415](https://redirect.github.com/devlooped/moq/issues/1415) - Change log is not updated since version 4.18.4 [#1406](https://redirect.github.com/devlooped/moq/issues/1406) - Stop using Moq as a guinea pig to get feedback on and develop SponsorLink [#1396](https://redirect.github.com/devlooped/moq/issues/1396) - Permanently delete all data from SponsorLink's database that has been collected during builds that included Moq (notably any version 4.20.\*) [#1395](https://redirect.github.com/devlooped/moq/issues/1395) - SponsorLink is now OSS too and no longer bundled [#1384](https://redirect.github.com/devlooped/moq/issues/1384) - SponsorLink and supporting OSS more broadly [#1374](https://redirect.github.com/devlooped/moq/issues/1374) - Performance issue with large interfaces [#1350](https://redirect.github.com/devlooped/moq/issues/1350) :twisted_rightwards_arrows: Merged: - A minor negation in GetDelay to make it more readable [#1419](https://redirect.github.com/moq/moq/issues/1419) [#1422](https://redirect.github.com/devlooped/moq/pull/1422) ([@iPazooki](https://redirect.github.com/iPazooki)) - Manually update CHANGELOG.md for now [#1407](https://redirect.github.com/devlooped/moq/pull/1407) ([@kzu](https://redirect.github.com/kzu)) - Restore GDPR compliance and privacy [#1402](https://redirect.github.com/devlooped/moq/pull/1402) ([@DanWillman](https://redirect.github.com/DanWillman)) - Improve performance for mocking interfaces: Cache GetInterfaceMap [#1351](https://redirect.github.com/devlooped/moq/pull/1351) ([@rauhs](https://redirect.github.com/rauhs)) ### [`v4.20.69`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#42069-2023-08-11) - Removed SponsorLink [https://github.com/moq/moq/pull/1375](https://redirect.github.com/moq/moq/pull/1375) - Remove AWS sponsorship from readme by [@kzu](https://redirect.github.com/kzu) in [https://github.com/moq/moq/pull/1383](https://redirect.github.com/moq/moq/pull/1383) - Add everyone how now DOES sponsor 🫶 ### [`v4.20.2`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#4202-2023-08-09) ##### 🐛 Fixed bugs - Remove SponsorLink since it breaks MacOS restore by [@kzu](https://redirect.github.com/kzu) in [https://github.com/moq/moq/pull/1375](https://redirect.github.com/moq/moq/pull/1375) > NOTE: in addition, there were potential privacy issues raised with regards to the SHA256 hashing of > user' email to check for sponsorship, so it won't be coming back until that's properly addressed ### [`v4.20.1`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#4201-2023-08-08) ##### ✨ Implemented enhancements - Add Sponsor button to package readme 💜 ### [`v4.20.0`](https://redirect.github.com/moq/moq/blob/HEAD/CHANGELOG.md#4200-2023-08-07) ##### ✨ Implemented enhancements - `MockConfiguration
📅 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 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.
This PR was generated by Mend Renovate. View the repository job log.