Gitfed
bastien-mrq/gitfed/ Commits/ 59964b7

Release v1.2.33

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

bastien-mrq 2026-08-13 09:34 commit 59964b7de5c5288e0ed6c0aaf2c3bf4f1d72d8bc parent 58d2a0c7fc8995984abe0c2ff0de1d2266b2abcb
2 files changed +5 −1
M CHANGELOG.md +4 −0
M VERSION +1 −1
CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md index ff526f2..d1180d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ A bullet starting with `**BREAKING:**` flags a change gitfed-ctl's update wizard makes you acknowledge individually before it will let you upgrade past that version. +## 1.2.33 + +- Fixed: images served by the new `/repo-raw` route arrived corrupted and never displayed (the v1.2.32 gif-in-README fix didn't actually work in production). Root cause: the web frontend fetches file content over adminrpc, whose `fileResult` carries it as a JSON string, and `encoding/json` replaces invalid UTF-8 with U+FFFD when marshaling — silently mangling any binary file. New `GetRepoFileRaw`/`GetRepoFileRawAtRef` on `admin.Ops` carry content as `[]byte` (base64 on the wire, same as `GetRepoArchive`); the blob and raw views now fetch through them. Includes an end-to-end regression test that round-trips a file with invalid UTF-8 and a NUL through the RPC socket byte-for-byte. + ## 1.2.32 - Markdown files opened from the file tree now show their syntax-highlighted source (the code view) by default, with a small Code/Preview toggle above the file — `?render=1` opts into the rendered view. The repo page's README preview stays rendered as before.
VERSION
diff --git a/VERSION b/VERSION index 3725851..47f5bfd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.32 +1.2.33