diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-09 11:05:40 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-09 11:05:40 +0200 |
| commit | 93190858380c533f9b7564c42bdfb5dbea03f144 (patch) | |
| tree | 26a861ed4cedc4010549465c660c207d24a247c2 /CHANGELOG.md | |
| parent | 2c6e860df7e394fff4753796128fd50ce5c04ef3 (diff) | |
| download | mkhintfile-93190858380c533f9b7564c42bdfb5dbea03f144.tar.gz mkhintfile-93190858380c533f9b7564c42bdfb5dbea03f144.zip | |
feat: nvchecker autodetect expansion, -n stanza echo, --info/-i; release v1.2.5
Documents the Task 1-6 additions that shipped without doc updates: expanded
nvchecker source autodetection (gitlab, bitbucket, gitea, codeberg, pagure,
npm, gems, crates.io, cpan, hackage, packagist, cran, in addition to github
and pypi), the fenced stanza echo on --new/-n, and the --info/-i command
(category/program header plus paged README). Updates show_help, bash
completion, mkhint.1.md (rebuilds mkhint.1.gz), CLAUDE.md, and CHANGELOG.md.
Bumps MKHINT_VERSION to 1.2.5. No program logic changed; 224/224 tests still
pass.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 798a049..26b4cbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ All notable changes to this project are documented here. The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/). +## [1.2.5] - 2026-07-09 + +### Added +- `--info` / `-i <pkg>`: shows a package's `category/program` path (green on a + TTY) followed by its README, paged with a sticky header (`less --header=1`) + only when the README is taller than the terminal. Missing package exits 2; + missing README prints `(no README)` and exits 0. Mutually exclusive with + `-V`/`-f`/`-n`. + +### Changed +- `--new` / `-n` now prints the nvchecker stanza it manages on stdout, fenced, + whether it was just added or was already present, so the effect of the + autodetection is visible immediately instead of only living in the config + file. +- Expanded nvchecker source autodetection (`_detect_nvchecker_source`) beyond + github and pypi to also recognize gitlab, bitbucket, gitea, codeberg, and + pagure owner/repo URLs, and the npm, gems, crates.io, cpan, hackage, + packagist, and cran registries. Registry sources parse the package name from + the URL where possible, falling back to `PRGNAM`. + ## [1.2.4] - 2026-07-08 ### Changed |
