Skip to content

Releases

5.5.0-beta.3

5.5.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 03 Dec 17:05
2778be8

What's Changed

  • fix(siblings): group versions by connected component everywhere by @gantoine in #5430
  • docs(readme): add SwitchRomM by @gantoine in #5827
  • fix(api): missing status comparison counts as no match by @andest01 in #5821
  • chore(deps): update github actions by @renovate[bot] in #5822
  • fix: Export HLTB and RetroAchievements extras in Pegasus metadata by @rwendell in #5825
  • chore(prose): fix the prose-check findings on master by @gantoine in #5826
  • 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
  • feat(ci): add a vouch and denouncement contribution system by @gantoine in #5835
  • fix(roms): drop a provider's old metadata when a manual rematch misses by @pcbeingused33 in #5841
  • chore(api): widen indexes for filtered search, MariaDB Fix by @andest01 in #5824
  • 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
  • fix(frontend): refine home and navigation appearance by @zurdi15 in #5797
  • perf(gallery): rank only grouped ROMs in the sibling window by @gantoine in #5845

New Contributors

Full Changelog: 5.5.0-beta.2...5.5.0-beta.3

5.5.0-beta.2

5.5.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 01 Dec 15:25
18995ea

What's Changed

  • fix(snapshots): keep a row's updated_at when its sharing is synced by @MMagTech in #5718
  • feat(i18n): add Ukrainian locale by @tarasromil in #5717
  • 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
  • feat(scan): list the ROMs a ScreenScraper breaker skipped in the scan summary by @gantoine in #5727
  • fix(roms): default an uncategorised nested file to game by @gantoine in #5728
  • 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
  • fix(ui): scroll the gallery with the page so Search lines up with the other tabs by @sdornan in #5732
  • 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
  • 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
  • feat(emulatorjs): expose download cache enable setting by @HadNutz in #5737
  • feat(filters): exclude platforms in the search filter drawer by @sdornan in #5756
  • docs(readme): re-add Syncthing sync by @gantoine in #5760
  • refactor(docker): supervise the container with s6-overlay by @gantoine in #4019
  • chore(vite): enable CSS source maps in dev by @andest01 in #5753
  • 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
  • refactor(frontend): rename RBtn and *Btn components to *Button by @sdornan in #5775
  • fix(frontend): send plain objects across the desktop bridge by @sdornan in #5777
  • test(frontend): clear console warnings from the vitest run by @sdornan in #5779
  • feat(frontend): add MAME, FinalBurn Neo and FinalBurn Alpha platform icons by @gantoine in #5780
  • test(api): keep helper responses in a swallowing try and resolve caught classes by @gantoine in #5781
  • 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
  • feat(frontend): enable vueCompilerOptions.strictTemplates by @sdornan in #5787
  • 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
  • feat(saves): convert DS, Sega cartridge and Game Boy Advance saves through sigil by @MMagTech in #5643
  • 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
  • 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
  • fix(home): group sibling versions in the anniversaries widget by @NevesHenry in #5792
  • 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
  • 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
  • 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
  • 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
  • chore(trunk): Upgrade trunk by @github-actions[bot] in #5812
  • 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

New Contributors

Full Changelog: 5.5.0-beta.1...5.5.0-beta.2

5.5.0-beta.1

5.5.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 22 Nov 00:46
ca8efb7

Caution

Let the first start finish its migrations.
Two migrations alter the roms table and one reads every ROM to flag custom sort names. Another adds columns to rom_files, saves, states and screenshots and moves every slot save into a save channel. All of this can take a while on a large library, 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. Docker Compose reads KEY= # comment as the comment text, and an unquoted OIDC_AUTH_PARAMS stops RomM from starting. #5649

  • 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. The same pass reads save IDs from disc formats that earlier scans skipped, and from zipped games such as PS Vita dumps. #5198 #5694

  • If your library's titles aren't in English, list that language's articles under sorting.articles in config.yml. When sorting, RomM now ignores only a leading "the", "a" or "an", so "Die Hard Arcade" files under D instead of H. When the list changes, RomM re-sorts every game 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
