The first patch release for 6.0, with fixes for what you reported after the 6.0.0 release, a new way to survive a corrupted SQLite database, and a few additions for plugins.
Read the changelog on our site
Read the full changelog on GitHub
Note
This version includes Web UI 2.6.1.
Security
-
Made the server-wide Plex library and server picks admin-only. (a7f4ffe) by @revam
POST /plex/librariesandPOST /plex/serverin the bundled legacy Plex plugin changed server-wide settings for any logged-in user, so a non-admin could clear the synced Plex libraries or point the server at their own Plex server. See GHSA-cm5q-38wm-q234. A big thank you to @kats1123 for reporting it responsibly.
Features
-
Added recovery from a corrupted SQLite database. (ac0c247, 273e342, 4a20c75, ebd38f8, 6cfd0c0, 5153b1d, 6e00626, 21aa62d, 46be536, 71e195f) by @revam
A corruption found while the server runs now turns the database read-only instead of letting it write more damage, and the next start repairs it: the server copies the caches aside, salvages every readable row from the damaged file, rebuilds the database and repairs broken indexes. Changes refused while the database was read-only are restored from memory where possible. The originals are kept as the server left them.
-
Stopped retrying AniDB HTTP requests that AniDB refused, and suspended only the MyList export when AniDB refuses it. (1691c01, 219e6f8) by @revam
The MyList sync jobs that need the HTTP API wait while the export is suspended, and the suspension can be lifted by an admin. How long it lasts is set by
RefusedExportCooldownHoursin the MyList settings (24 hours by default). -
Tagged API request spans with their caller and client address, grouped connectivity probes under one span, and added a span for the AniDB rate limit wait. (e0b0db2, 991ce02, c5f20fc) by @Cazzar
Bug Fixes
-
Restored the AniDB links a release lost, kept the links of files whose anime is not fetched yet, and showed those files as in import limbo until their links are back. (50385be, 1ecce50) by @revam
This fixes files that showed up in the file search with no series or episodes, but not in the unrecognized files utility.
-
Left manual links naming an AniDB file out of the "add all manual links to MyList" sweep. (9da4539) by @revam
-
Stopped a MyList sync plan once its caller gives up. (58a98ab) by @revam
-
Treated a metadata entry that began long before the anime as an earlier season when matching. (7b06c32) by @revam
-
Kept the seasons the unmatched episodes are dated in when matching episodes. (fc82746) by @revam
-
Repaired preferred posters mixed up by the 6.0 upgrade, and carried each one over to its own image (#1477). (36bfeab, 0a0c668) by @revam
-
Read every stored AniDB file source when moving to releases. (6fd4f16) by @revam
-
Imported renamer settings by name when migrating. (#1478) (beef053) by @Mik1ll
-
Deleted the files that auto-management finds redundant, not only their records (closes #1481). (9553290) by @revam
-
Refused a relocation destination that holds another release's file. (501e6e3) by @revam
-
Counted the dashboard's duplicate files the same way as the duplicate files routes (closes #1482). (c5afe67) by @revam
-
Fixed several problems with managed folders: a managed folder is matched on a path separator boundary, a file location's path is read without throwing when its managed folder is gone, hash jobs for files outside the managed folders are dropped, and
NotifyChangeDetectedrefuses a path outside every managed folder. (f62140c, f1b3f2d, c2136ca, 0d9d129) by @revam -
Skipped folder entries whose names are not valid UTF-8, and logged a folder removed while it was being listed at debug. (da90c6c, 2d600b8) by @revam
-
Fixed several problems with groups: groups whose parent is gone are attached to the top of the tree at start, the group of a new series is kept when the series' save fails, a new group is named after its main anime until its first series is stored, and the start-up re-homing of series without a group is logged and cleaned up. (2cbd39b, 537b8a4, 92ca961, 1c18e62) by @revam
-
Cleared empty dates of videos before loading them. (ec68fcb) by @revam
-
Read every sort step when telling whether a filter needs the user. (7b60eaf) by @revam
-
Took a left out or
nullUserTagsin user data bodies as empty. (1cf7c62, 6971a40) by @revam -
Recorded API token use off the request path. (#1479) (a7d008e) by @erri120
-
Skipped unreadable lines of the AniDB notify list. (7554209) by @revam
-
Kept the AniDB UDP ping and logout timers out of the caller's flow, and stopped idle queue workers throwing on every poll tick. (bcb1705, 6a03451) by @Cazzar
-
Retried the airing notification watermark on the normal throttle. (89a0536) by @revam
-
Kept an unreadable log archive, and never failed the start over log rotation. (81e990a, e75d4ed) by @revam
-
Reported a failed start in the tray app, showed why it failed in a window, and exited with a non-zero code. (a62ac41, ba86e30) by @revam
-
Ended the cache lookup span before fetching on a miss. (12f19a0) by @revam
-
Dropped SQLite "file is not a database" errors from Sentry. (a06c235) by @revam
Plugins
-
Installed plugin upgrades on start for plugins that require the server itself, and had repositories added without a stale time follow the default, so a start always checks for upgrades. (38b397b, ecf6d57) by @revam
-
Compared release versions together with their release channel. (4953fac) by @revam
-
Passed over loose libraries that reference the abstractions. (963eff0) by @revam
-
Said why a plugin was not given an optional dependency (
DependencyState,ResolvedDependency.StateandMissingMembers). (f6bfb56) by @revam -
Let plugins look up an API token and record its use. (b9e8dd1) by @revam
-
Let a plugin keep a playback position on a timeline longer than the video (
ProgressDuration). (bc20316) by @revam -
Let a plugin register the telemetry sources it wants exported (
AddTelemetrySource). (78f5d89) by @revam -
Threw
DatabaseNotReadyExceptionwhen a repository is read before it is loaded. (4985f00) by @revam -
Returned every date from the abstractions in UTC. (aca2b06) by @revam
-
Worded the filter expression help in terms of a series or group. (#1483) (68247c8) by @hidden4003
-
Stamped the
--channelrelease channel into the assembly in the build tools. (3b1b41e) by @revam
Repository Changes
- Built the solution, the publishes and the Docker images on pull requests, and renamed the publish checks to build. (f1f2182, 13da28b) by @Cazzar
New Contributors
Thank You
Thank you to everyone who upgraded to 6.0 and told us what broke, to @erri120 for their first contribution, to @3nany for reporting the mixed-up posters, and to @kats1123 for responsibly reporting the security issue fixed in this release.
And as always, thanks to the community members who answer questions and guide new users alongside our team. If you haven't yet, come say hi on our community Discord server.