Merge remote-tracking branch 'origin/release/12.0' into v12/dev

# Conflicts:
#	src/Umbraco.Infrastructure/Sync/ServerMessengerBase.cs
#	version.json
This commit is contained in:
Bjarke Berg
2023-06-20 13:56:27 +02:00
119 changed files with 2525 additions and 1450 deletions

View File

@@ -29,7 +29,7 @@ public class WebProfiler : IProfiler
public void Start()
{
MiniProfiler.StartNew();
MiniProfilerContext.Value = MiniProfiler.Current;
MiniProfilerContext.Value = MiniProfiler.Current!;
}
public void Stop(bool discardResults = false) => MiniProfilerContext.Value?.Stop(discardResults);
@@ -84,7 +84,7 @@ public class WebProfiler : IProfiler
if (cookieValue is not null)
{
AddSubProfiler(MiniProfiler.FromJson(cookieValue));
AddSubProfiler(MiniProfiler.FromJson(cookieValue)!);
}
// If it is a redirect to a relative path (local redirect)

View File

@@ -34,7 +34,7 @@ public class WebProfilerHtml : IProfilerHtml
var result = StackExchange.Profiling.Internal.Render.Includes(
profiler,
context is not null ? context.Request.PathBase + path : null,
context is not null ? context.Request.PathBase + path : string.Empty,
true,
new List<Guid> { profiler.Id },
RenderPosition.Right,

View File

@@ -14,11 +14,11 @@
<PackageReference Include="Asp.Versioning.Mvc" Version="7.0.0" />
<PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="7.0.0" />
<PackageReference Include="Dazinator.Extensions.FileProviders" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.5" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="7.0.5" />
<PackageReference Include="MiniProfiler.AspNetCore.Mvc" Version="4.2.22" />
<PackageReference Include="Smidge.InMemory" Version="4.2.1" />
<PackageReference Include="Smidge.Nuglify" Version="4.2.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.7" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="7.0.7" />
<PackageReference Include="MiniProfiler.AspNetCore.Mvc" Version="4.3.8" />
<PackageReference Include="Smidge.InMemory" Version="4.3.0" />
<PackageReference Include="Smidge.Nuglify" Version="4.3.0" />
</ItemGroup>
<ItemGroup>