Releases: Moreault/AutoInject
Releases · Moreault/AutoInject
Release list
4.0.0
4.0.0-beta.2
4.0.0-beta.1
AutoInject no longer relies on reflection or ToolBX.Relfection4Humans
Full Changelog: 3.0.1...4.0.0-beta.1
3.0.1
3.0.1-beta1
Fixes two issues with the GetAutoInjectServices method.
- Services directly implementing the specified type were ironically ignored
- Services using the generic
[AutoInject<T>]attribute were also ignored
3.0.0
3.0.0-beta2
Updated to .NET 8
3.0.0-beta1
Merge pull request #16 from Moreault/dependabot/nuget/Microsoft.Exten…
2.2.0
What's new
- You can now use generics with the
[AutoInject<T>]attribute instead of doing[AutoInject(Interface = typeof(IYourType)] - There is a constructor which also takes a lifetime as parameter so you can also just write
[AutoInject(ServiceLifetime.Scoped)] AutoInjectOptionsgive you more control over how your services are injected by giving you the option of setting up aDefaultLifetimeAddAutoInjectServiceshas a new overload which specifies whatAssemblyto use instead of all of them
Leaving soon
- The
[AutoConfig]attribute is leaving the AutoInject package to be its own package [AutoConfig]is now marked[Obsolete]and will be removed in version 3.0.0- Please install ToolBX.AutoConfig from nuget.org to continue to use it
2.2.0-beta7
Replaced script with one that only publishes on release