Skip to content

Commit 8258679

Browse files
authored
Release v2.0.0: Upgrade to .NET 10 LTS (#84)
* Upgrade to .NET 10.0 LTS - Update global.json SDK to 10.0.101 - Update all projects from net6.0 to net10.0 target framework - Update Worker SDK to 2.0.5 (required for .NET 10 support) - All 73 tests pass on .NET 10 (61 Flattener + 12 Functions) - Build succeeds with only warnings (nullability, known vulnerabilities) - No behavioral changes - flattening algorithm produces identical output * Update all NuGet packages to latest versions - Update Microsoft.Identity.Web 3.5.0 → 4.3.0 (fixes vulnerability) - Update Microsoft.Identity.Web.GraphServiceClient 3.5.0 → 4.3.0 - Update Microsoft.Azure.Functions.Worker 1.21.0 → 2.51.0 - Update Microsoft.Azure.Functions.Worker.Sdk 2.0.5 → 2.0.7 - Update Microsoft.Graph 5.65.0 → 5.100.0 - Update Microsoft.Azure.Cosmos 3.46.0 → 3.56.0 - Update test packages (xunit 2.6.5 → 2.9.3, FluentAssertions 6.12.0 → 8.8.0) - All 73 tests pass - no breaking changes * build: update Bicep for .NET 10 deployment Update netFrameworkVersion from v6.0 to v10.0 for all environments. FUNCTIONS_WORKER_RUNTIME already updated to dotnet-isolated in v1.3.0. * build: update ARM template from Bicep changes * chore: update app version to 2.0.0
1 parent 1deba72 commit 8258679

9 files changed

Lines changed: 31 additions & 31 deletions

File tree

Directory.Packages.props

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<!-- Azure Functions Isolated Worker Packages -->
7-
<PackageVersion Include="Microsoft.Azure.Functions.Worker" Version="1.21.0" />
8-
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.17.0" />
9-
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.EventHubs" Version="6.3.5" />
10-
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Storage.Queues" Version="5.4.0" />
11-
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.1.0" />
12-
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Timer" Version="4.3.0" />
6+
<!-- Azure Functions Isolated Worker Packages (.NET 10 compatible) -->
7+
<PackageVersion Include="Microsoft.Azure.Functions.Worker" Version="2.51.0" />
8+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.0.7" />
9+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.EventHubs" Version="6.5.0" />
10+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Storage.Queues" Version="5.5.3" />
11+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.3.0" />
12+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Timer" Version="4.3.1" />
1313

1414
<!-- Azure Service Packages -->
15-
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.46.0" />
16-
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
15+
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.56.0" />
16+
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
1717

1818
<!-- Microsoft Graph & Identity Packages -->
19-
<PackageVersion Include="Microsoft.Graph" Version="5.65.0" />
20-
<PackageVersion Include="Microsoft.Identity.Web" Version="3.5.0" />
21-
<PackageVersion Include="Microsoft.Identity.Web.GraphServiceClient" Version="3.5.0" />
19+
<PackageVersion Include="Microsoft.Graph" Version="5.100.0" />
20+
<PackageVersion Include="Microsoft.Identity.Web" Version="4.3.0" />
21+
<PackageVersion Include="Microsoft.Identity.Web.GraphServiceClient" Version="4.3.0" />
2222

2323
<!-- Test Packages -->
24-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
25-
<PackageVersion Include="xunit" Version="2.6.5" />
26-
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.6" />
27-
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
28-
<PackageVersion Include="Moq" Version="4.20.70" />
24+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
25+
<PackageVersion Include="xunit" Version="2.9.3" />
26+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
27+
<PackageVersion Include="FluentAssertions" Version="8.8.0" />
28+
<PackageVersion Include="Moq" Version="4.20.72" />
2929
</ItemGroup>
3030
</Project>

deploy/bicep/deployFunction.bicep

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ var configurations = {
9191
httpsOnly: true
9292
siteConfig: {
9393
alwaysOn: false
94-
netFrameworkVersion: 'v6.0'
94+
netFrameworkVersion: 'v10.0'
9595
ftpsState: 'Disabled'
9696
}
9797
}
@@ -147,7 +147,7 @@ var configurations = {
147147
httpsOnly: true
148148
siteConfig: {
149149
alwaysOn: false
150-
netFrameworkVersion: 'v6.0'
150+
netFrameworkVersion: 'v10.0'
151151
ftpsState: 'Disabled'
152152
}
153153
}
@@ -210,7 +210,7 @@ var configurations = {
210210
httpsOnly: true
211211
siteConfig: {
212212
alwaysOn: false
213-
netFrameworkVersion: 'v6.0'
213+
netFrameworkVersion: 'v10.0'
214214
ftpsState: 'Disabled'
215215
}
216216
virtualNetworkSubnetId: virtualNetwork::fnappSubnet.id

deploy/resourcemanager/template.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.39.26.7824",
8-
"templateHash": "3565077033159323250"
8+
"templateHash": "6250529056655100639"
99
}
1010
},
1111
"parameters": {
@@ -647,7 +647,7 @@
647647
"_generator": {
648648
"name": "bicep",
649649
"version": "0.39.26.7824",
650-
"templateHash": "3076884505945340631"
650+
"templateHash": "4561757347526475827"
651651
}
652652
},
653653
"parameters": {
@@ -904,7 +904,7 @@
904904
"httpsOnly": true,
905905
"siteConfig": {
906906
"alwaysOn": false,
907-
"netFrameworkVersion": "v6.0",
907+
"netFrameworkVersion": "v10.0",
908908
"ftpsState": "Disabled"
909909
}
910910
}
@@ -959,7 +959,7 @@
959959
"httpsOnly": true,
960960
"siteConfig": {
961961
"alwaysOn": false,
962-
"netFrameworkVersion": "v6.0",
962+
"netFrameworkVersion": "v10.0",
963963
"ftpsState": "Disabled"
964964
}
965965
}
@@ -1020,7 +1020,7 @@
10201020
"httpsOnly": true,
10211021
"siteConfig": {
10221022
"alwaysOn": false,
1023-
"netFrameworkVersion": "v6.0",
1023+
"netFrameworkVersion": "v10.0",
10241024
"ftpsState": "Disabled"
10251025
},
10261026
"virtualNetworkSubnetId": "[resourceId('Microsoft.Network/virtualNetworks/subnets', format('vnet-{0}', resourceGroup().name), 'fnapp-subnet')]"

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": "6.0.424",
3+
"version": "10.0.101",
44
"rollForward": "latestFeature"
55
}
66
}

src/Flattener/CallRecordInsights.Flattener.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

src/Functions/CallRecordInsights.Functions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
66
<OutputType>Exe</OutputType>
77
<_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>

src/Functions/Extensions/GraphRequestBuilderAppOnlyExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ public static IList<IRequestOption> WithUserAgent(this IList<IRequestOption> opt
5252
}
5353

5454
private const string APP_NAME = "CallRecordInsights";
55-
private const string APP_VERSION = "1.3.0";
55+
private const string APP_VERSION = "2.0.0";
5656
}
5757
}

tests/CallRecordInsights.Flattener.Tests/CallRecordInsights.Flattener.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

tests/CallRecordInsights.Functions.Tests/CallRecordInsights.Functions.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)