-
Notifications
You must be signed in to change notification settings - Fork 0
Breaking changes
I Freeman-Yates edited this page Nov 8, 2022
·
4 revisions
This page lists the breaking changes introduced between versions.
- Project renamed to Shimr; namespace root changed to
IFY.Shimr
. - Global
object
extension methods are now in namespaceIFY.Shimr.Extensions
, to reduce namespace poisoning.
-
ShimBuilder.Shim
methods are no longer extension methods - add a reference to theShimterface.Extensions
to get the extension methods.
-
MissingMemberException
instead ofInvalidCastException
thrown for unmatched shim members.
- Dropped direct support for .NET Core 3.1, as the .NET Standard 2.1 library is sufficient.
-
IsConstructor
property onStaticShimAttribute
is now obsolete and will be removed in a future release, in favour of the explicitConstructorShimAttribute
.
- Dropped the
ShimAttribute
and limitsTypeShimAttribute
to parameters only. If the return type of a shimmed member does not match the implementation member, it must be an interface that can be auto-shimmed.