Repository navigation
Security
- Simultaneous sign-ins could freeze the whole site. On a busy database, sign-ins arriving together left every database connection waiting for another one. The site and the tracker stopped answering and did not recover until a restart. Sign-ins no longer wait that way, and a pool of connections that is held for any reason now empties by itself after 15 seconds.
- The database driver moves to postgres.js 4.2, which closes two flaws of the 3.x line (extra startup parameters through a NUL character, a column named
__proto__changing the prototype of a row). Trackarr did not pass member input to either.
Fixes
- Redis did not start again after a reboot. After a restart of the server or of the container, Redis looped on
cannot create /tmp/auth.conf: Permission deniedand the site stayed down. Every 1.5.0 install on Ubuntu or Debian is concerned: this update is the fix. - Upload and edit dialogs could not be scrolled on a laptop or a phone: the submit button was out of reach.
- Two icons of the admin panel were never drawn.
- Limits that broke before the hardware did: 1,024 open files for the app and the tracker, 256 MB for Caddy (killed around 2,500 open connections), 20 database connections shared by the app and the tracker.
New
- Release notes in the admin panel. Admin > Security > Version & Updates lists every release the instance has not installed, oldest first, with its notes. A release that needs a step of your own shows it first, under "Before updating", and admins see an orange banner until it is installed. The update commands now go through the installer.
- Server Sizing guide, from a load audit of the production stack: which VPS or dedicated server for a given number of members and peers, with indicative costs. The tooling of the audit is in
tests/load/. - Icons are part of the pages and of the app: the server no longer asks the public Iconify API for them.
Faster
Measured with 500 open tabs on a database of 100,000 members and 200,000 torrents: 2.0 cores before, 0.64 core now.
- Indexes on the forum and comment tables: the home page no longer sorts every topic (79 ms per visit before).
- The torrent list no longer counts every torrent on each page (40 to 66 ms before), and no longer sends descriptions it never shows.
- A click sends 2 requests where it sent 6 or 7: data several components need is asked once a minute.
Dependencies
Node.js 26 for the app image and CI, Rust 1.99 for the tracker image, postgres.js 4.2, nuxt-auth-utils 0.6, @noble/hashes, @scure/base and @scure/bip32 2.x, and the minor updates of the month.
Upgrade notes
cd /opt/trackarr
git pull origin main
sudo ./scripts/install.shThe installer keeps secrets, data and the monitoring pairing. It recreates the Redis container, which is what applies its fix.
- Every member is signed out once. The session cookie changes name and key. Nothing else is lost.
- Nothing to change in
.envwith the provided compose files:NUXT_SESSION_SECRETis still the value used. A custom deployment that setsNUXT_SESSION_PASSWORDitself must rename it toNUXT_APP_SECRET, or the app refuses to start and says so. - The first start creates the new indexes: a few seconds on a large forum.
- Scripts reading
GET /api/torrents: the list no longer carriesdescription. It is still inGET /api/torrents/<hash>. - New optional setting:
DB_QUEUE_TIMEOUT(seconds a query may wait for a free connection, 15 by default). - Caddy may now use up to 1 GB of memory and the app pool up to 50 database connections. Both are ceilings, not reservations.
🤖 Generated with Claude Code
Summary by CodeRabbit
- Chores
- Updated the package version from 1.5.0 to 1.6.0. The available change summary lists only this version update and does not specify any accompanying changes to features or behavior. No additional end-user-facing updates are noted for this release.
What's Changed
- ci(deps): Bump Swatinem/rust-cache from 2.9.2 to 2.9.3 in the actions-minor-and-patch group by @dependabot[bot] in #111
- ci(deps): Bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in #112
- ci(deps): Bump actions/checkout from 4.4.0 to 7.0.1 by @dependabot[bot] in #113
- ci(deps): Bump actions/upload-pages-artifact from 3.0.1 to 5.0.0 by @dependabot[bot] in #114
- ci(deps): Bump actions/setup-node from 4.4.0 to 7.1.0 by @dependabot[bot] in #115
- build(deps): Bump the cargo-minor-and-patch group in /tracker with 3 updates by @dependabot[bot] in #116
- build(deps): Bump rust from 1.95-alpine to 1.99-alpine in /tracker in the docker-minor-and-patch group by @dependabot[bot] in #109
- fix(upload): let the upload and edit dialogs scroll on small screens by @florianjs in #125
- feat(admin): show missed releases and their upgrade notes to admins by @florianjs in #126
- build(deps): bump @noble/hashes, @scure/base and @scure/bip32 to 2.x by @florianjs in #123
- build(deps): bump npm minor group and move sessions to NUXT_APP_SECRET by @florianjs in #124
- build(deps): bump postgres to 4.2 by @florianjs in #127
- build(docker): move the app image and CI to node 26 by @florianjs in #128
- fix(admin): replace two icon names that do not exist in Phosphor by @florianjs in #129
- docs(guide): add a dated server sizing guide from the load audit by @florianjs in #130
- fix(docker): let Redis start again after a restart by @florianjs in #131
- fix(db): keep settings reads on the transaction connection and time out pool waits by @florianjs in #132
- perf: index the forum, cache the torrent list total and lift container limits by @florianjs in #133
- test(load): replace the load test with the tooling of the 2026-12 audit by @florianjs in #134
- test(load): create the output folder, add endpoint and profile helpers by @florianjs in #135
- perf(app): bundle icons and stop asking twice for shared data by @florianjs in #136
- chore(release): v1.6.0 by @florianjs in #138
New Contributors
- @dependabot[bot] made their first contribution in #111
Full Changelog: v1.5.0...v1.6.0