Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency fakeiteasy to v8 #117

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 25, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
FakeItEasy (source) 7.4.0 -> 8.1.0 age adoption passing confidence

Release Notes

FakeItEasy/FakeItEasy (FakeItEasy)

v8.1.0

Compare Source

Changed
New
  • Provide a mechanism for capturing arguments passed to Fakes (#​1950):
    var capturedMessage = A.Captured<string>();
    
    var logger = A.Fake<IListLogger>();
    A.CallTo(() => logger.Log(capturedMessage._, An<IEnumerable<int>>._)).DoesNothing();
    
    var calculator = new Calculator(logger);
    calculator.Add([1, 2, 3, 4]);
    calculator.Square(7);
    
    capturedMessage.Values.Should().Equal("about to add", "about to square");
Fixed
  • Argument matchers trigger even if the rule they're part of has already fired the maximum number of times (#​1975)
Additional Items
  • Upgrade StyleCop (#​1979)
  • Suppress NU1902,NU1903 in tests, recipes (#​1981)
  • Include README in NuGet package (#​1980)
With special thanks for contributions to this release from:

v8.0.1

Compare Source

Fixed
  • DoesNothing and implicit creation options throws ArgumentException (#​1976)
Additional Items
With special thanks for contributions to this release from:

v8.0.0

Compare Source

Changed
  • Upgrade Castle.Core to 5.1.1 (#​1925)

  • Match enumerable arguments by comparing contents rather than via Equals (#​1960)

    This is technically a breaking change, but it's pretty unlikely that anyone was relying on the old behavior. Only if someone were passing an enumerable to a call specification and either

    • relying on the reference equality to fail, or
    • the argument's type has overridden Equals with an implementation that does not compare the sequence item-by-item as we propose to do

    would it be an unwelcome surprise.

Removed
  • net5.0 target framework assembly (#​1936)
New
  • net6.0 target framework assembly (#​1936)
  • Registry of argument comparers (#​1952, #​1961)
    Discoverable argument comparers can be implemented by deriving from ArgumentEqualityComparer<T> or implementing IArgumentEqualityComparer. Learn more at Custom Argument Equality.
  • Match enumerable arguments by comparing contents rather than via Equals (#​1960)
Fixed
  • Failure to create fake via constructor with in parameter (#​1948)
  • Nesting or compounding An-built constraints throws wrong exception (#​1966)
Additional Items
With special thanks for contributions to this release from:

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 becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

| datasource | package    | from  | to    |
| ---------- | ---------- | ----- | ----- |
| nuget      | FakeItEasy | 7.4.0 | 8.1.0 |
@renovate renovate bot added the deps label Jan 25, 2024
@viceice viceice merged commit ea7c2df into main Jan 25, 2024
4 checks passed
@viceice viceice deleted the renovate/fakeiteasy-8.x branch January 25, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant