Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
namespace Umbraco.Cms.Core.Configuration.Models;

[Obsolete("Runtime minification is no longer supported. Will be removed entirely in V16.")]
public enum RuntimeMinificationCacheBuster
{
Version,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Umbraco.Cms.Core.Configuration.Models;

[Obsolete("Runtime minification is no longer supported. Will be removed entirely in V16.")]
[UmbracoOptions(Constants.Configuration.ConfigRuntimeMinification)]
public class RuntimeMinificationSettings
{
Expand Down
2 changes: 2 additions & 0 deletions src/Umbraco.Core/Constants-Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ public static class Configuration
public const string ConfigRequestHandler = ConfigPrefix + "RequestHandler";
public const string ConfigRuntime = ConfigPrefix + "Runtime";
public const string ConfigRuntimeMode = ConfigRuntime + ":Mode";
[Obsolete("Runtime minification is no longer supported. Will be removed entirely in V16.")]
public const string ConfigRuntimeMinification = ConfigPrefix + "RuntimeMinification";
[Obsolete("Runtime minification is no longer supported. Will be removed entirely in V16.")]
public const string ConfigRuntimeMinificationVersion = ConfigRuntimeMinification + ":Version";
Comment thread
nikolajlauridsen marked this conversation as resolved.
public const string ConfigSecurity = ConfigPrefix + "Security";
public const string ConfigBasicAuth = ConfigPrefix + "BasicAuth";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public static IUmbracoBuilder AddCoreInitialServices(this IUmbracoBuilder builde
.Add<JITOptimizerValidator>()
.Add<UmbracoApplicationUrlValidator>()
.Add<UseHttpsValidator>()
.Add<RuntimeMinificationValidator>()
.Add<ModelsBuilderModeValidator>();

// composers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Umbraco.Cms.Infrastructure.Runtime.RuntimeModeValidators;
/// Validates whether the runtime minification cache buster is not set to <see cref="RuntimeMinificationCacheBuster.Timestamp" /> when in production runtime mode.
/// </summary>
/// <seealso cref="Umbraco.Cms.Infrastructure.Runtime.RuntimeModeValidators.RuntimeModeProductionValidatorBase" />
[Obsolete("Runtime minification is no longer supported, so this is no longer relevant. Will be removed entirely in V16.")]
public class RuntimeMinificationValidator : RuntimeModeProductionValidatorBase
{
private readonly IOptionsMonitor<RuntimeMinificationSettings> _runtimeMinificationSettings;
Expand Down
1 change: 1 addition & 0 deletions tools/Umbraco.JsonSchema/UmbracoCmsSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public class UmbracoCmsDefinition

public required RichTextEditorSettings RichTextEditor { get; set; }

[Obsolete("Runtime minification is no longer supported. Will be removed entirely in V16.")]
public required RuntimeMinificationSettings RuntimeMinification { get; set; }

public required BasicAuthSettings BasicAuth { get; set; }
Expand Down