Skip to content

v0.2.2: Offset/limit paging, stable alert/camera ordering

Choose a tag to compare

@cyanheads cyanheads released this 31 Jul 02:10
v0.2.2
50063cb

Offset/limit paging, stable alert/camera ordering

  • wsdot_search_alerts, wsdot_get_travel_times, and wsdot_get_toll_rates gain offset/limit paging (default 50, max 500); wsdot_get_terminal_space pages by terminal (default 5, max 20) (#24)
  • wsdot_search_alerts and wsdot_search_cameras now sort by alertId/cameraId before paging — upstream serves the same rows in more than one order, so this fixes silent skip/duplicate across a page walk. Default result order changes for both tools
  • Shared pagination test helper, plus a comparator test suite for the new ordering

CHANGELOG v0.2.2