Skip to content

Commit b0e39fe

Browse files
committed
Merge branch 'v9/dev' into v9/9.1
2 parents d66fde6 + 581934d commit b0e39fe

File tree

53 files changed

+740
-418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+740
-418
lines changed

build/build.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,6 @@
449449
if ($this.OnError()) { return }
450450
})
451451

452-
$ubuild.DefineMethod("PrepareAzureGallery",
453-
{
454-
Write-Host "Prepare Azure Gallery"
455-
$this.CopyFile("$($this.SolutionRoot)\build\Azure\azuregalleryrelease.ps1", $this.BuildOutput)
456-
})
457-
458452
$ubuild.DefineMethod("PrepareCSharpDocs",
459453
{
460454
Write-Host "Prepare C# Documentation"
@@ -528,8 +522,6 @@
528522
if ($this.OnError()) { return }
529523
$this.PackageNuGet()
530524
if ($this.OnError()) { return }
531-
$this.PrepareAzureGallery()
532-
if ($this.OnError()) { return }
533525
$this.PostPackageHook()
534526
if ($this.OnError()) { return }
535527

build/templates/UmbracoPackage/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"version": {
2525
"type": "parameter",
2626
"datatype": "string",
27-
"defaultValue": "9.1.0-rc",
27+
"defaultValue": "9.2.0-rc",
2828
"description": "The version of Umbraco to load using NuGet",
2929
"replaces": "UMBRACO_VERSION_FROM_TEMPLATE"
3030
},

build/templates/UmbracoProject/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"version": {
5858
"type": "parameter",
5959
"datatype": "string",
60-
"defaultValue": "9.1.0-rc",
60+
"defaultValue": "9.2.0-rc",
6161
"description": "The version of Umbraco to load using NuGet",
6262
"replaces": "UMBRACO_VERSION_FROM_TEMPLATE"
6363
},

build/templates/UmbracoProject/UmbracoProject.csproj

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>net5.0</TargetFramework>
55
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Umbraco.Cms.Web.UI</RootNamespace>
66
</PropertyGroup>
77

8-
98
<ItemGroup>
109
<PackageReference Include="Umbraco.Cms" Version="UMBRACO_VERSION_FROM_TEMPLATE" />
1110
<PackageReference Include="Umbraco.Cms.SqlCe" Version="UMBRACO_VERSION_FROM_TEMPLATE" Condition="'$(UseSqlCe)' == 'true'" />
1211
<PackageReference Include="Umbraco.SqlServerCE" Version="4.0.0.1" Condition="'$(UseSqlCe)' == 'true'" />
1312
</ItemGroup>
1413

15-
<!-- Force windows to use ICU. Otherwise Windows 10 2019H1+ will do it, but older windows 10 and most if not all winodws servers will run NLS -->
16-
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
17-
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
18-
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2" />
19-
</ItemGroup>
20-
14+
<!-- Force windows to use ICU. Otherwise Windows 10 2019H1+ will do it, but older windows 10 and most if not all winodws servers will run NLS -->
15+
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
16+
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
17+
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2" />
18+
</ItemGroup>
2119

22-
<Import Project="..\PackageTestSiteName\build\PackageTestSiteName.targets" Condition="'$(PackageTestSiteName)' != ''" />
20+
<Import Project="..\PackageTestSiteName\build\PackageTestSiteName.targets" Condition="'$(PackageTestSiteName)' != ''" />
2321

2422
<ItemGroup Condition="'$(PackageTestSiteName)' != ''">
2523
<ProjectReference Include="..\PackageTestSiteName\PackageTestSiteName.csproj" />

src/Directory.Build.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
44

55
<PropertyGroup>
6-
<Version>9.1.0</Version>
7-
<AssemblyVersion>9.1.0</AssemblyVersion>
8-
<InformationalVersion>9.1.0-rc</InformationalVersion>
9-
<FileVersion>9.1.0</FileVersion>
6+
<Version>9.2.0</Version>
7+
<AssemblyVersion>9.2.0</AssemblyVersion>
8+
<InformationalVersion>9.2.0-rc</InformationalVersion>
9+
<FileVersion>9.2.0</FileVersion>
1010
<LangVersion Condition="'$(LangVersion)' == ''">9.0</LangVersion>
1111
<NeutralLanguage>en-US</NeutralLanguage>
1212
<Company>Umbraco CMS</Company>

src/Umbraco.Core/Configuration/Models/UmbracoPluginSettings.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ namespace Umbraco.Cms.Core.Configuration.Models
1111
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
1212
public class UmbracoPluginSettings
1313
{
14-
15-
1614
/// <summary>
1715
/// Gets or sets the allowed file extensions (including the period ".") that should be accessible from the browser.
1816
/// </summary>
@@ -25,7 +23,8 @@ public class UmbracoPluginSettings
2523
".jpg", ".jpeg", ".gif", ".png", ".svg", // images
2624
".eot", ".ttf", ".woff", // fonts
2725
".xml", ".json", ".config", // configurations
28-
".lic" // license
26+
".lic", // license
27+
".map" // js map files
2928
});
3029
}
3130
}

