Skip to content

Releases: Dreamescaper/ServiceScan.SourceGenerator

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

2.0.2 (removed)

24 May 13:38

Choose a tag to compare

2.0.2 (removed) Pre-release
Pre-release

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
    When FromAssemblyOf is 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 without FromAssemblyOf, and one or more with FromAssemblyOf specifying 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 set FromAssemblyOf to 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

19 May 21:32
2006025

Choose a tag to compare

What's Changed

Full Changelog: 1.5.2...1.5.4