variable default description
OIDC_AUTH_PARAMS - A JSON object of extra parameters to send with the OIDC authorization request, such as {"prompt":"select_account"}. RomM refuses to start if the object sets a parameter that RomM manages itself
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
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 RomM keeps an unpinned branch, 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 RomM keeps 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)
Session cookie Logging in, by password or OIDC, issues a new session id and deletes the previous session (#5630)
Email and username validation RomM rejects an email address or username that ends in a newline, carriage return or tab (#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)
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)
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 RomM refuses file:// and launchbox-file:// URLs for collection covers and for ROM covers or manuals, unless the request sends back the URL already stored (#5496)

ROMs, saves and states

Change Description
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)
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)
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)
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)
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)
⚠️ Legacy save and state writes RomM never rewrites a save or state that a snapshot holds. 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 (#5198)
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)
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 `snap...
Read more

5.5.0-alpha.3

5.5.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 19 Nov 13:10
2bc4b8d

What's Changed

  • fix(frontend): follow bottom-nav taps made while a view transition runs by @sdornan in #5605
  • chore(deps): update backend dependencies by @renovate[bot] in #5607
  • 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
  • chore(deps): update frontend dependencies by @renovate[bot] in #5608
  • chore(trunk): Upgrade trunk by @github-actions[bot] in #5610
  • 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
  • docs: add legal disclaimer and zero-tolerance piracy rule by @gantoine in #5618
  • fix(frontend): catch mdi icon names the build would drop by @andest01 in #5562
  • chore(deps): update dependency tornado to v6.6.1 [security] by @renovate[bot] in #5626
  • fix(ui): dim verification sources the ROM did not match by @andest01 in #5627
  • chore(trunk): clear the osv-scanner findings from the scheduled check-all run by @NevesHenry in #5619
  • 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
  • feat(ui): show how many games a filtered platform page lists by @andest01 in #5629
  • 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
  • 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
  • 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
  • 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
  • fix(sync): support safe RetroArch WebDAV backups by @uPagge in #5648

New Contributors

Full Changelog: 5.5.0-alpha.2...5.5.0-alpha.3

5.5.0-alpha.2

5.5.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 15 Nov 15:50
d505be3

Caution

Let the first start finish its migrations.
Two migrations alter the roms table and one reads every ROM to flag custom sort names. Another adds columns to rom_files, saves, states and screenshots and moves every slot save into a save channel. All of this can take a while on a large library, so don't restart the container while they run.

Warning

Add your RomM credentials to Tinfoil.
The Tinfoil feed at /api/feeds/tinfoil now requires authentication, like every other feed. If your Tinfoil shop entry has no username and password, add your RomM ones. Instances running with DISABLE_DOWNLOAD_ENDPOINT_AUTH=true are unaffected. #5344

Warning

List your library's articles under sorting.articles if it isn't in English.
Titles now sort without a leading "the", "a" or "an" only, so "Die Hard Arcade" files under D instead of H. A library in another language can list its own articles in config.yml. When the list changes, RomM re-sorts every game on the next start, and a sort name you typed on a game is always kept as written. #5429

sorting:
  articles:
    - der
    - die
    - das

Warning

Add a [host]:port line to known_hosts for push-pull devices on a port other than 22.
Push-pull sync now refuses any host the admin's known_hosts doesn't already trust, before opening a connection. A handheld listening on another port needs its own [host]:port entry; a bare host entry only covers port 22. #5460

Warning

Rescan your library to download saves converted for another emulator.
Converting a save for a different core needs identity data from each ROM file that only a scan fills in, so run one rescan after upgrading. It also reads save ids from disc formats that earlier scans skipped. #5198

Technical changes

🌎 ENVIRONMENT VARIABLES
variable default description
OIDC_AUTH_PARAMS - JSON object of extra OIDC authorization request parameters, such as {"prompt":"select_account"}. Parameters RomM manages are rejected at startup
SEVEN_ZIP_TIMEOUT 180 Now also bounds Python-side reads of zip, tar, gzip, bz2 and xz archives during hashing
STREAMING_BROKER_SECRET - Now only used for streaming containers that set no broker_secret in config.yml
SNAPSHOT_RETENTION 10 Snapshots each save channel keeps, not counting its current and pinned ones
SNAPSHOT_BRANCH_LIFETIME_DAYS 30 Days an unpinned branch left by a stale push is kept
ENABLE_SCHEDULED_PRUNE_SNAPSHOTS true Run the scheduled snapshot prune
SCHEDULED_PRUNE_SNAPSHOTS_CRON 41 * * * * Cron schedule for the snapshot prune
📡 API CHANGES

Auth and users

Change Description
⚠️ PUT /api/users/{id} current password Changing your own username, password or email needs the new current_password form field: 400 when missing, 403 when wrong. Your own email is 403 when OIDC manages it (#5351)
UserSchema New has_password and email_managed_by_oidc (#5351)
PUT /api/users/{id} empty values email="" clears the email (#5472); ra_username="" unlinks RetroAchievements and resets ra_progression (#5475)
⚠️ Acting on other users PUT/DELETE /api/users/{id} and POST /api/users/{id}/ra/refresh on another user need users.write in the caller's scopes; a non-admin targeting an admin, or granting 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 are unaffected (#5496)
⚠️ own_only permissions Rejected with 422 on entities without owners; 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 erroring (#5594)

Client tokens and devices

Change Description
⚠️ Client token scopes POST /api/client-tokens and the device approval flow cap scopes at the calling credential's; regenerate and pair return 403 unless the caller holds every stored scope; DELETE returns 403 for a token broader than the caller (#5346)
DELETE /api/client-tokens/{id} A client token can revoke itself without me.write; the route no longer declares a scope in OpenAPI (#5419)
DeviceAuthTokenResponse.id POST /api/auth/device/token returns the token's id (#5419)
⚠️ Device-bound tokens A token paired to a device gets 404 for any other device on the devices, sync, saves, play session and activity heartbeat routes, and 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; 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 play_sessions need roms.user.write and are capped at 100 entries (#5496)
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/PUT .../files/{file_id}/progress answer a hidden ROM with the same not-found as a missing one (#5584)
Validation errors Empty slug/fs_slug in POST /api/config/system/platforms and /system/versions, a non-object smart collection filter_criteria, and a non-list rom_ids in PUT /api/collections/{id} return 422 (#5496)
Cover and manual URLs file:// and launchbox-file:// URLs are refused for collection covers and ROM covers or manuals unless sent back unchanged (#5496)

ROMs, saves and states

Change Description
GET /api/roms New with_provider_metadata (default true); false returns every provider *_metadata blob as null, keeping manual_metadata (#5228)
ROM schemas version New version field; revision and version are null instead of "" when the file name has none (#5255)
ROM schema name lists Provider {id, name} entries in genres, companies and other name lists are returned as plain names (#5249)
RomFileSchema.category Patch files are categorised as patch (#5538)
⚠️ Legacy save and state writes A save or state 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 under the channel of that name as its next snapshot; RetroArch .srm uploads go to default (#5198)
GET /api/saves/{id}/content New core, option, profile and companion (up to 8) to download a save converted for a core (#5198)
POST /api/saves/{id}/content New; merges the save into a memory card or volume sent as the container part (#5198)
SaveSchema, StateSchema New channel_id (#5198)
DetailedRomSchema New user_channels, channel_file_id and snapshot_save_ids (#5198)
StateSchema.origin_device_id New field; POST /api/states and PUT /api/states/{id} take an optional device_id (#5531)

Save channels and snapshots

Method Path Description
GET /api/channels Channels on the named 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 Re-key a detached channel to a ROM file, owner only (#5198)
DELETE /api/channels/{id}/held Forget the snapshot the device holds in the channel (#5198)
DELETE /api/channels/{id} Delete a channel, owner only (#5198)
GET /api/snapshots One channel's history, by channel_id (#5198)
GET /api/snapshots/{id} One snapshot; hold=true makes it the device's held snapshot (#5198)
POST /api/snapshots Push a manifest plus parts for hashes the server lacks; 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 Sigil's save layout catalog 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, fba and board slugs; cps1, cps2, cps3, model1, system16, system32 and system-32 are retired into arcade (#5273)

Streaming

Change Description
Streaming admin routes Listing containers and sessions needs users.read; opening a desktop, force-releasing or driving another user's session needs users.write (#5346)
POST /api/streaming/sessions Optional disc_file_id picks the starting disc; 400 when it isn't one of the ROM's playlist discs (#5446)

Heartbeat, setup, tasks and con...

Read more

5.5.0-alpha.1

5.5.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 11 Nov 20:08
576a8b0

Caution

Let the first start finish its migrations.
Two migrations alter the roms table and one reads every ROM to flag custom sort names, which can take a while on a large library. Don't restart the container while they run.

Warning

Add your RomM credentials to Tinfoil.
The Tinfoil feed at /api/feeds/tinfoil now requires authentication, like every other feed. If your Tinfoil shop entry has no username and password, add your RomM ones. Instances running with DISABLE_DOWNLOAD_ENDPOINT_AUTH=true are unaffected. #5344

Warning

List your library's articles under sorting.articles if it isn't in English.
Titles now sort without a leading "the", "a" or "an" only, so "Die Hard Arcade" files under D instead of H. A library in another language can list its own articles in config.yml. When the list changes, RomM re-sorts every game on the next start, and a sort name you typed on a game is always kept as written. #5429

sorting:
  articles:
    - der
    - die
    - das

Warning

Add a [host]:port line to known_hosts for push-pull devices on a port other than 22.
Push-pull sync now refuses any host the admin's known_hosts doesn't already trust, before opening a connection. A handheld listening on another port needs its own [host]:port entry; a bare host entry only covers port 22. #5460

Technical changes

🌎 ENVIRONMENT VARIABLES
variable default description
OIDC_AUTH_PARAMS - JSON object of extra OIDC authorization request parameters, such as {"prompt":"select_account"}. Parameters RomM manages are rejected at startup
SEVEN_ZIP_TIMEOUT 180 Now also bounds Python-side reads of zip, tar, gzip, bz2 and xz archives during hashing
STREAMING_BROKER_SECRET - Now only used for streaming containers that set no broker_secret in config.yml
📡 API CHANGES

Auth and users

Change Description
⚠️ PUT /api/users/{id} current password Changing your own username, password or email needs the new current_password form field: 400 when missing, 403 when wrong. Your own email is 403 when OIDC manages it (#5351)
UserSchema New has_password and email_managed_by_oidc (#5351)
PUT /api/users/{id} empty values email="" clears the email (#5472); ra_username="" unlinks RetroAchievements and resets ra_progression (#5475)
⚠️ Acting on other users PUT/DELETE /api/users/{id} and POST /api/users/{id}/ra/refresh on another user need users.write in the caller's scopes; a non-admin targeting an admin, or granting 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 are unaffected (#5496)
⚠️ own_only permissions Rejected with 422 on entities without owners; GET /api/permissions/catalog adds ownable_entities (#5346)

Client tokens and devices

Change Description
⚠️ Client token scopes POST /api/client-tokens and the device approval flow cap scopes at the calling credential's; regenerate and pair return 403 unless the caller holds every stored scope; DELETE returns 403 for a token broader than the caller (#5346)
DELETE /api/client-tokens/{id} A client token can revoke itself without me.write; the route no longer declares a scope in OpenAPI (#5419)
DeviceAuthTokenResponse.id POST /api/auth/device/token returns the token's id (#5419)
⚠️ Device-bound tokens A token paired to a device gets 404 for any other device on the devices, sync, saves, play session and activity heartbeat routes, and 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; 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 play_sessions need roms.user.write and are capped at 100 entries (#5496)
POST /api/roms/upload/{id}/complete Returns 400 when the target platform became hidden or was deleted after /start (#5458)
Validation errors Empty slug/fs_slug in POST /api/config/system/platforms and /system/versions, a non-object smart collection filter_criteria, and a non-list rom_ids in PUT /api/collections/{id} return 422 (#5496)
Cover and manual URLs file:// and launchbox-file:// URLs are refused for collection covers and ROM covers or manuals unless sent back unchanged (#5496)

ROMs, saves and states

Change Description
GET /api/roms New with_provider_metadata (default true); false returns every provider *_metadata blob as null, keeping manual_metadata (#5228)
ROM schemas version New version field; revision and version are null instead of "" when the file name has none (#5255)
ROM schema name lists Provider {id, name} entries in genres, companies and other name lists are returned as plain names (#5249)
RomFileSchema.category Patch files are categorised as patch (#5538)
StateSchema.origin_device_id New field; POST /api/states and PUT /api/states/{id} take an optional device_id (#5531)

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, fba and board slugs; cps1, cps2, cps3, model1, system16, system32 and system-32 are retired into arcade (#5273)

Streaming

Change Description
Streaming admin routes Listing containers and sessions needs users.read; opening a desktop, force-releasing or driving another user's session needs users.write (#5346)
POST /api/streaming/sessions Optional disc_file_id picks the starting disc; 400 when it isn't one of the ROM's playlist discs (#5446)

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)
GET /api/setup/library Existing platforms add slug (#5473)
Tasks New manual task recompute_name_sort_keys (#5429)
config.yml New sorting.articles (#5429)

Highlights

Farewell console mode 🫡

The classic UI and console mode are gone, along with the /console/* routes, and anyone who had picked the classic UI in Settings now gets the current one. Tailwind CSS and Vuetify went with them. The page background and default text colour now come from RomM's theme tokens, so the background shade shifts slightly in both themes. #5309 #5315

Arcade platforms by emulator family

Arcade folders no longer all fold into one arcade platform. MAME, AdvanceMAME, FinalBurn Neo and FinalBurn Alpha sets get their own platforms (mame, mame-advmame, fbneo, fba), and so do boards that need an emulator of their own, such as naomi, atomiswave, triforce, lindbergh, daphne and teknoparrot. A new platform without an icon of its own gets the arcade cabinet with its name on the marquee. #5273

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(fron...
Read more

5.4.1

Choose a tag to compare

@gantoine gantoine released this 22 Oct 22:49
9c74d01

Caution

This release includes mitigations for the recent eMudhra CA compromise as well as general dependency upgrades. While we don't believe RomM instances are vulnerable, we recommend upgrading as soon as possible.

What's Changed

  • docs(readme): move corporate sponsors above friends by @gantoine in #5219
  • chore(deps-dev): bump handlebars from 4.7.9 to 4.7.10 in /frontend by @dependabot[bot] in #5221
  • fix(deps): bump certifi to 2026.10.19 to distrust compromised eMudhra intermediates by @gantoine in #5283
  • chore(deps): bump uv to 0.13.4 by @gantoine in #5284
  • chore(trunk): Upgrade trunk by @github-actions[bot] in #5225
  • chore(deps): update github actions by @renovate[bot] in #5244
  • chore(deps): bump aiohttp from 3.14.3 to 3.14.4 by @dependabot[bot] in #5276
  • chore(deps-dev): bump vite from 8.3.1 to 8.3.4 in /frontend by @dependabot[bot] in #5285
  • chore(deps): bump follow-redirects from 1.16.0 to 1.16.1 in /frontend by @dependabot[bot] in #5286
  • docs: list the ROM patcher env vars in env.template by @pcbeingused333 in #5265
  • chore(deps): update dependency pillow to v13 [security] by @renovate[bot] in #5288
  • chore(deps): update dependency storybook to v10.6.2 [security] by @renovate[bot] in #5291
  • chore(deps): bump Node to 24.22.1 for the October 2026 security release by @gantoine in #5295
  • fix(docker): upgrade the image's pip to 26.2.2 by @gantoine in #5298
  • chore(deps): update github/codeql-action action to v4.39.0 by @renovate[bot] in #5299

New Contributors

  • @pcbeingused333 made their first contribution in #5265

Full Changelog: 5.4.0...5.4.1

5.4.0

Choose a tag to compare

@gantoine gantoine released this 10 Oct 15:16
68f7125

Caution

Give the first start 15-20 mintes to finish its migrations.
Several of this release's migrations rewrite the roms table and backfill it in batches, which can take a while on a large library. Don't restart the container while they run.

Warning

Cross-origin requests are denied by default.
An unset or empty ROMM_CORS_ALLOWED_ORIGINS used to allow every origin, and now allows none. If a browser-based client on another origin talks to your RomM, list its origin in ROMM_CORS_ALLOWED_ORIGINS. A * still answers any origin, but without credentials, so a client that signs in with the session cookie needs its origin listed explicitly. #4699

Warning

Add a reverse proxy on a public address to FORWARDED_ALLOW_IPS.
RomM now trusts X-Forwarded-For only from loopback and private ranges. A proxy outside those ranges has to be added, or every request is logged and rate limited as coming from the proxy's address. #4748

Technical changes

🌎 ENVIRONMENT VARIABLES

Notifications and email

variable default description
SMTP_HOST - SMTP server; email stays off until this and SMTP_FROM are set
SMTP_PORT 587 SMTP server port
SMTP_USERNAME - Login for the SMTP server, if it needs one
SMTP_PASSWORD - Password for the SMTP server
SMTP_FROM - Sender address, such as romm@example.com
SMTP_SECURITY starttls starttls, tls (implicit TLS, usually port 465) or none

Audit log

variable default description
AUDIT_LOG_RETENTION_DAYS 90 Days to keep audit events; 0 keeps them forever

Library conversion

variable default description
ROM_CONVERTO_ENABLED false Enable the "Convert library" task and ?format= download conversions
ROM_CONVERTO_TIMEOUT 600 Seconds per rom-converto operation
ROM_CONVERTO_MAX_CONCURRENCY 2 Concurrent conversions per web or task worker

Devices and sync

variable default description
DEVICE_INSTALL_ENABLED true Let users push a ROM to one of their devices for install
DEVICE_INSTALL_REQUEST_TTL_DAYS 2 Days an unfinished install request waits for its device; 0 waits forever
DEVICE_INSTALL_EXCLUDED_PLATFORM_SLUGS win,win3x,win9x,windows-apps Platforms that can never be pushed to a device
SYNC_RETROARCH_PSP_SERIAL_MAP {} JSON map of PSP serial to extensionless ROM file name, for RetroArch PSP saves whose title matches no ROM

Scheduled cleanups

variable default description
ENABLE_SCHEDULED_CLEANUP_NETPLAY true Clean up empty netplay rooms
SCHEDULED_CLEANUP_NETPLAY_CRON */30 * * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_UPLOAD_TMP true Clean up abandoned chunked uploads
SCHEDULED_CLEANUP_UPLOAD_TMP_CRON 0 * * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_ZIP_CACHE true Clean up stale cached ZIP files
SCHEDULED_CLEANUP_ZIP_CACHE_CRON 0 4 * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_SYNC_SESSIONS true Fail sync sessions no client completed
SCHEDULED_CLEANUP_SYNC_SESSIONS_CRON 23 * * * * When that cleanup runs

General

variable default description
⚠️ ROMM_CORS_ALLOWED_ORIGINS - Empty now allows no cross-origin requests; a * allows any origin but never credentials
⚠️ FORWARDED_ALLOW_IPS local/loopback addresses Proxies trusted to report the client's address; was *
DISABLE_EASYRPG false Disable the EasyRPG player for everyone
SEVEN_ZIP_TIMEOUT 180 Timeout for 7-Zip operations in seconds, was 60
📡 API CHANGES | Change | Description | | --- | --- | | ⚠️ CORS denied by default | `ROMM_CORS_ALLOWED_ORIGINS` now defaults to empty instead of `*`; browser clients on another origin must be allowlisted (#4699) | | CORS wildcard drops credentials | With `*` in `ROMM_CORS_ALLOWED_ORIGINS`, responses no longer send `Access-Control-Allow-Credentials` (#4699) | | Invalid credentials are unauthenticated | A malformed Basic header or an invalid/expired JWT bearer no longer 500s; the request proceeds unauthenticated and gets the route's 401/403 (#4799) | | ⚠️ `PermissionGroupSchema.is_system` removed | Replaced by `system_key` (`SystemGroupKey` or null) (#4767) | | Age limits on permissions | `PermissionGroupSchema/Create/Update` and `UserPermissionsSchema/Update` gain `age_limit`, `hide_unrated_roms`; updates apply them only with `set_age_settings: true` (#5081) | | Collection `rom_count` is computed | `rom_count` on collection, smart and virtual collection schemas is now read-only, derived from the visible `rom_ids` (#4930) | | ⚠️ Collection name errors | Duplicate name on create or rename returns 409 (was 500); names over 400 chars return 422 (#4997) | | ⚠️ `GET /api/netplay/list` | Scope `assets.read` - `roms.read`; `game_id` is now an integer ROM id, 404 for a missing or hidden ROM (#4700) | | ⚠️ Netplay socket rooms | `open-room` and password-less `join-room` require a signed-in user with `roms.read` who can see the ROM; the room password moved from `extra.room_password` to top-level `password` (#4700) | | ⚠️ `GET /api/play-sessions` | Without `devices.read`, only allowed when `device_id` equals the calling token's device; no longer defaults `device_id` from the token (#4956) | | ⚠️ `PlaySessionSchema.sync_session_id` removed | Field dropped from play session responses (#4670) | | Page params on play and sync sessions | `GET /api/play-sessions` and `GET /api/sync/sessions` use shared page params (`limit` 1 to 10000, `offset`); sync sessions gains `offset` (#4715) | | ⚠️ Sync `delete` operation | `SyncOperationSchema.action` adds `delete` (slot emptied on the server); `SyncNegotiateResponse` adds `total_delete` (#4674) | | `POST /api/sync/negotiate` payload | New `restore_unlisted` and `emulators` fields to re-offer unlisted saves and filter by emulator (#5091) | | Save sync baselines | `POST /api/saves` and `PUT /api/saves/{id}` take a `content_hash` query param; `POST /api/saves/{id}/downloaded` takes `content_hash` in the body (#4768) | | Save/state uploads validated | `emulator` must be a single folder name (max length enforced); file names over 255 bytes return 400; uploads to a hidden ROM return 404 (#4851, #4997) | | `SaveSchema` / `StateSchema` annotations | New `is_favorite` and `labels`; masked to defaults on another user's shared save or state (#4714) | | `StateSchema.core` | New field naming the RetroArch core that wrote the state (#4862) | | ⚠️ `PUT /api/roms/{id}` rename errors | Renaming onto an existing file returns 409 (was 500); an invalid or overlong `fs_name` returns 400 before any metadata fetch (#4997) | | `PUT /api/roms/{id}` manual metadata | `raw_manual_metadata` is validated, 422 when malformed; `ManualMetadata` gains `alternative_names` (#5111) | | `POST /api/roms/{id}/convert-to-folder` | Also returns 409 when an `.m3u` beside the file lists it; upload and walkthrough routes reject the same case (#5076) | | `GET /api/roms` relevance ordering | Empty `order_by` with a search term ranks by relevance on every database; `char_index` is empty under relevance order (#4996) | | `GET/HEAD /api/roms/{id}/content/{file_name}` | New `?format=` for converted single-file downloads (202 + `Retry-After` while converting, 406 when unavailable) (#4999) | | `GET /api/roms/{id}/content/{file_name}` | New `purpose=download\|play` query param, recorded in the audit log (#4748) | | `DetailedRomSchema.download_formats` | Formats the caller can request with `?format=` (#5000) | | `is_easyrpg_game` on ROM schemas | New boolean on `SimpleRomSchema` and `DetailedRomSchema` (#5077) | | Pinned media | `RomUserSchema.pinned_media` and `RomUserData.pinned_media` (ordered media keys, null for default) (#4764) | | ROM metadata fields | LaunchBox box art `box2d_*`/`box3d_*` (url and path), `video_path` now nullable (#5129); SS `physical_disc`/`physical_extra_discs` (#4885); SS and Hasheous `dump_regions/languages/tags` (#4740); RA `hash_match` (#4816) | | `PlatformSchema` | New computed `abbreviation` and `alternative_names` (#5107) | | `MusicTrackSchema.file_name` | New field (#5079) | | `DeviceSchema.capabilities` | New `capabilities` map on device schema and on `POST`/`PUT /api/devices` payloads (#4835) | | `GET /api/heartbeat` | Adds `EMULATION.DISABLE_EASYRPG` (#5077), `NOTIFICATIONS` (#4735), `DEVICE_INSTALL` (#4835), `CONVERTO` (#4999) | | `GET /api/config` | Adds `CONVERTO` and `CONVERTO_LIBRARY_TARGETS` (#4999) | | `POST /api/tasks/run/{task_name}` | Returns 409 when a single-instance task is already queued or running; `TaskInfo` adds `destructive` (#5000) | | `POST /api/reset-password` | Enforces the password policy with 400, leaving the reset link usable (#5106) | | OIDC callback | A provider error redirects to `/login?bypass_autologin=true` instead of 500 (#4746); an account linked to a different provider identity gets 403 (#4892) | | `POST /api/activity/heartbeat` | Returns 404 for a ROM hidden from the caller (#5117) | | ⚠️ `activity:update` socket event | Sent only to users who can see the ROM, instead of broadcast to every client (#5121) | | ⚠️ `scan` socket event payload | Validated strictly (`ScanPayload`, unknown keys rejected); invalid options, no scan worker, or a scan in flight emit `scan:done_ko` (#5014) | | `scan:scanning_rom` | Payload adds `is_new` (#4867) | | `sync:conflict` | Payload adds `rom_name` (#4552) | | Socket session revocation | Logging out or revoking a session disconnects the sockets it opened (#4732) | | Streaming session routes | Control routes take `container...
Read more

