The Free Software Media System - Server Backend & API
Update to dotnet 5.0.3
crobibero407c35f087d7
diff --git a/.ci/azure-pipelines-abi.yml b/.ci/azure-pipelines-abi.ymlindex 14df7e7c8d..8d0737b66c 100644--- a/.ci/azure-pipelines-abi.yml+++ b/.ci/azure-pipelines-abi.yml@@ -7,7 +7,7 @@ parameters:default: "ubuntu-latest"- name: DotNetSdkVersiontype: string- default: 5.0.100+ default: 5.0.103jobs:- job: CompatibilityCheckdiff --git a/.ci/azure-pipelines-api-client.yml b/.ci/azure-pipelines-api-client.ymlindex 177f78889c..0e944e6f47 100644--- a/.ci/azure-pipelines-api-client.yml+++ b/.ci/azure-pipelines-api-client.yml@@ -4,7 +4,7 @@default: "ubuntu-latest"- name: GeneratorVersiontype: string- default: "5.0.0-beta2"+ default: "5.0.1"jobs:- job: GenerateApiClientsdiff --git a/.ci/azure-pipelines-main.yml b/.ci/azure-pipelines-main.ymlindex 95dd3ccac2..4bc72f9eb0 100644--- a/.ci/azure-pipelines-main.yml+++ b/.ci/azure-pipelines-main.yml@@ -1,7 +1,7 @@parameters:LinuxImage: 'ubuntu-latest'RestoreBuildProjects: 'Jellyfin.Server/Jellyfin.Server.csproj'- DotNetSdkVersion: 5.0.100+ DotNetSdkVersion: 5.0.103jobs:- job: Builddiff --git a/.ci/azure-pipelines-test.yml b/.ci/azure-pipelines-test.ymlindex 36152c82a4..95e0d8c58d 100644--- a/.ci/azure-pipelines-test.yml+++ b/.ci/azure-pipelines-test.yml@@ -10,7 +10,7 @@ parameters:default: "tests/**/*Tests.csproj"- name: DotNetSdkVersiontype: string- default: 5.0.100+ default: 5.0.103jobs:- job: Testdiff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.ymlindex ec4c254358..6430503f9a 100644--- a/.ci/azure-pipelines.yml+++ b/.ci/azure-pipelines.yml@@ -6,7 +6,7 @@ variables:- name: RestoreBuildProjectsvalue: 'Jellyfin.Server/Jellyfin.Server.csproj'- name: DotNetSdkVersion- value: 5.0.100+ value: 5.0.103pr:autoCancel: truediff --git a/Jellyfin.Api/Jellyfin.Api.csproj b/Jellyfin.Api/Jellyfin.Api.csprojindex 3dd4776c12..c2f4ab522a 100644--- a/Jellyfin.Api/Jellyfin.Api.csproj+++ b/Jellyfin.Api/Jellyfin.Api.csproj@@ -15,7 +15,7 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Microsoft.AspNetCore.Authorization" Version="5.0.2" />+ <PackageReference Include="Microsoft.AspNetCore.Authorization" Version="5.0.3" /><PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" /><PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" /><PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.0.2" />diff --git a/Jellyfin.Data/Jellyfin.Data.csproj b/Jellyfin.Data/Jellyfin.Data.csprojindex faea50297d..a8ac45645f 100644--- a/Jellyfin.Data/Jellyfin.Data.csproj+++ b/Jellyfin.Data/Jellyfin.Data.csproj@@ -41,8 +41,8 @@</ItemGroup><ItemGroup>- <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="5.0.2" />- <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.2" />+ <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="5.0.3" />+ <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.3" /></ItemGroup><ItemGroup>diff --git a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csprojindex 05052e5c06..4f24da0ee4 100644--- a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj+++ b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj@@ -26,11 +26,11 @@<ItemGroup><PackageReference Include="System.Linq.Async" Version="5.0.0" />- <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.2">+ <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.3"><PrivateAssets>all</PrivateAssets><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets></PackageReference>- <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.2">+ <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.3"><PrivateAssets>all</PrivateAssets><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets></PackageReference>diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csprojindex 3ebcc3279d..bf4f806693 100644--- a/Jellyfin.Server/Jellyfin.Server.csproj+++ b/Jellyfin.Server/Jellyfin.Server.csproj@@ -40,8 +40,8 @@<PackageReference Include="CommandLineParser" Version="2.8.0" /><PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="5.0.0" /><PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />- <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="5.0.2" />- <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="5.0.2" />+ <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="5.0.3" />+ <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="5.0.3" /><PackageReference Include="prometheus-net" Version="4.1.1" /><PackageReference Include="prometheus-net.AspNetCore" Version="4.1.1" /><PackageReference Include="Serilog.AspNetCore" Version="3.4.0" />diff --git a/deployment/Dockerfile.debian.amd64 b/deployment/Dockerfile.debian.amd64index f5cf232d65..4280726135 100644--- a/deployment/Dockerfile.debian.amd64+++ b/deployment/Dockerfile.debian.amd64@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.debian.arm64 b/deployment/Dockerfile.debian.arm64index d9414a6104..b540efc09a 100644--- a/deployment/Dockerfile.debian.arm64+++ b/deployment/Dockerfile.debian.arm64@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.debian.armhf b/deployment/Dockerfile.debian.armhfindex 7f2275aaa3..426ce02fcd 100644--- a/deployment/Dockerfile.debian.armhf+++ b/deployment/Dockerfile.debian.armhf@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.linux.amd64 b/deployment/Dockerfile.linux.amd64index 54d75dcbe9..3b91515f36 100644--- a/deployment/Dockerfile.linux.amd64+++ b/deployment/Dockerfile.linux.amd64@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.linux.amd64-musl b/deployment/Dockerfile.linux.amd64-muslindex e4c7242191..2ca9072bae 100644--- a/deployment/Dockerfile.linux.amd64-musl+++ b/deployment/Dockerfile.linux.amd64-musl@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.linux.arm64 b/deployment/Dockerfile.linux.arm64index 6338025981..03efd306d7 100644--- a/deployment/Dockerfile.linux.arm64+++ b/deployment/Dockerfile.linux.arm64@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.linux.armhf b/deployment/Dockerfile.linux.armhfindex ec0b015cc8..585572204b 100644--- a/deployment/Dockerfile.linux.armhf+++ b/deployment/Dockerfile.linux.armhf@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.macos b/deployment/Dockerfile.macosindex 25f15be183..b37afdcfbc 100644--- a/deployment/Dockerfile.macos+++ b/deployment/Dockerfile.macos@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.portable b/deployment/Dockerfile.portableindex cd71ce9d49..686b20197c 100644--- a/deployment/Dockerfile.portable+++ b/deployment/Dockerfile.portable@@ -15,7 +15,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.ubuntu.amd64 b/deployment/Dockerfile.ubuntu.amd64index ea539b3609..3513bf8ecb 100644--- a/deployment/Dockerfile.ubuntu.amd64+++ b/deployment/Dockerfile.ubuntu.amd64@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.ubuntu.arm64 b/deployment/Dockerfile.ubuntu.arm64index f2f5368f7a..5acdf0d178 100644--- a/deployment/Dockerfile.ubuntu.arm64+++ b/deployment/Dockerfile.ubuntu.arm64@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.ubuntu.armhf b/deployment/Dockerfile.ubuntu.armhfindex ba597801b5..42f757d058 100644--- a/deployment/Dockerfile.ubuntu.armhf+++ b/deployment/Dockerfile.ubuntu.armhf@@ -16,7 +16,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/deployment/Dockerfile.windows.amd64 b/deployment/Dockerfile.windows.amd64index c731268416..6ed1193fb0 100644--- a/deployment/Dockerfile.windows.amd64+++ b/deployment/Dockerfile.windows.amd64@@ -15,7 +15,7 @@ RUN apt-get update \# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current-RUN wget https://download.visualstudio.microsoft.com/download/pr/7f736160-9f34-4595-8d72-13630c437aef/b9c4513afb0f8872eb95793c70ac52f6/dotnet-sdk-5.0.102-linux-x64.tar.gz -O dotnet-sdk.tar.gz \+RUN wget https://download.visualstudio.microsoft.com/download/pr/a2052604-de46-4cd4-8256-9bc222537d32/a798771950904eaf91c0c37c58f516e1/dotnet-sdk-5.0.103-linux-x64.tar.gz -O dotnet-sdk.tar.gz \&& mkdir -p dotnet-sdk \&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnetdiff --git a/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj b/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csprojindex 3da728c633..eca3df79b3 100644--- a/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj+++ b/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj@@ -16,7 +16,7 @@<PackageReference Include="AutoFixture" Version="4.15.0" /><PackageReference Include="AutoFixture.AutoMoq" Version="4.15.0" /><PackageReference Include="AutoFixture.Xunit2" Version="4.15.0" />- <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.2" />+ <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.3" /><PackageReference Include="Microsoft.Extensions.Options" Version="5.0.0" /><PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" /><PackageReference Include="xunit" Version="2.4.1" />