Skip to content

v0.1.12: jurisdiction normalization, inventory merge, resource errors

Choose a tag to compare

@cyanheads cyanheads released this 16 Jul 10:24
v0.1.12
3b90c91

jurisdiction normalization, inventory merge, resource errors

Fixes three issues in the jurisdiction subsystem: committee search, jurisdiction listing, and the jurisdiction resource's error handling.

Fixed:

  • openstates_search_committees no longer 500s when a full jurisdiction name is combined with chamber — resolved via a static name-to-abbreviation map. (#17)
  • openstates_list_jurisdictions returns the complete 56-jurisdiction inventory in one call — the default request now merges the upstream pages internally. (#20)
  • The openstates://jurisdiction/{jurisdiction_id} resource adopts a typed not-found error contract instead of leaking the raw upstream 404. (#21)

239 tests pass; bun run devcheck clean.

CHANGELOG v0.1.12