Skip to content

Commit aca8b1a

Browse files
Update to .NET SDK 9.0.0-rc2, CMS and Deploy 15.0.0-rc2 and fix obsoletes
1 parent aa2303f commit aca8b1a

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313
<!-- Umbraco packages -->
1414
<ItemGroup>
15-
<PackageVersion Include="Umbraco.Cms.Web.Common" Version="[15.0.0-rc1, 16)" />
16-
<PackageVersion Include="Umbraco.Deploy.Infrastructure" Version="[15.0.0-rc1, 16)" />
15+
<PackageVersion Include="Umbraco.Cms.Web.Common" Version="[15.0.0-rc2, 16)" />
16+
<PackageVersion Include="Umbraco.Deploy.Infrastructure" Version="[15.0.0-rc2, 16)" />
1717
</ItemGroup>
1818
</Project>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.100-rc.1.24452.12",
3+
"version": "9.0.100-rc.2.24474.11",
44
"rollForward": "latestFeature",
55
"allowPrerelease": true
66
}

src/Umbraco.Deploy.Contrib/Migrators/DocTypeGridEditorPropertyTypeMigrator.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Diagnostics.CodeAnalysis;
4+
using System.Linq;
45
using System.Text.Json;
56
using System.Text.Json.Nodes;
67
using System.Text.Json.Serialization;
@@ -68,9 +69,13 @@ public DocTypeGridEditorPropertyTypeMigrator(ILogger<GridPropertyTypeMigrator> l
6869

6970
return new BlockItemData()
7071
{
71-
Udi = Udi.Create(Constants.UdiEntityType.Element, value.Id),
72+
Key = value.Id,
7273
ContentTypeKey = contentType.Key,
73-
RawPropertyValues = value.Value
74+
Values = value.Value.Select(x => new BlockPropertyValue()
75+
{
76+
Alias = x.Key,
77+
Value = x.Value,
78+
}).ToList(),
7479
};
7580
}
7681

tests/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Packages.props, $(MSBuildThisFileDirectory)..))" />
55
<!-- Umbraco packages -->
66
<ItemGroup>
7-
<PackageVersion Include="Umbraco.Cms.Tests" Version="15.0.0-rc1" />
7+
<PackageVersion Include="Umbraco.Cms.Tests" Version="15.0.0-rc2" />
88
</ItemGroup>
99
<!-- Third-party packages -->
1010
<ItemGroup>
1111
<PackageVersion Include="Moq" Version="4.17.2" />
1212
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
1313
<PackageVersion Include="NUnit3TestAdapter" Version="4.6.0" PrivateAssets="all" />
1414
</ItemGroup>
15-
</Project>
15+
</Project>

0 commit comments

Comments
 (0)