The Free Software Media System - Server Backend & API
Update to .NET 8
Bond_009eb022c49ccb3
diff --git a/.ci/azure-pipelines-test.yml b/.ci/azure-pipelines-test.ymlindex 81362aab23..f15d6a6cda 100644--- a/.ci/azure-pipelines-test.yml+++ b/.ci/azure-pipelines-test.yml@@ -94,5 +94,5 @@ jobs:displayName: 'Publish OpenAPI Artifact'condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))inputs:- targetPath: "tests/Jellyfin.Server.Integration.Tests/bin/Release/net7.0/openapi.json"+ targetPath: "tests/Jellyfin.Server.Integration.Tests/bin/Release/net8.0/openapi.json"artifactName: 'OpenAPI Spec'diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.jsonindex dbe78984a2..37aa7721e3 100644--- a/.config/dotnet-tools.json+++ b/.config/dotnet-tools.json@@ -9,4 +9,4 @@]}}-}\ No newline at end of file+}diff --git a/.github/workflows/ci-openapi.yml b/.github/workflows/ci-openapi.ymlindex 8c463a8fcf..96b790c0c7 100644--- a/.github/workflows/ci-openapi.yml+++ b/.github/workflows/ci-openapi.yml@@ -30,7 +30,7 @@ jobs:name: openapi-headretention-days: 14if-no-files-found: error- path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net7.0/openapi.json+ path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net8.0/openapi.jsonopenapi-base:name: OpenAPI - BASE@@ -64,7 +64,7 @@ jobs:name: openapi-baseretention-days: 14if-no-files-found: error- path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net7.0/openapi.json+ path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net8.0/openapi.jsonopenapi-diff:permissions:diff --git a/.vscode/launch.json b/.vscode/launch.jsonindex 55e6508a9a..be55764fd4 100644--- a/.vscode/launch.json+++ b/.vscode/launch.json@@ -6,7 +6,7 @@"type": "coreclr","request": "launch","preLaunchTask": "build",- "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net7.0/jellyfin.dll",+ "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net8.0/jellyfin.dll","args": [],"cwd": "${workspaceFolder}/Jellyfin.Server","console": "internalConsole",@@ -22,7 +22,7 @@"type": "coreclr","request": "launch","preLaunchTask": "build",- "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net7.0/jellyfin.dll",+ "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net8.0/jellyfin.dll","args": ["--nowebclient"],"cwd": "${workspaceFolder}/Jellyfin.Server","console": "internalConsole",diff --git a/Directory.Packages.props b/Directory.Packages.propsindex 9109a5a18a..0d7dbf12ce 100644--- a/Directory.Packages.props+++ b/Directory.Packages.props@@ -23,30 +23,30 @@<PackageVersion Include="libse" Version="3.6.13" /><PackageVersion Include="LrcParser" Version="2023.524.0" /><PackageVersion Include="MetaBrainz.MusicBrainz" Version="5.0.1" />- <PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="7.0.13" />+ <PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="8.0.0" /><PackageVersion Include="Microsoft.AspNetCore.HttpOverrides" Version="2.2.0" />- <PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.13" />+ <PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" /><PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />- <PackageVersion Include="Microsoft.Data.Sqlite" Version="7.0.13" />- <PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.13" />- <PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.13" />- <PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.13" />- <PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.13" />- <PackageVersion Include="Microsoft.Extensions.Caching.Abstractions" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />- <PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="7.0.13" />- <PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="7.0.13" />- <PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Http" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />- <PackageVersion Include="Microsoft.Extensions.Logging" Version="7.0.0" />- <PackageVersion Include="Microsoft.Extensions.Options" Version="7.0.1" />+ <PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.0" />+ <PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.0" />+ <PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" />+ <PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />+ <PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Options" Version="8.0.0" /><PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" /><PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" /><PackageVersion Include="MimeTypes" Version="2.4.0" />@@ -77,9 +77,9 @@<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.2.3" /><PackageVersion Include="System.Globalization" Version="4.3.0" /><PackageVersion Include="System.Linq.Async" Version="6.0.1" />- <PackageVersion Include="System.Text.Encoding.CodePages" Version="7.0.0" />- <PackageVersion Include="System.Text.Json" Version="7.0.3" />- <PackageVersion Include="System.Threading.Tasks.Dataflow" Version="7.0.0" />+ <PackageVersion Include="System.Text.Encoding.CodePages" Version="8.0.0" />+ <PackageVersion Include="System.Text.Json" Version="8.0.0" />+ <PackageVersion Include="System.Threading.Tasks.Dataflow" Version="8.0.0" /><PackageVersion Include="TagLibSharp" Version="2.3.0" /><PackageVersion Include="TMDbLib" Version="2.0.0" /><PackageVersion Include="UTF.Unknown" Version="2.5.1" />@@ -88,4 +88,4 @@<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" /><PackageVersion Include="xunit" Version="2.6.1" /></ItemGroup>-</Project>\ No newline at end of file+</Project>diff --git a/Emby.Dlna/Emby.Dlna.csproj b/Emby.Dlna/Emby.Dlna.csprojindex efbef05640..7336482e56 100644--- a/Emby.Dlna/Emby.Dlna.csproj+++ b/Emby.Dlna/Emby.Dlna.csproj@@ -17,7 +17,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/Emby.Naming/Emby.Naming.csproj b/Emby.Naming/Emby.Naming.csprojindex bc7548189b..47f2605501 100644--- a/Emby.Naming/Emby.Naming.csproj+++ b/Emby.Naming/Emby.Naming.csproj@@ -6,7 +6,7 @@</PropertyGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><PublishRepositoryUrl>true</PublishRepositoryUrl>diff --git a/Emby.Photos/Emby.Photos.csproj b/Emby.Photos/Emby.Photos.csprojindex 5a04bbe49b..55dbe393c7 100644--- a/Emby.Photos/Emby.Photos.csproj+++ b/Emby.Photos/Emby.Photos.csproj@@ -19,7 +19,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csprojindex b48e389ace..905f36e43e 100644--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj@@ -40,7 +40,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/Jellyfin.Api/Jellyfin.Api.csproj b/Jellyfin.Api/Jellyfin.Api.csprojindex 03dd97367f..2473fb288a 100644--- a/Jellyfin.Api/Jellyfin.Api.csproj+++ b/Jellyfin.Api/Jellyfin.Api.csproj@@ -6,7 +6,7 @@</PropertyGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/Jellyfin.Data/Jellyfin.Data.csproj b/Jellyfin.Data/Jellyfin.Data.csprojindex 847853ca00..c26e6cf239 100644--- a/Jellyfin.Data/Jellyfin.Data.csproj+++ b/Jellyfin.Data/Jellyfin.Data.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><PublishRepositoryUrl>true</PublishRepositoryUrl>diff --git a/Jellyfin.Networking/Jellyfin.Networking.csproj b/Jellyfin.Networking/Jellyfin.Networking.csprojindex 43d08c37a1..30f41aeb22 100644--- a/Jellyfin.Networking/Jellyfin.Networking.csproj+++ b/Jellyfin.Networking/Jellyfin.Networking.csproj@@ -1,6 +1,6 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csprojindex df1d5a3e18..0ed1578c70 100644--- a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj+++ b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csprojindex 5479d22965..1d4d97551e 100644--- a/Jellyfin.Server/Jellyfin.Server.csproj+++ b/Jellyfin.Server/Jellyfin.Server.csproj@@ -8,7 +8,7 @@<PropertyGroup><AssemblyName>jellyfin</AssemblyName><OutputType>Exe</OutputType>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><ServerGarbageCollection>false</ServerGarbageCollection><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile>diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csprojindex 7d0d7a173b..9b3ea43683 100644--- a/MediaBrowser.Common/MediaBrowser.Common.csproj+++ b/MediaBrowser.Common/MediaBrowser.Common.csproj@@ -29,7 +29,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><PublishRepositoryUrl>true</PublishRepositoryUrl>diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csprojindex f9468f6cdb..83faac3372 100644--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj@@ -35,7 +35,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><PublishRepositoryUrl>true</PublishRepositoryUrl>diff --git a/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj b/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csprojindex a39bc238a7..05177ac398 100644--- a/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj+++ b/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj@@ -11,7 +11,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj b/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csprojindex 1f39e88cde..a4e8194c15 100644--- a/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj+++ b/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj@@ -6,7 +6,7 @@</PropertyGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csprojindex 75c5bc6f00..89ec156a9f 100644--- a/MediaBrowser.Model/MediaBrowser.Model.csproj+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj@@ -14,7 +14,7 @@</PropertyGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><PublishRepositoryUrl>true</PublishRepositoryUrl>diff --git a/MediaBrowser.Providers/MediaBrowser.Providers.csproj b/MediaBrowser.Providers/MediaBrowser.Providers.csprojindex 8471f6fa10..7a50c6cf4b 100644--- a/MediaBrowser.Providers/MediaBrowser.Providers.csproj+++ b/MediaBrowser.Providers/MediaBrowser.Providers.csproj@@ -27,7 +27,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>diff --git a/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj b/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csprojindex d7e34fd226..c20073eea1 100644--- a/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj+++ b/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj@@ -15,7 +15,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/README.md b/README.mdindex 2362741b47..911d9a094b 100644--- a/README.md+++ b/README.md@@ -137,7 +137,7 @@ A second option is to build the project and then run the resulting executable fi```bashdotnet build # Build the project-cd Jellyfin.Server/bin/Debug/net7.0 # Change into the build output directory+cd Jellyfin.Server/bin/Debug/net8.0 # Change into the build output directory```2. Execute the build output. On Linux, Mac, etc. use `./jellyfin` and on Windows use `jellyfin.exe`.diff --git a/RSSDP/RSSDP.csproj b/RSSDP/RSSDP.csprojindex df5d982f62..3f24de4e65 100644--- a/RSSDP/RSSDP.csproj+++ b/RSSDP/RSSDP.csproj@@ -11,7 +11,7 @@</ItemGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><AnalysisMode>AllDisabledByDefault</AnalysisMode><Nullable>disable</Nullable>diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.specindex e783689069..c56a189ce9 100644--- a/fedora/jellyfin.spec+++ b/fedora/jellyfin.spec@@ -73,7 +73,7 @@ dotnet publish --configuration Release --self-contained --runtime %{dotnet_runti%install# Jellyfin files%{__mkdir} -p %{buildroot}%{_libdir}/jellyfin %{buildroot}%{_bindir}-%{__cp} -r Jellyfin.Server/bin/Release/net7.0/%{dotnet_runtime}/publish/* %{buildroot}%{_libdir}/jellyfin+%{__cp} -r Jellyfin.Server/bin/Release/net8.0/%{dotnet_runtime}/publish/* %{buildroot}%{_libdir}/jellyfin%{__install} -D %{SOURCE10} %{buildroot}%{_bindir}/jellyfinsed -i -e 's|/usr/lib64|%{_libdir}|g' %{buildroot}%{_bindir}/jellyfindiff --git a/fuzz/Emby.Server.Implementations.Fuzz/Emby.Server.Implementations.Fuzz.csproj b/fuzz/Emby.Server.Implementations.Fuzz/Emby.Server.Implementations.Fuzz.csprojindex 1e3f8a0482..73aae3f3df 100644--- a/fuzz/Emby.Server.Implementations.Fuzz/Emby.Server.Implementations.Fuzz.csproj+++ b/fuzz/Emby.Server.Implementations.Fuzz/Emby.Server.Implementations.Fuzz.csproj@@ -2,7 +2,7 @@<PropertyGroup><OutputType>Exe</OutputType>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework></PropertyGroup><ItemGroup>diff --git a/fuzz/Emby.Server.Implementations.Fuzz/fuzz.sh b/fuzz/Emby.Server.Implementations.Fuzz/fuzz.shindex aa2a34cdde..80a5cd7c1f 100755--- a/fuzz/Emby.Server.Implementations.Fuzz/fuzz.sh+++ b/fuzz/Emby.Server.Implementations.Fuzz/fuzz.sh@@ -8,4 +8,4 @@ cp bin/Emby.Server.Implementations.dll .dotnet buildmkdir -p Findings-AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 ./bin/Debug/net7.0/Emby.Server.Implementations.Fuzz "$1"+AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 ./bin/Debug/net8.0/Emby.Server.Implementations.Fuzz "$1"diff --git a/fuzz/Jellyfin.Api.Fuzz/Jellyfin.Api.Fuzz.csproj b/fuzz/Jellyfin.Api.Fuzz/Jellyfin.Api.Fuzz.csprojindex da46e63a5e..faac7d976f 100644--- a/fuzz/Jellyfin.Api.Fuzz/Jellyfin.Api.Fuzz.csproj+++ b/fuzz/Jellyfin.Api.Fuzz/Jellyfin.Api.Fuzz.csproj@@ -2,7 +2,7 @@<PropertyGroup><OutputType>Exe</OutputType>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework></PropertyGroup><ItemGroup>diff --git a/fuzz/Jellyfin.Api.Fuzz/fuzz.sh b/fuzz/Jellyfin.Api.Fuzz/fuzz.shindex edf9655626..96b0192cf7 100755--- a/fuzz/Jellyfin.Api.Fuzz/fuzz.sh+++ b/fuzz/Jellyfin.Api.Fuzz/fuzz.sh@@ -8,4 +8,4 @@ cp bin/Jellyfin.Api.dll .dotnet buildmkdir -p Findings-AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 ./bin/Debug/net7.0/Jellyfin.Api.Fuzz "$1"+AFL_SKIP_BIN_CHECK=1 afl-fuzz -i "Testcases/$1" -o "Findings/$1" -t 5000 ./bin/Debug/net8.0/Jellyfin.Api.Fuzz "$1"diff --git a/global.json b/global.jsonindex 24335d7a0f..9db4b532ce 100644--- a/global.json+++ b/global.json@@ -1,6 +1,6 @@{"sdk": {- "version": "7.0.0",+ "version": "8.0.0","rollForward": "latestMinor"}}diff --git a/src/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj b/src/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csprojindex 3c417f8ff0..f0f8e7afcd 100644--- a/src/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj+++ b/src/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj@@ -6,7 +6,7 @@</PropertyGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj b/src/Jellyfin.Drawing/Jellyfin.Drawing.csprojindex d7ef6f8e77..23c4c0a9a4 100644--- a/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj+++ b/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj@@ -6,7 +6,7 @@</PropertyGroup><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/src/Jellyfin.Extensions/Jellyfin.Extensions.csproj b/src/Jellyfin.Extensions/Jellyfin.Extensions.csprojindex 997df6dbed..c91f5d008e 100644--- a/src/Jellyfin.Extensions/Jellyfin.Extensions.csproj+++ b/src/Jellyfin.Extensions/Jellyfin.Extensions.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><PublishRepositoryUrl>true</PublishRepositoryUrl>diff --git a/src/Jellyfin.MediaEncoding.Hls/Jellyfin.MediaEncoding.Hls.csproj b/src/Jellyfin.MediaEncoding.Hls/Jellyfin.MediaEncoding.Hls.csprojindex 76dde1cf6a..ee79802a1e 100644--- a/src/Jellyfin.MediaEncoding.Hls/Jellyfin.MediaEncoding.Hls.csproj+++ b/src/Jellyfin.MediaEncoding.Hls/Jellyfin.MediaEncoding.Hls.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/src/Jellyfin.MediaEncoding.Keyframes/Jellyfin.MediaEncoding.Keyframes.csproj b/src/Jellyfin.MediaEncoding.Keyframes/Jellyfin.MediaEncoding.Keyframes.csprojindex 0d91a447bc..c79dcee3c4 100644--- a/src/Jellyfin.MediaEncoding.Keyframes/Jellyfin.MediaEncoding.Keyframes.csproj+++ b/src/Jellyfin.MediaEncoding.Keyframes/Jellyfin.MediaEncoding.Keyframes.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><GenerateDocumentationFile>true</GenerateDocumentationFile></PropertyGroup>diff --git a/tests/Directory.Build.props b/tests/Directory.Build.propsindex de8fc1bb8b..bec3481cb7 100644--- a/tests/Directory.Build.props+++ b/tests/Directory.Build.props@@ -4,7 +4,7 @@<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" /><PropertyGroup>- <TargetFramework>net7.0</TargetFramework>+ <TargetFramework>net8.0</TargetFramework><IsPackable>false</IsPackable><CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/jellyfin-tests.ruleset</CodeAnalysisRuleSet></PropertyGroup>