Skip to content

Releases: khellang/Scrutor

Outstanding Wrench

06 Feb 13:26
Compare
Choose a tag to compare
  • Filter out classes with IsSpecialName, which should include display classes and other compiler-generated types. #108
  • Add new RegistrationStrategy.Throw that throws when encountering existing service registrations. #113

Grotesque Toothbrush

07 Aug 10:53
Compare
Choose a tag to compare

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

29 Aug 22:08
Compare
Choose a tag to compare

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

12 Mar 22:16
Compare
Choose a tag to compare
  • Fixed bug where open generic types were registered as non-generic interfaces. See #44

Hidden Cosmic

01 Mar 15:09
Compare
Choose a tag to compare

Exclude compiler-generated types from scanning. See #42 (comment)

Brave Iron

27 Feb 22:36
Compare
Choose a tag to compare
  • Added support for scanning open generic types. See #42

Dancing Helium

23 Aug 11:53
Compare
Choose a tag to compare
  • Added new FromAssemblyDependencies method
  • Fall back to FromAssemblyDependencies using the entry assembly in FromApplicationDependencies when loading the DependencyContext fails. See #34

Golden Cat

12 Jul 14:03
Compare
Choose a tag to compare

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

01 May 20:05
Compare
Choose a tag to compare
Cheerful Clown Pre-release
Pre-release
  • Fixed a stupid 🐞 with open generic decoration

Unique Rubber

28 Apr 11:08
Compare
Choose a tag to compare
Unique Rubber Pre-release
Pre-release
  • Added support for decorating open generic services. Thanks to @nicholasham