Releases: Dreamescaper/ServiceScan.SourceGenerator
Releases · Dreamescaper/ServiceScan.SourceGenerator
2.4.1
What's Changed
- Filter types by CustomHandler generic constraints by @Dreamescaper in #48
Full Changelog: 2.3.4...2.4.1
2.3.4
What's Changed
- fix: Filter out open generics when used with CustomHandler by @Dreamescaper in #47
- fix: Generate valid code if no matching types found
Full Changelog: 2.3.2...2.3.4
2.3.2
What's Changed
- Allow CustomHandler to invoke static methods from matched types by @Dreamescaper in #41
- Find CustomHandler or KeySelector methods if they are defined in base types by @Dreamescaper in #42
Full Changelog: 2.2.2...2.3.2
2.2.2
What's Changed
- fix: Allow non-static CustomHandler method if scan method is non-static by @Dreamescaper in #40
Full Changelog: 2.2.1...2.2.2
2.2.1
What's Changed
- feat: Resolve additional CustomHandler type arguments from matching type by @Dreamescaper in #39
Full Changelog: 2.1.3...2.2.1
2.1.3
What's Changed
- fix: Exclude non-accessible types by @Dreamescaper in #38
Full Changelog: 2.1.2...2.1.3
2.1.2
What's Changed
- Add multiple registrations if service implements open generic interface more than once by @Dreamescaper in #36
Full Changelog: 2.1.1...2.1.2
2.1.1
What's Changed
- Add AssemblyNameFilter to allow to scan multiple assemblies by @Dreamescaper in #34
Please note that version 2.0.2 is obsoleted and containing functionality is reverted. See #31
Full Changelog: 2.0.2...2.1.1
2.0.2 (removed)
Warning
This released was deprecated. The functionality added was working unrelyably, and could cause undetected bugs. Since there is no way to make it right, this change is reverted,.
What's Changed
- Breaking Change
WhenFromAssemblyOfis unspecified, ServiceScan now scans not only the current assembly, but also all referenced projects from the solution.
Therefore, if you had multiple attributes on the method - one withoutFromAssemblyOf, and one or more withFromAssemblyOfspecifying referenced project assemblies - you need to remove the latter ones after the update (otherwise some implementations might be added twice).
On the other hand, if you want only current assembly to be scanned without referenced projects - you can setFromAssemblyOfto any type from current assembly.
This change only affects referenced projects from the solution, it does not scan types from .NET Runtime assemblies or Nuget packages, unless specified via FromAssemblyOf.
Full Changelog: 1.5.4...2.0.2
1.5.4
What's Changed
- Allow multiple CustomHandler attributes on the same method by @Dreamescaper in #29
- Fix return type diagnostic conditions by @Dreamescaper in #30
Full Changelog: 1.5.2...1.5.4