Skip to content

Releases: kipe/nordpool

0.5.1

25 Jan 12:42

Choose a tag to compare

🏷 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

0.5.0

14 May 06:21

Choose a tag to compare

What's Changed

  • ASYNC No input areas behaviour matches SYNC behaviour. by @rejus-b in #61
  • Add support for sub-hourly price fetching by @kipe in #64

New Contributors

Full Changelog: 0.4.5...0.5.0

0.4.5

07 Feb 20:02

Choose a tag to compare

What's Changed

  • Loosen pytz requirement by @kipe in #59

Full Changelog: 0.4.4...0.4.5

0.4.4

14 Jan 07:10

Choose a tag to compare

What's Changed

  • Remove Elbas from README.md by @kipe in #55
  • Add support for Python 3.13 by @kipe in #58

Full Changelog: 0.4.3...0.4.4

0.4.3

04 Nov 08:27

Choose a tag to compare

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

16 Oct 07:34

Choose a tag to compare

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

15 Oct 19:53
99d3295

Choose a tag to compare

What's Changed

  • Bugfix to accidental data format change in 0.4.0 by @kipe in #40

Full Changelog: 0.4.0...0.4.1

0.4.0 - Fix fetching prices

15 Oct 18:55
4ac97e7

Choose a tag to compare

What's Changed

  • Fix price fetching by @kipe in #37
  • Switches to use poetry and adds tests

Full Changelog: 0.3.3...0.4.0

0.3.3

11 Aug 13:59
75b4cb0

Choose a tag to compare

  • Updated split of r['name'] #24
  • Added timeout param to Prices #23

0.3.2

12 Feb 16:16
8998037

Choose a tag to compare

  • Raise exception if returned currency doesn't match the requested