Releases: khellang/Scrutor
Releases · khellang/Scrutor
Outstanding Wrench
Grotesque Toothbrush
Some improvements and bugfixes:
AsSelfWithInterfaces
no longer throws for open generic types. See #84- Multiple calls to
As*
methods no longer "forget" the lifetime scope to register. See #55 and #86. - Trying to decorate open generic services with an open generic decorator would previously result in an exception. These will now be skipped. See #95.
Third Essential Scarecrow
Various new features and improvements:
- Changed target frameworks to .NET Framework 4.6.1 and .NET Standard 2.0.
- Add option to scan exact namespace. See #48.
- Update to the latest Microsoft.Extensions.DependencyInjection version. See #50.
- Strong-named assembly. See #53.
- Add support for registering all interfaces against a single implementation. See #57 and #58.
- Add source link support. See #59.
Severe Plastic
- Fixed bug where open generic types were registered as non-generic interfaces. See #44
Hidden Cosmic
Exclude compiler-generated types from scanning. See #42 (comment)
Brave Iron
- Added support for scanning open generic types. See #42
Dancing Helium
- Added new
FromAssemblyDependencies
method - Fall back to
FromAssemblyDependencies
using the entry assembly inFromApplicationDependencies
when loading theDependencyContext
fails. See #34
Golden Cat
New Features
- Added
TryDecorate
method with all overloads - Added
FromCallingAssembly
method - Added
FromExecutingAssembly
method - Added
FromEntryAssembly
method - Added
FromApplicationDependencies
method - Added
FromDependencyContext
method - Added support for decorating open generic types.
Breaking Changes
- Moved all extension methods under the
Microsoft.Extensions.DependencyInjection
namespace - Made
AddClasses
only add public types by default
Cheerful Clown
- Fixed a stupid 🐞 with open generic decoration
Unique Rubber
- Added support for decorating open generic services. Thanks to @nicholasham ✨