From d4f9c12c22d3a640f3b0a3622b23b8cd01d044ad Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 31 Mar 2026 22:57:39 -0400 Subject: [PATCH] fix: downgrade PostgreSQL provider to net9.0/EF Core 9.x for v10.11.7 compat Upstream Jellyfin 10.11.7 targets net9.0. Our PostgreSQL provider was on net10.0 with Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 which requires EF Core 10+. Downgrade to 9.0.4 to match upstream's EF Core 9.0.11. Co-Authored-By: Claude Opus 4.6 (1M context) --- Directory.Packages.props | 2 +- .../Jellyfin.Database.Providers.PostgreSQL.csproj | 2 +- .../Jellyfin.Database.Tests.PostgreSQL.csproj | 2 +- tools/Jellyfin.DbMigrator/Jellyfin.DbMigrator.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index efe9b41643..a59a3423cd 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -55,7 +55,7 @@ - + diff --git a/src/Jellyfin.Database/Jellyfin.Database.Providers.PostgreSQL/Jellyfin.Database.Providers.PostgreSQL.csproj b/src/Jellyfin.Database/Jellyfin.Database.Providers.PostgreSQL/Jellyfin.Database.Providers.PostgreSQL.csproj index 2d23f99a54..c62604999f 100644 --- a/src/Jellyfin.Database/Jellyfin.Database.Providers.PostgreSQL/Jellyfin.Database.Providers.PostgreSQL.csproj +++ b/src/Jellyfin.Database/Jellyfin.Database.Providers.PostgreSQL/Jellyfin.Database.Providers.PostgreSQL.csproj @@ -1,7 +1,7 @@  - net10.0 + net9.0 false true diff --git a/tests/Jellyfin.Database.Tests.PostgreSQL/Jellyfin.Database.Tests.PostgreSQL.csproj b/tests/Jellyfin.Database.Tests.PostgreSQL/Jellyfin.Database.Tests.PostgreSQL.csproj index b91a96deb4..ad53e4eda0 100644 --- a/tests/Jellyfin.Database.Tests.PostgreSQL/Jellyfin.Database.Tests.PostgreSQL.csproj +++ b/tests/Jellyfin.Database.Tests.PostgreSQL/Jellyfin.Database.Tests.PostgreSQL.csproj @@ -1,7 +1,7 @@ - net10.0 + net9.0 false true diff --git a/tools/Jellyfin.DbMigrator/Jellyfin.DbMigrator.csproj b/tools/Jellyfin.DbMigrator/Jellyfin.DbMigrator.csproj index dffc1ca5b8..277eb6f4cf 100644 --- a/tools/Jellyfin.DbMigrator/Jellyfin.DbMigrator.csproj +++ b/tools/Jellyfin.DbMigrator/Jellyfin.DbMigrator.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net9.0 true enable enable