Skip to content

Latest commit

 

History

History
83 lines (62 loc) · 3.74 KB

File metadata and controls

83 lines (62 loc) · 3.74 KB

Changelog

All notable changes to git-diff are documented here.

The format follows Keep a Changelog. This project uses Semantic Versioning.


[0.1.4] 2026-05-13

Fix footer and header

[0.1.3] 2026-05-13

Added

  • Untracked files in sidebar: ?? files show up in Changes with a ? badge and a full diff view on click.
  • Global search (Ctrl+K or /): search commits, files, and refs from one overlay.
  • LAN access: pass --host 0.0.0.0 to bind on all interfaces and access from other devices on the same network. Default stays 127.0.0.1.
  • Nav tab persistence: last active sidebar tab is saved and restored across sessions.
  • Syntax highlighting: file viewer now uses highlight.js, theme-aware.

Fixed

  • Commit messages or branch names containing | were corrupting parsed fields. Separator switched to \x1f.
  • Pagination now uses --skip on the git side. Previously fetched offset + limit rows then sliced in Python.
  • ?path= filter on /api/commits was silently ignored.

Performance

  • Initial load is split: status and diffs load first, then commits/file tree/contributors stream in via /api/lazy-data. Noticeably faster on large repos.
  • Concurrent requests no longer block each other (switched to ThreadingHTTPServer).
  • Repo size and language stats use git ls-tree instead of a filesystem walk.

[0.1.2] 2026-02-19

Here's everything fixed in v0.1.2:

  • 📱 Mobile scroll FIXED

  • The root cause: clicking Contributors/History tabs rendered content below the fold and there was no auto-scroll. Now showTab() smoothly scrolls .main to bring the tabs into view on mobile

  • Added -webkit-overflow-scrolling: touch and overscroll-behavior: contain to main proper native iOS/Android momentum scrolling

  • Bottom nav now has dedicated Commits, Files, and People buttons that render content directly into main (no sidebar needed) fully scrollable list pages with search

  • 📊 Heatmap FIXED

  • Now always renders (even with 0 commits shows the grid with an empty state)

  • Added month labels (Jan, Feb, Mar...) across the top

  • Added day labels (M, W, F) on the left side

  • Added a Less/More legend with color gradient chips

  • Shows total commit count in header

[0.1.1] 2026-02-19

Improved UI for mobile

[0.1.0] 2026-02-19

🎉 Initial release ( was developed in 2024/ published today)

Added

  • GitHub-style diff viewer with line numbers, +/- highlights, hunk headers
  • 3 themes: Dark (GitHub dark), Light (GitHub light), AMOLED (true black)
  • Repository overview with stats cards (commits, contributors, branches, tags, size)
  • Commit activity heatmap (GitHub-calendar style, last 90 days)
  • Language breakdown with color bar chart by file extension
  • Commit history browse up to 500 commits, click any for full diff
  • Compare any two refs branch vs branch, SHA vs SHA, tag vs tag, any mix
  • Working tree changes staged and unstaged diffs clearly separated
  • File browser browse all tracked files with syntax-highlighted view
  • File history commits that touched a specific file
  • Blame view line-level authorship with commit hash and date
  • Contributors panel ranked by commits with visual progress bars
  • Branches & tags panel local/remote branches, annotated tags
  • Stash viewer list and diff all stash entries
  • Keyboard shortcuts Esc, Ctrl+R, Ctrl+K, Ctrl+\
  • REST API all data accessible via /api/* endpoints
  • Zero runtime dependencies pure Python stdlib only
  • Cross-platform macOS, Linux, Windows
  • Python 3.8–3.13 support
  • PyPI Trusted Publisher (OIDC) workflow no API token needed
  • CI tests on 3 OS × 5 Python versions