Skip to content

v0.3.18

@cyanheads cyanheads tagged this 21 May 03:39
Two bug-fix patches for upstream behavior the prior surface mis-handled.

- congressgov_member_lookup list: combining congress with stateCode (and
  optionally district) now hits /member/congress/{c}/{state}[/{d}] instead
  of rejecting with validationError. Closes #12.
- congressgov_committee_lookup sub-resources (reports/bills/nominations/
  house-communication): missing committeeCode now surfaces as NotFound
  with the identifier in error.data. Congress.gov returns HTTP 500 with a
  Django "Committee matching query does not exist. (DoesNotExist)" body
  for these — tryNotFound now classifies that pattern as NotFound,
  generalizing what was previously inlined only in getCrsReport. Closes #10.

Dependency bumps:
- @types/node ^25.8.0 → ^25.9.1
- vitest ^4.1.6 → ^4.1.7
Assets 2
Loading