Releases: Bigred97/aihw-mcp
Releases · Bigred97/aihw-mcp
Release list
v0.4.17
[0.4.17] — 2026-05-19
Fixed
- Per-thread
_clientcache (P0 prod bug, observed on ausdata-api):
module-global_clientbound to the FIRST event loop and tripped
RuntimeError: Event loop is closedwhen called from a multi-loop
host that wraps the MCP and runsasyncio.run(_get_data_impl(...))
in a worker thread per request. Cache moved tothreading.local()
so each worker thread gets its own client bound to its own loop.
reset_client_for_tests()now only clears the calling thread.
0.4.16 — year-range hints on out-of-range filter
Year filters that miss the dataset's published range now get 'Valid range: YYYY-YYYY — requested ZZZZ is AFTER the latest year' instead of a misleading fuzzy suggestion. 318 unit tests pass.
0.4.15 — short-query ranker fix
Short-query partial_ratio supplement so single-token queries find their canonical dataset by name. Matches ato 0.8.16 design. 318 unit tests pass.