Release notes
*Sourced from [FakeItEasy's releases](https://github.com/FakeItEasy/FakeItEasy/releases).*
> ## 5.5.0
> ### New
> * `Fake.TryGetFakeManager` and `Fake.IsFake` methods ([#1709](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1709))
>
> ### With special thanks for contributions to this release from:
> * Asger Hallas - [@asgerhallas](https://github.com/asgerhallas)
>
> ## 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))
> ... (truncated)
Commits
- [`bec73fa`](https://github.com/FakeItEasy/FakeItEasy/commit/bec73faf55aaa8e2b52bd3ba958a2a8d2e5db4f7) Merge pull request [#1713](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1713) from blairconrad/fix-fakespecs-spec-text
- [`8719e71`](https://github.com/FakeItEasy/FakeItEasy/commit/8719e711c591bae9592167f7901faa71c3dcc404) Fix typo in FakeSpecs spec text
- [`07989d2`](https://github.com/FakeItEasy/FakeItEasy/commit/07989d24e0e5b219cd56cebf183be77c75bc2f52) Merge pull request [#1712](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1712) from asgerhallas/support/5.x
- [`29170ef`](https://github.com/FakeItEasy/FakeItEasy/commit/29170efda3255a95dfd08b01a204fa5292adeb44) Adhere to project style
- [`03cbd5e`](https://github.com/FakeItEasy/FakeItEasy/commit/03cbd5e2b9f83d862bfc23f07e9a94f1393cd616) Review fixes for tests
- [`18e57b9`](https://github.com/FakeItEasy/FakeItEasy/commit/18e57b9289ddd02ea65a5161ba5722cec159dc78) Porting new Fake.TryGetFakeManager tests to specs
- [`ff30890`](https://github.com/FakeItEasy/FakeItEasy/commit/ff308906dc989a827228949d8909b92b754f4ded) Approved API changes for approval tests
- [`ebeffc8`](https://github.com/FakeItEasy/FakeItEasy/commit/ebeffc8f5c24d8b9968247a124b08fe91f230a65) Fix for issue [#1709](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1709)
- [`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
- Additional commits viewable in [compare view](https://github.com/FakeItEasy/FakeItEasy/compare/4.3.0...5.5.0)
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.5.0.
Release notes
*Sourced from [FakeItEasy's releases](https://github.com/FakeItEasy/FakeItEasy/releases).* > ## 5.5.0 > ### New > * `Fake.TryGetFakeManager` and `Fake.IsFake` methods ([#1709](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1709)) > > ### With special thanks for contributions to this release from: > * Asger Hallas - [@asgerhallas](https://github.com/asgerhallas) > > ## 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
- [`bec73fa`](https://github.com/FakeItEasy/FakeItEasy/commit/bec73faf55aaa8e2b52bd3ba958a2a8d2e5db4f7) Merge pull request [#1713](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1713) from blairconrad/fix-fakespecs-spec-text - [`8719e71`](https://github.com/FakeItEasy/FakeItEasy/commit/8719e711c591bae9592167f7901faa71c3dcc404) Fix typo in FakeSpecs spec text - [`07989d2`](https://github.com/FakeItEasy/FakeItEasy/commit/07989d24e0e5b219cd56cebf183be77c75bc2f52) Merge pull request [#1712](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1712) from asgerhallas/support/5.x - [`29170ef`](https://github.com/FakeItEasy/FakeItEasy/commit/29170efda3255a95dfd08b01a204fa5292adeb44) Adhere to project style - [`03cbd5e`](https://github.com/FakeItEasy/FakeItEasy/commit/03cbd5e2b9f83d862bfc23f07e9a94f1393cd616) Review fixes for tests - [`18e57b9`](https://github.com/FakeItEasy/FakeItEasy/commit/18e57b9289ddd02ea65a5161ba5722cec159dc78) Porting new Fake.TryGetFakeManager tests to specs - [`ff30890`](https://github.com/FakeItEasy/FakeItEasy/commit/ff308906dc989a827228949d8909b92b754f4ded) Approved API changes for approval tests - [`ebeffc8`](https://github.com/FakeItEasy/FakeItEasy/commit/ebeffc8f5c24d8b9968247a124b08fe91f230a65) Fix for issue [#1709](https://github-redirect.dependabot.com/FakeItEasy/FakeItEasy/issues/1709) - [`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 - Additional commits viewable in [compare view](https://github.com/FakeItEasy/FakeItEasy/compare/4.3.0...5.5.0)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)