Release notes: assets/releases/ver1-5-16.md
Content bundled into this commit:
* Release notes for v1.5.16 and the version bump to 1.5.16.
* README: the Releases row for v1.5.16, and MarginNote 4 added to the two
places that enumerate the retrieval engines (Key Features, Knowledge
Center) — the engine list was the only prose the release made stale.
* All 11 translated READMEs patched for that same engine-list change.
* Book: make the reader's row a flex column. v1.5.15 added the capture
inbox as a second child without it, so `PageReader`'s `h-full`
collapsed to `auto` — the body stopped scrolling and the page-turn
footer was clipped away.
* progress_tracker: annotate the progress dict as `dict[str, object]`.
The i18n work added a dict-valued `message_params` to a mapping mypy
had inferred as `dict[str, int | str]`.
* prettier on the two MarginNote 4 frontend files it had not yet seen.
Gates: pre-commit (15/15), `ruff check .` clean, pytest 5007 passed /
22 skipped, `npm run test:node` 586/586, and the docs site builds.
Every progress line the knowledge log box shows was a hardcoded English
string — 22 producers across the initializer, the document adder and the
router, rendered verbatim in the UI. #933 added one more ("Describing
images: m/n"), which is what surfaced the class.
Indexing runs detached from any request, so the backend has no viewer
language and the language of record lives in the browser anyway. So the
wire now carries the English `{{name}}` template plus its values, and the
frontend renders it with `t()` where the language is actually known.
`ProgressTracker.update` fills `message` from that same template, so
every consumer without i18n of its own — logs, the persisted snapshot,
the CLI — reads what it read before, and no call site spells the string
twice.
Untouched producers keep working: `progressMessage()` falls back to the
rendered `message` when no template is named.
* fix(knowledge): add GraphRAG model compatibility layer
* fix(graphrag): harden compatibility preflight
* fix: align GraphRAG compatibility with current dev
* test: skip GraphRAG config test without optional extra
---------
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
Extends the #619 follow-up to the remaining plain truncate-writes of
metadata.json (add_documents, initializer, reindex task) and replaces
progress_tracker's hand-rolled fixed-name temp+replace with the shared
atomic_write_json. _mark_kb_queued_for_processing gains a status kwarg
so the reindex endpoint's pre-dispatch write uses the same seam as
upload/sync instead of an 11-line inline block.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>