Releases: phasTrak/AutoRegister
Releases · phasTrak/AutoRegister
Release list
v2.0.4
v2.0.3
v2.0.2
v2.0.1
What's New:
- Use fully qualified names in generated extension methods to remove the possibility of naming conflicts
- Use the containing namespace value instead of the assembly name for the generated methods
- Add an option to customize the namespace by means of an assembly-level attribute
-
[assembly: AutoRegisterNamespace("MyProject.Data.Services")]
-
- Fix licensing to match the MIT terms (thanks @MatthewSteeples)
Full Changelog: v2.0.0...v2.0.1
AutoRegister v2.0.0
What's New:
- Updated package to no longer build as a development dependency, allowing access to compile assets
- You can additionally mark the package as
PrivateAssets="all"andExcludeAssets="runtime". - Setting
PrivateAssets="all"means any projects referencing this one will not also get a reference to the AutoRegister package. SettingExcludeAssets="runtime"ensures the AutoRegister.Attributes.dll file is not copied to your build output (it is not required at runtime).
- You can additionally mark the package as
- Fixed unit tests and updated to use Verify
Full Changelog: v1.0.1...v2.0.0
AutoRegister v1.0.1
AutoRegister v1.0.1 
We are excited to announce the first release of phasTrak.AutoRegister, the non-opinionated fork of AutoRegisterInject!
What's New:
- Non-Opinionated Design: Enjoy the flexibility of a non-opinionated approach, allowing you to integrate seamlessly with your existing codebase.
- Support for
InternalsVisibleTo - Allow registering as multiple types (e.g. Scoped and KeyedScoped)
- Customizable extension method naming
- Attributes and extensions are scoped to a namespace
- Support for
Getting Started:
- Install the Package: Add phasTrak.AutoRegister to your project via NuGet.
- Add Attributes: Decorate your classes with the appropriate attributes to indicate how they should be registered.
- Use the Method: In your ServiceCollection configuration, call
services.AutoRegister()and AutoRegister will handle the rest.
Feedback and Contributions:
We welcome your feedback and contributions to help improve phasTrak.AutoRegister. Please feel free to open issues or submit pull requests on our GitHub repository.
Full Changelog: v1.4.0...v1.0.1