Skip to content

Conversation

@dependabot-preview
Copy link

Bumps FakeItEasy from 5.1.1 to 5.5.0.

Release notes

Sourced from FakeItEasy's releases.

5.5.0

New

  • Fake.TryGetFakeManager and Fake.IsFake methods (#1709)

With special thanks for contributions to this release from:

5.4.1

Fixed

  • ReturnValue not set on completed call returned from Fake.GetCalls (#1696)

5.4.0

Changed

New

  • Now targets netstandard2.1, as well as all the old favorites (#1658)

  • Enhanced support for ValueTask and ValueTask<TResult>, comparable to that for Task and Task<TResult> (#1658):

    • a ValueTask Dummy is an actual completed ValueTask
    • a ValueTask<TResult> Dummy is an actual ValueTask<TResult> 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<T>) will return a cancelled task object
    • new convenience overloads for configuring Fake methods that return ValueTask or ValueTask<T>:

    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.

  • Analyzers now target .NET Standard 2.0 (#1667)

Additional Items

  • Remove unused internal option to skip formatting of argument values (#1665)
  • Parameterize approval tests (#1669)
  • Support building only part of the target frameworks (#1662)
  • Create a bot account for release process automation (#1663)

5.3.0

New

  • Make Dummy ValueTuples' members Dummies, to match Tuple (#1637)
  • Detect and reject an "argument constraint factory method" that produces multiple constraints (#1628)

Fixed

  • Stack overflow exception when concurrently creating two Dummies of a type that takes a parameter of its own type (#1639)
  • Fakes that wrap another object are not considered to be equal to themselves (#1630)
  • Exception thrown from argument constraint factory prevents detection of misused A<T>._, A<T>.Ignored, or A<T>.That (#1644)
  • Exception thrown by argument constraint factory is wrapped in TargetInvocationException, not UserCallbackException (#1646)
  • Exceptions thrown by "action" callbacks are wrapped in UserCallbackException (#1640)

Additional Items

  • Build requires Visual Studio 2019 or Visual Studio Build Tools 2019, and tests now run against netcoreapp3.0 (#1632)
  • Add parentheses to test method in quickstart (#1621)
  • Pre-reduce nullable warnings (#1620)
  • Check for nullity using is null or is object (#1624)
... (truncated)
Commits
  • bec73fa Merge pull request #1713 from blairconrad/fix-fakespecs-spec-text
  • 8719e71 Fix typo in FakeSpecs spec text
  • 07989d2 Merge pull request #1712 from asgerhallas/support/5.x
  • 29170ef Adhere to project style
  • 03cbd5e Review fixes for tests
  • 18e57b9 Porting new Fake.TryGetFakeManager tests to specs
  • ff30890 Approved API changes for approval tests
  • ebeffc8 Fix for issue #1709
  • 822e991 Merge pull request #1697 from thomaslevesque/fix-completedcall-returnvalue
  • 893e526 Fix doc for ICompletedFakeObjectCall.ReturnValue
  • 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 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:

  • 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](https://github.com/FakeItEasy/FakeItEasy) from 5.1.1 to 5.5.0.
- [Release notes](https://github.com/FakeItEasy/FakeItEasy/releases)
- [Commits](FakeItEasy/FakeItEasy@5.1.1...5.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 26, 2019
@dependabot-preview dependabot-preview bot requested a review from dnyvik November 26, 2019 04:34
@dependabot-preview
Copy link
Author

Superseded by #42.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/FakeItEasy-5.5.0 branch January 20, 2020 04:33
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants