Changed
- Don't expose Not after Not in argument constraint (#1063)
Removed from the public API
FakeObjectCallExtensions.Write
andFakeObjectCallExtensions.WriteToConsole
(#1043)- Self-initialized fakes (accessed via the
RecordedBy
fake option) (#798) ITaggable
, which was an internal implementation detail (#1012)
Deprecated
- Automatic fake injection into systems under test via
Fake.InitializeFixture
(#1102) Raise.With<TEventHandler>
(#1153)- Use
Raise.Freeform.With
instead
- Use
New
- Allow
AssignsOutAndRefParameters
on a non-void member without first specifying Returns (#1134) - Support raising events for arbitrary delegates without requiring a typeparam in the call (
Raise.Freeform.With
) (#987) - [Analyzer] Split C# and VB.NET analyzers into two separate packages (#1148)
- [Analyzer]
FakeItEasy0004
diagnostic for argument constraint with non-nullable type instead of nullable type (#1060) - Outgoing arguments exposed as
ICompletedFakeObjectCall.ArgumentsAfterCall
(#1140)
Fixed
- Sometimes an expectation fails, but the error message lists the expected call (#1159)
- FakeItEasy not working with .NET Core 2.0 Preview 2 (#1158)
Additional Items
- Simplify Fixture Initializer code (#1120)
- Renamed some
FakeOptionsExtensions
method'soptionsBuilders
paremeters tooptions
(#1122) - Implement system to ensure nupkg references are consistent with assembly references (#1133, #1146)
- Automatic NuGet deployment when tag is pushed (#1039)
With special thanks for contributions to this release from:
- Alexander Sidorov - @siberianguy
- Christian Maslen - @cmaslen