diff --git a/Jellyfin.Plugin.AnilistSync/API/Endpoints.cs b/Jellyfin.Plugin.AnilistSync/API/Endpoints.cs index 89389e7..208911c 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(Policy = "DefaultAuthorization")] + [Authorize] [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 5f9ff5b..3f91567 100644 --- a/Jellyfin.Plugin.AnilistSync/Jellyfin.Plugin.AnilistSync.csproj +++ b/Jellyfin.Plugin.AnilistSync/Jellyfin.Plugin.AnilistSync.csproj @@ -2,8 +2,8 @@ net10.0 - 3.0.0.0 - 3.0.0.0 + 3.0.0.1 + 3.0.0.1 true true enable diff --git a/build.yaml b/build.yaml index 18f8742..4f17cc8 100644 --- a/build.yaml +++ b/build.yaml @@ -1,7 +1,7 @@ --- name: "AnilistSync" guid: "18c2a8ea-afa0-4a0b-aa94-072b492ab80b" -version: "3.0.0.0" +version: "3.0.0.1" targetAbi: "12.0.0.0" owner: "ARufenach" overview: "Scrobble to Anilist" @@ -12,4 +12,4 @@ framework: "net10.0" artifacts: - "Jellyfin.Plugin.AnilistSync.dll" changelog: > - Ported to Jellyfin 12.0 (net10.0, targetAbi 12.0.0.0). Switched plugin API controller to the DefaultAuthorization policy. + Ported to Jellyfin 12.0 (net10.0, targetAbi 12.0.0.0). Reverted the API controller to a bare [Authorize] — Jellyfin 12.0 removed the named DefaultAuthorization policy in favour of the default policy. diff --git a/manifest.json b/manifest.json index ccd7099..c4c9f36 100644 --- a/manifest.json +++ b/manifest.json @@ -8,12 +8,12 @@ "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].", + "version": "3.0.0.1", + "changelog": "Ported to Jellyfin 12.0 (net10.0, targetAbi 12.0.0.0). Reverted the API controller to a bare [Authorize]: Jellyfin 12.0 removed the named DefaultAuthorization policy in favour of the default policy, so [Authorize(Policy = \"DefaultAuthorization\")] threw 'policy not found' on every plugin API call.", "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" + "sourceUrl": "https://git.umarumg.de/UmaruMG/AnilistSync/releases/download/v3.0.0.1/AnilistSync_3.0.0.1.zip", + "checksum": "c65d3c52bd3fa919e5bb9ad3e8d37f1b", + "timestamp": "2026-09-10T09:36:59Z" }, { "version": "2.1.0.0",