Skip to content

v0.4.2: CID-state discrimination, GHS P-code decode, dead-field cleanup

Choose a tag to compare

@cyanheads cyanheads released this 28 Jul 13:00
v0.4.2
e479161

CID-state discrimination, GHS P-code decode, dead-field cleanup

  • pubchem_get_compound_safety: CID lookups now report ok/no_ghs_data/cid_not_found instead of a single hasData boolean, so a mistyped CID no longer reads as a real compound with no hazards on file (#42)
  • pubchem_get_compound_safety: precautionary statements carry a decoded boolean, marking undecoded P-codes instead of rendering them as bare or blank (#34)
  • pubchem_get_compound_interactions: dropped the dead severity field — no fetch path ever populated it (#43)
  • Fixed two GHS-statement parsing bugs: annotated/suffixed hazard codes no longer fail the parse, and trailing prose no longer drops the final precautionary code (commonly P501)
  • Maintenance: adopt mcp-ts-core ^0.11.0 and typescript ^7, Socket install scanner, native-binding bundle stripping, repo governance files
  • deps: @cyanheads/mcp-ts-core ^0.10.10 → ^0.11.0

CHANGELOG v0.4.2