Releases: kipe/nordpool
0.5.1
🏷 v0.5.1 - Async fix & Python 3.14 support
📋 Changes
-
Fix async response detection in
AioPricesby usinginspect.iscoroutinefunction()instead ofinspect.isawaitable().
This properly checks ifresp.jsonis a coroutine function rather than checking if the already-called result is awaitable. -
Bump
requestsdependency 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.
📝 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
0.5.0
0.4.5
0.4.4
0.4.3
What's Changed
- Re-add support for Python 3.9, as it still receives security updates by @kipe in #54
- Removes Elbas, as it has been broken for quite a while
- Adds
__version__for checking the library version. Usage:python3 -c "import nordpool; print(nordpool.__version__)" - Re-adds Coveralls for reporting test coverage
Full Changelog: 0.4.2...0.4.3
0.4.2
What's Changed
- API returns 204 when no data is available by @jschlyter in #43
- Use correct currency when fetching prices by @jschlyter in #45
- Add tests for currency change and prices being not available by @kipe in #47
- Update installation instructions to use PyPi by @kipe in #48
Full Changelog: 0.4.1...0.4.2
0.4.1 - Bugfix to accidental data format change in 0.4.0
What's Changed
Full Changelog: 0.4.0...0.4.1
0.4.0 - Fix fetching prices
What's Changed
Full Changelog: 0.3.3...0.4.0