5.4.0-beta.1

5.4.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 09 Oct 21:26
88b3ebe

Caution

Give the first start time to finish its migrations.
Several of this release's migrations rewrite the roms table and backfill it in batches, which can take a while on a large library. Don't restart the container while they run.

Warning

Cross-origin requests are denied by default.
An unset or empty ROMM_CORS_ALLOWED_ORIGINS used to allow every origin, and now allows none. If a browser-based client on another origin talks to your RomM, list its origin in ROMM_CORS_ALLOWED_ORIGINS. A * still answers any origin, but without credentials, so a client that signs in with the session cookie needs its origin listed explicitly. #4699

Warning

Add a reverse proxy on a public address to FORWARDED_ALLOW_IPS.
RomM now trusts X-Forwarded-For only from loopback and private ranges. A proxy outside those ranges has to be added, or every request is logged and rate limited as coming from the proxy's address. #4748

Technical changes

🌎 ENVIRONMENT VARIABLES

Notifications and email

variable default description
SMTP_HOST - SMTP server; email stays off until this and SMTP_FROM are set
SMTP_PORT 587 SMTP server port
SMTP_USERNAME - Login for the SMTP server, if it needs one
SMTP_PASSWORD - Password for the SMTP server
SMTP_FROM - Sender address, such as romm@example.com
SMTP_SECURITY starttls starttls, tls (implicit TLS, usually port 465) or none

