Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Diffstat (limited to '')
| -rw-r--r-- | CHANGE.txt | 76 |
1 file changed, 76 insertions, 0 deletions
@@ -5,6 +5,82 @@ Notable changes to this fork, newest release first. History before v2.0.0 belongs to upstream cgit and is not covered here. +v2.10.0 (2026-10-29) +-------------------- + +A release that squares off the interface and brings its colours up to WCAG +AA, with a readme renderer that copes with more of what projects ship and an +example hook that keeps the commit-graph current. + +Added +..... + +* enable-version-info, off by default, puts cgit's version in the footer, the + generator tag and the signature of patches, with git's beside it in the + footer. +* custom/hooks/post-receive.commit-graph writes the commit-graph and its + changed path filters after each push, which speeds up the log, blame and + graph pages and any log limited to one file. +* The readme renderer makes a heading of a paragraph underlined with equals + signs or dashes, starts a code block at four spaces or a tab, and keeps an + escaped pipe inside its table cell. +* tools/build-development.sh builds cgit for debugging, unoptimised and held + to git's developer warnings, with AddressSanitizer and + UndefinedBehaviorSanitizer linked in. With clang and ctags it also leaves a + compilation database and a tags file in build/. + +Changed +....... + +* Controls, tabs and labels have square corners. The radius tokens stay, set + to zero, so a theme can still round them. +* Every text colour reaches 4.5:1 on the backgrounds it sits on, row stripes + included, and links inside running text are underlined. +* Form controls have a border of 3:1 contrast, and every link and control + shows the same focus ring. +* Every framed box and table grid has the same mid grey border. +* The diff and stat options panel has its caption as a header strip, with + the selects and the button sharing one column. +* Page titles name the page first, then the repository and the site, so + tabs, history and search results can tell the pages apart. +* A signed tag's signature prints as part of its message again, as it did up + to v2.9.1, rather than folded away. +* The syntax highlight colours are tokens, so a theme can change them like + the rest. +* The scripts load with defer. A site script placed after cgit.js can still + call window.cgit. +* The post-receive.cgit-cache hook drops only the pushed repository's pages + and the index. It finds the repository's url from scan-path or + hooks.cgiturl, and clears everything as before when it has neither. +* The example server configs name the release they were written for, nginx + 1.30, Apache httpd 2.4 and lighttpd 1.4. +* tools/release-build.sh is now tools/build-release.sh, and CHANGELOG.txt is + now CHANGE.txt. + +Fixed +..... + +* A long hash or download name made the whole page scroll sideways on a + phone. Both may now break. +* A readme holding a NUL byte lost everything after it. Each NUL now shows as + U+FFFD. +* A markdown link opening with a mix of slashes and backslashes, which a + browser follows to another site, now renders as text, as one opening with + two slashes already did. +* Man pages written by DocBook, pod2man or by hand leaked roff onto the page. + Their escapes, comments and preambles now draw nothing, the common named + characters render, and .EX, .Vb, .TP and the alternating font macros lay + out as intended. +* In forced colours, such as a Windows high contrast theme, the active tab + and the lines a URL names had no mark. They now take the reader's Highlight + colour. +* A screen reader announced the graph and links columns with no name. +* The commit page offered diff options for an octopus merge, which draws no + diff. +* Error text such as "Path not found" sat further in than the rest of the + page. + + v2.9.2 (2026-10-25) ------------------- |
