Skip to content

5.5.0 Snow Lynx

Latest

Choose a tag to compare

@gantoine gantoine released this 06 Dec 21:15
· 1 commit to master since this release
573f9e6

Caution

Let the first start finish its migrations.
The first start runs several long database migrations. On a large library they take a while, so don't restart the container while they run!

Warning

Check these before you upgrade:

  • If you copied your .env from env.template, change each empty value to KEY="", or copy the file again from the current template. Otherwise an unquoted empty OIDC_AUTH_PARAMS stops the container from starting. #5649

  • If you set DEMOZOO_API_ENABLED=true, create a key at https://demozoo.org/account/api_keys/ and set DEMOZOO_API_KEY to it instead. Demozoo now requires a key, and DEMOZOO_API_ENABLED is no longer read. #5723

  • If your config.yml sets emulatorjs.cache_limit, move it to emulatorjs.cache.limit. The old key still works for now and logs a deprecation warning. config.yml is also read more strictly: a block that should hold settings but holds a plain value, such as netplay: true, now fails startup with Invalid config.yml: <block> must be a dictionary. An empty block still means defaults. #5737

    emulatorjs:
      cache:
        enabled: true
        limit: null
  • If you use rom-converto on encrypted games, put the console's key files in that platform's bios folder, such as aes_keys.txt and seeddb.bin for 3DS. The image no longer includes them. #5868 #5869

  • If you run the container with a read-only root filesystem, mount /run with exec. Docker's --tmpfs /run defaults to noexec, which now stops the container from starting. #4019

  • If you use Tinfoil, add your RomM username and password to your Tinfoil shop entry. The feed at /api/feeds/tinfoil now requires authentication, like every other feed. Skip this if you run with DISABLE_DOWNLOAD_ENDPOINT_AUTH=true. #5344

  • If you use push-pull sync with a device on a port other than 22, add a [host]:port line for it to the admin's known_hosts. Push-pull sync now refuses any host that file doesn't list, and a bare host entry only covers port 22. #5460

  • If you want to download saves converted for another emulator, run Recalculate hashes on those platforms once after upgrading. #5198 #5694

  • If your library's titles aren't in English, list that language's articles under sorting.articles in config.yml. Sorting now ignores only a leading "the", "a" or "an", so "Die Hard Arcade" files under D instead of H. When the list changes, every game is re-sorted on the next start, and a sort name you set on a game by hand stays as you typed it. #5429

    sorting:
      articles:
        - der
        - die
        - das

Technical changes

🌎 ENVIRONMENT VARIABLES

Server and processes

