Skip to content

Releases: null8626/python-weather

python-weather-2.2.0

21 Apr 11:07
36b4663

Choose a tag to compare

python-weather version 2.2.0 is here!

python-weather is back for another quick update!

Changelog:

  • 🟦 Fix mismatched content-type bug. (#68)
  • 🟦 Raise ValueError instead of TypeError when the specified value(s) are invalid.
  • 🟦 Merge CustomizableBase with Client.
  • 🟦 Bump aiohttp dependency to 3.13.5.

As always, thank you so much everyone for supporting python-weather! Happy coding! ❤️

Full changelog: 2.1.2...2.2.0

python-weather-2.1.2

23 Jan 10:56

Choose a tag to compare

python-weather version 2.1.2 is here!

python-weather is back for another quick update!

Changelog:

  • 🟦 Remove redundant repetitive if-statements in enum declarations.
  • 🟦 Fix incorrect VERSION constant.
  • 🟦 Bump aiohttp dependency to 3.13.3.

Thank you everyone for supporting python-weather! Happy coding! ❤️

Full changelog: 2.1.1...2.1.2

python-weather-2.1.1

12 Dec 11:53
21ac138

Choose a tag to compare

python-weather version 2.1.1 is here!

After yet another seven-month long hiatus, python-weather is finally back for another quick update!
Changelog:

  • 🟥 Drop support for Python 3.9.
  • 🟩 Add cloud_cover property to the BaseForecast class.
  • 🟩 Add a proper message and a reason property to the RequestError class.
  • 🟦 Add proper unit tests with a 100% coverage guarantee.
  • 🟦 Fix the default aiohttp.ClientSession from using a deprecated keyword argument.
  • 🟦 Gate imports purely for type checking under typing.TYPE_CHECKING.
  • 🟦 Bump aiohttp dependency to 3.13.2.
  • 🟦 Fix incorrect return type annotation for __iter__ methods.
  • 🟦 Refactor typings in accordance with Python 3.10's standards.
  • 🟦 Improve documentation CSS.

Thank you everyone for supporting python-weather! Much love! ❤️

Full changelog: 2.1.0...2.1.1

python-weather-2.1.0

30 May 06:36
03f34bd

Choose a tag to compare

python-weather version 2.1.0 is here!

After a seven-month long hiatus, python-weather is finally back for another quick update!
Changelog:

  • 🟦 RequestError is now based on an HTTP status code instead of an Exception source.
  • 🟦 Replace several uses of deprecated Python type hints.
  • 🟦 Bump aiohttp dependency to 3.12.4.

Thank you everyone for supporting python-weather! Much love! ❤️

python-weather-2.0.7

14 Oct 10:14
de7e92d

Choose a tag to compare

python-weather version 2.0.7 is here!

This is a quick bug-squishing update after the previous update yesterday!
Changelog:

  • 🟦 Fix AttributeError upon calling WindDirection helper functions.
  • 🟩 Add __int__ helper implementation for the WindDirection enum.
  • 🟩 Add optional max_retries keyword argument to the Client constructor.
  • 🟦 Refactor the Kind enum to make its code more readable.
  • 🟦 Documentation fixes.

Thank you everyone for supporting python-weather! Much love! ❤️

python-weather-2.0.5

13 Oct 08:18
10ef1b4

Choose a tag to compare

python-weather version 2.0.5 is here!

This is a pretty BIG update with NO breaking changes!
Changelog:

  • 🟦 Migrate from using Python properties to raw Python attributes, this should save 50 KB in the size of the Forecast object.
  • 🟦 Fix infinite loop while calling the __iter__ or __list__ helper implementations of the forecast objects.
  • 🟦 Fix no status code error checking on clients using pre-existing ClientSession objects.
  • 🟦 The test workflow now also tests the example code in the README.
  • 🟩 Add __len__ helper implementations for the forecast classes.
  • 🟦 Bump the aiohttp dependency to be at least version 3.10.10.

Thank you so much for 100 stars! I cannot express how much i am thankful for this! ❤️

I am not in the best mood mentally for the past few months and certainly not active in maintaining these open source GitHub projects anymore because of uni -- but my heart is very grateful that lots of people appreciate my little side project from 2021! ❤️

Thank you everyone for supporting python-weather! Much love! ❤️❤️

python-weather-2.0.4

02 Oct 14:46
53a5e8a

Choose a tag to compare

python-weather version 2.0.4 is here!

Changelog:

  • 🟦 The Client.close method now no longer closes the ClientSession if an existing ClientSession was provided in the constructor.
  • 🟩 HTTP exceptions are now wrapped under RequestError.
  • 🟩 Add __iter__ and __list__ helper implementations for the forecast classes.
  • 🟦 Bump the aiohttp dependency to be at least version 3.10.8.
  • 🟩 Add an additional raise_for_status argument to the default ClientSession.
  • 🟦 Refactor the regex retrieval for the Forecast.local_population property.

As always, thank you SO much for supporting python-weather! Much love! ❤️

python-weather-2.0.3

05 May 08:23
1723e71

Choose a tag to compare

python-weather version 2.0.3 is here!

A quick bug fix update!

Changelog:

  • 🟦 Fix potential NameError while accessing the Phase.emoji property.
  • 🟦 Refactors on the request delay calculation.
  • 🟦 Fix broken donations redirect in the documentation page.

As always, thank you so much for supporting python-weather! Happy coding! ❤️

python-weather-2.0.2

25 Apr 16:43
5fb6a66

Choose a tag to compare

python-weather version 2.0.2 is here!

A quick minor update!

Changelog:

  • 🟩 Add a donation link over at https://ko-fi.com/null8626.
  • 🟦 As of 19 April 2024, all GitHub commits sent to the repository (both manual and automated) will be GPG-signed.

As always, thank you so much for using and supporting python-weather! Happy coding! ❤️

python-weather-2.0.1

24 Mar 22:11

Choose a tag to compare

python-weather version 2.0.1 is here!

This update brings in lots of bugfixes and refactors thanks to the migration from using yapf to ruff!

Changelog:

  • 🟦 Migrate from yapf to ruff.
  • 🟦 Fix potential NameError while modifying forecast unit or locale.
  • 🟦 Remove several unused imports.
  • 🟦 Fix potential NameError on some typings.

As always, thank you all for supporting python-weather! Much love ❤️❤️❤️