Skip to content

Releases: klaasnicolaas/python-energyzero

v5.0.0

21 Dec 18:32
60a2ec9

Choose a tag to compare

What's changed

In v5 we removed the old legacy REST route (get_*_prices_legacy() + Electricity/Gas). In v4 that left GraphQL as the only backend, and in v5 we add a new public REST v2 client and make it the default (EnergyZero()); GraphQL stays available via APIBackend.GRAPHQL.

  • Intervals simplifiedInterval now only includes QUARTER, HOUR, DAY; legacy VatOption and interval values are removed.
  • Price types expandedPriceType now covers market/all-in prices with or without VAT (MARKET, MARKET_WITH_VAT, ALL_IN_EXCL_VAT, ALL_IN).
  • Modular API clients – split into energyzero.api.rest and energyzero.api.graphql; REST supports quarter-hour electricity and daily gas.

To receive a notification on new releases, click on Watch > Custom > Releases on the top.

🚨 Breaking changes

🚀 Enhancements

⬆️ Dependency updates

13 changes

Full Changelog: v4.0.1...v5.0.0

v4.0.1

08 Dec 00:25
025134f

Choose a tag to compare

What's changed

To receive a notification on new releases, click on Watch > Custom > Releases on the top.

🐛 Bug fixes

⬆️ Dependency updates

Full Changelog: v4.0.0...v4.0.1

v4.0.0

07 Dec 23:39
4c72198

Choose a tag to compare

What's changed

To receive a notification on new releases, click on Watch > Custom > Releases on the top.

🚨 Breaking changes

🧰 Maintenance

⬆️ Dependency updates

59 changes

Full Changelog: v3.0.0...v4.0.0

v3.0.0

11 Sep 09:39
dc2b2a3

Choose a tag to compare

What's changed

  • GraphQL everywhereget_electricity_prices() and get_gas_prices() now call /v1/gql, returning the new EnergyPrices + TimeRange structures (with additional costs and all-in totals). Projects that still expect Prices + readingDate must switch to the legacy helpers until they migrate.
  • Legacy path stays (for now) – Use get_electricity_prices_legacy() / get_gas_prices_legacy() if you need the old REST payloads. These helpers enter deprecation today and will be removed in the future.
  • VAT per request – The global VAT toggle is gone. Pick PriceType.ALL_IN or PriceType.MARKET when calling the GraphQL helpers; legacy methods still accept the vat flag directly.
  • Docs + models updated – README, examples, and the data models were refreshed to highlight the new response shape, including helper properties for extremes, price-at-time lookups, and raw blocks.

To receive a notification on new releases, click on Watch > Custom > Releases on the top.

🚨 Breaking changes

✨ New features

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

363 changes
Read more

v2.1.1

28 Jun 19:45
9b3bd31

Choose a tag to compare

What's changed

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

172 changes
Read more

v2.1.0

07 Dec 13:21
6b878f9

Choose a tag to compare

What's changed

✨ New features

🚀 Enhancements

⬆️ Dependency updates

Full Changelog: v2.0.0...v2.1.0

v2.0.0

05 Dec 16:51
2634a28

Choose a tag to compare

What's changed

In this release, the vat_incl parameter has been replaced by a vat enum parameter (default: VatOption.INCLUDE), which can be used at both class and function level. When you use the parameter at function level it will override the value at class level, so you could receive VAT included data for energy and VAT excluded data for gas.

To receive a notification on new releases, click on Watch > Custom > Releases on the top.

🚨 Breaking changes

✨ New features

⬆️ Dependency updates

12 changes

Full Changelog: v1.0.0...v2.0.0

v1.0.0

20 Nov 13:41

Choose a tag to compare

What's changed

In this release we dropped Python 3.9 and 3.10, added Python 3.12 and now mark the package as "production ready / stable".

🚨 Breaking changes

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

75 changes

Full Changelog: v0.5.0...v1.0.0

v0.5.0

09 Aug 12:25
618cf04

Choose a tag to compare

What's changed

✨ New features

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

58 changes

Full Changelog: v0.4.2...v0.5.0

v0.4.2

20 May 20:34
30d2763

Choose a tag to compare

What's changed

Minor release mainly with maintenance updates and dependencies updates.

🧰 Maintenance

⬆️ Dependency updates

25 changes

Full Changelog: v0.4.1...v0.4.2