Skip to content

0.5.1

Latest

Choose a tag to compare

@kipe kipe released this 25 Jan 12:42

🏷 v0.5.1 - Async fix & Python 3.14 support

📋 Changes

  • Fix async response detection in AioPrices by using inspect.iscoroutinefunction() instead of inspect.isawaitable().
    This properly checks if resp.json is a coroutine function rather than checking if the already-called result is awaitable.

    By @rejus-b in #62

  • Bump requests dependency from 2.32.3 to 2.32.4 for latest security
    and bug fixes.

    By @dependabot[bot] in #67

  • Add Python 3.14 to the CI test matrix, ensuring compatibility with the latest Python release.

    By @kipe in #68

📝 Summary

This patch release fixes a subtle bug in async HTTP client detection that could cause issues with certain HTTP libraries like aiohttp. The change from isawaitable to iscoroutinefunction ensures proper introspection of the response object's json method before calling it. The release also includes a dependency update for requests and extends CI coverage to Python 3.14.

Full Changelog: 0.5.0...0.5.1