variable default description
WEB_SERVER_CONCURRENCY 2 The default drops from 4. The workers are async, so raise it only for several concurrent users (#5846)
WEB_SERVER_PRELOAD true Whether gunicorn imports the app once and shares its memory across the web workers. false has each worker import it on its own (#5846)
REDIS_SAVE_POLICY - When unset, the internal valkey keeps its own snapshot policy (3600 1 300 100 60 10000) instead of the hourly 3600 1. An empty value still turns snapshots off (#5844)
SEVEN_ZIP_TIMEOUT 180 Now also limits how long hashing spends reading a zip, tar, gzip, bz2 or xz archive in Python
STREAMING_BROKER_SECRET - Now used only by streaming containers that set no broker_secret in config.yml

Auth and metadata providers

variable default description
OIDC_AUTH_PARAMS - A JSON object of extra parameters to send with the OIDC authorization request, such as {"prompt":"select_account"}. Startup fails if the object sets a parameter the OIDC flow already manages
DEMOZOO_API_KEY - Setting it enables Demozoo, which requires an API key. Create one at https://demozoo.org/account/api_keys/ (#5723)
⚠️ DEMOZOO_API_ENABLED removed No longer read. Set DEMOZOO_API_KEY instead. The heartbeat field of the same name stays (#5723)

Save sync

variable default description
SNAPSHOT_RETENTION 10 The number of snapshots each save channel keeps, not counting its current snapshot and the ones you pinned
SNAPSHOT_BRANCH_LIFETIME_DAYS 30 The number of days an unpinned branch is kept, which a device pushing an outdated save leaves behind
ENABLE_SCHEDULED_PRUNE_SNAPSHOTS true Whether to run the scheduled task that prunes old snapshots
SCHEDULED_PRUNE_SNAPSHOTS_CRON 41 * * * * The cron schedule of the snapshot prune task
MAX_SAVES_PER_SLOT 50 Now also caps how many RetroArch WebDAV backups are kept for each file, dropping the oldest first. 0 keeps them all (#5648)
📡 API CHANGES

Auth and users

Change Description
⚠️ PUT /api/users/{id} current password Changing your own username, password or email requires the new current_password form field. The route returns 400 if it is missing, 403 if it is wrong, and 403 if you change your own email while OIDC manages it (#5351)
UserSchema New has_password and email_managed_by_oidc fields (#5351)
PUT /api/users/{id} empty values Sending email="" clears the email (#5472). Sending ra_username="" unlinks RetroAchievements and resets ra_progression (#5475)
⚠️ Acting on other users Calling PUT /api/users/{id}, DELETE /api/users/{id} or POST /api/users/{id}/ra/refresh on another user requires users.write in the caller's scopes. A non-admin who targets an admin, or grants the admin role, gets 403 (#5346)
⚠️ OAuth token revocation Changing a password or username, or deleting a user, revokes that user's OAuth access and refresh tokens. rmm_ client tokens keep working (#5496)
⚠️ own_only permissions An own_only permission on an entity that has no owner returns 422. GET /api/permissions/catalog adds ownable_entities (#5346)
GET /api/login/openid Redirects to /login?bypass_autologin=true when OIDC provider discovery fails, instead of returning an error (#5594)
⚠️ OIDC email linking A first OIDC sign-in with no linked identity links by email only to an account without a password. A password account found by email gets 403, and nothing is linked or changed (#5815)
OIDC avatar An OIDC sign-in stores the provider's picture claim as the user's avatar when the user has none or has one synced from the provider. An uploaded avatar is never replaced (#5730)
Session cookie Logging in, by password or OIDC, issues a new session id and deletes the previous session (#5630)
Email and username validation An email address or username that ends in a newline, carriage return or tab is rejected (#5593)

Client tokens and devices

Change Description
⚠️ Client token scopes POST /api/client-tokens and the device approval flow cap a new token's scopes at those of the calling credential. Regenerating or pairing a token returns 403 unless the caller holds every scope the token has, and DELETE returns 403 for a token with broader scopes than the caller (#5346)
DELETE /api/client-tokens/{id} A client token can revoke itself without me.write, so the route no longer declares a scope in OpenAPI (#5419)
DeviceAuthTokenResponse.id POST /api/auth/device/token now returns the token's id (#5419)
⚠️ Device-bound tokens A token paired to a device gets 404 when it names any other device on the devices, sync, saves, play session and activity heartbeat routes, and gets 403 on POST /api/client-tokens. Deleting a device deletes its tokens (#5460)

Visibility and validation

Change Description
⚠️ GET /api/feeds/tinfoil Requires roms.read, unless DISABLE_DOWNLOAD_ENDPOINT_AUTH is set (#5344)
⚠️ GET /api/stats Requires roms.read. The totals leave out ROMs and assets hidden from the caller (#5496, #5498)
⚠️ ROM visibility Saves, states, screenshots, memory cards, virtual collections, feeds, recommendations, playlists, sync negotiation and /api/setup/library answer a hidden ROM or platform like a missing one (#5496, #5498)
POST /api/sync/sessions/{id}/complete Sending play_sessions requires roms.user.write, and the list is capped at 100 entries (#5496). A longer list returns 422 instead of 400 (#5809)
POST /api/roms/upload/{id}/complete Returns 400 when the target platform became hidden or was deleted after /start (#5458)
ROM file routes DELETE /api/roms/{rom_id}/files/{file_id} and GET or PUT .../files/{file_id}/progress answer a hidden ROM the same way as a missing one (#5584)
SteamGridDB cover search Leaves out NSFW artwork for a caller with an age limit, whatever the request asks for (#5721)
Validation errors These now return 422: an empty slug or fs_slug in POST /api/config/system/platforms and /system/versions, a smart collection filter_criteria that isn't an object, and a rom_ids in PUT /api/collections/{id} that isn't a list (#5496)
Cover and manual URLs file:// and launchbox-file:// URLs are refused for collection covers and for ROM covers or manuals, unless the request sends back the URL already stored (#5496)

ROMs, collections and feeds

Change Description
⚠️ Page limit The limit on every paginated route now tops out at 1,000 instead of 10,000. A larger value returns 422 (#5846)
⚠️ GET /api/roms filter values No longer accepts with_filter_values and no longer returns filter_values. Use GET /api/roms/filter-values (#5786)
GET /api/roms/filter-values New route that returns the RomFiltersDict for the filter dropdowns. It takes the gallery's scope parameters (search_term, platform_ids, platforms_logic, collection_id, virtual_collection_id, smart_collection_id), ignores the other filters, and lists only ROMs the caller can see. Requires roms.read (#5786)
platforms_logic GET /api/roms and /api/roms/filter-values take platforms_logic, any (the default) or none to leave out the listed platforms. all returns 422. Smart collections can store platforms_logic: "none" in filter_criteria (#5756)
GET /api/roms New with_provider_metadata parameter, which defaults to true. With false, every provider *_metadata field is null, except manual_metadata (#5228)
GET /api/roms rom_ids The new rom_ids parameter, repeated up to 500 times, returns those ROMs in the order given and leaves out any that are hidden from the caller or don't exist. Filters don't apply, and the response has no total or indexes (#5663)
PUT /api/roms/{id} provider IDs Setting a provider ID that the provider can't resolve keeps the ID and clears that provider's old *_metadata, unless the same request sends raw metadata (#5841)
SimpleRomSchema, DetailedRomSchema New has_jsdos_bundle field, true when the ROM is a .jsdos bundle or a folder with one at its top level (#5672)
RomFileSchema.missing_from_fs New field, true when the file is gone from disk (#5672)
ROM schemas version New version field. revision and version are null instead of "" when the file name has none (#5255)
ROM schema name lists Genres, companies and the other name lists return plain names where a provider sends {id, name} entries (#5249)
RomFileSchema.category Patch files have the category patch (#5538). A nested file with no category folder reports game instead of null (#5728)
POST /api/roms/{file_id}/patch Returns 400 for a patch that declares an output larger than twice the ROM, or the ROM plus 64 MiB if that is larger (#5632)
Collection covers path_covers_small and path_covers_large on regular collections hold at most 5 covers, as virtual and smart collections already did (#5867)
PKGi and PKGj feeds contentid comes from the package header of a .pkg file, and rap is the license's hex key instead of the SHA-1 of the .rap file (#5818)

Saves, states and sync

Change Description
StateSchema.content_hash States now return their content_hash, as saves do (#5668)
RetroArch WebDAV COPY and MOVE /api/sync/retroarch now accepts COPY, which backs up the file an upload is about to overwrite and returns 404 when there is no such file. A MOVE into deleted/ backs the file up before deleting it. Each user's backups are visible only to that user (#5648)
⚠️ Legacy save and state writes A save or state that a snapshot holds is never rewritten. Legacy routes return 409, RetroArch Cloud Sync uploads and deletes return 423, and device folder sync reports a conflict (#5198)
POST /api/saves with slot Files the save as the next snapshot in the channel named after the slot. RetroArch .srm uploads go to the default channel, and an upload for a physical game goes to that game's channel (#5198, #5862)
GET /api/saves/{id}/content New core, option, profile and companion parameters download a save converted for a core. companion can be repeated up to 8 times (#5198). DS, Game Boy Advance, Mega Drive, 32X, Master System and Game Gear saves now convert too (#5643)
POST /api/saves/{id}/content New route that merges the save into a memory card or volume sent as the container part (#5198)
SaveSchema, StateSchema New channel_id field (#5198)
DetailedRomSchema New user_channels, channel_file_id and snapshot_save_ids fields (#5198)
StateSchema.origin_device_id New field. POST /api/states and PUT /api/states/{id} take an optional device_id (#5531)
Physical games GET /api/channels takes rom_id, and POST /api/channels, POST /api/channels/{id}/attach and POST /api/snapshots accept rom_id in place of rom_file_id, for physical games only. Any other game returns 422 (#5862)

Save channels and snapshots

Method Path Description
GET /api/channels List the channels on the given files, each with its current snapshot (#5198)
POST /api/channels Create an empty channel (#5198)
PATCH /api/channels/{id} Rename or share a channel (owner only) (#5198)
POST /api/channels/{id}/attach Attach a detached channel to a ROM file (owner only) (#5198)
DELETE /api/channels/{id}/held Forget the snapshot the calling device holds in the channel (#5198)
DELETE /api/channels/{id} Delete a channel (owner only) (#5198)
GET /api/snapshots List one channel's snapshots, by channel_id (#5198)
GET /api/snapshots/{id} Get one snapshot. hold=true also makes it the calling device's held snapshot (#5198)
POST /api/snapshots Push a snapshot as a manifest plus the parts whose hashes the server doesn't have. Returns 409 with a branch when another device pushed first (#5198)
PATCH /api/snapshots/{id} Pin a snapshot, or share an archival one (#5198)
GET /api/saves/layouts Get sigil's catalog of save layouts for a platform (#5198)

Platforms

Change Description
PlatformSchema.first_release_year New field, filled from IGDB during scans (#5433)
PlatformSchema counts rom_count and fs_size_bytes count only ROMs the caller can see (#5313)
Arcade platform slugs New mame, mame-advmame, fbneo and fba slugs, plus slugs for individual boards. cps1, cps2, cps3, model1, system16, system32 and system-32 are retired and fold into arcade (#5273)

Streaming

Change Description
Streaming admin routes Listing containers and sessions requires users.read. Opening a desktop, force-releasing a session or driving another user's session requires users.write (#5346)
POST /api/streaming/sessions The optional disc_file_id sets the starting disc. A disc_file_id that isn't one of the ROM's playlist discs returns 400 (#5446)

Socket.IO events

Direction Event Description
Server to client scan:scanning_platform, scan:scanning_rom, scan:update_stats, scan:done, scan:done_ko Sent only to signed-in sockets, through the new authenticated room. Anonymous sockets still connect but receive none of them (#5808)

Heartbeat, setup, tasks and config

Change Description
GET /api/heartbeat Adds FILESYSTEM.FS_PLATFORM_SLUGS (#5473), EMULATION.EJS_CORES and EMULATION.EJS_NIGHTLY_CORES (#5533), ROM_PATCHER.SUPPORTED_EXTENSIONS (#5538), SAVE_SYNC.SNAPSHOT_RETENTION and SAVE_SYNC.SNAPSHOT_BRANCH_LIFETIME_DAYS (#5198)
GET /api/config Adds EJS_CACHE_ENABLED (#5737)
GET /api/setup/library Each existing platform now includes its slug (#5473)
Tasks New manual task recompute_name_sort_keys (#5429). New scheduled task prune_snapshots (#5198). update_launchbox_metadata and update_switch_titledb build SQLite files under resources/metadata/, which nginx refuses to serve, instead of writing to valkey (#5844)
config.yml New sorting.articles key (#5429). New emulatorjs.cache.enabled key (#5737)
⚠️ config.yml emulatorjs.cache_limit is deprecated in favour of emulatorjs.cache.limit. A block that holds a plain value instead of settings fails startup with exit code 3 (#5737)

Highlights

Farewell console mode 🫡

The classic UI and console mode are gone. If you had picked the classic UI in Settings, you now get the current one. The page background is also a slightly different shade in both themes. #5309 #5315

Arcade platforms by emulator family

Arcade games no longer all land in one arcade platform. Name a folder mame, mame-advmame, fbneo or fba to give those sets their own platform, or use a board's slug, such as naomi, atomiswave, triforce, lindbergh, daphne or teknoparrot, for games that need an emulator of their own. #5273 #5780

Save channels and snapshots

Save sync now works in channels instead of slots. A channel is one playthrough of a game, and each sync adds a snapshot to it. When two devices push to the same channel, the earlier push is kept as a branch, which you can restore, fork or pin from the Save data tab. #5198

Each channel keeps its newest 10 snapshots plus any you've pinned, and an unpinned branch lasts 30 days. SNAPSHOT_RETENTION and SNAPSHOT_BRANCH_LIFETIME_DAYS change those limits. Your existing slot saves move into channels during the upgrade, and clients that still upload to slots keep working.

Saves convert for more systems

Nintendo DS, Game Boy Advance, Mega Drive, 32X, Master System and Game Gear saves now convert for the emulator that downloads them. A save made in melonDS loads in DeSmuME, and a Genesis Plus GX save loads in PicoDrive. #5643

Safe RetroArch WebDAV backups

RetroArch cloud sync now works with destructive sync turned off. Each file RetroArch overwrites or deletes is backed up first, and only the user who made a backup can download it. #5648

MAX_SAVES_PER_SLOT (default 50) caps how many backups each file keeps, dropping the oldest first. Set it to 0 to keep them all.

Minor changes

  • feat(frontend): add an Open in Steam action for Steam-matched games by @sdornan in #5358
  • feat: classify ROMs by release type (homebrew, hack, translation, ...) by @sdornan in #5363
  • feat(i18n): add Swedish locale by @yeager in #5231
  • feat(frontend): switch similar games between RomM and IGDB sources by @sdornan in #5382
  • feat: expose the parsed ROM version in the API and game overview by @bercedev in #5255
  • feat(auth): add Plex and Jellyfin OIDC provider icons by @gantoine in #5418
  • feat(ra): sync a player's achievements after they play an RA game by @sdornan in #5425
  • feat(oidc): add OIDC_AUTH_PARAMS for extra authorization request parameters by @gantoine in #5431
  • feat(platforms): facet filters and a group-by menu on the platforms index by @sdornan in #5434
  • feat(media): JPEG XL library images and cover uploads by @sdornan in #5438
  • feat(platforms): enrich discovery cards and preserve AVIF animations by @sdornan in #5433
  • feat(recommendations): show 10 similar games to match IGDB by @sdornan in #5497
  • feat(gallery): keep results on screen and animate the swap on search by @sdornan in #5500
  • feat(frontend): restyle mobile bottom nav as a glass tab bar by @sdornan in #5522
  • feat(frontend): bring the bottom nav closer to Slack's tab bar by @sdornan in #5541
  • feat(frontend): show compact mobile page titles after scrolling by @sdornan in #5553
  • feat(ui): show how many games a filtered platform page lists by @andest01 in #5629
  • feat(i18n): add Ukrainian locale by @tarasromil in #5717
  • feat(scan): list the ROMs a ScreenScraper breaker skipped in the scan summary by @gantoine in #5727
  • feat(auth): log the attempted username on every failed sign-in by @gantoine in #5729
  • feat(auth): use the OIDC picture claim as the user's avatar by @gantoine in #5730
  • feat(emulatorjs): expose download cache enable setting by @HadNutz in #5737
  • feat(filters): exclude platforms in the search filter drawer by @sdornan in #5756
  • feat(frontend): enable vueCompilerOptions.strictTemplates by @sdornan in #5787
  • feat(ci): add a vouch and denouncement contribution system by @gantoine in #5835
  • feat(saves): sync saves for physical games by rom_id by @tmgast in #5862
  • feat(converto): run rom-converto from the platform's bios folder by @DevYukine in #5869
  • feat(notifications): pin popular Apprise services in the channel picker by @gantoine in #5873

Fixes

  • fix(frontend): expose RSelect as a combobox with an active descendant by @sdornan in #5318
  • fix(docker): bump nginx to 1.30.6 and drop pip from the runtime image by @gantoine in #5339
  • fix(tasks): give the recommendations rebuild a one-hour timeout by @sdornan in #5352
  • fix(logs): keep password reset links out of the log viewer buffer by @gantoine in #5343
  • fix(feeds): require authentication on the Tinfoil feed by @gantoine in #5344
  • fix(auth): bound new client tokens by the caller's scopes and stop delegates removing admins by @gantoine in #5346
  • fix(auth): require the current password to change your own username, password or email by @gantoine in #5351
  • fix(platforms): share provider entries across duplicate platform slugs by @sdornan in #5359
  • fix(notifications): start a pasted Apprise URL from defaults, not stale values by @enieuwy in #5217
  • fix(i18n): placeholder parity check, one locale list, memory card plurals by @gantoine in #5375
  • fix(scan): fall back to filename name when only libretro matches by @nkrebs13 in #5241
  • fix(v2): stop game videos from holding connections they no longer need by @enieuwy in #5236
  • fix(auth): point the OpenAPI token URL at /api/token by @andest01 in #5245
  • fix(docker): stop the init watchdog spawning duplicate gunicorns on slow starts by @EdwardSalter in #5250
  • fix(metadata): read names from {id, name} facet entries in recommendations and ROM responses by @mrjeremystookey in #5249
  • fix(streaming): let a container's broker_secret override STREAMING_BROKER_SECRET by @LoneAngelFayt in #5259
  • fix(migrations): add GAME to a romfilecategory enum made before 4.5.0 by @bercedev in #5269
  • fix(sigil): classify routine extraction failures by type by @alsd4git in #5304
  • fix(worker): close database pools before work horse exit by @alsd4git in #5303
  • fix(player): preserve arcade BIOS archive bytes by @alsd4git in #5305
  • fix(streaming): give standalone PPSSPP the broker's working state slot by @bercedev in #5256
  • fix(collections): drop hidden roms' covers from collection responses by @ryanpf in #5311
  • fix(platforms): count only the roms the caller can see in rom_count and fs_size_bytes by @ryanpf in #5313
  • fix(i18n): Russian "metadata-sources" translation by @LucRen in #5370
  • fix(scan): Fix scan failure when ROM name is missing by @cfranz-medsoto in #5377
  • fix(db): bump client token and device last-used timestamps without a prior read by @pcbeingused333 in #5384
  • fix(streaming): release a desktop claim when activation is cancelled by @gantoine in #5392
  • fix(scan): consult sources from one rule table and keep stored matches on refresh by @gantoine in #5394
  • fix(frontend): pad A picks the active option in an open select by @sdornan in #5389
  • fix(frontend): give RComboboxField combobox semantics by @sdornan in #5399
  • fix(frontend): let pad A toggle checkboxes, open read-only fields and keep focus after a pick by @sdornan in #5401
  • fix(frontend): give white text on the brand fill AA contrast in dark mode by @sdornan in #5402
  • fix(misc): Rename paths, rescan artwork, scan lookups and streaming teardown fixes by @gantoine in #5396
  • fix(scan): clean up unreferenced rescan media, split scan_rom and move its parts into handler/scan by @gantoine in #5408
  • fix(ui/ux): make age rating and player count badges clickable by @Yi-111-a in #5237
  • fix(webp): raise the cover WebP quality to 95 by @gantoine in #5410
  • fix(ui): keep top nav contents still when a gallery scrollbar appears by @sdornan in #5411
  • fix: keep summary line breaks and strip provider HTML by @gantoine in #5413
  • fix(ui): hide the anniversaries widget on days without anniversaries by @gantoine in #5414
  • fix(ra): extract zips RAHasher can't unzip before hashing them by @sdornan in #5416
  • fix(scan): skip AppleDouble files and ES-DE media roots by default by @sdornan in #5422
  • fix(scan): hash game folders in sorted file order by @sdornan in #5421
  • fix(ra): count earned achievements that share a badge separately by @sdornan in #5423
  • fix(client-tokens): let a client token revoke itself without me.write by @gantoine in #5419
  • fix(scan): strip .p8 from PICO-8 cart titles so LaunchBox can match them by @sdornan in #5427
  • fix(sort): strip only configured articles, and keep custom sort keys as typed by @sdornan in #5429
  • fix(switch): explain why encrypted dumps get no title id by @gantoine in #5428
  • fix(menu): return focus to the activator when the menu closes by @sdornan in #5437
  • fix(player): keep the CD-i BIOS archive whole for same_cdi by @gantoine in #5440
  • fix(firmware): verify firmware by hash regardless of name or platform by @gantoine in #5441
  • fix(downloads): keep converted copies' ETag stable so downloads resume by @gantoine in #5442
  • fix(tasks): re-register RQ workers whose registration expired by @gantoine in #5443
  • fix(upload): recheck platform visibility when completing a chunked upload by @gantoine in #5458
  • fix(player): point RetroArch's system directory at PUAE Kickstarts by @gantoine in #5444
  • fix(sync): match RetroArch saves named after a ROM's files by @gantoine in #5445
  • fix(users): clear an email sent empty under FastAPI 0.162, and lift the pin by @sdornan in #5472
  • fix(users): unlink RetroAchievements when ra_username is sent empty by @sdornan in #5475
  • fix(streaming): let multi-disc games pick a starting disc by @gantoine in #5446
  • fix(sync): bind device tokens to their device; dial only known push-pull hosts by @gantoine in #5460
  • fix: permission, validation and resource-limit hardening by @gantoine in #5496
  • fix: enforce ROM visibility on assets, sync, collections, stats and scan events by @gantoine in #5498
  • fix(scan): wrap live counter chips instead of overlapping on narrow screens by @sdornan in #5515
  • fix(scan): look a file named by several titles up by each of them by @TylerVigario in #5478
  • fix(setup): resolve folder aliases when identifying platforms in the setup wizard by @pcbeingused333 in #5473
  • fix(platforms): point Apple II at LaunchBox platform 111 by @danielcopper in #5507
  • fix(platforms): give pc-8800-series libretro's PC-88 name by @danielcopper in #5508
  • fix(platforms): use libretro's names for Xbox and drop two it does not have by @danielcopper in #5509
  • fix(platforms): file amigacdtv as the CDTV and give it libretro's name by @danielcopper in #5513
  • fix(platforms): give amiga-cd32 libretro's CD32 name by @danielcopper in #5511
  • fix(platforms): drop the PICO-8 slug's mapping to MobyGames' PICO VR platform by @danielcopper in #5525
  • fix(search): reword the physical filter's file option by @gantoine in #5529
  • fix(platforms): stop filing sgb folders as Game Boy Color by @gantoine in #5530
  • fix(retroachievements): ride out rate limits during the progress sync by @gantoine in #5532
  • fix(player): record the device that wrote a state and skip other devices' states at start by @gantoine in #5531
  • fix(sync): resolve RetroArch save names to the core's platform by @gantoine in #5533
  • fix(scan): hash compressed ROMs by their content in every format by @gantoine in #5537
  • fix(player): boot the base game, not a patch or translation by @gantoine in #5538
  • fix(frontend): highlight tapped bottom-nav tab immediately by @sdornan in #5558
  • fix(scan): name a game by metadata priority, whatever order the scans ran in by @TylerVigario in #5546
  • fix(firmware): add the three missing PS2 v2.00 BIOS dumps of 2004-06-14 by @danielcopper in #5551
  • fix(scan): read revision tags written without a separator by @NevesHenry in #5559
  • fix(frontend): split collections and platforms empty messages into title and hint by @sdornan in #5563
  • fix(frontend): stop scrolled content showing above the top bar on iOS Safari; one header band for every page by @sdornan in #5566
  • fix(frontend): make the bottom nav respond to every tap, give its labels room, and soften its shadow by @sdornan in #5575
  • fix(hltb): send the search's platform in the form HowLongToBeat filters by by @TylerVigario in #5569
  • fix(sockets): update python-socketio to 5.18.1 so connect handlers can join rooms by @22mah22 in #5588
  • fix(config): warn about platform bindings to unknown slugs by @NevesHenry in #5580
  • fix(roms): read full country names in filenames as regions by @pcbeingused333 in #5578
  • fix(roms): parse TOSEC compound region and language tags by @pcbeingused333 in #5582
  • fix(auth): redirect to login when OIDC discovery fails by @pcbeingused333 in #5594
  • fix(ui): remove background when gaming by @andest01 in #5602
  • fix(frontend): follow bottom-nav taps made while a view transition runs by @sdornan in #5605
  • fix(gallery): align the gallery shell's right gutter with the top bar by @sdornan in #5623
  • fix(validation): reject email addresses ending in a newline by @marcello-pichini in #5593
  • fix(export): encode filenames in ROM content URLs by @marcello-pichini in #5596
  • fix(frontend): serve the generic platform icon as SVG by @mvanhorn in #5613
  • fix(hasheous): map Neo Geo MVS to the Hasheous Neo Geo platform by @andest01 in #5616
  • fix(frontend): catch mdi icon names the build would drop by @andest01 in #5562
  • fix(ui): dim verification sources the ROM did not match by @andest01 in #5627
  • fix(ui): name the completion, rating and difficulty pills on hover by @andest01 in #5628
  • fix(auth): issue a new session id when the session changes identity by @gantoine in #5630
  • fix(sync): bound PSP PARAM.SFO size and TITLE length before ROM search by @gantoine in #5631
  • fix(patcher): cap the output size a patch can declare by @gantoine in #5632
  • fix(auth): check a dummy hash when the username is unknown by @gantoine in #5633
  • fix(export): fold line breaks in Pegasus metadata values by @gantoine in #5635
  • fix(sync): map melonDS DS aliases to the RetroArch folder by @pcbeingused333 in #5637
  • fix(env): quote empty values in env.template so Compose reads them as empty by @Spinnich in #5649
  • fix(docker): update nginx to 1.30.7 for security fixes by @AnalyticETH in #5651
  • fix(settings): show the linked RetroAchievements username after saving by @sdornan in #5657
  • fix(assets): build asset download_path query with urlencode by @sdornan in #5677
  • fix(archives): fix zipfile writes where zipfile_inflate64 is imported by @gantoine in #5678
  • fix(resources): inflate gzip-encoded metadata media downloads by @NevesHenry in #5670
  • fix(scan): auto-export only the platforms a scan covered by @gantoine in #5671
  • fix(states): send each state's content hash in the state list by @MMagTech in #5668
  • fix(jsdos): play a .jsdos bundle that sits inside a game folder by @gantoine in #5672
  • fix(scan): read title ids from zipped games by @MMagTech in #5694
  • fix(saves): keep a slot's channel when an added file moves the sync file by @MMagTech in #5697
  • fix(auth): treat localhost with a trailing dot as unshareable by @marcello-pichini in #5699
  • fix(converto): move save channels to the converted files by @MMagTech in #5681
  • fix(streaming): merge the webstation exit delta over the restored save archive by @gantoine in #5673
  • fix(auth): return no public base URL when ROMM_BASE_URL is malformed by @marcello-pichini in #5700
  • fix(jukebox): fall back to the file name when a track's embedded title is empty by @marcello-pichini in #5701
  • fix(i18n): add the missing firmware tab locale keys by @marcello-pichini in #5712
  • fix(streaming): offer disc sheets, not their tracks, as stream discs by @marcello-pichini in #5710
  • fix(snapshots): keep a row's updated_at when its sharing is synced by @MMagTech in #5718
  • fix(saves): hash bytes that only end like a zip as one file by @MMagTech in #5719
  • fix(snapshots): record the pushing device on a snapshot's states by @MMagTech in #5720
  • fix(search): keep NSFW SteamGridDB covers from age-restricted users by @gantoine in #5721
  • fix(watcher): quick scan a new platform folder instead of updating the library by @gantoine in #5722
  • fix(streaming): restore only broker-pulled save archives natively by @gantoine in #5724
  • fix(scan): fetch file rows per rom on quick scans by @gantoine in #5725
  • fix(demozoo): send an API key with every Demozoo request by @gantoine in #5723
  • fix(roms): default an uncategorised nested file to game by @gantoine in #5728
  • fix(ui): scroll the gallery with the page so Search lines up with the other tabs by @sdornan in #5732
  • fix(ra): match NAOMI, Atomiswave and Gaelco games again by @MMagTech in #5746
  • fix(ra): hash an arcade set by its archive, not the CHD beside it by @MMagTech in #5747
  • fix(users): delete a user who has play sessions on a device by @MMagTech in #5757
  • fix(gallery): jump instead of smooth scrolling over long distances by @sdornan in #5761
  • fix(frontend): hide leading divider in ROM actions menu when there are no primary actions by @sdornan in #5774
  • fix(rbtn): don't paint hover state for touch input by @sdornan in #5773
  • fix(frontend): send plain objects across the desktop bridge by @sdornan in #5777
  • fix(saves): stop Pokemon scratch RAM writes from flooding save sync by @tmgast in #5758
  • fix(utils): carry formatBytes sizes that round up to 1024 into the next unit by @marcello-pichini in #5762
  • fix(utils): show a playtime of just under an hour as 1h, not 60m by @marcello-pichini in #5763
  • fix(docker): ignore the local easyrpg assets in the image build by @andest01 in #5783
  • fix(launchbox): read the YouTube id from watch URLs wherever v sits and without a fragment by @marcello-pichini in #5764
  • fix(frontend): send RTextField attributes to the input, not the wrapper by @sdornan in #5789
  • fix(igdb): let region_mode decide the localized title by @mkaatman in #5785
  • fix(home): group sibling versions in the anniversaries widget by @NevesHenry in #5792
  • fix(backend): import SOCKET_OPTION from httpcore2 public API by @sdornan in #5810
  • fix(gallery): show platform and collection descriptions in full by @benklop in #5802
  • fix(flashpoint): log API connection errors without a traceback by @sdornan in #5817
  • fix(frontend): recover bottom-nav taps during Safari transitions by @sdornan in #5801
  • fix(management): preserve ROM metadata when files move by @zurdi15 in #5795
  • fix(sockets): send scan events to signed-in sockets only by @gantoine in #5808
  • fix(auth): link an OIDC sign-in by email only to a password-less account by @gantoine in #5815
  • fix: bound PSP container decoding, atomic reset tokens, cap sync play sessions, redact log tokens by @gantoine in #5809
  • fix(feeds): send real content IDs and RAP keys in PKGi and PKGj feeds by @mkaatman in #5818
  • fix(frontend): ship a single web manifest with maskable Android icons by @gantoine in #5820
  • fix(siblings): group versions by connected component everywhere by @gantoine in #5430
  • fix(api): missing status comparison counts as no match by @andest01 in #5821
  • fix: Export HLTB and RetroAchievements extras in Pegasus metadata by @rwendell in #5825
  • fix(emulatorjs): release axis-mapped buttons when the axis skips zero by @gantoine in #5837
  • fix(scan): skip extracted Switch files when reading title ids by @gantoine in #5839
  • fix(gallery): exclude rows under top and bottom chrome from A-Z letter highlight by @Singmin in #5833
  • fix(roms): drop a provider's old metadata when a manual rematch misses by @pcbeingused33 in #5841
  • fix(frontend): refine home and navigation appearance by @zurdi15 in #5797
  • fix(gallery): clip sideways overflow in compact list mode by @sdornan in #5842
  • fix(frontend): show the YouTube video in the game media shelf by @sdornan in #5855
  • fix(frontend): center the page header count on the title capitals by @NevesHenry in #5858

Other changes

  • chore(docker): build the dev image on production's Alpine base by @gantoine in #5335
  • chore(deps): update dependency happy-dom to v21 [security] by @renovate[bot] in #5317
  • chore(deps): bump oauthlib, OpenTelemetry, vitest, markdown-it and undici for security advisories by @gantoine in #5342
  • chore(deps): update github actions by @renovate[bot] in #5348
  • test(auth): cover refresh-token rejection paths by @sdornan in #5357
  • refactor(frontend): emit themed tokens as light-dark() pairs by @sdornan in #5356
  • chore(frontend): remove unused locale keys by @sdornan in #5353
  • docs: rewrite the frontend architecture guide for the current UI by @sdornan in #5355
  • chore(frontend): remove the deprecated gallery-list state from the roms store by @sdornan in #5354
  • chore(deps): update dependency vite-plugin-pwa to v2 by @renovate[bot] in #5350
  • chore(trunk): Upgrade trunk by @github-actions[bot] in #5360
  • chore(deps): update backend dependencies by @renovate[bot] in #5347
  • chore(deps): update frontend dependencies by @renovate[bot] in #5349
  • docs(readme): add R-Shop, RomMMobile and KONSORU to community projects by @gantoine in #5361
  • revert: feat(frontend): add an Open in Steam action for Steam-matched games by @gantoine in #5366
  • revert: feat: classify ROMs by release type (homebrew, hack, translation, ...) by @gantoine in #5365
  • chore: Library support for zelda classic games by @ianfhunter in #5214
  • chore(deps): update dependency happy-dom to v21.0.4 [security] by @renovate[bot] in #5372
  • chore(security): verify dev toolchain downloads by @gantoine in #5218
  • chore(converto): bump rom-converto to v0.24.0 in both images by @DevYukine in #5220
  • perf(roms): let a list fetch leave the provider metadata off each item by @danielcopper in #5228
  • refactor(docker): simplify the production Dockerfile by @sdornan in #5376
  • perf(roms): cheaper grouped gallery window on PostgreSQL and MariaDB by @andest01 in #5267
  • refactor(frontend): rename RSliderBtnGroup to RSegmentedControl by @sdornan in #5383
  • refactor(frontend): drop !important from RSegmentedControl by @sdornan in #5386
  • refactor(frontend): rename RImg to RImage by @sdornan in #5387
  • docs(readme): add CoreHost as a hosted deploy option by @gantoine in #5380
  • chore: add reverted-fix, reach and test checks to security-audit by @gantoine in #5390
  • refactor(roms): drive update_rom's provider refetches from one table by @gantoine in #5393
  • refactor(streaming): type the session record as a StreamingSession TypedDict by @gantoine in #5395
  • refactor(frontend): share the primitives' tone and rounded maps by @sdornan in #5400
  • refactor(player): build the EmulatorJS globals in one pure function by @gantoine in #5397
  • ci(coverage): measure frontend coverage with v8 and backend branch coverage by @sdornan in #5407
  • chore(seed): realistic, fast, debuggable seeded images by @andest01 in #5253
  • test(game-details): cover the achievements tab's earned/total badge by @sdornan in #5426
  • test: keep the NUL media path out of the PostgreSQL seed by @gantoine in #5420
  • test: raise libretro HEAD timeout in fake-server fixture to fix flaky test by @sdornan in #5436
  • chore(docker): refresh base image digests and let Renovate track them by @sdornan in #5439
  • chore(deps): update frontend dependencies by @renovate[bot] in #5450
  • chore(deps): bump dnspython to 2.9.0 for CVE-2026-114605 by @sdornan in #5448
  • chore(trunk): Upgrade trunk by @github-actions[bot] in #5456
  • docs(readme): add RomP and RommPS, drop Syncthing sync by @gantoine in #5459
  • chore(deps): update backend dependencies by @renovate[bot] in #5449
  • docs(agents): note gh --attach needs 2.99.0 and fails in cloud sessions by @sdornan in #5470
  • chore(deps): update frontend dependencies by @renovate[bot] in #5468
  • test: date "later" saves and states a year ahead, not in 2099 by @sdornan in #5474
  • chore(deps): update astral-sh/setup-uv action to v10.3.3 by @renovate[bot] in #5466
  • chore(deps): update valkey/valkey docker tag to v9.0.7 by @renovate[bot] in #5467
  • chore(deps): update frontend dependencies to v10.6.5 by @renovate[bot] in #5484
  • chore(deps): update backend dependencies by @renovate[bot] in #5483
  • chore(deps): update node.js to v26 by @renovate[bot] in #5469
  • chore(deps): update dependency @types/node to v26.6.6 by @renovate[bot] in #5491
  • chore(deps): update dependency mypy to v2.4.1 by @renovate[bot] in #5492
  • chore(deps): update dependency rq to v3 by @renovate[bot] in #5493
  • chore(deps): update github actions by @renovate[bot] in #5494
  • refactor(gallery): track the displayed result, refresh sorts in place, defer to page morphs by @sdornan in #5502
  • perf(scan): stop quick scan re-reading unchanged ROMs by @sdornan in #5516
  • chore(scan): recognize Brazilian Portuguese as a language by @NathanAlcantara in #5499
  • chore(deps): update dependency tornado to v6.6 [security] by @renovate[bot] in #5527
  • chore(deps): update dependency oauthlib to v4.0.1 [security] by @renovate[bot] in #5526
  • test(frontend): add BottomNav stories by @sdornan in #5528
  • chore(trunk): Upgrade trunk to 1.29.0 by @github-actions[bot] in #5523
  • chore(deps): update frontend dependencies by @renovate[bot] in #5521
  • chore(deps): update backend dependencies by @renovate[bot] in #5520
  • chore(deps): update docker base images by @renovate[bot] in #5534
  • chore(deps): update peter-evans/create-pull-request action to v8.1.2 by @renovate[bot] in #5535
  • test(frontend): disable MdPreview image zoom in mdeditor test by @sdornan in #5542
  • perf(frontend): stop promoting every virtual scroller item to a layer by @andest01 in #5550
  • chore(deps): update dependency croniter to v7 by @renovate[bot] in #5536
  • chore(storybook): add the pseudo-states addon by @andest01 in #5549
  • perf(frontend): poll the gamepad only while one is connected by @andest01 in #5547
  • perf(frontend): drop lodash for small native helpers by @sdornan in #5561
  • chore(skills): put collapsed technical changes in every release note by @gantoine in #5567
  • perf(streaming): start the streaming worker only when streaming is enabled by @sdornan in #5570
  • docs(readme): update selfh.st badge for 9th place in the 2026 survey by @gantoine in #5583
  • docs(architecture): keep design in the architecture docs, point to code for listings by @gantoine in #5586
  • chore(platforms): add slugs for Luxor ABC 800 and PlayStation Mobile by @NevesHenry in #5571
  • chore(deps): update dependency dnspython to v2.9.2 [security] by @renovate[bot] in #5597
  • chore(coherence): adopt Coherence with specs, invariants and a PR report by @gantoine in #5584
  • chore(deps): update js-dos to 8.5.4 and track it with Renovate by @gantoine in #5598
  • chore(deps): update backend dependencies by @renovate[bot] in #5607
  • chore(deps): update frontend dependencies by @renovate[bot] in #5608
  • chore(trunk): Upgrade trunk by @github-actions[bot] in #5610
  • docs: add legal disclaimer and zero-tolerance piracy rule by @gantoine in #5618
  • chore(deps): update dependency tornado to v6.6.1 [security] by @renovate[bot] in #5626
  • chore(trunk): clear the osv-scanner findings from the scheduled check-all run by @NevesHenry in #5619
  • chore(deps): update peter-evans/create-pull-request action to v8.1.3 by @renovate[bot] in #5638
  • perf(roms): page grouped galleries from the cached id index by @kynrek in #5636
  • chore(deps): update node.js to 6bd9ab4 by @renovate[bot] in #5654
  • docs(readme): point Freegosy links to GitLab by @Spinnich in #5650
  • chore(deps): update python:3.14-alpine3.24 docker digest to 5862d97 by @renovate[bot] in #5656
  • chore(deps): update backend dependencies by @renovate[bot] in #5674
  • chore(deps): update valkey/valkey docker tag to v9.0.8 by @renovate[bot] in #5676
  • chore(seeder): use realistic metadata by @andest01 in #5641
  • perf(roms): load roms by an array of ids by @andest01 in #5663
  • chore(docs): better openapi descriptions by @andest01 in #5660
  • chore(skills): add plain-prose skill and prose-check linter by @gantoine in #5684
  • perf(frontend): shrink the gallery grid's overscan budget by @andest01 in #5552
  • chore(renovate): hold rolldown below 1.3 until Vite supports it by @gantoine in #5685
  • chore(coherence): give each worktree its own test database automatically by @gantoine in #5680
  • docs(api): document the error responses routes raise by @gantoine in #5693
  • test(api): check that routes document the error statuses they raise by @gantoine in #5686
  • test(api): check returned, forwarded and stale error statuses by @gantoine in #5715
  • chore(deps): update backend dependencies by @renovate[bot] in #5738
  • chore(deps): update github actions by @renovate[bot] in #5740
  • chore(deps): update dependency gunicorn to v27 by @renovate[bot] in #5741
  • chore(deps): update postgres docker tag to v19 by @renovate[bot] in #5742
  • chore(deps): update frontend dependencies by @sdornan in #5743
  • docs(readme): re-add Syncthing sync by @gantoine in #5760
  • chore(vite): enable CSS source maps in dev by @andest01 in #5753
  • refactor(frontend): rename RBtn and *Btn components to *Button by @sdornan in #5775
  • test(frontend): clear console warnings from the vitest run by @sdornan in #5779
  • test(api): keep helper responses in a swallowing try and resolve caught classes by @gantoine in #5781
  • chore(vue): devs can use vite vue dev tools by @andest01 in #5751
  • chore(vite): fail fast when the dev or preview port is taken by @andest01 in #5752
  • build(sigil): pin 42921b1 by @tmgast in #5800
  • perf(roms): serve the filter dropdown values from their own endpoint by @andest01 in #5786
  • chore(deps): update backend dependencies by @renovate[bot] in #5806
  • chore(deps): update frontend dependencies by @renovate[bot] in #5807
  • perf(search): prevent double fetch by @andest01 in #5803
  • perf(api): api roms does single pass query by @andest01 in #5804
  • chore(trunk): Upgrade trunk by @github-actions[bot] in #5812
  • docs(readme): add SwitchRomM by @gantoine in #5827
  • chore(deps): update github actions by @renovate[bot] in #5822
  • chore(prose): fix the prose-check findings on master by @gantoine in #5826
  • chore(api): widen indexes for filtered search, MariaDB Fix by @andest01 in #5824
  • perf(gallery): rank only grouped ROMs in the sibling window by @gantoine in #5845
  • ci(api-types): report breaking OpenAPI changes on pull requests by @gantoine in #5854
  • refactor(adapters): send provider requests through httpx2 by @gantoine in #5851
  • refactor(scan): move missing-ROM matching out of the scan socket by @gantoine in #5861
  • chore(converto): bump rom-converto to v0.26.0 and ship the keyless build by @DevYukine in #5868
  • perf(api): collections handler is optimized by @andest01 in #5867
  • chore(deps): update mariadb docker tag to v13.1.2 by @renovate[bot] in #5875
  • chore(deps): update github actions by @renovate[bot] in #5874
  • chore(skills): run pr-ready's code-review at high instead of xhigh by @gantoine in #5872
  • chore(deps): update dependency sentry-sdk to v3 by @renovate[bot] in #5876
  • chore(deps): update backend dependencies by @renovate[bot] in #5877
  • chore(deps): update frontend dependencies by @renovate[bot] in #5878
  • perf(collections): refresh smart collections with an ids-only query by @andest01 in #5879
  • perf(roms): sort by player count without the NULLS LAST term by @gantoine in #5884
  • chore(vouch): rename the Vouch request issue type to Vouch by @gantoine in #5886
  • ci: open scheduled-failure issues with the Maintenance type by @gantoine in #5889
  • chore(vouch): update the vouch list by @github-actions[bot] in #5888
  • docs(readme): add 16 community projects and rename two sections by @gantoine in #5887
  • refactor(docker): supervise the container with s6-overlay by @gantoine in https://github.com/rommapp/romm/pull/4019⁠
  • perf(rq): Save 70MB+ RAM; keep SQLAlchemy out of RQ workers, cron processes by @andest01 in #5736
  • perf(rq): Save 67MB RAM; keep the database and API out of streaming worker's parent by @andest01 in #5755
  • perf(metadata): serve the metadata dumps and fixtures from SQLite files by @gantoine in #5844
  • perf(gunicorn): preload the app so web workers share its memory by @gantoine in #5846

New Contributors

Full Changelog: 5.4.1...5.5.0