Skip to content

Commit 111440e

Browse files
authored
Merge pull request #441 from KodrAus/chore/dotnet-10
Update to .NET 10
2 parents 9face8b + 52cbdac commit 111440e

11 files changed

Lines changed: 22 additions & 23 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup
2727
uses: actions/setup-dotnet@v4
2828
with:
29-
dotnet-version: 9.0.x
29+
dotnet-version: 10.0.x
3030
- name: Build and Publish
3131
env:
3232
DOTNET_CLI_TELEMETRY_OPTOUT: true
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup
4949
uses: actions/setup-dotnet@v4
5050
with:
51-
dotnet-version: 9.0.x
51+
dotnet-version: 10.0.x
5252
- name: Configure Docker
5353
run: |
5454
docker run --privileged --rm linuxkit/binfmt:bebbae0c1100ebf7bf2ad4dfb9dfd719cf0ef132

build/Build.Linux.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $version = Get-SemVer
1010

1111
Write-Output "Building version $version"
1212

13-
$framework = "net9.0"
13+
$framework = "net10.0"
1414
$image = "datalust/seqcli"
1515
$archs = @(
1616
@{ rid = "x64"; platform = "linux/amd64" },

build/Build.Windows.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $version = Get-SemVer
1212

1313
Write-Output "Building version $version"
1414

15-
$framework = 'net9.0'
15+
$framework = 'net10.0'
1616

1717
function Clean-Output
1818
{

ci.global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "9.0.306"
3+
"version": "10.0.102"
44
}
55
}

dockerfiles/seqcli/linux-arm64.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
RUN apt-get update \
44
&& apt-get install -y --no-install-recommends \
55
ca-certificates \
66
libc6 \
77
libgcc1 \
88
libgssapi-krb5-2 \
9-
libicu70 \
9+
libicu-dev \
1010
libssl3 \
1111
libstdc++6 \
1212
zlib1g \
1313
&& rm -rf /var/lib/apt/lists/*
1414

15-
COPY src/SeqCli/bin/Release/net9.0/linux-arm64/publish /bin/seqcli
15+
COPY src/SeqCli/bin/Release/net10.0/linux-arm64/publish /bin/seqcli
1616

1717
ENTRYPOINT ["/bin/seqcli/seqcli"]
1818

dockerfiles/seqcli/linux-x64.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
RUN apt-get update \
44
&& apt-get install -y --no-install-recommends \
55
ca-certificates \
66
libc6 \
77
libgcc1 \
88
libgssapi-krb5-2 \
9-
libicu70 \
9+
libicu-dev \
1010
libssl3 \
1111
libstdc++6 \
1212
zlib1g \
1313
&& rm -rf /var/lib/apt/lists/*
1414

15-
COPY src/SeqCli/bin/Release/net9.0/linux-x64/publish /bin/seqcli
15+
COPY src/SeqCli/bin/Release/net10.0/linux-x64/publish /bin/seqcli
1616

1717
ENTRYPOINT ["/bin/seqcli/seqcli"]
1818

src/Roastery/Roastery.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>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
</PropertyGroup>
77

src/SeqCli/SeqCli.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<AssemblyName>seqcli</AssemblyName>
66
<ApplicationIcon>..\..\asset\SeqCli.ico</ApplicationIcon>
77
<RuntimeIdentifiers>win-x64;linux-x64;linux-musl-x64;osx-x64;linux-arm64;linux-musl-arm64;osx-arm64</RuntimeIdentifiers>
@@ -37,13 +37,13 @@
3737
<PackageReference Include="Serilog.Expressions" Version="5.0.0" />
3838
<PackageReference Include="Serilog.Formatting.Compact" Version="3.0.0" />
3939
<PackageReference Include="Serilog.Formatting.Compact.Reader" Version="4.0.0" />
40-
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
41-
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
42-
<PackageReference Include="Autofac" Version="8.4.0" />
40+
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
41+
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
42+
<PackageReference Include="Autofac" Version="9.0.0" />
4343
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
4444
<PackageReference Include="Superpower" Version="3.1.0" />
45-
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="9.0.10" />
46-
<PackageReference Include="System.ServiceProcess.ServiceController" Version="9.0.10" />
45+
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="10.0.2" />
46+
<PackageReference Include="System.ServiceProcess.ServiceController" Version="10.0.2" />
4747
<PackageReference Include="Serilog.Sinks.Seq" Version="9.0.0" />
4848
<PackageReference Include="Seq.Apps" Version="2023.4.0" />
4949
<PackageReference Include="Seq.Syntax" Version="1.1.0" />

src/SeqCli/Util/PasswordHash.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public static byte[] Calculate(string password, byte[] salt)
2222
if (password == null) throw new ArgumentNullException(nameof(password));
2323
if (salt == null) throw new ArgumentNullException(nameof(salt));
2424

25-
using var algorithm = new Rfc2898DeriveBytes(password, salt, HashIter, HashAlgorithmName.SHA512);
26-
return algorithm.GetBytes(HashSize);
25+
return Rfc2898DeriveBytes.Pbkdf2(password, salt, HashIter, HashAlgorithmName.SHA512, HashSize);
2726
}
2827
}

test/SeqCli.EndToEnd/SeqCli.EndToEnd.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
</PropertyGroup>
77
<ItemGroup>
88
<PackageReference Include="xunit" Version="2.9.3" />

0 commit comments

Comments
 (0)