Audit log

variable default description
AUDIT_LOG_RETENTION_DAYS 90 Days to keep audit events; 0 keeps them forever

Library conversion

variable default description
ROM_CONVERTO_ENABLED false Enable the "Convert library" task and ?format= download conversions
ROM_CONVERTO_TIMEOUT 600 Seconds per rom-converto operation
ROM_CONVERTO_MAX_CONCURRENCY 2 Concurrent conversions per web or task worker

Devices and sync

variable default description
DEVICE_INSTALL_ENABLED true Let users push a ROM to one of their devices for install
DEVICE_INSTALL_REQUEST_TTL_DAYS 2 Days an unfinished install request waits for its device; 0 waits forever
DEVICE_INSTALL_EXCLUDED_PLATFORM_SLUGS win,win3x,win9x,windows-apps Platforms that can never be pushed to a device
SYNC_RETROARCH_PSP_SERIAL_MAP {} JSON map of PSP serial to extensionless ROM file name, for RetroArch PSP saves whose title matches no ROM

Scheduled cleanups

variable default description
ENABLE_SCHEDULED_CLEANUP_NETPLAY true Clean up empty netplay rooms
SCHEDULED_CLEANUP_NETPLAY_CRON */30 * * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_UPLOAD_TMP true Clean up abandoned chunked uploads
SCHEDULED_CLEANUP_UPLOAD_TMP_CRON 0 * * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_ZIP_CACHE true Clean up stale cached ZIP files
SCHEDULED_CLEANUP_ZIP_CACHE_CRON 0 4 * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_SYNC_SESSIONS true Fail sync sessions no client completed
SCHEDULED_CLEANUP_SYNC_SESSIONS_CRON 23 * * * * When that cleanup runs

