Releases: autofac/Autofac.Extras.Moq
v6.1.1
v6.1.0
v6.0.0
Version 6.0.0 is a compatibility release for Autofac v6.
Breaking change: Starting with Autofac 6.0, we now only target netstandard2.0
and netstandard2.1
; we have removed the explicit target for net461
.
The impact to you is that, while Autofac will still work on .NET Framework 4.6.1 as it did before, we strongly encourage you to upgrade to .NET Framework 4.7.2 or higher, as per the .NET Standard Documentation, to avoid any of the known dependency issues when using .NET Standard packages in .NET Framework 4.6.1.
In addition, this release contains a fix for issue #35, resolving some problems with strict mocks and disposable components. Thanks @JarkoDubbeldam for the contribution!
v5.0.1
v5.0.0
This release is an update for compatibility with Autofac 5.0.0 and requires that new version. Autofac 5.0.0 does have some breaking changes - see the Autofac release notes for more information.
Breaking Change Note:
In this release, the Provide
method on the AutoMock
has been removed because it is now not compatible with Autofac's immutable container. Check the docs for guidance on how to provide custom dependencies following this change.
Changes:
v4.3.0
- #15: Checking auto-mock concrete types to ensure there is a zero-parameter constructor so Castle.DynamicProxy and
MockRepository.Create<T>
can correctly work on concrete types under the covers. - #17:
Meta<T>
now interpreted correctly by Autofac instead of being mocked. - #20: Callback for modifying the container before auto-mocking takes over.
- Updated minimum Autofac version to 4.2.0 for an improved new project experience.
- Added
netstandard2.0
specific target to improve dependency chain on newer projects.