packages feed

metar-http-0.0.7: changelog.md

0.0.7

* Add `/taf/<icao>/...` endpoints mirroring the `/metar` shape
  * Same one-line/max-lines/truncate/append modifiers as `/metar`
  * BOM for `Y*` ICAOs, NOAA fallback for the rest (via `getTAF` in
    `metar-0.0.7`)
* Replace the plain-text `/` index with a self-contained HTML page
  * Documents every endpoint with worked `curl` examples
  * Explicit per-level table of valid GPWT areas
  * Light/dark aware CSS, system-font stack, mobile viewport
  * The 404 response body reuses the same HTML page
* Require `metar >= 0.0.7`

0.0.6

* Add BOM Graphical Area Forecast (GAF) endpoints
  * `/gaf/<area>/current` and `/gaf/<area>/next` return the PNG image for
    one of `WA-N`, `WA-S`, `NT`, `QLD-N`, `QLD-S`, `SA`, `NSW-W`, `NSW-E`,
    `VIC`, `TAS`
  * Area codes are parsed from `gaf.shtml`; product ids and the
    current/next rotation come from `gaf-pub.js` (UTC-hour driven)
* Add BOM Grid Point Wind & Temperature (GPWT) endpoint
  * `/gpwt/<level>/<area>/<time>` returns the PNG for the requested
    (level, area, time-slot) triple; `level` is `low`, `mid`, or `high`
  * Product list is parsed from the BOM grid-point-forecasts HTML page
  * Depends on `Data.Aviation.GPWT` from `metar-0.0.6`
* GAF fetching moved into the `metar` library (`Data.Aviation.GAF` in
  `metar-0.0.6`); this project now only handles HTTP routing
* Require `metar >= 0.0.6`; drop direct deps on `tagsoup`, `wreq`,
  `time`, `http-client` (now transitive through `metar`)
* Remove stale `-XNoImplicitPrelude` from `.ghci` so `cabal repl` loads
  the library cleanly

0.0.5

* Update to metar-0.0.5 library
* Use `getMETAR` (BOM for `Y*` codes, NOAA fallback) instead of NOAA only
* Add hlint and fourmolu configuration
* Add `bin/lint.sh` and `bin/test.sh`
* Add doctests; remove empty test-suite
* Add `{-# OPTIONS_GHC -Wall #-}` to all source files
* Remove `NoImplicitPrelude`

0.0.4

* Update to GHC 9.6.7 compatibility
* Update to metar-0.0.4 library (uses getNOAAMETAR)
* Remove TAF support (not available in metar-0.0.4)
* Relax dependency upper bounds for modern GHC

0.0.3

* refactor of code to allow more options
* allow maxchars option

0.0.2

* allow .../* request for all on one line

0.0.1

* Initial release