Skip to content

Releases: phasTrak/AutoRegister

v2.0.4

Choose a tag to compare

@FXZFun FXZFun released this 06 Mar 17:38

Nuget

What's New:

Full Changelog: v2.0.3...v2.04

v2.0.3

Choose a tag to compare

@FXZFun FXZFun released this 04 Nov 15:49

Nuget

What's New:

  • Suppress warning CS1591 in generated code (#3)

Full Changelog: v2.0.2...v2.0.3

v2.0.2

Choose a tag to compare

@FXZFun FXZFun released this 16 Oct 16:13

Nuget

What's New:

  • Fix bug with generated namespaces (0b019fb)
  • Add more unit tests to test generated namespaces

Full Changelog: v2.0.1...v2.0.2

v2.0.1

Choose a tag to compare

@FXZFun FXZFun released this 15 Oct 18:36

Nuget

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

Choose a tag to compare

@FXZFun FXZFun released this 10 Oct 18:04

Nuget

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" and ExcludeAssets="runtime".
    • Setting PrivateAssets="all" means any projects referencing this one will not also get a reference to the AutoRegister package. Setting ExcludeAssets="runtime" ensures the AutoRegister.Attributes.dll file is not copied to your build output (it is not required at runtime).
  • Fixed unit tests and updated to use Verify

Full Changelog: v1.0.1...v2.0.0

AutoRegister v1.0.1

Choose a tag to compare

@FXZFun FXZFun released this 09 Oct 17:45

AutoRegister v1.0.1 Nuget

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

Getting Started:

  1. Install the Package: Add phasTrak.AutoRegister to your project via NuGet.
  2. Add Attributes: Decorate your classes with the appropriate attributes to indicate how they should be registered.
  3. 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