Repository navigation
Release v1.10.0
Summary
Git counting now sees work it used to miss, and reports gain weekly periods, period comparison, and Markdown and HTML output. Everyday flags can live in the config file, and the documentation moved into focused guides under docs/.
Added
- Weekly periods:
--period week,--group-by weekand--week YYYY-Www|current|lastgroup and filter a report by ISO 8601 week. --compare previous(or a namedYYYY-MM,YYYY-WwworYYYYwindow) shows the headline figures beside the previous period's, with changes labelled as estimates. Each side is exactly the report that window prints alone.--format markdownand--format htmlfor reports andworkstats allocate. The HTML is a single self-contained file with no scripts or external references. Both formats escape every value, stop GitHub mentions and issue links, and replace your home directory with~.- A
defaultsblock in the config file for everyday flags (dir,depth,format,providers,group_by,gap_cap,human_idle,review_credit). A flag always wins, and the output names the defaults that applied. --authorcan be given more than once, and the config file acceptsauthors, so several Git identities count as you.model_ratesin the config file overrides or adds per-model list rates forworkstats allocate, andallocatewarns when the built-in rate table is more than 90 days old.- A warning when a tool's history files are read but yield no usable activity, which usually means the tool changed its history format.
Changed
- The documentation moved from the README into guides under
docs/: install, usage, configuration, how it works, allocate, privacy and development. - The transcript index is also keyed on the workstats version, so an upgrade never answers from entries an older parser wrote.
- A config file with an invalid
authors,defaultsormodel_ratesvalue is refused with an error naming the key, instead of being ignored as a whole.
Fixed
- Commits on every local branch are counted, not only those reachable from the checked-out branch.
- The report window is decided by author date, so rebased and amended commits are no longer dropped from the period they were written in. Reports for past periods also no longer diff every later commit.
workstats allocatenames every window flag it accepts when no window is given.