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
Copy file name to clipboardexpand all lines: CHANGELOG.md
+12
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,18 @@
2
2
3
3
Represents the **NuGet** versions.
4
4
5
+
## v3.15.0
6
+
-*Enhancement*: This is a clean-up version to remove all obsolete code and dependencies. This will result in a number of minor breaking changes, but will ensure that the codebase is up-to-date and maintainable.
7
+
- As per [`v3.14.0`](#v3.14.0) the previously obsoleted `TypedHttpClientBase` methods `WithRetry`, `WithTimeout`, `WithCustomRetryPolicy` and `WithMaxRetryDelay` are now removed; including `TypedHttpClientOptions`, `HttpRequestLogger` and related `SettingsBase` capabilities.
8
+
- Health checks:
9
+
- `CoreEx.Azure.HealthChecks` namespace and classes removed.
10
+
- `SqlServerHealthCheck` replaced with simple generic `DatabaseHealthCheck`.
- `HealthReportStatusWriter` added to support richer JSON reporting.
15
+
- Generally recommend using 3rd-party library to enable further health checks; for example: [`https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks`](https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks).
16
+
5
17
## v3.14.1
6
18
-*Fixed*: The `Result.ValidatesAsync` extension method signature has had the value nullability corrected to enable fluent-style method-chaining.
7
19
-*Fixed*: The fully qualified type and property name is now correctly used as the `LText.KeyAndOrText` when creating within the `PropertyExpression<TEntity, TProperty>` to enable a qualified _key_ that can be used by the `ITextProvider` to substitute the text at runtime; the existing text fallback behavior remains such that an appropriate text is used. The `PropertyExpression.CreatePropertyLTextKey` function can be overridden to change this behavior.
@@ -52,10 +51,8 @@ public void ConfigureServices(IServiceCollection services)
52
51
53
52
// Register the health checks.
54
53
services
55
-
.AddScoped<HealthService>()
56
-
.AddHealthChecks()
57
-
.AddTypeActivatedCheck<AzureServiceBusQueueHealthCheck>("Health check for service bus verification queue",HealthStatus.Unhealthy,nameof(HrSettings.ServiceBusConnection),nameof(HrSettings.VerificationQueueName))
thrownewInvalidOperationException(@$"The Api endpoint URI is not valid: {settings.AgifyApiEndpointUri}. Provide valid Api endpoint URI in the configuration '{nameof(settings.AgifyApiEndpointUri)}'.
@@ -17,14 +17,13 @@ public AgifyApiClient(HttpClient client, IJsonSerializer jsonSerializer, CoreEx.
thrownewInvalidOperationException(@$"The Api endpoint URI is not valid: {settings.GenderizeApiClientApiEndpointUri}. Provide valid Api endpoint URI in the configuration '{nameof(settings.GenderizeApiClientApiEndpointUri)}'.
@@ -23,8 +23,7 @@ public override Task<HttpResult> HealthCheckAsync(CancellationToken cancellation
thrownewInvalidOperationException(@$"The Api endpoint URI is not valid: {settings.NationalizeApiClientApiEndpointUri}. Provide valid Api endpoint URI in the configuration '{nameof(settings.NationalizeApiClientApiEndpointUri)}'.
@@ -23,8 +23,7 @@ public override Task<HttpResult> HealthCheckAsync(CancellationToken cancellation
.AddTypeActivatedCheck<AzureServiceBusQueueHealthCheck>("Health check for service bus verification queue",HealthStatus.Unhealthy,nameof(HrSettings.ServiceBusConnection),nameof(HrSettings.VerificationQueueName))
//.AddTypeActivatedCheck<AzureServiceBusQueueHealthCheck>("Health check for service bus verification queue", HealthStatus.Unhealthy, nameof(HrSettings.ServiceBusConnection), nameof(HrSettings.VerificationQueueName))
/// Writes the <paramref name="healthReport"/> as JSON including the <see cref="SettingsBase.Deployment"/> and <see cref="HealthReport.Entries"/> results.
0 commit comments