You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* v5.5.0
- *Enhancement:* The `GenericTester` where using `.NET8.0` and above will leverage the new `IHostApplicationBuilder` versus existing `IHostBuilder` (see Microsoft [documentation](https://learn.microsoft.com/en-us/dotnet/core/extensions/generic-host) and [recommendation](dotnet/runtime#81090 (comment))). Additionally, if a `TEntryPoint` is specified with a method signature of `public void ConfigureApplication(IHostApplicationBuilder builder)` then this will be automatically invoked during host instantiation. This is a non-breaking change as largely internal.
* CI update.
* .NET6/8 API
* NET8 Xunit
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
Represents the **NuGet** versions.
4
4
5
+
## v5.5.0
6
+
-*Enhancement:* The `GenericTester` where using `.NET8.0` and above will leverage the new `IHostApplicationBuilder` versus existing `IHostBuilder` (see Microsoft [documentation](https://learn.microsoft.com/en-us/dotnet/core/extensions/generic-host) and [recommendation](https://github.com/dotnet/runtime/discussions/81090#discussioncomment-4784551)). Additionally, if a `TEntryPoint` is specified with a method signature of `public void ConfigureApplication(IHostApplicationBuilder builder)` then this will be automatically invoked during host instantiation. This is a non-breaking change as largely internal.
7
+
5
8
## v5.4.6
6
9
-*Fixed:* Added `TestFrameworkImplementor.SetLocalCreateFactory` to Xunit `ApiTestFixture` constructor to ensure set correctly for the `OnConfiguration` method override.
Additionally, where the `TEntryPoint` is specified and implements `ConfigureApplication` (`.NET8.0` or above) this will be invoked automatically to perform any additional configuration.
/// Indicates whether the <see cref="ConfigureAppConfiguration"/> has been defined on the entry point instance.
43
+
/// </summary>
44
+
publicboolHasConfigureAppConfiguration=>_mi1is not null;
45
+
46
+
/// <summary>
47
+
/// Indicates whether the <see cref="ConfigureHostConfiguration"/> has been defined on the entry point instance.
48
+
/// </summary>
49
+
publicboolHasConfigureHostConfiguration=>_mi2is not null;
50
+
51
+
/// <summary>
52
+
/// Indicates whether the <see cref="ConfigureServices"/> has been defined on the entry point instance.
53
+
/// </summary>
54
+
publicboolHasConfigureServices=>_mi3is not null;
55
+
56
+
#if NET8_0_OR_GREATER
57
+
/// <summary>
58
+
/// Indicates whether the <see cref="ConfigureApplication"/> has been defined on the entry point instance.
59
+
/// </summary>
60
+
publicboolHasConfigureApplication=>_mi4is not null;
61
+
#endif
62
+
34
63
/// <summary>
35
64
/// Sets up the configuration for the remainder of the build process and application.
36
65
/// </summary>
37
66
/// <param name="context"></param>
38
67
/// <param name="config"></param>
39
68
/// <remarks>This is intended to be invoked by the <see cref="IHostBuilder.ConfigureAppConfiguration(System.Action{HostBuilderContext, IConfigurationBuilder})"/>.</remarks>
/// <remarks>This is intended to be invoked by the <see cref="IHostBuilder.ConfigureHostConfiguration(System.Action{IConfigurationBuilder})"/>.</remarks>
/// <remarks>This is intended to be invoked by the <see cref="IHostBuilder.ConfigureServices(System.Action{HostBuilderContext, IServiceCollection})"/>.</remarks>
0 commit comments