General

variable default description
⚠️ ROMM_CORS_ALLOWED_ORIGINS - Empty now allows no cross-origin requests; a * allows any origin but never credentials
⚠️ FORWARDED_ALLOW_IPS local/loopback addresses Proxies trusted to report the client's address; was *
DISABLE_EASYRPG false Disable the EasyRPG player for everyone
SEVEN_ZIP_TIMEOUT 180 Timeout for 7-Zip operations in seconds, was 60
📡 API CHANGES | Change | Description | | --- | --- | | ⚠️ CORS denied by default | `ROMM_CORS_ALLOWED_ORIGINS` now defaults to empty instead of `*`; browser clients on another origin must be allowlisted (#4699) | | CORS wildcard drops credentials | With `*` in `ROMM_CORS_ALLOWED_ORIGINS`, responses no longer send `Access-Control-Allow-Credentials` (#4699) | | Invalid credentials are unauthenticated | A malformed Basic header or an invalid/expired JWT bearer no longer 500s; the request proceeds unauthenticated and gets the route's 401/403 (#4799) | | ⚠️ `PermissionGroupSchema.is_system` removed | Replaced by `system_key` (`SystemGroupKey` or null) (#4767) | | Age limits on permissions | `PermissionGroupSchema/Create/Update` and `UserPermissionsSchema/Update` gain `age_limit`, `hide_unrated_roms`; updates apply them only with `set_age_settings: true` (#5081) | | Collection `rom_count` is computed | `rom_count` on collection, smart and virtual collection schemas is now read-only, derived from the visible `rom_ids` (#4930) | | ⚠️ Collection name errors | Duplicate name on create or rename returns 409 (was 500); names over 400 chars return 422 (#4997) | | ⚠️ `GET /api/netplay/list` | Scope `assets.read` - `roms.read`; `game_id` is now an integer ROM id, 404 for a missing or hidden ROM (#4700) | | ⚠️ Netplay socket rooms | `open-room` and password-less `join-room` require a signed-in user with `roms.read` who can see the ROM; the room password moved from `extra.room_password` to top-level `password` (#4700) | | ⚠️ `GET /api/play-sessions` | Without `devices.read`, only allowed when `device_id` equals the calling token's device; no longer defaults `device_id` from the token (#4956) | | ⚠️ `PlaySessionSchema.sync_session_id` removed | Field dropped from play session responses (#4670) | | Page params on play and sync sessions | `GET /api/play-sessions` and `GET /api/sync/sessions` use shared page params (`limit` 1 to 10000, `offset`); sync sessions gains `offset` (#4715) | | ⚠️ Sync `delete` operation | `SyncOperationSchema.action` adds `delete` (slot emptied on the server); `SyncNegotiateResponse` adds `total_delete` (#4674) | | `POST /api/sync/negotiate` payload | New `restore_unlisted` and `emulators` fields to re-offer unlisted saves and filter by emulator (#5091) | | Save sync baselines | `POST /api/saves` and `PUT /api/saves/{id}` take a `content_hash` query param; `POST /api/saves/{id}/downloaded` takes `content_hash` in the body (#4768) | | Save/state uploads validated | `emulator` must be a single folder name (max length enforced); file names over 255 bytes return 400; uploads to a hidden ROM return 404 (#4851, #4997) | | `SaveSchema` / `StateSchema` annotations | New `is_favorite` and `labels`; masked to defaults on another user's shared save or state (#4714) | | `StateSchema.core` | New field naming the RetroArch core that wrote the state (#4862) | | ⚠️ `PUT /api/roms/{id}` rename errors | Renaming onto an existing file returns 409 (was 500); an invalid or overlong `fs_name` returns 400 before any metadata fetch (#4997) | | `PUT /api/roms/{id}` manual metadata | `raw_manual_metadata` is validated, 422 when malformed; `ManualMetadata` gains `alternative_names` (#5111) | | `POST /api/roms/{id}/convert-to-folder` | Also returns 409 when an `.m3u` beside the file lists it; upload and walkthrough routes reject the same case (#5076) | | `GET /api/roms` relevance ordering | Empty `order_by` with a search term ranks by relevance on every database; `char_index` is empty under relevance order (#4996) | | `GET/HEAD /api/roms/{id}/content/{file_name}` | New `?format=` for converted single-file downloads (202 + `Retry-After` while converting, 406 when unavailable) (#4999) | | `GET /api/roms/{id}/content/{file_name}` | New `purpose=download\|play` query param, recorded in the audit log (#4748) | | `DetailedRomSchema.download_formats` | Formats the caller can request with `?format=` (#5000) | | `is_easyrpg_game` on ROM schemas | New boolean on `SimpleRomSchema` and `DetailedRomSchema` (#5077) | | Pinned media | `RomUserSchema.pinned_media` and `RomUserData.pinned_media` (ordered media keys, null for default) (#4764) | | ROM metadata fields | LaunchBox box art `box2d_*`/`box3d_*` (url and path), `video_path` now nullable (#5129); SS `physical_disc`/`physical_extra_discs` (#4885); SS and Hasheous `dump_regions/languages/tags` (#4740); RA `hash_match` (#4816) | | `PlatformSchema` | New computed `abbreviation` and `alternative_names` (#5107) | | `MusicTrackSchema.file_name` | New field (#5079) | | `DeviceSchema.capabilities` | New `capabilities` map on device schema and on `POST`/`PUT /api/devices` payloads (#4835) | | `GET /api/heartbeat` | Adds `EMULATION.DISABLE_EASYRPG` (#5077), `NOTIFICATIONS` (#4735), `DEVICE_INSTALL` (#4835), `CONVERTO` (#4999) | | `GET /api/config` | Adds `CONVERTO` and `CONVERTO_LIBRARY_TARGETS` (#4999) | | `POST /api/tasks/run/{task_name}` | Returns 409 when a single-instance task is already queued or running; `TaskInfo` adds `destructive` (#5000) | | `POST /api/reset-password` | Enforces the password policy with 400, leaving the reset link usable (#5106) | | OIDC callback | A provider error redirects to `/login?bypass_autologin=true` instead of 500 (#4746); an account linked to a different provider identity gets 403 (#4892) | | `POST /api/activity/heartbeat` | Returns 404 for a ROM hidden from the caller (#5117) | | ⚠️ `activity:update` socket event | Sent only to users who can see the ROM, instead of broadcast to every client (#5121) | | ⚠️ `scan` socket event payload | Validated strictly (`ScanPayload`, unknown keys rejected); invalid options, no scan worker, or a scan in flight emit `scan:done_ko` (#5014) | | `scan:scanning_rom` | Payload adds `is_new` (#4867) | | `sync:conflict` | Payload adds `rom_name` (#4552) | | Socket session revocation | Logging out or revoking a session disconnects the sockets it opened (#4732) | | Streaming session routes | Control routes take `container` and `c...
Read more

5.4.0-alpha.2

5.4.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@gantoine gantoine released this 08 Oct 11:38
4e8fec6

Caution

Give the first start time to finish its migrations.
Several of this release's migrations rewrite the roms table and backfill it in batches, which can take a while on a large library. Don't restart the container while they run.

Warning

Cross-origin requests are denied by default.
An unset or empty ROMM_CORS_ALLOWED_ORIGINS used to allow every origin, and now allows none. If a browser-based client on another origin talks to your RomM, list its origin in ROMM_CORS_ALLOWED_ORIGINS. A * still answers any origin, but without credentials, so a client that signs in with the session cookie needs its origin listed explicitly. #4699

Warning

Add a reverse proxy on a public address to FORWARDED_ALLOW_IPS.
RomM now trusts X-Forwarded-For only from loopback and private ranges. A proxy outside those ranges has to be added, or every request is logged and rate limited as coming from the proxy's address. #4748

Technical changes

🌎 ENVIRONMENT VARIABLES

Notifications and email

variable default description
SMTP_HOST - SMTP server; email stays off until this and SMTP_FROM are set
SMTP_PORT 587 SMTP server port
SMTP_USERNAME - Login for the SMTP server, if it needs one
SMTP_PASSWORD - Password for the SMTP server
SMTP_FROM - Sender address, such as romm@example.com
SMTP_SECURITY starttls starttls, tls (implicit TLS, usually port 465) or none

Audit log

variable default description
AUDIT_LOG_RETENTION_DAYS 90 Days to keep audit events; 0 keeps them forever

Library conversion

variable default description
ROM_CONVERTO_ENABLED false Enable the "Convert library" task and ?format= download conversions
ROM_CONVERTO_TIMEOUT 600 Seconds per rom-converto operation
ROM_CONVERTO_MAX_CONCURRENCY 2 Concurrent conversions per web or task worker

Devices and sync

variable default description
DEVICE_INSTALL_ENABLED true Let users push a ROM to one of their devices for install
DEVICE_INSTALL_REQUEST_TTL_DAYS 2 Days an unfinished install request waits for its device; 0 waits forever
DEVICE_INSTALL_EXCLUDED_PLATFORM_SLUGS win,win3x,win9x,windows-apps Platforms that can never be pushed to a device
SYNC_RETROARCH_PSP_SERIAL_MAP {} JSON map of PSP serial to extensionless ROM file name, for RetroArch PSP saves whose title matches no ROM

Scheduled cleanups

variable default description
ENABLE_SCHEDULED_CLEANUP_NETPLAY true Clean up empty netplay rooms
SCHEDULED_CLEANUP_NETPLAY_CRON */30 * * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_UPLOAD_TMP true Clean up abandoned chunked uploads
SCHEDULED_CLEANUP_UPLOAD_TMP_CRON 0 * * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_ZIP_CACHE true Clean up stale cached ZIP files
SCHEDULED_CLEANUP_ZIP_CACHE_CRON 0 4 * * * When that cleanup runs
ENABLE_SCHEDULED_CLEANUP_SYNC_SESSIONS true Fail sync sessions no client completed
SCHEDULED_CLEANUP_SYNC_SESSIONS_CRON 23 * * * * When that cleanup runs

General

variable default description
⚠️ ROMM_CORS_ALLOWED_ORIGINS - Empty now allows no cross-origin requests; a * allows any origin but never credentials
⚠️ FORWARDED_ALLOW_IPS local/loopback addresses Proxies trusted to report the client's address; was *
DISABLE_EASYRPG false Disable the EasyRPG player for everyone
SEVEN_ZIP_TIMEOUT 180 Timeout for 7-Zip operations in seconds, was 60
📡 API CHANGES | Change | Description | | --- | --- | | ⚠️ CORS denied by default | `ROMM_CORS_ALLOWED_ORIGINS` now defaults to empty instead of `*`; browser clients on another origin must be allowlisted (#4699) | | CORS wildcard drops credentials | With `*` in `ROMM_CORS_ALLOWED_ORIGINS`, responses no longer send `Access-Control-Allow-Credentials` (#4699) | | Invalid credentials are unauthenticated | A malformed Basic header or an invalid/expired JWT bearer no longer 500s; the request proceeds unauthenticated and gets the route's 401/403 (#4799) | | ⚠️ `PermissionGroupSchema.is_system` removed | Replaced by `system_key` (`SystemGroupKey` or null) (#4767) | | Age limits on permissions | `PermissionGroupSchema/Create/Update` and `UserPermissionsSchema/Update` gain `age_limit`, `hide_unrated_roms`; updates apply them only with `set_age_settings: true` (#5081) | | Collection `rom_count` is computed | `rom_count` on collection, smart and virtual collection schemas is now read-only, derived from the visible `rom_ids` (#4930) | | ⚠️ Collection name errors | Duplicate name on create or rename returns 409 (was 500); names over 400 chars return 422 (#4997) | | ⚠️ `GET /api/netplay/list` | Scope `assets.read` - `roms.read`; `game_id` is now an integer ROM id, 404 for a missing or hidden ROM (#4700) | | ⚠️ Netplay socket rooms | `open-room` and password-less `join-room` require a signed-in user with `roms.read` who can see the ROM; the room password moved from `extra.room_password` to top-level `password` (#4700) | | ⚠️ `GET /api/play-sessions` | Without `devices.read`, only allowed when `device_id` equals the calling token's device; no longer defaults `device_id` from the token (#4956) | | ⚠️ `PlaySessionSchema.sync_session_id` removed | Field dropped from play session responses (#4670) | | Page params on play and sync sessions | `GET /api/play-sessions` and `GET /api/sync/sessions` use shared page params (`limit` 1 to 10000, `offset`); sync sessions gains `offset` (#4715) | | ⚠️ Sync `delete` operation | `SyncOperationSchema.action` adds `delete` (slot emptied on the server); `SyncNegotiateResponse` adds `total_delete` (#4674) | | `POST /api/sync/negotiate` payload | New `restore_unlisted` and `emulators` fields to re-offer unlisted saves and filter by emulator (#5091) | | Save sync baselines | `POST /api/saves` and `PUT /api/saves/{id}` take a `content_hash` query param; `POST /api/saves/{id}/downloaded` takes `content_hash` in the body (#4768) | | Save/state uploads validated | `emulator` must be a single folder name (max length enforced); file names over 255 bytes return 400; uploads to a hidden ROM return 404 (#4851, #4997) | | `SaveSchema` / `StateSchema` annotations | New `is_favorite` and `labels`; masked to defaults on another user's shared save or state (#4714) | | `StateSchema.core` | New field naming the RetroArch core that wrote the state (#4862) | | ⚠️ `PUT /api/roms/{id}` rename errors | Renaming onto an existing file returns 409 (was 500); an invalid or overlong `fs_name` returns 400 before any metadata fetch (#4997) | | `PUT /api/roms/{id}` manual metadata | `raw_manual_metadata` is validated, 422 when malformed; `ManualMetadata` gains `alternative_names` (#5111) | | `POST /api/roms/{id}/convert-to-folder` | Also returns 409 when an `.m3u` beside the file lists it; upload and walkthrough routes reject the same case (#5076) | | `GET /api/roms` relevance ordering | Empty `order_by` with a search term ranks by relevance on every database; `char_index` is empty under relevance order (#4996) | | `GET/HEAD /api/roms/{id}/content/{file_name}` | New `?format=` for converted single-file downloads (202 + `Retry-After` while converting, 406 when unavailable) (#4999) | | `GET /api/roms/{id}/content/{file_name}` | New `purpose=download\|play` query param, recorded in the audit log (#4748) | | `DetailedRomSchema.download_formats` | Formats the caller can request with `?format=` (#5000) | | `is_easyrpg_game` on ROM schemas | New boolean on `SimpleRomSchema` and `DetailedRomSchema` (#5077) | | Pinned media | `RomUserSchema.pinned_media` and `RomUserData.pinned_media` (ordered media keys, null for default) (#4764) | | ROM metadata fields | LaunchBox box art `box2d_*`/`box3d_*` (url and path), `video_path` now nullable (#5129); SS `physical_disc`/`physical_extra_discs` (#4885); SS and Hasheous `dump_regions/languages/tags` (#4740); RA `hash_match` (#4816) | | `PlatformSchema` | New computed `abbreviation` and `alternative_names` (#5107) | | `MusicTrackSchema.file_name` | New field (#5079) | | `DeviceSchema.capabilities` | New `capabilities` map on device schema and on `POST`/`PUT /api/devices` payloads (#4835) | | `GET /api/heartbeat` | Adds `EMULATION.DISABLE_EASYRPG` (#5077), `NOTIFICATIONS` (#4735), `DEVICE_INSTALL` (#4835), `CONVERTO` (#4999) | | `GET /api/config` | Adds `CONVERTO` and `CONVERTO_LIBRARY_TARGETS` (#4999) | | `POST /api/tasks/run/{task_name}` | Returns 409 when a single-instance task is already queued or running; `TaskInfo` adds `destructive` (#5000) | | `POST /api/reset-password` | Enforces the password policy with 400, leaving the reset link usable (#5106) | | OIDC callback | A provider error redirects to `/login?bypass_autologin=true` instead of 500 (#4746); an account linked to a different provider identity gets 403 (#4892) | | `POST /api/activity/heartbeat` | Returns 404 for a ROM hidden from the caller (#5117) | | ⚠️ `activity:update` socket event | Sent only to users who can see the ROM, instead of broadcast to every client (#5121) | | ⚠️ `scan` socket event payload | Validated strictly (`ScanPayload`, unknown keys rejected); invalid options, no scan worker, or a scan in flight emit `scan:done_ko` (#5014) | | `scan:scanning_rom` | Payload adds `is_new` (#4867) | | `sync:conflict` | Payload adds `rom_name` (#4552) | | Socket session revocation | Logging out or revoking a session disconnects the sockets it opened (#4732) | | Streaming session routes | Control routes take `container` and `c...
Read more