IdentityServer4.Postgresql
IdentityServer4.Postgresql copied to clipboard
Bump FakeItEasy from 5.1.0 to 7.1.0
Bumps FakeItEasy from 5.1.0 to 7.1.0.
Release notes
Sourced from FakeItEasy's releases.
7.1.0
New
- Add CollectionOfFake overload that accepts an action that uses fake number to configure fake (#1838)
A.CollectionOfFake<ICollectionItem>(count, (options, i) => options.Named($"Item{i}"))); Sdk.Create.CollectionOfFake(typeof(ICollectionItem), count, (options, i) => options.Named($"Item{i}"));- Improve the API for events (#1841)
- Add a new overload of A.CallTo that accepts an EventAction
A.CallTo(fake, EventAction.Add("EventName")) // Configure subscription to a specific event A.CallTo(fake, EventAction.Remove("EventName")) // Configure unsubscription from a specific event A.CallTo(fake, EventAction.Add()) // Configure subscription to any event A.CallTo(fake, EventAction.Remove()) // Configure unsubscription from any event- Allow the user to explicitly enable the default event behavior
Manage.Event("FellInLove").Of(robot); Manage.AllEvents.Of(robot);- Allow the user to create strict fakes that still manage events automatically
var fake = A.Fake<IFoo>(o => o.Strict(StrictFakeOptions.ManageEvents));Additional Items
- Improve Dummies documentation page (#1834, #1835)
- Re-enable and fix integration test in net461 (#1843)
With special thanks for contributions to this release from:
7.0.2
Fixed
- Implicit creation options are ignored for dummy fakes (#1829)
- Create.Fake throws ArgumentException instead of FakeCreationException when passed a value type and fake creation options (#1830)
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:
- Rafael Peixoto Lourenço -
@raff-run7.0.0
Changed
... (truncated)
Commits
a44353dMerge pull request #1842 from thomaslevesque/events-improvements1f75443Use a single EventCallHandler per fakecc73af9Better exception message for events on strict fake960db5eAdd documentation for StrictFakeOptions.ManageEventsc28b70eApprove API changesf6c018eAdd StrictFakeOptions.AllowEvents14c3fefAdd documentation for Manage.Eventa8d8612Approve API changes9cc7dcbAdd Manage.Event featurea674ca1Extract most of EventRule code to EventCallHandler- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)