Releases: Dreamescaper/ServiceScan.SourceGenerator
Releases · Dreamescaper/ServiceScan.SourceGenerator
3.1.4
What's Changed
- Add HandlerTemplate to ScanForTypesAttribute in #58
Misc:
Full Changelog: 3.0.2...3.1.4
3.0.2
Breaking changes
CustomHandler is marked as Obsolete in GenerateServiceRegistrationsAttribute. Non-registration functionality is moved to a separate attribute - ScanForTypesAttribute:
[ScanForTypes(AssignableTo = typeof(IEndpoint), Handler = nameof(IEndpoint.MapEndpoint))]
public static partial IEndpointRouteBuilder MapEndpoints(this IEndpointRouteBuilder endpoints);What's Changed
- Update README.md by @InsomniumBR in #50
- Use Embedded API for generator marker attribute by @Copilot in #51
- Add
ScanForTypesAttributeas dedicated attribute for custom type handling by @Copilot in #53 - Add collection return support to ScanForTypes attribute by @Copilot in #55
New Contributors
- @InsomniumBR made their first contribution in #50
- @Copilot made their first contribution in #51
Full Changelog: 2.4.1...3.0.2
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