Skip to content

v1.1.0

Choose a tag to compare

@n36l3c7 n36l3c7 released this 04 Nov 11:42
· 115 commits to main since this release
dc48906

Added

  • GET /api/incidents/{id} answers 304 Not Modified to a matching
    If-None-Match, checking only the version column (not the document body).
  • PATCH /api/incidents/{id} accepts Content-Type: application/merge-patch+json
    (RFC 7396): nested members are merged and null removes one, so a client
    can send only what changed. Plain application/json keeps its behaviour.
  • os in the view=summary incident listing, stored in a new incidents.os
    column (Alembic migration 0002_incident_os_column backfills it).
  • Frontend unit tests on Node's built-in test runner (npm test), run in CI.

Changed

  • Opening Nik downloads only the light incident list. An incident's artifacts
    are fetched when it is opened, behind a non-blocking loading state (the
    sidebar stays usable; switching incident cancels the pending download), and
    stay cached for the session with ETag revalidation on reopen.
  • Every edit (flags, notes, uploads, metadata) sends only the changed part of
    the incident as a merge patch instead of the whole data blob.
  • Exporting an incident that was not opened yet fetches it first.

Fixed

  • The backend test fixture resets the rate limiter between tests, so the
    login limit no longer makes the suite fail as it grows.

Upgrade notes

Run alembic upgrade head on existing databases (the Docker image does this
on start).