Skip to content

Releases

wx 1.4.0

Choose a tag to compare

@aeroperf aeroperf released this 18 May 14:25

Added

  • --afd flag surfaces the NWS Area Forecast Discussion alongside the
    normal forecast for US locations. Off by default because AFDs can be
    long; silent no-op for non-NWS providers. Fetched from
    /products/types/AFD/locations/{cwa} using the office id returned by
    /points. Included verbatim in rich/table/plain output and exposed as
    the afd key in JSON output.
wx Denver --afd

wx 1.3.0

Choose a tag to compare

@aeroperf aeroperf released this 18 May 11:05

Pre-publish compliance polish — no breaking changes.

Added

  • Top-level LICENSE file (MIT). pyproject.toml now references the file directly so PyPI / GitHub / downstream packagers detect the license correctly.
  • Open-Meteo geocoding credited in the README attribution list (CC BY 4.0 per their terms).
  • Aviation output (-m, -t) prints a "not for operational use" disclaimer footer. README aviation section carries the same notice.
  • Loud stderr warning when api.user_agent still contains the example.com placeholder — NWS and met.no throttle or 403 stub User-Agents.

Full changelog: https://github.com/aeroperf/wx/blob/main/CHANGELOG.md

wx 1.2.1

Choose a tag to compare

@aeroperf aeroperf released this 18 May 10:34

Added

  • Madeira and Azores (Portuguese Atlantic territories) now route to DWD/Bright Sky alongside the Canary Islands, since DWD MOSMIX covers those stations (e.g. LPMA, LPPD, LPLA).

Full changelog: https://github.com/aeroperf/wx/blob/main/CHANGELOG.md

wx 1.2.0

Choose a tag to compare

@aeroperf aeroperf released this 18 May 07:03

Quality pass on the 1.1.0 aviation feature: bug fixes, hardening, and a real test suite. No public CLI surface changed beyond the broadened station-ID validator.

Added

  • Pytest suite under tests/ (29 tests) covering parser, renderers, and CLI integration for METAR/TAF, with mocked HTTP fixtures.
  • AGENT.md — architecture invariants and conventions for AI coding agents.
  • TAF rendering now handles combined change codes like PROB30 TEMPO.
  • TAF wind-shear groups are now rendered when present.

Changed

  • Station-ID validator accepts alphanumeric identifiers (e.g. K1G3, 0R0) instead of alpha-only, matching FAA conventions.
  • Multi-record responses now prefer mostRecent=1, falling back to the newest observation/issue time, instead of positional [0].
  • HTTP requests use params={...} dicts instead of f-string URL building — defense in depth against injection.
  • Wind-direction 0° and wind-speed 0 kt are no longer treated as missing (explicit is not None checks instead of falsy or chains).
  • wx.units is the single source for the inHg conversion factor; the hardcoded 0.02953 constant was removed from the aviation renderer.
  • Location-alias lookups in [locations] are now case-insensitive.
  • --days 0 and --hours 0 are respected instead of falling through to config defaults.
  • JSON output: raw no longer duplicated inside the decoded block.

Fixed

  • PROB change groups with None probability no longer render as PROB0.
  • Visibility renderer: removed dead code that stripped and re-appended +.
  • Wind shear with None direction no longer prints a misleading 000°.
  • Extra positional arguments after the ICAO code now produce a warning instead of being silently ignored.

Internal

  • Dropped typing.Optional in favor of X | None.
  • Added WindDir = int | Literal["VRB"] | None type alias.
  • Inlined the trivial _round helper in the NWS provider.
  • Documented aviationweather.gov field semantics in the provider docstring.

Full changelog: https://github.com/aeroperf/wx/blob/main/CHANGELOG.md

Initial release

Choose a tag to compare

@aeroperf aeroperf released this 18 May 06:19
  • Provides current and forecasted weather using wx command
  • Supports NWS for US locations, DWD (via brightsky) for European locations and MET Norway for the rest of the world