diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-25 15:42:55 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-25 15:42:55 +0200 |
| commit | 92e1106b91f836339a957312a1ea4449c55114c7 (patch) | |
| tree | ee3726c567054e3f3a4eec692dcf5fb49099318b /CHANGELOG.md | |
| parent | e14a7db4ffe3c4e0f15f6b37a980501a8d74d26b (diff) | |
| download | prognosis-6b5c3acaf88783cf2eebd5f036731771a808758a.tar.gz prognosis-6b5c3acaf88783cf2eebd5f036731771a808758a.zip | |
Stand alone, document, and let the config show anythingv0.1.1
prognosis no longer reads ~/.wegorc. Falling back to another program's
configuration made it useless without wego installed, and hid the fact that
it has no way to know where you are: location= is now required in its own
config, and the error says so and shows how to set it.
Custom columns. Any field the two Open-Meteo APIs expose can be displayed by
declaring it -- column.birch = air:birch_pollen -- and then naming it in
columns=. The source is explicit because forecast and air-quality are separate
services with separate fields; an air column costs one extra request, made only
when one is declared. Air values merge onto forecast hours by timestamp rather
than array index, since nothing guarantees the two endpoints start at the same
hour and merging by position would shift a column by an hour unnoticed. A value
the API withholds renders blank, not zero: for an allergen those are different
claims.
Pollen selection no longer privileges grass. A species named in pollen= is
shown even at zero, because you named it for a reason; pollen=all shows only
what is present, or the line is six zeroes. Grass had been special-cased, which
forced it on someone allergic to birch while hiding theirs.
Temperature colours are compared in Celsius whatever the display units. In
imperial, 85F -- a mild 29C -- was rendering in the red that means IMGW would
issue a heat warning.
A man page, checked by make lint and installed by make install. The Makefile
gains PREFIX/DESTDIR for packaging, a version stamped into the binary, a
release target that refuses to tag a dirty tree or a version with no changelog
entry, cross-compilation for six platforms, and a pre-push hook.
Also: humidity in the default columns, -weather for output meant for someone
else, -ascii so an SMS stays in GSM-7 rather than dropping to 70-character
UCS-2 segments, and -pollen and -version.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c797f5e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,51 @@ +# Changelog + +Terse, newest first. Versions are git tags. + +## 0.1.1 — 2026-08-25 + +### Added +- Man page, `man/prognosis.1`, installed by `make install`. +- **Custom columns.** Any field the Open-Meteo forecast or air-quality APIs + expose can be displayed by declaring it in the config: + `column.birch = air:birch_pollen`, then `columns=hour,temp,birch`. Optional + `label.`, `width.`, `decimals.` and `suffix.` keys. An air-quality column + costs one extra request, made only when one is declared. +- `humidity` column added to the default column set. +- `-version`, and the version is stamped into the binary at build time. +- `-weather` (forecast only), `-no-warnings`, `-ascii` (GSM-7 safe output for + SMS). +- `make lint` checks the man page renders without groff warnings; `make ci` + now includes it. `make release`, `make install-hooks`, and cross-compilation + for six platforms. + +### Changed +- **Pollen selection no longer privileges grass.** A species named in `pollen=` + is shown even at zero; `pollen=all` shows only what is present. Previously + grass was special-cased and always displayed, which forced it on someone + allergic to birch while hiding theirs. `-pollen` sets it for one run. +- **`~/.wegorc` is no longer read.** prognosis is standalone: set `location=` + in its own config, or pass `-l`. Previously it fell back to wego's config, + which made it useless without wego installed. +- `make install` installs the man page too, and honours `PREFIX` and `DESTDIR` + for packaging. +- Temperature colours are compared in Celsius whatever the display units, so + `units=imperial` no longer reports 85F as the "IMGW would warn" red. + +### Fixed +- Pollen values the API withholds are absent rather than zero, so a location + outside Europe no longer reports a confident `grass 0.0 none`. +- Flags after a positional argument are parsed rather than swallowed into the + place name. + +## 0.1.0 — 2026-08-14 + +Initial release. Go implementation replacing an earlier Python one. + +- Hourly table, temperature chart, day summary, sun times, pollen with bands + sourced from Polish clinical thresholds. +- Official IMGW warnings filtered to your powiat via GUGiK, with the failure + case ("could not check") kept distinct from "none in force". +- Temperature colours anchored to IMGW's own warning criteria. +- Configurable columns, `en`/`pl` display languages, three icon sets. +- No API key, no third-party Go modules. |
