Features
- Redesigned the web UI: one period switch (7d, 30d, 90d, 1y, All) for tiles, charts and tables, a repo info card, change vs the previous period, gaps shown as hatched bands, and sticky headers; Pico CSS is no longer used (#37)
- Added release download stats: daily snapshots of release asset downloads, a Downloads tile, chart and releases table, and a Downloads column on the home page (#36, #37)
- Added a sync status in the header that shows progress during a long sync (#37)
- Added
GHS_SHOWto hide repos from the public pages while still collecting them, e.g.GHS_SHOW='stars:>=25 OR age:<3m'(#41) - Added a query syntax for
GHS_FILTERandGHS_SHOWwithOR,!, parentheses, ranges and durations; old comma values like!fork,vladkens/*keep working (#41) - Added
GHS_DISABLE_VERSION_CHECKto turn off the check for new ghstats releases (#30, by @utoni) - Embedded the frontend libraries into the binary, so pages no longer load anything from unpkg.com (#32)
Fixes
- Fixed sync skipping repositories that have pull requests disabled (#34)
- Fixed the star history backfill for repositories you don't administer by using GitHub's star history API, which also needs far fewer requests (#34)
- Fixed missing stars after downtime: the star history is fetched again to fill the gap (#37)
- Fixed pages to start with
<!DOCTYPE html>and use valid voidmetatags (#30, by @utoni)
Improvements
- Schema migrations run in one transaction, so a failed upgrade leaves the database unchanged (#35)
- After upgrading, the first sync fetches the star history of every repo once more to fill old gaps (#37)
- In old comma
GHS_FILTERvalues any glob now works (e.g.vladkens/apigen-*), and a list of only!owner/reporules means everything except them; an invalid value is logged and ignored (#41) /api/reposfalls back to the default order for an unknownsortordirectioninstead of returning an error (#37)- The new-release notice shows only when a newer release exists, and
mainDocker images report theirgit describeversion (#38)
Full Changelog: v0.10.0...v0.11.0