Release v1.2.33
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2 files changed
+5 −1
M
CHANGELOG.md
+4 −0
M
VERSION
+1 −1
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
@@ -1 +1 @@
-1.2.32
+1.2.33