diff --git a/.gitignore b/.gitignore index 3e759b7..95c1b09 100644 --- a/.gitignore +++ b/.gitignore @@ -328,3 +328,6 @@ ASALocalRun/ # MFractors (Xamarin productivity tool) working folder .mfractor/ + +# Local release artifacts +dist/ diff --git a/Jellyfin.Plugin.AnilistSync/API/AnilistApi.cs b/Jellyfin.Plugin.AnilistSync/API/AnilistApi.cs index 395772b..c4178d3 100644 --- a/Jellyfin.Plugin.AnilistSync/API/AnilistApi.cs +++ b/Jellyfin.Plugin.AnilistSync/API/AnilistApi.cs @@ -4,7 +4,6 @@ using System.Net.Http.Headers; using System.Net.Http.Json; using System.Text; using System.Text.Json; -using Jellyfin.Data.Enums; using Jellyfin.Extensions.Json; using System.Threading.Tasks; using MediaBrowser.Common.Net; diff --git a/Jellyfin.Plugin.AnilistSync/API/Endpoints.cs b/Jellyfin.Plugin.AnilistSync/API/Endpoints.cs index 208911c..89389e7 100644 --- a/Jellyfin.Plugin.AnilistSync/API/Endpoints.cs +++ b/Jellyfin.Plugin.AnilistSync/API/Endpoints.cs @@ -9,7 +9,7 @@ namespace Jellyfin.Plugin.AnilistSync.API /// Anilist endpoints. /// [ApiController] - [Authorize] + [Authorize(Policy = "DefaultAuthorization")] [Route("AnilistSync")] public class Endpoints : ControllerBase { diff --git a/Jellyfin.Plugin.AnilistSync/Jellyfin.Plugin.AnilistSync.csproj b/Jellyfin.Plugin.AnilistSync/Jellyfin.Plugin.AnilistSync.csproj index f237f0b..5f9ff5b 100644 --- a/Jellyfin.Plugin.AnilistSync/Jellyfin.Plugin.AnilistSync.csproj +++ b/Jellyfin.Plugin.AnilistSync/Jellyfin.Plugin.AnilistSync.csproj @@ -1,22 +1,21 @@ - net9.0 - 2.1.0.0 - 2.1.0.0 + net10.0 + 3.0.0.0 + 3.0.0.0 true true enable - - + - + diff --git a/build.yaml b/build.yaml index f73297b..18f8742 100644 --- a/build.yaml +++ b/build.yaml @@ -1,15 +1,15 @@ --- name: "AnilistSync" guid: "18c2a8ea-afa0-4a0b-aa94-072b492ab80b" -version: "2.1.0.0" -targetAbi: "10.11.0.0" +version: "3.0.0.0" +targetAbi: "12.0.0.0" owner: "ARufenach" overview: "Scrobble to Anilist" description: > Jellyfin plugin to scrobble to Anilist category: "General" -framework: "net9.0" +framework: "net10.0" artifacts: - "Jellyfin.Plugin.AnilistSync.dll" changelog: > - Added support for Jellyfin 10.11 (migrated IServerEntryPoint to IHostedService, net9.0) + Ported to Jellyfin 12.0 (net10.0, targetAbi 12.0.0.0). Switched plugin API controller to the DefaultAuthorization policy. diff --git a/manifest.json b/manifest.json index 1c69a80..ccd7099 100644 --- a/manifest.json +++ b/manifest.json @@ -7,6 +7,14 @@ "owner": "ARufenach, modified by Fallenbagel, YannikMG", "category": "General", "versions": [ + { + "version": "3.0.0.0", + "changelog": "Ported to Jellyfin 12.0 (net10.0, targetAbi 12.0.0.0). Plugin API controller now uses the DefaultAuthorization policy instead of a bare [Authorize].", + "targetAbi": "12.0.0.0", + "sourceUrl": "https://git.umarumg.de/UmaruMG/AnilistSync/releases/download/v3.0.0.0/AnilistSync_3.0.0.0.zip", + "checksum": "0d9e73866422ff38a5e2bf305076f728", + "timestamp": "2026-09-10T08:54:12Z" + }, { "version": "2.1.0.0", "changelog": "Ported to Jellyfin 10.11 (net9.0, IHostedService). Fixed a broken authorization policy that 500'd every plugin API call. Verified live against 10.11.11 with a real scrobble.",