From d09fbb8770a21acd966892af2aa704e443e77dab Mon Sep 17 00:00:00 2001 From: Markus Eliasson Date: Wed, 26 Mar 2025 20:23:31 +0100 Subject: [PATCH 1/4] Remove deprecated attribute --- src/Quarter/App.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Quarter/App.razor b/src/Quarter/App.razor index 2484195..0ebed0c 100644 --- a/src/Quarter/App.razor +++ b/src/Quarter/App.razor @@ -1,7 +1,7 @@ @using Quarter.Pages.Layout @inject NavigationManager NavigationManager - + @@ -15,4 +15,4 @@

Sorry, there's nothing at this address.

-
\ No newline at end of file +
From 8acdbaabe49b2bf7b884f853a12085ef3ba23395 Mon Sep 17 00:00:00 2001 From: Markus Eliasson Date: Wed, 26 Mar 2025 20:35:31 +0100 Subject: [PATCH 2/4] Upgrade to .NET 9 and latest version of third-party dependencies --- src/Quarter.Core/Quarter.Core.csproj | 12 ++++++------ src/Quarter.HttpApi/Quarter.HttpApi.csproj | 2 +- src/Quarter/Quarter.csproj | 6 +++--- .../Quarter.Core.UnitTest.csproj | 12 ++++++------ .../Quarter.HttpApi.UnitTest.csproj | 10 +++++----- test/unit/Quarter.UnitTest/Quarter.UnitTest.csproj | 14 +++++++------- 6 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/Quarter.Core/Quarter.Core.csproj b/src/Quarter.Core/Quarter.Core.csproj index f092dc9..8c5a5f9 100644 --- a/src/Quarter.Core/Quarter.Core.csproj +++ b/src/Quarter.Core/Quarter.Core.csproj @@ -1,14 +1,14 @@ - net8.0 + net9.0 - - - - - + + + + + diff --git a/src/Quarter.HttpApi/Quarter.HttpApi.csproj b/src/Quarter.HttpApi/Quarter.HttpApi.csproj index 3c3f2f1..ee1fd73 100644 --- a/src/Quarter.HttpApi/Quarter.HttpApi.csproj +++ b/src/Quarter.HttpApi/Quarter.HttpApi.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 enable enable diff --git a/src/Quarter/Quarter.csproj b/src/Quarter/Quarter.csproj index 791c17d..0daca3c 100644 --- a/src/Quarter/Quarter.csproj +++ b/src/Quarter/Quarter.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 Quarter @@ -10,8 +10,8 @@ - - + + diff --git a/test/unit/Quarter.Core.UnitTest/Quarter.Core.UnitTest.csproj b/test/unit/Quarter.Core.UnitTest/Quarter.Core.UnitTest.csproj index e3832ec..d2f2486 100644 --- a/test/unit/Quarter.Core.UnitTest/Quarter.Core.UnitTest.csproj +++ b/test/unit/Quarter.Core.UnitTest/Quarter.Core.UnitTest.csproj @@ -1,15 +1,15 @@ - net8.0 + net9.0 false - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/unit/Quarter.HttpApi.UnitTest/Quarter.HttpApi.UnitTest.csproj b/test/unit/Quarter.HttpApi.UnitTest/Quarter.HttpApi.UnitTest.csproj index 14086f8..f3b3dc3 100644 --- a/test/unit/Quarter.HttpApi.UnitTest/Quarter.HttpApi.UnitTest.csproj +++ b/test/unit/Quarter.HttpApi.UnitTest/Quarter.HttpApi.UnitTest.csproj @@ -1,16 +1,16 @@ - net8.0 + net9.0 enable false - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/unit/Quarter.UnitTest/Quarter.UnitTest.csproj b/test/unit/Quarter.UnitTest/Quarter.UnitTest.csproj index c7f83cc..981ffc6 100644 --- a/test/unit/Quarter.UnitTest/Quarter.UnitTest.csproj +++ b/test/unit/Quarter.UnitTest/Quarter.UnitTest.csproj @@ -1,19 +1,19 @@ - net8.0 + net9.0 false - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + From 2797f688cf5f8a1cd7464b7b3bf7e8f08d0a4785 Mon Sep 17 00:00:00 2001 From: Markus Eliasson Date: Wed, 26 Mar 2025 22:13:55 +0100 Subject: [PATCH 3/4] Update docker images to .NET 9 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ae5a10..95f4801 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # Build part -FROM mcr.microsoft.com/dotnet/sdk:8.0 as build +FROM mcr.microsoft.com/dotnet/sdk:9.0 as build WORKDIR /app COPY ./ . RUN dotnet publish src/Quarter/Quarter.csproj --output /app/dist --configuration Release # Runtime part -FROM mcr.microsoft.com/dotnet/aspnet:8.0 +FROM mcr.microsoft.com/dotnet/aspnet:9.0 WORKDIR /app COPY --from=build /app/dist . ENTRYPOINT ["dotnet", "Quarter.dll"] From 891b38831b5adbf2b5636bdd54074a7b1eb4a5a9 Mon Sep 17 00:00:00 2001 From: Markus Eliasson Date: Thu, 17 Apr 2025 08:37:34 +0200 Subject: [PATCH 4/4] Update .NET version in GitHub Action --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63ea73a..f70a207 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: env: - DOTNET_VERSION: "8.0.102" + DOTNET_VERSION: "9.0.203" jobs: build: