Skip to content

v0.1.11: Affected-range data, withdrawn status, and paginated queries

Choose a tag to compare

@cyanheads cyanheads released this 11 Jul 17:45
v0.1.11
8f618eb

Affected-range data, withdrawn status, and paginated queries

Three data-fidelity fixes: complete affected-range data, withdrawn-advisory disclosure, and OSV pagination handling.

Fixed:

  • osv_get_vulnerability, osv_query_package: package-less GIT ranges no longer dropped; multi-interval ranges no longer collapse to one event (#13)
  • osv_query_package, osv_query_batch: paginated OSV results no longer reported as complete/clean; follows next_page_token up to OSV_QUERY_MAX_PAGES (#15)

Added:

  • Affected ranges gain optional repo, events[], versions[] (#13)
  • osv_get_vulnerability gains optional withdrawn timestamp + WITHDRAWN notice (#14)
  • truncated / truncatedCount fields; new OSV_QUERY_MAX_PAGES env var (default 10) (#15)

Changed:

  • osv_query_batch summary cleanCount excludes truncated rows (#15)

80 tests pass; bun run devcheck clean.

CHANGELOG v0.1.11