Skip to content

Releases: Dreamescaper/ServiceScan.SourceGenerator

3.1.4

11 Apr 18:16

Choose a tag to compare

What's Changed

  • Add HandlerTemplate to ScanForTypesAttribute in #58

Misc:

Full Changelog: 3.0.2...3.1.4

3.0.2

26 Mar 13:38
405679a

Choose a tag to compare

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 ScanForTypesAttribute as 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

22 Oct 14:56
5979aa9

Choose a tag to compare

What's Changed

Full Changelog: 2.3.4...2.4.1

2.3.4

01 Oct 15:39
0670eaa

Choose a tag to compare

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

23 Aug 10:59
a79dd6b

Choose a tag to compare

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

11 Aug 09:21
832a415

Choose a tag to compare

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

25 Jul 14:16
7fd4b30

Choose a tag to compare

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

19 Jul 12:18
a103969

Choose a tag to compare

What's Changed

Full Changelog: 2.1.2...2.1.3

2.1.2

17 Jun 16:23
1aa340d

Choose a tag to compare

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

31 May 08:49

Choose a tag to compare

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