aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/Routines
AgeCommit message (Collapse)Author
14 daysUse InvariantCulture when parsing machine-generated datesNils Lehnen
DateTime.TryParse without an IFormatProvider falls back to the current thread culture, so the same string can parse differently (or fail) depending on the server's locale. None of these call sites deal with user-entered text - they parse dates that come from filenames, an HTTP header, ffprobe metadata and values the app itself wrote to the auth database - so InvariantCulture is the correct provider everywhere here. Fixes the S6580 / CA1305 warnings on these call sites. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27Merge pull request #17162 from Shadowghost/batch-duplicate-cleanup-deletesCody Robibero
Batch duplicate-cleanup deletes in merge migrations
2026-06-22Batch duplicate-cleanup deletes in merge migrationsShadowghost
2026-06-21Add progress logging and batch deletion for logsJoshua M. Boniface
After resolving duplicates the migration deleted all items in one silent pass (per-id GetItemById plus a single DeleteItemsUnsafeFast), which looks hung for minutes on large libraries. Delete in batches of 500 and log progress per batch, which also avoids one oversized delete transaction.
2026-06-10Fix CleanName and CleanValue refreshShadowghost
2026-06-07Drop linked alternate versions pointing at owned items in migrationShadowghost
(cherry picked from commit 40afd403a655ada6cfa30b577454bb766ea2099f)
2026-06-07Merge pull request #16941 from Shadowghost/fix-external-data-pruningBond-009
Fix external data pruning on item deletion
2026-05-31Re-disable legacy authorization methods by defaulttheguymadmax
2026-05-31Fix filenameShadowghost
2026-05-26Backport: Fix/user manager collation (#16919)Bond-009
Backport: Fix/user manager collation
2026-05-26Fix external data pruning on item deletionShadowghost
2026-05-15Reorder migration handling for extra columnJPVenson
2026-05-15Update filenaming scheme to match EFCore oneJPVenson
2026-05-12Safeguard against invalid GUIDs (#16813)Tim Eisele
Safeguard against invalid GUIDs
2026-05-09Add People DeduplicationShadowghost
2026-05-09Fix artist duplicatesShadowghost
2026-05-06Merge pull request #16328 from Shadowghost/rating-fixBond-009
Fix Canadian rating and fallback to unrated if we have a CountryCode but no matching rating
2026-05-03Keep legacy authorization enabledNiels van Velzen
2026-04-26Apply review suggestionsShadowghost
2026-04-19Fix too many SQL variables error on large librariesShadowghost
2026-04-07Merge remote-tracking branch 'upstream/master' into perf-rebasedShadowghost
2026-04-06Backport pull request #16540 from jellyfin/release-10.11.zShadowghost
Handle folders without associated library in FixLibrarySubtitleDownloadLanguages Original-merge: be095f85ab80db1d20fccba8774856abe9ae0bd1 Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com> Backported-by: Bond_009 <bond.009@outlook.com>
2026-03-29More robust date handling in Library DB migration (#16474)Tim Eisele
* More robust date handling in Library DB migration * Apply review comment
2026-03-11Merge remote-tracking branch 'upstream/master' into perf-rebasedShadowghost
2026-03-07Optimize migrationsShadowghost
2026-03-07Split BaseItemRepository and IItemRepositoryShadowghost
2026-03-06Fix trickplay generation for parts and alt versionsShadowghost
2026-03-02Refresh rating levelsShadowghost
2026-03-01Backport pull request #16253 from jellyfin/release-10.11.ztheguymadmax
Checkpoint WAL before moving library.db in migration Original-merge: b6a96513de5fa301db83c6adab47fe64db0ff48e Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2026-03-01Backport pull request #16204 from jellyfin/release-10.11.zMBR-0001
Fix broken library subtitle download settings Original-merge: ca57166e95858f9c767b6279df6e5abfe9212700 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2026-02-22Cleanup folder duplicates of seriesShadowghost
2026-02-17Fix cleanup for BDMVShadowghost
2026-02-16Cleanup orphan itemsShadowghost
2026-02-15Migrate PrimaryVersionId to GUID and fix assignmentShadowghost
2026-02-15Try fixing orphan versions againShadowghost
2026-02-15Fix orphaned alt version cleanupShadowghost
2026-02-15Fix ordering of cleanup in migrationShadowghost
2026-02-15Merge remote-tracking branch 'upstream/master' into perf-rebasedShadowghost
2026-02-15Add cleanup for orphaned versionsShadowghost
2026-02-14Backport pull request #16226 from jellyfin/release-10.11.zdfederm
Deduplicate provider IDs during MigrateLibraryDb migration Original-merge: 58c330b63d5e373ed1d9260a75d837922ca68830 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2026-02-09Handle episode versions in LinkedChild migrationShadowghost
2026-02-09Fix version order in migrationShadowghost
2026-02-07Fix version resolution and scan handlingShadowghost
2026-02-07Make sure we deduplicate LinkedChildrenShadowghost
2026-02-05Fix multiple version handlingShadowghost
2026-01-31Fix tag checksShadowghost
2026-01-18Add OwnerId fix migration and library options eventShadowghost
- Add FixIncorrectOwnerIdRelationships migration routine - Add LibraryOptionsUpdatedEventArgs for library options changes
2026-01-18Add LinkedChildren data migration routineShadowghost
Migrates existing LinkedChildren data from JSON-serialized Data column to the new relational LinkedChildren table for boxsets, playlists, and video alternate versions.
2026-01-18Remove ExtraIds column and use OwnerId relationship for extrasShadowghost
- Remove ExtraIds property from BaseItemEntity and BaseItem - Update RefreshExtras to query via OwnerId instead of cached ExtraIds - Update GetExtras methods to query database via OwnerIds filter - Add OwnerIds and ExtraTypes filter support to InternalItemsQuery - Add filter handling in BaseItemRepository for new query options - Update HasSpecialFeature/HasTrailer filters to use Extras relationship - Add CleanupOrphanedExtras migration routine - Add database migration to drop ExtraIds column
2026-01-18Normalize OwnerId to GUID and add performance indexesShadowghost
- Change OwnerId from string to Guid for proper foreign key relationships - Add Owner/Extras navigation properties for extras relationship - Add indexes on OwnerId and ExtraType columns for efficient queries - Add optimized composite indexes for latest items queries sorted by DateCreated - Update BaseItemRepository and migration to handle new Guid type