cake-contrib / Cake.Incubator

This project contains various experimental but useful extension methods and aliases for Cake
http://cakebuild.net/api/Cake.Incubator/
Other
19 stars 26 forks source link

(maint): Bump FakeItEasy from 5.1.0 to 7.0.1 #140

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps FakeItEasy from 5.1.0 to 7.0.1.

Release notes

Sourced from FakeItEasy's releases.

7.0.1

Fixed

  • Using Argument constraints that have a parameter node with an unnatural Fake throws "Exception: Argument types do not match" (#1825)

Additional Items

  • Fix build warnings introduced with .NET SDK 5.0.201 (#1822)
  • Update tools-shared submodule (#1823, #1826)

With special thanks for contributions to this release from:

7.0.0

Changed

  • Registering a handler on a fake Wrapping an event does not work (#1795) Registering the handler will now work. This introduced a minor change on how events are intercepted and raised. It will be completely transparent to most users. Consult raising events documentation for more details about the current behavior.

Dropped Framework Support

  • No longer producing assemblies for unsupported frameworks .NET Framework 4.0 and .NET Standard 1.6 (#1798, #1802)

Deprecations

  • ClearConfiguration (#1767) To "unconfigure" a fake so it has default behavior, discard the fake and create a new one. If this is not feasible, for example because you wish to remove the configuration in the middle of a test and the system under test already holds the fake, see Changing behavior between calls.

New Framework Support

  • Produce new assemblies that target .NET 5.0 directly (#1803)

New

  • Add EqualTo overload with equality comparer (#1810)
  • Introduce An for argument constraints (#1819)
  • Better extension point scanning (#1813) now FakeItEasy searches the following assemblies for classes that implement the various extensions points:
    • its own assembly,
    • assemblies already loaded in the current AppDomain, if they reference FakeItEasy,
    • assemblies referenced by assemblies from the previous bullet point, if they reference FakeItEasy,
    • additional assemblies identified by the Bootstrapper's GetAssemblyFileNamesToScanForExtensions method, if they reference FakeItEasy
  • Support specifying number of calls when using Invokes and no additional member configuration (#1812): Previously DoesNothing would be required in the chain, so
    A.CallTo(() => fake.Method()).Invokes(…).DoesNothing().Once()
    
    can now be written
    A.CallTo(() => fake.Method()).Invokes(…).Once()
    

Fixed

  • Fixed some typos in documentation (#1793)

... (truncated)

Commits
  • 87c7aba Merge pull request #1827 from blairconrad/unnatural-constraints
  • f8644d5 Support parameterful argument matchers within unnatural Fakes' CallsTo
  • c16b54e Merge pull request #1826 from blairconrad/new-tools-shared
  • e56c68f Use tools-shared that copies release checklist labels
  • c2852f5 Merge pull request #1823 from thomaslevesque/update-submodule
  • 28a31d8 Update tools-shared submodule
  • 489548a Merge pull request #1822 from thomaslevesque/fix-warnings
  • 5a3de9a Fix nullability warning
  • 514b2b4 Suppress CA2237
  • 8e7e0cc Fix warnings in build script
  • 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[bot] commented 3 years ago

Superseded by #142.