Skip to content

v0.6.0: Constrain per-page cap inputs to integers

Latest

Choose a tag to compare

@cyanheads cyanheads released this 28 Jul 16:47
v0.6.0
863aa86

Constrain per-page cap inputs to integers

Four tool inputs that advertised an unconstrained number where a
count was meant now advertise integer: pubchem_get_compound_xrefs.maxPerType,
pubchem_search_assays.maxResults, pubchem_get_bioactivity.maxResults, and
pubchem_search_compounds.maxResults. Breaking: a call passing a fractional
cap to any of these four inputs now fails input validation instead of
succeeding.

  • Schema tightening across four tools (#44)
  • Breaking: fractional caps now rejected at validation, not silently floored

CHANGELOG v0.6.0