src/Umbraco.Core/Notifications/UmbracoApplicationComponentsInstallingNotification.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
// Copyright (c) Umbraco.
22
// See LICENSE for more details.
33

4+
using System;
5+
46
namespace Umbraco.Cms.Core.Notifications
57
{
8+
// TODO (V10): Remove this class.
9+
610
/// <summary>
711
/// Notification that occurs during the Umbraco boot process, before instances of <see cref="IComponent"/> initialize.
812
/// </summary>
13+
[Obsolete("This notification was added to the core runtime start-up as a hook for Umbraco Cloud local connection string and database setup. " +
14+
"Following re-work they are no longer used (from Deploy 9.2.0)." +
15+
"Given they are non-documented and no other use is expected, they can be removed in the next major release")]
916
public class UmbracoApplicationComponentsInstallingNotification : INotification
1017
{
1118
/// <summary>
12-
/// Initializes a new instance of the <see cref="UmbracoApplicationStartingNotification"/> class.
19+
/// Initializes a new instance of the <see cref="UmbracoApplicationComponentsInstallingNotification"/> class.
1320
/// </summary>
1421
/// <param name="runtimeLevel">The runtime level</param>
1522
public UmbracoApplicationComponentsInstallingNotification(RuntimeLevel runtimeLevel) => RuntimeLevel = runtimeLevel;

src/Umbraco.Core/Notifications/UmbracoApplicationMainDomAcquiredNotification.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
// Copyright (c) Umbraco.
22
// See LICENSE for more details.
33

4+
using System;
5+
46
namespace Umbraco.Cms.Core.Notifications
57
{
8+
// TODO (V10): Remove this class.
9+
610
/// <summary>
711
/// Notification that occurs during Umbraco boot after the MainDom has been acquired.
812
/// </summary>
13+
[Obsolete("This notification was added to the core runtime start-up as a hook for Umbraco Cloud local connection string and database setup. " +
14+
"Following re-work they are no longer used (from Deploy 9.2.0)." +
15+
"Given they are non-documented and no other use is expected, they can be removed in the next major release")]
916
public class UmbracoApplicationMainDomAcquiredNotification : INotification
1017
{
1118
/// <summary>

src/Umbraco.Infrastructure/Runtime/CoreRuntime.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public async Task StartAsync(CancellationToken cancellationToken)
133133
// acquire the main domain - if this fails then anything that should be registered with MainDom will not operate
134134
AcquireMainDom();
135135

136+
// TODO (V10): Remove this obsoleted notification publish.
136137
await _eventAggregator.PublishAsync(new UmbracoApplicationMainDomAcquiredNotification(), cancellationToken);
137138

138139
// notify for unattended install
@@ -171,6 +172,7 @@ public async Task StartAsync(CancellationToken cancellationToken)
171172
break;
172173
}
173174

175+
// TODO (V10): Remove this obsoleted notification publish.
174176
await _eventAggregator.PublishAsync(new UmbracoApplicationComponentsInstallingNotification(State.Level), cancellationToken);
175177

176178
// create & initialize the components

src/Umbraco.Infrastructure/Services/Implement/ContentVersionService.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,14 @@ public ContentVersionService(
4141
/// In v9 this can live in another class as we publish the notifications via IEventAggregator.
4242
/// But for v8 must be here for access to the static events.
4343
/// </remarks>
44-
public IReadOnlyCollection<HistoricContentVersionMeta> PerformContentVersionCleanup(DateTime asAtDate) =>
45-
CleanupDocumentVersions(asAtDate);
44+
public IReadOnlyCollection<HistoricContentVersionMeta> PerformContentVersionCleanup(DateTime asAtDate)
45+
{
46+
// Media - ignored
47+
// Members - ignored
48+
return CleanupDocumentVersions(asAtDate);
49+
}
50+
4651

47-
// Media - ignored
48-
// Members - ignored
4952
/// <remarks>
5053
/// v9 - move to another class
5154
/// </remarks>

0 commit comments

Comments
 (0)