Dependency Injection Release Notes
2.0 - TBD
Section titled “2.0 - TBD” BREAKING Feature
We now use module initializers and a global service registry along with a new defined method
services.AddShinyServiceRegistry() that pulls in all registered values1.3.1 - September 19, 2025
Section titled “1.3.1 - September 19, 2025” Fix
Type and AsSelf was being ignored if a base class is being used
v1.3.0 - September 16, 2025
Section titled “v1.3.0 - September 16, 2025” Enhancement
DI registration now supports
AsSelf which allows an implementation to be registered directly1.2.2 - July 26, 2025
Section titled “1.2.2 - July 26, 2025” Fix
Booleans with false were not binding properly on stores
1.2.1 - July 15, 2025
Section titled “1.2.1 - July 15, 2025” Enhancement
Logging has been optionally enabled throughout the DI binding
1.2 - July 14, 2025
Section titled “1.2 - July 14, 2025” Enhancement
ServiceAttribute now has a TryAdd property that will call the appropriate service lifetime method
Enhancement
Additional SingletonAttribute, ScopedAttribute, and TransientAttribute to remove the need for multiple namespaces
Enhancement
Type property on service attribute allows you to override which interface is used in multiple interface scenarios
1.1 - July 13, 2025
Section titled “1.1 - July 13, 2025” Feature
ServiceAttribute now accepts a
Category. Categories allow you to pass an argument to the AddGeneratedServices that only get instantiate if you pass that category name. Great for unit testing or dev vs production Enhancement
Now works with records
BREAKING Fix
ServiceAttribute KeyedName name parameter was moved from the constructor to a property
1.0 - July 3, 2025
Section titled “1.0 - July 3, 2025” Feature
Initial Public Release