all repos — legit @ 396548546ed56088cc837080fe44a963199ed7ff

Unnamed repository; edit this file 'description' to name the repository.

CHANGELOG.md (view raw)

  1# Changelog
  2
  3All notable changes to this project are documented in this file.
  4
  5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
  6and this project adheres to [Semantic
  7Versioning](https://semver.org/spec/v2.0.0.html).
  8
  9## [Unreleased]
 10
 11## [0.2.7] - 2026-05-12
 12
 13### Added
 14
 15- Viper config loading with environment variable overrides (`LEGIT_*` prefix)
 16- Build-time version and date embedding via ldflags, shown in `--help` and
 17  `--version`
 18- GoReleaser configuration for cross-platform builds
 19
 20### Changed
 21
 22- Complete Swiss-style CSS redesign: crimson red accent, heavy typography,
 23  pill-style nav buttons, card-based sections with left red borders, full dark
 24  mode, responsive mobile layout
 25- Project restructured to standard Go layout (`cmd/legit/`, `internal/`)
 26- Module path migrated to `codeberg.org/maxwelljensen/legit`
 27- Config library switched from `gopkg.in/yaml.v3` to viper
 28- Flag parsing switched from stdlib `flag` to `go-arg`
 29- Templates restructured: `repoheader` moved inside `<body>` in all 6
 30  templates, missing `</li>` close tags added to nav elements
 31
 32### Fixed
 33
 34- Log page: commit message column no longer squashed by `commit-info`
 35  (widened message column to 1.3fr, reduced padding, tightened
 36  commit-info line-height)
 37- Index page: empty descriptions no longer break date alignment (`&nbsp;`
 38  fallback, restructured grid with `.index-idle` class)
 39- Tree page: mode column now handles long mode strings without wrapping
 40  (`minmax(10ch, auto)`)
 41- Text overlapping with `commit-info` on long commit messages resolved
 42- nav.html: stray `</a>` tag after `</li>` on refs link removed
 43- Minor README formatting errors corrected
 44
 45## [0.2.6] - 2026-05-12
 46
 47### Added
 48
 49- Reference links displayed in commit log page (#54)
 50- Symlink resolution when scanning for git repositories (#59)
 51
 52### Fixed
 53
 54- Malformed HTML in templates (#61)
 55- Correct reader variable used in git operations (#58)
 56
 57### Changed
 58
 59- Default scan path updated to `/var/git` (#60)
 60- Dependency bumps: go-git v5.13.2, golang.org/x/crypto v0.31.0
 61- Path joining hardened with securejoin across all routes
 62- Code quality: all golangci-lint issues resolved (errcheck, errorlint,
 63gocritic, godoclint, perfsprint, staticcheck, unused, usestdlibvars)
 64
 65## [0.2.5] - 2025-01-26
 66
 67### Changed
 68
 69- CSS: font stack updated to system fonts, custom font features removed
 70- CSS: colours, dark mode refinements
 71- Routes: README content sanitised for non-Markdown files (uses &lt;pre&gt;)
 72
 73## [0.2.4] - 2024-10-06
 74
 75### Added
 76
 77- Syntax highlighting via chroma with configurable style
 78(`meta.syntaxHighlight`)
 79- Unlisted repositories (`repo.unlisted`)
 80- Annotated lightweight tag support
 81- Docker build and push workflow (ghcr.io)
 82- Dockerfile and docker-compose.yml updates
 83
 84### Changed
 85
 86- Dependencies bumped
 87- README reworded with Docker image references
 88
 89## [0.2.3] - 2024-07-13
 90
 91### Added
 92
 93- Archive download handler (tar.gz via `/{name}/archive/{file}`)
 94- Dark theme CSS
 95- Nix flake for reproducible builds and Docker image
 96- Repository ignore support (`repo.ignore`)
 97- `.git` extension stripped from display names
 98
 99### Changed
100
101- Routing switched to Go 1.22+ `net/http` pattern-based router
102- Git HTTP smart protocol switched from go-git to system `git-upload-pack`
103- Template updated with archive download links
104
105### Fixed
106
107- Raw file view accidentally removed code re-added
108- `getDisplayName` now works correctly for repos with `.git` suffix