Release notes
The same changes as CHANGELOG.md in the app repo, grouped in the Keep a Changelog style. Published Docker tags are listed in Installation, and how to upgrade in Upgrading.
November 27, 2026 · Release · Changes since 0.6.2 · Docker tag v0.7.0 (= latest)
- Mobile API for the upcoming iOS and Android apps: a read-only JSON API on port 8502, a third process in the container, serving the Dashboard and series details from saved history. Turn it off with
SONARR_ANALYZER_API=0. See Mobile API - Device sign-in: each phone gets its own token, by scanning a one-time QR code from My profile → Add mobile device (valid 5 minutes, works once) or with username and password. My profile → Mobile devices lists them, with a Revoke button
- HTTPS without a reverse proxy:
SONARR_ANALYZER_TLS=self-signedcreates a certificate in/app/data/tlsand serves the web app and the API over HTTPS. Its fingerprint is printed in the logs and shown in My profile; the apps pin it.SONARR_ANALYZER_TLS_HOSTNAMESadds names or IPs to it SONARR_ANALYZER_PUBLIC_URL, the address the phones use, andFORWARDED_ALLOW_IPS, the reverse proxy’s IP. See Environment variables
Changed
Section titled “Changed”- The Docker healthcheck checks the web app and the API, over HTTPS when it’s on
- Changing a password signs out all of that user’s mobile devices
- Wrong passwords on a disabled account count towards the lockout, like on any other account
Security
Section titled “Security”- Device tokens and pairing codes are stored only as SHA-256 hashes, and the API never returns Sonarr URLs or API keys
- The API’s sign-in and pairing endpoints allow 10 failures per IP in 10 minutes, on top of the account lockout
- The account lockout now holds against parallel attempts. Simultaneous wrong passwords all read the same failure count, so a burst of guesses was never locked out; now at most 5 are checked per lock
- A wrong password no longer reveals that a disabled account exists
- The sign-in form no longer shows internal error details
- Requests to Sonarr no longer follow redirects: a redirect, for example to a login portal in front of Sonarr, would have sent the Sonarr API key to another host
- A database error no longer shows the “Create the first account” page
November 25, 2026 · Release · Changes since 0.6.1 · Docker tag v0.6.2
Security
Section titled “Security”- The master key file was briefly created world-readable before being restricted, and the web app and the scheduler could both create it on first start; it is now created once, with mode 0600
- A scheduled analysis where some series failed to load was saved as complete, showing a fake storage drop on the dashboard and skewing the forecast; it is now reported as an error and not saved
- Deleting an instance left its schedule behind, failing with “No token found” on every run; the schedule is now deleted with it
- Schedules of deactivated or deleted users kept running
Changed
Section titled “Changed”TZdocumented and set indocker-compose.yml(the image runs in UTC by default)- Removed unused
TokenManager.has_token/has_any_token
November 25, 2026 · Changes since 0.6.0 · Docker tag v0.6.1
Security
Section titled “Security”- The container entrypoint ran
chmod -R go+rXon/app/dataat every start, which made.master.key(the key that encrypts Sonarr API keys) readable by every user in the container; only ownership is fixed now - Known vulnerabilities in Pillow 12 (pulled in by Streamlit): Streamlit 1.67, Pillow 13, pandas 3.1, NumPy 2.5.4, pyarrow 26
Changed
Section titled “Changed”- Privileges are dropped with
setprivfrom the base image instead of downloading gosu and verifying it against a GPG keyserver at build time (a frequent cause of failed builds) - Single-stage Docker build; added
.dockerignoresodata/, keys and.gitnever reach the build context docker-compose.ymlno longer repeats environment variables the image already sets
October 18, 2026 · Changes since 0.5.0 · No Docker image is published for this version; use 0.6.1 or later.
A denser “console” layout with grouped navigation and an instance selector in the sidebar. The dashboard leads with disk runway and recoverable space, and the runway now also shows how many months re-encoding the candidates would add.
- Redesigned UI (design reference in
docs/design): grouped sidebar navigation with the instance selector and a “last analysis” summary; dashboard with a 7-metric strip (incl. disk runway and recoverable space), top candidates / outliers / changes, mini forecast and schedules; analysis run panel with live progress and a single result line, savings-first tabs; forecast-first history with R² and runway range; Instances, Scheduler and Users as tables/cards with dialogs - Light and dark theme in
.streamlit/config.toml - Runway “with re-encoding”: the disk-full date if the candidates were re-encoded
- Analyses record their source (scheduled / manual and user), duration, recoverable space and candidate count; per-series savings are kept in history, so the dashboard needs no live analysis
- Instances remember the result of their last connection test
- The Analysis page shows the latest saved analysis when there is no fresh run
Changed
Section titled “Changed”- No emoji in the interface or in Sonarr error messages
- Schedules are edited in place (frequency and mode), and created from an “Add schedule” panel
October 18, 2026 · Changes since 0.4.0 · No Docker image is published for this version; use 0.6.1 or later.
Analyses run in a dedicated background scheduler, even with the app closed. Outliers are measured in MB per minute, codecs come from Sonarr’s media info, and the new re-encode estimates and disk space feed a forecast based on real dates. One user type replaces the read-only role.
- Outliers measured in MB per minute when runtimes are available (fair to long episodes); MB per episode remains available
- Real codec distribution from Sonarr media info (x265/h265 → HEVC, x264/h264 → H.264, AV1…), in analysis charts, table filters and history
- Re-encode candidates: conservative per-series estimate of what re-encoding H.264/older codecs to HEVC would free, with CSV export
- Fast analysis mode: series totals from one request (~1 s instead of ~13 s on 23k files); also selectable per schedule
- Free space of the disks holding the library is recorded with each analysis, shown on the dashboard and used by the forecast
- Background scheduler in a dedicated process: schedules run even when nobody has the app open, show their last result and error, and can be paused, resumed or run now. New 1 h frequency
- Parallel episode-file fetching (8 requests by default), with retries and backoff for transient Sonarr errors
- Login lockout: 5 failed attempts lock the account for 5 minutes
- User Management: disable / enable users, reset another user’s password (also unlocks the account)
- Storage forecast based on real dates: GB/month trend, likely-range band, and an estimate of when a given capacity fills up
SONARR_ANALYZER_ALLOWED_HOSTSto restrict which hosts the app may connect to- Docker image supports a read-only root filesystem (enabled in
docker-compose.yml) - CI: pre-commit, tests,
pip-auditand a Docker smoke test on every push and pull request
Changed
Section titled “Changed”- Removed the read-only role: every user manages their own instances, history and schedules
- Python 3.12 (base image
python:3.12-slim-trixie), Streamlit 1.65, pandas 3, NumPy 2.5, Plotly 7, cryptography 50, bcrypt 5. The previous pins had 43 known vulnerabilities; the new ones have none at release - Removed unused
matplotlibandseaborn; test tools moved torequirements-dev.txtand are no longer in the image - Streamlit CORS and XSRF protection back at their secure defaults
- Sonarr URLs are validated and normalised when saved; instance names are limited to letters, numbers, spaces,
-and_ - Deleting a user also deletes their saved instances and schedules (and, optionally, their history)
- History CSV export is built in memory instead of writing a file into the container
- Code split into the
sonarr_analyzerpackage with versioned schema migrations
- Docker image failed to start when built from source (unpinned
pyarrowrequired NumPy 2) - Upgrading from v0.3 broke saving Sonarr instances (“ON CONFLICT clause does not match any PRIMARY KEY or UNIQUE constraint”)
- Two instances analysed in the same second collided in history after upgrading from v0.3
- The passive scheduler ran other users’ analyses inside your session, blocked page loads and retried failing schedules on every click
- Logging out or switching instance kept showing the previous results
- Deleted or disabled users stayed logged in
- Storage-change colours were inconsistent between pages (growth red, savings green everywhere now)
- The response-size limit for Sonarr requests had no effect; it is now enforced while reading
- Forecast treated analyses as evenly spaced in time
- Confirming deletion of one analysis could delete a different date
- A URL like
http://was accepted as valid - Changing your password updated your “last login” time
November 24, 2026 · Tag · Docker tag v0.4.1
Maintenance build of the v0.4 code, published separately; not part of the v0.5+ line, which already fixed the same issues.
- Scheduled analyses claimed atomically; read-only users could not see any data; deleted users stayed logged in
- Python 3.12, current dependencies,
setpriv, master key kept private
Older releases
Section titled “Older releases”0.4.0, 0.3.0, 0.2.0 and 0.1.0
- Dashboard with key metrics and last-analysis comparison
- Episode breakdown tab in analysis results
- Storage forecast (linear regression) in historical view
- Codec/quality distribution chart in historical view
- Multi-instance Sonarr support (separate history per instance)
- Passive scheduler (hourly → weekly, per instance)
- Profile page with password change
- Fixed
@st.cache_dataincompatibility with progress UI - Fixed
requests.Sessionresource leak - Fixed
rowcountcapturing wrong table in delete operations - Schema migrations for existing databases (no data loss on upgrade)
- User authentication with bcrypt
- Role-based access control (admin / read-only)
- Per-user encrypted token storage (Fernet)
- First-run admin creation flow
- User management (admin only)
- 60+ unit tests
- Credential encryption (Fernet: AES-128-CBC + HMAC-SHA256; earlier notes described it as AES-256)
- SQLite historical database
- Date comparison feature
- Trend visualizations
- Initial release: current analysis, Z-score detection, outlier identification