Skip to content

v0.9.0: Unify paged-tool count vocabulary, collapse duplicate alerts

Choose a tag to compare

@cyanheads cyanheads released this 13 Aug 09:53
· 5 commits to main since this release
v0.9.0
4d10258

Unify paged-tool count vocabulary, collapse duplicate alerts

  • nws_get_forecast, nws_find_stations, nws_search_alerts unify on totalCount (pre-limit total) / shown (this response) — replaces totalFound, periodCount, totalPeriodCount, shownCount (#35)
  • Breaking: nws_find_stations.totalCount keeps its name but flips meaning — was this page's count, now the pre-limit total; shown carries what totalCount used to mean
  • nws_search_alerts collapses alerts NWS returns twice within one /alerts/active fetch, keeping the first occurrence; totalCount now counts distinct alerts (#36)

CHANGELOG v0.9.0