Release notes
*Sourced from [FakeItEasy's releases](https://github.com/FakeItEasy/FakeItEasy/releases).*
> ## 5.4.1
> ### Fixed
> * ReturnValue not set on completed call returned from `Fake.GetCalls` ([#1696](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1696))
>
> ## 5.4.0
> ### Changed
>
> ### New
> * Now targets netstandard2.1, as well as all the old favorites ([#1658](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1658))
> * Enhanced support for `ValueTask` and `ValueTask`, comparable to that for `Task` and `Task` ([#1658](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1658)):
> * a `ValueTask` [Dummy](https://fakeiteasy.readthedocs.io/en/stable/dummies/) is an actual completed `ValueTask`
> * a `ValueTask` Dummy is an actual `ValueTask` that is already completed and whose `Result` is a Dummy of type `TResult`, or a default `TResult` if no Dummy can be made for `TResult`
> * unconfigured Fake methods that accept a cancellation token and return a `ValueTask` (or `ValueTask`) will return a cancelled task object
> * new convenience overloads for configuring Fake methods that return `ValueTask` or `ValueTask`:
> * `Returns` and `ReturnsLazily` let you specify a value rather than a task, which [configures a method to return a completed task](https://fakeiteasy.readthedocs.io/en/stable/faking-async-methods/) whose result is the specified value
> * `ThrowsAsync` lets you [configure a method to return a failed task](https://fakeiteasy.readthedocs.io/en/stable/throwing-exceptions/#throwing-exceptions-from-an-async-method) whose `Exception` property is set to the given exception
>
> If your test project targets a framework compatible with .NET Standard 2.1 or higher, these last two features are available in the FakeItEasy package itself. Otherwise, you can access them by referencing the new [FakeItEasy.Extensions.ValueType NuGet package](https://www.nuget.org/packages/FakeItEasy.Extensions.ValueType).
> * Analyzers now target .NET Standard 2.0 ([#1667](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1667))
>
> ### Additional Items
> * Remove unused internal option to skip formatting of argument values ([#1665](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1665))
> * Parameterize approval tests ([#1669](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1669))
> * Support building only part of the target frameworks ([#1662](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1662))
> * Create a bot account for release process automation ([#1663](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1663))
>
> ## 5.3.0
> ### New
> * Make Dummy `ValueTuple`s' members Dummies, to match `Tuple` ([#1637](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1637))
> * Detect and reject an "argument constraint factory method" that produces multiple constraints ([#1628](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1628))
>
> ### Fixed
> * Stack overflow exception when concurrently creating two Dummies of a type that takes a parameter of its own type ([#1639](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1639))
> * Fakes that wrap another object are not considered to be equal to themselves ([#1630](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1630))
> * Exception thrown from argument constraint factory prevents detection of misused `A._`, `A.Ignored`, or `A.That` ([#1644](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1644))
> * Exception thrown by argument constraint factory is wrapped in `TargetInvocationException`, not `UserCallbackException` ([#1646](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1646))
> * Exceptions thrown by "action" callbacks are wrapped in `UserCallbackException` ([#1640](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1640))
>
> ### Additional Items
> * Build requires Visual Studio 2019 or Visual Studio Build Tools 2019, and tests now run against netcoreapp3.0 ([#1632](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1632))
> * Add parentheses to test method in quickstart ([#1621](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1621))
> * Pre-reduce nullable warnings ([#1620](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1620))
> * Check for nullity using `is null` or `is object` ([#1624](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1624))
> * Protect out and ref parameters value producer ([#1625](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1625))
> * Simplify type checking in `AnyCallRule` ([#1626](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1626))
> * Embed FakeItEasy icon in package ([#1627](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1627))
> * GitHub API calls fail during deployment ([#1618](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1618))
> * Fix capitalization of .NET in docs ([#1653](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1653))
> * Updated build tools ([#1631](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1631), [#1655](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1655))
> * [Bullseye](https://github.com/adamralph/bullseye) 3.0.0
> ... (truncated)
Commits
- [`822e991`](https://github.com/FakeItEasy/FakeItEasy/commit/822e9914c68f73e89d983f3c23b72a7eedaf3db7) Merge pull request [#1697](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1697) from thomaslevesque/fix-completedcall-returnvalue
- [`893e526`](https://github.com/FakeItEasy/FakeItEasy/commit/893e5262264777eca7154fa560c89eb8a47750f3) Fix doc for ICompletedFakeObjectCall.ReturnValue
- [`0bb4812`](https://github.com/FakeItEasy/FakeItEasy/commit/0bb48125771191dd9401414b9c7101fc9a329364) Record the return value on CompletedFakeObjectCall
- [`b13cba7`](https://github.com/FakeItEasy/FakeItEasy/commit/b13cba7381183d4993977eb699ad4d5cd964aa9c) Make CompletedFakeObjectCall not read-only
- [`5c27afd`](https://github.com/FakeItEasy/FakeItEasy/commit/5c27afd2555711affe2d603b3173ddd26c2828f4) Add failing specs showing return value isn't set
- [`c2c47b2`](https://github.com/FakeItEasy/FakeItEasy/commit/c2c47b2f729b305ef01acf7dd8abbaf51523f2a4) Merge pull request [#1668](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1668) from thomaslevesque/target-framework-sets
- [`2d1efaf`](https://github.com/FakeItEasy/FakeItEasy/commit/2d1efaf43f2dcbce7015c0cc4c0c5cca84df9401) Update documentation
- [`88d7700`](https://github.com/FakeItEasy/FakeItEasy/commit/88d7700b66d0c7f166afa4a33cddd3baf4fec34a) Move build profiles to separate files
- [`3fcff7e`](https://github.com/FakeItEasy/FakeItEasy/commit/3fcff7e8b894fa382c2cdc1c2835b1120b9a2830) Add support for user-defined props file
- [`2a5e445`](https://github.com/FakeItEasy/FakeItEasy/commit/2a5e4458b2196c21b1ce4e5a0860859fdc34ba73) Add target framework sets
- Additional commits viewable in [compare view](https://github.com/FakeItEasy/FakeItEasy/compare/4.3.0...5.4.1)
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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps FakeItEasy from 4.3.0 to 5.4.1.
Release notes
*Sourced from [FakeItEasy's releases](https://github.com/FakeItEasy/FakeItEasy/releases).* > ## 5.4.1 > ### Fixed > * ReturnValue not set on completed call returned from `Fake.GetCalls` ([#1696](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1696)) > > ## 5.4.0 > ### Changed > > ### New > * Now targets netstandard2.1, as well as all the old favorites ([#1658](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1658)) > * Enhanced support for `ValueTask` and `ValueTaskCommits
- [`822e991`](https://github.com/FakeItEasy/FakeItEasy/commit/822e9914c68f73e89d983f3c23b72a7eedaf3db7) Merge pull request [#1697](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1697) from thomaslevesque/fix-completedcall-returnvalue - [`893e526`](https://github.com/FakeItEasy/FakeItEasy/commit/893e5262264777eca7154fa560c89eb8a47750f3) Fix doc for ICompletedFakeObjectCall.ReturnValue - [`0bb4812`](https://github.com/FakeItEasy/FakeItEasy/commit/0bb48125771191dd9401414b9c7101fc9a329364) Record the return value on CompletedFakeObjectCall - [`b13cba7`](https://github.com/FakeItEasy/FakeItEasy/commit/b13cba7381183d4993977eb699ad4d5cd964aa9c) Make CompletedFakeObjectCall not read-only - [`5c27afd`](https://github.com/FakeItEasy/FakeItEasy/commit/5c27afd2555711affe2d603b3173ddd26c2828f4) Add failing specs showing return value isn't set - [`c2c47b2`](https://github.com/FakeItEasy/FakeItEasy/commit/c2c47b2f729b305ef01acf7dd8abbaf51523f2a4) Merge pull request [#1668](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1668) from thomaslevesque/target-framework-sets - [`2d1efaf`](https://github.com/FakeItEasy/FakeItEasy/commit/2d1efaf43f2dcbce7015c0cc4c0c5cca84df9401) Update documentation - [`88d7700`](https://github.com/FakeItEasy/FakeItEasy/commit/88d7700b66d0c7f166afa4a33cddd3baf4fec34a) Move build profiles to separate files - [`3fcff7e`](https://github.com/FakeItEasy/FakeItEasy/commit/3fcff7e8b894fa382c2cdc1c2835b1120b9a2830) Add support for user-defined props file - [`2a5e445`](https://github.com/FakeItEasy/FakeItEasy/commit/2a5e4458b2196c21b1ce4e5a0860859fdc34ba73) Add target framework sets - Additional commits viewable in [compare view](https://github.com/FakeItEasy/FakeItEasy/compare/4.3.0...5.4.1)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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)