Skip to content

Releases: Bigred97/aihw-mcp

v0.4.17

Choose a tag to compare

@Bigred97 Bigred97 released this 20 May 21:58

[0.4.17] — 2026-05-19

Fixed

  • Per-thread _client cache (P0 prod bug, observed on ausdata-api):
    module-global _client bound to the FIRST event loop and tripped
    RuntimeError: Event loop is closed when called from a multi-loop
    host that wraps the MCP and runs asyncio.run(_get_data_impl(...))
    in a worker thread per request. Cache moved to threading.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

Choose a tag to compare

@Bigred97 Bigred97 released this 18 May 00:50

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

Choose a tag to compare

@Bigred97 Bigred97 released this 17 May 23:39

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.