From a91c81ee56823315b80ff1fbb5a8d13de3640d8b Mon Sep 17 00:00:00 2001 From: Andy Butland Date: Fri, 8 Jul 2022 15:33:22 +0200 Subject: [PATCH 1/2] Changed healthcheck collection configuration to use a concrete type to ensure configuration settings are bound. --- .../Configuration/Models/HealthChecksNotificationSettings.cs | 4 ++-- src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs b/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs index 6e81c48c7c..30f6380e81 100644 --- a/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs +++ b/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs @@ -39,6 +39,6 @@ public class HealthChecksNotificationSettings /// /// Gets or sets a value for the collection of health checks that are disabled for notifications. /// - public IEnumerable DisabledChecks { get; set; } = - Enumerable.Empty(); + public List DisabledChecks { get; set; } = + new List(); } diff --git a/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs b/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs index 6ae79e9743..638baeb562 100644 --- a/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs +++ b/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs @@ -12,8 +12,8 @@ public class HealthChecksSettings /// /// Gets or sets a value for the collection of healthchecks that are disabled. /// - public IEnumerable DisabledChecks { get; set; } = - Enumerable.Empty(); + public List DisabledChecks { get; set; } = + new List(); /// /// Gets or sets a value for the healthcheck notification settings. From bad914842a568e1b36509943469ec7024e7e346c Mon Sep 17 00:00:00 2001 From: Nikolaj Date: Wed, 11 Jan 2023 10:25:31 +0100 Subject: [PATCH 2/2] Bump version --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index e8639110f4..4dd6489c75 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "11.1.0-rc", + "version": "11.1.0", "assemblyVersion": { "precision": "build" },