github sassanix/Warracker 1.0.9
Warracker 1.0.9

33 minutes ago

Release date: 2026-12-05.
Upgrade: docker compose pull && docker compose up -d. Includes database migrations 058 and 059, applied automatically at container startup. No manual step needed.

This release fixes the OIDC settings bug reported against 1.0.8 in #314, applies the OIDC admin group saved in Settings, and carries full-stack performance work, a codebase consolidation that retires the legacy frontend scripts, a property-based test suite with two latent edge-case fixes, a warranty card action button outline fix, a Backup ZIP export and import, and the dependency and CI updates approved for 1.0.9. Larger runtime and major version updates stay held for separate review.


OIDC settings

  • Environment-set OIDC settings are now locked in Settings (#314). Fields set by environment variables are disabled on the Settings page, show the environment's value (the client secret stays hidden behind a masked placeholder), and name the variable that sets each one. Saves skip those keys and report them as ignored, and Save OIDC Settings is disabled when every OIDC setting is overridden, so a change can no longer report success for a value that would never apply. Reported by hammamboumou, fixed in #316 with polish in #317.
  • The OIDC admin group saved in Settings now applies. The login callback reads the group from the key the Settings page saves. It used to read a key nothing in the app writes, so a group set in Settings had no effect. Migration 058 moves any value stored under the old key to the saved key, then drops the old key. Fixed in #315.

Upgrade note: if an admin group was saved in Settings before, it now applies. OIDC users outside that group lose admin on their next login. The owner keeps admin. Installs that set OIDC_ADMIN_GROUP are unaffected.

Performance

  • Database and backend batching, with migration 059. Fourteen partial, composite, covering, and functional indexes speed up warranty lists, statistics, file checks, and expiring-warranty scans. CSV imports write in bulk, file deletion reference checks and notification threshold handling run as batched queries, admin settings saves batch their upserts and audit logs, and the timezones, currencies, and locales endpoints are response-cached. (#318)
  • Frontend rendering and request deduplication. The warranty grid renders progressively in chunks instead of forcing layout in loops, search and filter changes are debounced and batched, Paperless thumbnails load lazily, and the Settings and status pages no longer fire duplicate startup requests. (#318)
  • Nginx, Service Worker, and Gunicorn tuning. Backend keepalive connections, RAM proxy buffering, stronger gzip, long caching for fonts and images, and higher Gunicorn keepalive and request limits. An Nginx wrapper fix means container restarts no longer stall for 30 seconds or fall back to the raw config template. (#318)

Codebase consolidation

  • Legacy frontend scripts retired, shared code deduplicated. Eleven obsolete or duplicate frontend files were removed, including the old script.js, stylesheets were merged and deduplicated, and duplicate backend validation and query boilerplate was simplified across 21 modules. Application source drops from 62,086 to 28,717 lines. API contracts, all database migrations, and all 20 locales are unchanged. (#319)

Backup export

  • Backup ZIP export and import (#182). The Data menu now offers Backup ZIP alongside CSV export, and Import accepts Backup ZIP files. The ZIP contains the warranty CSV, local invoice, manual, other document, product photo, and claim document files for the exported warranties, plus a manifest. Import restores warranties, local documents, and claims; Paperless documents are relinked only when the importing user may link them. The importer now enforces actual decompressed byte budgets, rejects duplicate or malformed ZIP members, preserves exact purchase prices including $0, and surfaces skipped document warnings in the UI. Backup ZIP upload size follows the configured upload limits. Team notes, expiration change history, and custom tag colors are not included yet. The ZIP is not encrypted and contains warranty documents, so store it like other sensitive backups.

Backup ZIP in the Data menu

Backup ZIP in the mobile Data menu

Reliability and testing

  • Property-based test suite added, with two latent edge-case fixes (#313). A Hypothesis suite now covers historical bug fixes and broad invariants across validation, SSRF and file authorization, CSV round trips, warranty lifecycle and statistics, auth and OIDC behavior, frontend JavaScript, locales, migrations, and deployment files. The same work fixes two edge cases: numeric token expiry values such as 0 are now treated as expired in the auth redirect flow, and boolean site settings normalize the same way on write and read.
  • Warranty card action button outline fixed (#320). Warranty card action buttons now use a fixed circular hit area with no border or background, so the claims button no longer shows a stray outline on the card.

Dependencies and CI

  • Packaging moves from 26.3 to 26.4. The pinned python:3.15-slim-trixie Docker base image digest and the CI Postgres 15 service image digest were refreshed. CI now runs Python 3.15.2. renovatebot/github-action moves from v46.3.14 to v46.3.15. (#283, #308, #309, #310, #311)

Contributors

  • hammamboumou reported #314 and authored the fixes in #315 and #316.

Don't miss a new Warracker release

NewReleases is sending notifications on new releases.