@neaps/api 0.4.0

Release Tides & Currents

  • Add configurable route prefix support to createApp(). (#229)

    Routes are now defined without a prefix (e.g. /extremes, /stations) and mounted at a configurable prefix option (defaults to /tides for backward compatibility). Also adds a root / endpoint returning API info, and the OpenAPI spec now includes a servers field reflecting the configured prefix.

  • Add support for subordinate station predictions in the API. (#227)

    GET /tides/timeline and GET /tides/waterlevel now return predictions for subordinate stations instead of a 400 error.