FakeItEasy v6.0.0 Release Notes
Release Date: 2020-01-17 // over 4 years ago-
๐ Changed
- ๐ Stop merging Castle.Core (#1258)
- ๐ฆ Expose nullability annotations (#1613)
- ๐ Limit typeparams for Fake options and builder classes (#1664)
- Resolve Dummy Lazy values lazily (#1656)
- ๐ Rename
scope
parameter tomanager
inArgumentConstraintManagerExtensions
methods (#1687) - ๐ Move analyzers from the main FakeItEasy repository to the FakeItEasy/FakeItEasy.Analyzers repository (#1735)
- The Analyzers and the main FakeItEasy package will now release on their own cadence. There never was a tight coupling between packages with the same version, and now that's made explicit.
โ Removed from the public API
Repeated
API (#1296)- Analyzer diagnostic FakeItEasy0006, "Assertion uses legacy
Repeated
class" (#1296)
๐ New
- โ Add support for calling the wrapped object's method (#1717)
- โ Add and remove null parameter checks (#1686, #1708)
- ๐ป Fall back to other formatters when
IArgumentValueFormatter.GetArgumentValueAsString
throws an exception or returns null (#1690) - โ Add
ArgumentConstraintManagerExtensions.Contains
overload that takes aStringComparison
(#1681)
๐ Fixed
- ๐ Fix
Contains
string argument constraint, once again usingStringComparison.Ordinal
(accidentally switched toStringComparison.CurrentCulture
in release5.4.0) (#1748)
โ Additional Items
- Switch to SourceLink instead of PdbGit (#1417)
- ๐ฆ Re-enable package analysis (#1661)
- ๐ Refactored issue number parsing in release notes (#1679)
- โ Added TestHelpers to solution (#1679)
- ๐ Fixed up some whitespace (#1679)
- ๐ Support building the project on Linux (and maybe MacOS) (#1605)
- โ Add target to approve new public API (#1684)
- โ Add targets to create and manage FakeItEasy.user.props (#1688)
- โ Suppress logo when testing and packing (#1692)
- ๐
prepare_release
tool should handle support branches (#1698) - โ Enable nullability warnings in internal, testing, and tools code (#1613, #1691)
- ๐ Externalize PrepareRelease and Deploy tools (#1739)
- โ Add missing assembly attributes and remove unnecessary ones (#1744)
- ๐ Create a bot account for release process automation (#1663)
- โก๏ธ Update tools submodule to FakeItEasy/FakeItEasy.Tools@f6eaae9 (#1745)
- โฌ๏ธ Upgrade supporting tools:
- FluentAssertions 5.9.0 (#1733)
- Microsoft.CodeAnalysis.FxCopAnalyzers 2.9.8 (#1732)
- Microsoft.NET.Test.Sdk 16.2.0 (#1733)
- Microsoft.SourceLink.GitHub 1.0.0 (#1731)
- mkdocs 1.0.4, via Read the Docs (#1743)
- PublicApiGenerator 10.0.1 (#1728, #1733)
- StyleCop.Analyzers 1.2.0-beta.113 (#1730)
- Xbehave.Core 2.4.1 (#1733)
- XunitXml.TestLogger 2.1.26 (#1733)
- xunit.core 2.4.1 (#1733)
- xunit.runner.visualstudio 2.4.1 (#1733)
๐ With special thanks for contributions to this release from:
- Elijah Newren - @newren, whose git-filter-repo was instrumental in extracting the analyzer code from the main FakeItEasy repo
- Tim Lovell-Smith @TimLovellSmith