Repository navigation
v1.1.0
Added
GET /api/incidents/{id}answers304 Not Modifiedto a matching
If-None-Match, checking only the version column (not the document body).PATCH /api/incidents/{id}acceptsContent-Type: application/merge-patch+json
(RFC 7396): nested members are merged andnullremoves one, so a client
can send only what changed. Plainapplication/jsonkeeps its behaviour.osin theview=summaryincident listing, stored in a newincidents.os
column (Alembic migration0002_incident_os_columnbackfills 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 wholedatablob. - 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).