Skip to content

v0.1.10: applied-filter echo + ISO 8601 date validation

Choose a tag to compare

@cyanheads cyanheads released this 22 Jun 03:35
v0.1.10
a9166b1

applied-filter echo + ISO 8601 date validation

Search tools now report the filters they received and reject malformed dates before the upstream call.

Added

  • appliedFilters enrichment on all four search tools (bills, people, events, committees) — echoes received filters on empty and non-empty branches, with an enrichmentTrailer.render so it reaches content[]. (#10)
  • ISO 8601 .regex() on action_since/updated_since (search_bills) and after/before (search_events) — surfaces as JSON Schema pattern, rejecting dates like "yesterday" before the API returns a misleading zero-result. (#12)

210 tests pass; bun run devcheck clean.