Skip to content

Bump Autofac and Autofac.Extras.Moq#435

Merged
mergify[bot] merged 1 commit into
mainfrom
dependabot/nuget/ODataExample.Test/multi-6a8f68a84d
Jul 1, 2026
Merged

Bump Autofac and Autofac.Extras.Moq#435
mergify[bot] merged 1 commit into
mainfrom
dependabot/nuget/ODataExample.Test/multi-6a8f68a84d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor

Updated Autofac from 9.1.0 to 9.3.0.

Release notes

Sourced from Autofac's releases.

9.3.0

What's Changed

Full Changelog: autofac/Autofac@v9.2.0...v9.3.0

9.2.0

What's Changed

Full Changelog: autofac/Autofac@v9.1.0...v9.2.0

Commits viewable in compare view.

Updated Autofac.Extras.Moq from 7.0.0 to 8.0.0.

Release notes

Sourced from Autofac.Extras.Moq's releases.

8.0.0

Breaking Changes

  • Dropped support for .NET 6 (net6.0). If you are still targeting .NET 6, remain on v7.0.0. The library now targets .NET 10, .NET 8, .NET Standard 2.1, and .NET Standard 2.0.
  • Minimum Autofac version raised to 9.3.0 (from 8.1.0). Consuming projects will need to be compatible with Autofac 9.x.

Other Changes

  • Added support for .NET 10; retained support for .NET 8, .NET Standard 2.1, and .NET Standard 2.0.
  • AutoMock.Mock<T>() now forwards parameters to the constructor of the mocked type, so you can mock abstract or non-sealed classes whose constructors take arguments. TypedParameter, NamedParameter, and PositionalParameter are all supported. (#​42)
  • AutoMock.Mock<T>() can now mock delegate types. Previously this threw an InvalidCastException because a delegate mock's object does not implement IMocked<T>. (#​48)
  • Documented that adding real framework services (such as Entity Framework Core or Microsoft.Extensions.Logging) into an AutoMock container can cause unexpected NullReferenceExceptions, and described how to avoid it. (#​49)

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps Autofac from 9.1.0 to 9.3.0
Bumps Autofac.Extras.Moq from 7.0.0 to 8.0.0

---
updated-dependencies:
- dependency-name: Autofac
  dependency-version: 9.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Autofac.Extras.Moq
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jul 1, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (cda4120) to head (7db2a84).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #435   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         11      11           
  Lines        371     371           
  Branches       7       7           
=====================================
  Misses       371     371           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify mergify Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approving dependabot

@mergify mergify Bot merged commit 9498a36 into main Jul 1, 2026
14 checks passed
@mergify

mergify Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@dependabot dependabot Bot deleted the dependabot/nuget/ODataExample.Test/multi-6a8f68a84d branch July 1, 2026 01:22
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 .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants