v2.1.0-rc.3 (2024-12-06)
✨ Implemented enhancements:
- Don't report inconsitencies if lifetimes match #135 (@kzu)
v2.1.0-rc.2 (2024-12-06)
v2.1.0-rc.1 (2024-12-06)
✨ Implemented enhancements:
- Report inconsistent lifetime registrations in conventions #115
- Detect and report inconsistencies in registration lifetimes #134 (@kzu)
- Drastically simplify implementation by removing customization #133 (@kzu)
- Allow service key in Service attribute itself #131 (@kzu)
🔀 Merged:
- Update readme.md with new conventions feature #132 (@kzu)
v2.1.0-rc (2024-12-03)
✨ Implemented enhancements:
- Optimize generator by checking invocations in the predicate #124 (@kzu)
- Restore ability to customize namespace and extension class name #123 (@kzu)
🐛 Fixed bugs:
- Fix support for multiple [Export("contract")] in MEF #121 (@kzu)
🔀 Merged:
- Add SL2 disclaimer to readme and package description #129 (@kzu)
- Adopt SponsorLink v2 #127 (@kzu)
- Adopt newer .NET branding color since .NET8+ #122 (@kzu)
v2.1.0-beta (2024-11-12)
✨ Implemented enhancements:
- Provide conventions-based registrations in addition to [Service] attributes #116
- Rename project/package to remove the Attributed suffix #118 (@kzu)
- Add support for convention-based registrations #117 (@kzu)
- Add support for multiple keyed service registrations #112 (@kzu)
🐛 Fixed bugs:
- Fix bug in codegen for transient keyed services #109 (@kzu)
🔨 Other:
- [BREAKING] In order to support convention registration, generated class and namespace are no longer customizable #119
- Add support for keyed service with multiple attributes #108
🔀 Merged:
- Remove mention of ns/class customization, rename class #120 (@kzu)
- Add test that showcases internal services can be registered #111 (@kzu)
v2.0.0 (2024-02-29)
✨ Implemented enhancements:
- Add support for new keyed service in .NET8 #73
- Add support for new keyed services in .NET8 #90 (@kzu)
🐛 Fixed bugs:
- If compilation isn't successful, incremental generator fails #51
v1.3.2 (2022-12-13)
✨ Implemented enhancements:
- When registering services, also register Func<T> and Lazy<T> for services #49
🐛 Fixed bugs:
- Generator shouldn't fail for unsuccessful compilation #52 (@kzu)
v1.3.1 (2022-12-13)
✨ Implemented enhancements:
- Add Func<T> and Lazy<T> registrations #50 (@kzu)
v1.3.0 (2022-12-06)
✨ Implemented enhancements:
- Make development dependency #43
- Don't report warning for missing AddServices() in test projects #48 (@kzu)
🔨 Other:
- Never report warning for missing AddServices() in test projects #47
v1.2.2 (2022-11-18)
✨ Implemented enhancements:
🐛 Fixed bugs:
- Don't consider generated code usage of IServiceCollection to report warning #37
v1.2.1 (2022-11-16)
✨ Implemented enhancements:
- Report warning when using the package without invoking AddServices #30
🔀 Merged:
- Don't consider generated code usage of IServiceCollection to report warning #38 (@kzu)
v1.2.0 (2022-11-10)
🔀 Merged:
- Report warning when using the package without invoking AddServices #31 (@kzu)
v1.1.3 (2022-10-31)
✨ Implemented enhancements:
- Optimize incremental codegen by only registering for implementation source generation #24
v1.1.2 (2022-10-03)
v1.1.1 (2022-10-03)
✨ Implemented enhancements:
- Add support for MEF attributes #17
v1.1.0 (2022-09-28)
✨ Implemented enhancements:
- Skip run-time constructor invocation reflection #15
- Replace ServiceAttribute.cs inclusion via targets with source generator-based one #12
🐛 Fixed bugs:
- Library does not work on MAUI #13
🔀 Merged:
- Add support for MEF attributes #18 (@kzu)
- Register implementation factory rather than type #16 (@kzu)
- Replace ServiceAttribute inclusion via targets with source generator #14 (@kzu)
v1.0.3 (2022-09-27)
🔨 Other:
- Make sure package targets netstandard2.0 #10
v1.0.2 (2022-09-27)
✨ Implemented enhancements:
- Fix transitive contentFiles support that's missing in nuget #8
🔀 Merged:
- Make sure package targets netstandard2.0 #11 (@kzu)
v1.0.1 (2022-09-27)
🔀 Merged:
- Fix transitive contentFiles support that's missing in nuget #9 (@kzu)
v1.0.0 (2022-09-26)
✨ Implemented enhancements:
- Support automatic registration of covariant implemented interfaces #6
🔀 Merged:
- Support automatic registration of covariant implemented interfaces #7 (@kzu)
v0.9.0 (2022-09-23)
* This Changelog was automatically generated by github_changelog_generator