v0.1.10: SODA error classification, invalid app token, canvas reachability, security
SODA error classification, invalid app token, canvas reachability, security
Five bug fixes plus a lockfile refresh that clears every previously-flagged advisory.
Fixed
socrata_query_dataset: SODA 400 bodies keyederrorCode(query-coordinator errors) fell through to a generic HTTP error and lost the upstream message.fetchJsonnow accepts eithercodeorerrorCodeand always throwssoql_error; the catch block re-throwssoql_error/rate_limitedthroughctx.failso the recovery hint reaches the wire. (#2)socrata_get_dataset,socrata_query_dataset,socrata_find_datasets: an invalidSOCRATA_APP_TOKENsurfaced as a generic Forbidden. A 403permission_deniedbody mentioning the app token now throwsinvalid_app_token(ConfigurationError) without leaking the token value;find-datasets.tool.tsgained the try/catch it was missing entirely. (#10)socrata_query_dataset: grouped/aggregate queries reportedtotal_countas the raw source-row count. The recount is now skipped whengroupis set. (#11)socrata_dataframe_describe: omittingcanvas_idsilently created and described an empty canvas. Now throwscanvas_id_required; every surface promising a nonexistent listing behavior corrected. (#15)- DataCanvas was unreachable on every transport — handlers read
ctx.core?.canvas, which the framework never populates. Newsrc/services/canvas-accessor.tswired fromsetup(core)fixes all three touchpoints. (#15) socrata_query_dataset: canvas spillover silently failed on datasets with:@computed_region_*columns. These are now stripped from the canvas projection beforeregisterTable. (#16)
Changed
- Vendored skills re-synced (
api-utils/parsing,polish-docs-meta/readme); README## Contributingsection removed to match.
Security
Lockfile refresh from the mcp-ts-core adoption clears all 8 flagged advisories (2 high, 6 moderate):
vite≤8.0.15 → 8.1.3 (high GHSA-fx2h-pf6j-xcff, moderate GHSA-v6wh-96g9-6wx3)hono<4.12.25 → 4.12.27 (high GHSA-88fw-hqm2-52qc, moderates GHSA-wwfh-h76j-fc44/GHSA-j6c9-x7qj-28xf/GHSA-rv63-4mwf-qqc2/GHSA-wgpf-jwqj-8h8p)js-yaml(transitive) 3.14.2 → 3.15.0 (moderate merge-key DoS)
Dependency bumps:
@cyanheads/mcp-ts-core^0.10.9 → ^0.10.10@biomejs/biome^2.5.0 → ^2.5.2@types/node^26.0.0 → ^26.1.0tsc-alias^1.8.17 → ^1.9.0
122 tests pass; bun run devcheck clean.